From owner-freebsd-questions@freebsd.org Wed Dec 27 21:19:43 2017 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id A84BDEADAA6 for ; Wed, 27 Dec 2017 21:19:43 +0000 (UTC) (envelope-from alexandermeyers@keemail.me) Received: from w1.tutanota.de (w1.tutanota.de [81.3.6.162]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "tutanota.de", Issuer "COMODO RSA Domain Validation Secure Server CA" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 6A92078A27 for ; Wed, 27 Dec 2017 21:19:42 +0000 (UTC) (envelope-from alexandermeyers@keemail.me) Received: from localhost (unknown [127.0.0.1]) by w1.tutanota.de (Postfix) with ESMTP id 2B05BFB5DE4 for ; Wed, 27 Dec 2017 21:13:23 +0000 (UTC) Received: from w1.tutanota.de ([127.0.0.1]) by localhost (w1.tutanota.de [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id CbB6IkkJGF2L for ; Wed, 27 Dec 2017 22:13:22 +0100 (CET) Received: from w1.tutanota.de (unknown [192.168.1.162]) by w1.tutanota.de (Postfix) with ESMTP id B4309FB609D for ; Wed, 27 Dec 2017 21:13:22 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=keemail.me; s=20161216; t=1514409202; bh=NbnFjkIDzDXUmC8vAjVgPR49itmDlUpk6T/PwX81ZW4=; h=Date:From:To:Subject:From; b=e2i9mvADEKZTvk2srOczxmh/suZLCADpGgXouLGsqHCYiVo/Q5Ddm+3uiW07Pwc2w m3QtXe+gLBBv63GdU0xLLJ0HUuyYCdQRPQRBv4CESyicVsM2lE7gtsHucWBBWkj8Nf O+lnUzmA+ejCTtOP0ddri/GoEsDzoy6qw8rSQvYcPCjRY6H+3+oGRMfudINUo4Z13k ohZiKw/xN+j4Z+CYi9OVOI0ckXd9kUMsHYHp80xmhGB7hXXD0HusN3u3/Thv5A9Xhw QQWnNB9CHOq1nnBu17gG2OEbL4UJja80RvNQA6xAkbOFNe/14KxIC38C7T7vVIcUJD dk395kMbcaJ9Q== Date: Wed, 27 Dec 2017 22:13:22 +0100 (CET) From: To: Message-ID: Subject: xev does not recognize button MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.25 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Dec 2017 21:19:43 -0000 Hello, I use uhidd (installed by pkg) to get a Contour Rollermouse red working, which is a kind of mouse replacement. All buttons except one are working fine. There is one button which is not recognized as a mouse button and is not visible in xev. I use 11.1-RELEASE-p4. It seems that the uhidd creates two devices for the Rollermouse 1. mouse (can be used as sysmouse); all functions are working, 2. uvhid1; the single button which is recognized as uvhidx is not working in xev. The options in my rc.conf are the following uhidd_flags="-mh" uhidd_enable="YES" When I start uhhid via a shell in vebose mode, the button which xev does not recognize shows the following output: ugen0.2[0]-> received data(16): 03 00 00 00 00 00 02 00 00 00 00 00 00 00 00 00 hid_appcol_recv_data: len(16) 0x03 0x00 0x00 0x00 0x00 0x00 0x02 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x00 ugen0.2[0]-> uvhid1 received data: 3 0 0 0 0 0 2 0 0 0 0 0 0 0 0 0 A button which is recognized by xev shows the following ouput: ugen0.2[0]-> received data(16): 01 00 00 00 00 00 00 00 02 00 01 00 00 00 00 00 hid_appcol_recv_data: len(16) 0x01 0x00 0x00 0x00 0x00 0x00 0x00 0x00 0x02 0x00 0x01 0x00 0x00 0x00 0x00 0x00 ugen0.2[0]-> mouse received data: dx(0) dy(0) dw(0) dt(0) btn(0) I would like to use the single button which is not recognized by xev as mouse 1 in xorg but I don't know how. Without uhidd (respectively with uhid.ko only) all buttons are recognized by xev but when pressing i. e. mouse 2, mouse 1 is also activated. This applies to all buttons except the one which is seen by xev when using uhidd. Maybe anyone has some tips for me. Thanks a lot and best regards Alex