* [patch] hid: move tmff and zpff devices from ignore_list to blacklist
@ 2009-02-14 9:45 Anssi Hannula
2009-02-16 11:04 ` Jiri Kosina
0 siblings, 1 reply; 4+ messages in thread
From: Anssi Hannula @ 2009-02-14 9:45 UTC (permalink / raw)
To: Jiri Kosina; +Cc: linux-input
The devices handled by hid-tmff and hid-zpff were added in the
hid_ignore_list[] instead of hid_blacklist[] in hid-core.c, thus
disabling them completely.
hid_ignore_list[] causes hid layer to skip the device, while
hid_blacklist[] indicates there is a specific driver in hid bus.
Re-enable the devices by moving them to the correct list.
Signed-off-by: Anssi Hannula <anssi.hannula@gmail.com>
--- linux-2629-pidff/drivers/hid/hid-core.c 2009-02-13 22:12:21.000000000 +0200
+++ linux-2629-pidff/drivers/hid/hid-core.c.new 2009-02-14 11:27:52.000000000 +0200
@@ -1306,7 +1306,13 @@ static const struct hid_device_id hid_bl
{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_PS3_CONTROLLER) },
{ HID_USB_DEVICE(USB_VENDOR_ID_SONY, USB_DEVICE_ID_SONY_VAIO_VGX_MOUSE) },
{ HID_USB_DEVICE(USB_VENDOR_ID_SUNPLUS, USB_DEVICE_ID_SUNPLUS_WDESKTOP) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb300) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb304) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb651) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654) },
{ HID_USB_DEVICE(USB_VENDOR_ID_TOPSEED, USB_DEVICE_ID_TOPSEED_CYBERLINK) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
+ { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_APPLE, 0x030c) },
{ HID_BLUETOOTH_DEVICE(USB_VENDOR_ID_MICROSOFT, USB_DEVICE_ID_MS_PRESENTER_8K_BT) },
@@ -1618,10 +1624,6 @@ static const struct hid_device_id hid_ig
{ HID_USB_DEVICE(USB_VENDOR_ID_SOUNDGRAPH, USB_DEVICE_ID_SOUNDGRAPH_IMON_LCD5) },
{ HID_USB_DEVICE(USB_VENDOR_ID_TENX, USB_DEVICE_ID_TENX_IBUDDY1) },
{ HID_USB_DEVICE(USB_VENDOR_ID_TENX, USB_DEVICE_ID_TENX_IBUDDY2) },
- { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb300) },
- { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb304) },
- { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb651) },
- { HID_USB_DEVICE(USB_VENDOR_ID_THRUSTMASTER, 0xb654) },
{ HID_USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_LABPRO) },
{ HID_USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_GOTEMP) },
{ HID_USB_DEVICE(USB_VENDOR_ID_VERNIER, USB_DEVICE_ID_VERNIER_SKIP) },
@@ -1632,8 +1634,6 @@ static const struct hid_device_id hid_ig
{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_1_PHIDGETSERVO_20) },
{ HID_USB_DEVICE(USB_VENDOR_ID_WISEGROUP, USB_DEVICE_ID_8_8_4_IF_KIT) },
{ HID_USB_DEVICE(USB_VENDOR_ID_YEALINK, USB_DEVICE_ID_YEALINK_P1K_P4K_B2K) },
- { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0005) },
- { HID_USB_DEVICE(USB_VENDOR_ID_ZEROPLUS, 0x0030) },
{ }
};
--
Anssi Hannula
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] hid: move tmff and zpff devices from ignore_list to blacklist
2009-02-14 9:45 [patch] hid: move tmff and zpff devices from ignore_list to blacklist Anssi Hannula
@ 2009-02-16 11:04 ` Jiri Kosina
2009-02-21 7:55 ` Anssi Hannula
0 siblings, 1 reply; 4+ messages in thread
From: Jiri Kosina @ 2009-02-16 11:04 UTC (permalink / raw)
To: Anssi Hannula; +Cc: linux-input
On Sat, 14 Feb 2009, Anssi Hannula wrote:
> The devices handled by hid-tmff and hid-zpff were added in the
> hid_ignore_list[] instead of hid_blacklist[] in
Good catch, thanks for cathing this overlook. I have applied your patch to
my tree.
--
Jiri Kosina
SUSE Labs
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] hid: move tmff and zpff devices from ignore_list to blacklist
2009-02-16 11:04 ` Jiri Kosina
@ 2009-02-21 7:55 ` Anssi Hannula
2009-02-21 7:58 ` Anssi Hannula
0 siblings, 1 reply; 4+ messages in thread
From: Anssi Hannula @ 2009-02-21 7:55 UTC (permalink / raw)
To: Jiri Kosina; +Cc: linux-input
Jiri Kosina wrote:
> On Sat, 14 Feb 2009, Anssi Hannula wrote:
>
>> The devices handled by hid-tmff and hid-zpff were added in the
>> hid_ignore_list[] instead of hid_blacklist[] in
>
> Good catch, thanks for cathing this overlook. I have applied your patch to
> my tree.
Maybe this should also go to the stable 2.6.29 tree?
--
Anssi Hannula
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [patch] hid: move tmff and zpff devices from ignore_list to blacklist
2009-02-21 7:55 ` Anssi Hannula
@ 2009-02-21 7:58 ` Anssi Hannula
0 siblings, 0 replies; 4+ messages in thread
From: Anssi Hannula @ 2009-02-21 7:58 UTC (permalink / raw)
To: Jiri Kosina; +Cc: linux-input
Anssi Hannula wrote:
> Jiri Kosina wrote:
>> On Sat, 14 Feb 2009, Anssi Hannula wrote:
>>
>>> The devices handled by hid-tmff and hid-zpff were added in the
>>> hid_ignore_list[] instead of hid_blacklist[] in
>> Good catch, thanks for cathing this overlook. I have applied your patch to
>> my tree.
>
> Maybe this should also go to the stable 2.6.29 tree?
Err, I mean 2.6.28.
--
Anssi Hannula
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2009-02-21 7:58 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-02-14 9:45 [patch] hid: move tmff and zpff devices from ignore_list to blacklist Anssi Hannula
2009-02-16 11:04 ` Jiri Kosina
2009-02-21 7:55 ` Anssi Hannula
2009-02-21 7:58 ` Anssi Hannula
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).