Re: [PATCH 2.6.19] USB HID: proper LED-mapping (support forSpaceNavigator)

From: Jiri Kosina
Date: Mon Jan 15 2007 - 03:43:10 EST


On Mon, 15 Jan 2007, Simon Budig wrote:

> This change introduces a mapping for LED indicators between the USB HID
> specification and the Linux input subsystem. The previous code properly
> mapped the LEDs relevant for Keyboards, but garbeled the remaining ones.
> With this change all LED enums from the input system get mapped to more
> or less equivalent LED numbers from the HID specification. This patch
> also extends the debug output and ensures that the unused bits in a HID
> report to the device are zeroed out. This makes the 3Dconnexion
> SpaceNavigator fully usable with the linux input system.

Hi Simon,

thanks for the patch. It seems that it is based on pre-2.6.20-rc1 kernel
(this is where the USBHID split happened and generic HID layer was
introduced). Could you please rebase it against newer version of kernel
and resend it?

All your changes happen to be in the transport-independent code, so it
seems that this would be rather trivial task - probably only pathnames
(and diff offsets) will change - your changes should now go to
drivers/hid/hid-*, not drivers/usb/input/hid-*.

Thanks,

--
Jiri Kosina
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/