NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kern/46391



The following reply was made to PR kern/46391; it has been noted by GNATS.

From: Kooda <kooda%upyum.com@localhost>
To: Nat Sloss <nathanialsloss%yahoo.com.au@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/46391
Date: Mon, 27 Aug 2012 20:39:05 +0200

 --KsGdsel6WgEHnImy
 Content-Type: text/plain; charset=utf-8
 Content-Disposition: inline
 Content-Transfer-Encoding: 8bit
 
 Hello,
 
 Are you sure about that? It seems that only the "page" part is reported in
 decimal form. The usage is still in hex (as it is in
 /usr/share/misc/usb_hid_usages).
 Anyways, I tried what you suggested and it still does'n work.
 
 I attatch the output of `usbhidctl -f uhid6 -rvvvvÌ?' so that you can see in
 details the device I have here. As you can see, the usage is 0xd0020 so I
 really do not understand where the matching fails...
 
 Thank you a lot for helping me out,
 
 Kooda.
 
 
 --KsGdsel6WgEHnImy
 Content-Type: text/plain; charset=us-ascii
 Content-Disposition: attachment; filename=usbhidctl
 
 % usbhidctl -f uhid6 -rvvvv
 report ID=16
 Report descriptor:
 item: kind=3 repid=16 usage=0xd0020
 Collection page=Digitizer usage=Stylus (13:0x20)
 item: kind=0 repid=16 usage=0xd0042
 Input   size=1 count=1 page=Digitizer usage=Tip_Switch (13:0x42), logical 
range 0..1
 item: kind=0 repid=16 usage=0xd0044
 Input   size=1 count=1 page=Digitizer usage=Barrel_Switch (13:0x44), logical 
range 0..1
 item: kind=0 repid=16 usage=0xd003c
 Input   size=1 count=1 page=Digitizer usage=Invert (13:0x3c), logical range 
0..1
 item: kind=0 repid=16 usage=0xd0045
 Input   size=1 count=1 page=Digitizer usage=Eraser (13:0x45), logical range 
0..1
 item: kind=0 repid=16 usage=0xd0032
 Input   size=1 count=1 page=Digitizer usage=In_Range (13:0x32), logical range 
0..1
 item: kind=0 repid=16 usage=0x0
 Input   size=1 count=1 Const page=0x0000 usage=0x0000 (0:0x0), logical range 
0..1
 item: kind=0 repid=16 usage=0x0
 Input   size=1 count=1 Const page=0x0000 usage=0x0000 (0:0x0), logical range 
0..1
 item: kind=0 repid=16 usage=0x0
 Input   size=1 count=1 Const page=0x0000 usage=0x0000 (0:0x0), logical range 
0..1
 item: kind=0 repid=16 usage=0x10030
 Input   size=16 count=1 page=Generic_Desktop usage=X (1:0x30), logical range 
0..18000, physical range 0..18000, unit=0x33 exp=-3
 item: kind=0 repid=16 usage=0x10031
 Input   size=16 count=1 page=Generic_Desktop usage=Y (1:0x31), logical range 
0..11000, physical range 0..11000, unit=0x33 exp=-3
 item: kind=0 repid=16 usage=0xd0030
 Input   size=16 count=1 page=Digitizer usage=Tip_Pressure (13:0x30), logical 
range 0..1023, physical range 0..1023, unit=0x33 exp=-3
 item: kind=4 repid=16 usage=0x0
 End collection
 item: kind=4 repid=16 usage=0x0
 usbhidctl: Excessive collection ends
 
 --KsGdsel6WgEHnImy--
 


Home | Main Index | Thread Index | Old Index