Re: [PATCH 1/2] HID: N-trig Add set feature commands to driver

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Rafi Rubin
Date: Monday, March 22, 2010 - 10:29 am

On Mon, Mar 22, 2010 at 02:16:12PM +0200, micki@n-trig.com wrote:

Its been brought to my attention that the probe code you are having 
trouble with is incompatible with older kernels due to a bug which was 
fixed shortly before 2.6.30.

It seems to me that your patches suggest that you've been working with an 
older version of the kernel and that has greatly influenced the design of 
the changes you suggested.

I'm sorry I wasn't able to catch this sooner.  But that's part of the risk 
you take with developing with out of date branches.


Anyway, I suggest you either try applying your changes bit by bit to a 
newer kernel, or move the multi-input quirk to usbhid/hid-quirks.c (I 
should probably do that anyway to keep things cleaner).

Once you have valid multiple input devices with the pen events routed to a 
separate device, I'm sure you will see how much it simplifies the design 
of this driver.  After that we can discuss what does or does not need 
handling in the ntrig specific event handler and which mappings should or 
should not be changed.

Also when you break up your changes into multiple patches, I ask that you 
add you #defines where needed.  In this case your feature commands defines 
make sense, but none of the rest make sense in the scope of this patch.
 
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [PATCH 1/2] HID: N-trig Add set feature commands to driver, Rafi Rubin, (Mon Mar 22, 10:29 am)
Re: [PATCH 1/2] HID: N-trig Add set feature commands to driver, Mohamed Ikbel Boulabiar, (Wed Mar 24, 6:27 am)