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: Nat Sloss <nathanialsloss%yahoo.com.au@localhost>
To: kooda%upyum.com@localhost
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/46391
Date: Mon, 27 Aug 2012 01:47:42 +1000

 Hi.
 
 I've found the problem and it's an easy fix the match routine for ums must be 
 broadened to cater for stylus':
 
 If you use usbhidctl -rvv you will see that the usage will be 0x13:0x20 for 
 stylus I now know that my touch screen was 0x13:0x2 for pen.
 
 Using usbhidctl is faster and easier than using printf.
 
 
 So the test for matching must be broadened by adding:
 
        !hid_is_collection(desc, size, uha->reportid,
                                HID_USAGE2(HUP_DIGITIZERS, 0x0020)))
 
 Please check that your usage id is in fact 0x20.
 
 Regards,
 
 Nat.
 


Home | Main Index | Thread Index | Old Index