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 <kooda%upyum.com@localhost>
Cc: gnats-bugs%netbsd.org@localhost
Subject: Re: kern/46391
Date: Thu, 30 Aug 2012 02:22:56 +1000

 Hi Kooda.
 
 I'm just experimenting to try and solve your problem as I don't have the 
 hardware.
 
 Could you change hid.c and re-test.
 
 --- hid.c.orig  2012-03-03 08:28:40.000000000 +0000
 +++ hid.c
 @@ -501,13 +501,14 @@ hid_is_collection(const void *desc, int
                             hi.kind, hi.report_ID, hi.usage, coll_usage));
 
                 if (hi.kind == hid_collection &&
 -                   hi.collection == HCOLL_APPLICATION)
 +                   (hi.collection == HCOLL_APPLICATION ||
 +                   hi.collection == HCOLL_PHYSICAL))
                         coll_usage = hi.usage;
 
 
 Hopefully we'll get it solved.  The problem is that the device as did mine 
 when matching on stylus is not of kind application.  Mine was of type 
 physical.  I put logical in there for good measure but it was a bad idea.
 
 Regards,
 
 Nat.
 


Home | Main Index | Thread Index | Old Index