kernel_optimize_test/drivers/hid
Richard Hughes c0bd6a4298 HID: remove ignore quirk for MGE UPS devices
This patch reverts the change made four years ago here:
http://www.vg.kernel.org/pub/linux/kernel/people/gregkh/usb/2.4/usb-hid-2.4.25-pre7.patch

UPS's made by MGE can be used with usbhid just fine, and by removing the
ignore quirk allows them to be used with HAL so they just work when plugged
in, without needing to be manually configured.

With the ignore quirk in place a user would have to configure NUT before the
UPS could be used, as NUT uses it's own internal USB matching framework
to match against the USB devices, do low level control messages on the
device and then parse the HID tables all in userspace.

This is not needed, as allowing the device to be claimed as a usbhid device
allows it to be used like any other USB UPS device. The devices correctly
advertise the power device page which can be queried for the device state.

I assume the quirk was changed so that people using < libusb 0.1.8 could
still use NUT's internal HID code to manage the UPS.
libusb 0.1.8 was released quite some time ago: 2004-02-11.

This patch does not break NUT as in drivers/libusb.c the device is force
unbound from the kernel driver using usb_detach_kernel_driver_np () where
it can be controlled like normal.

[jkosina@suse.cz: adapt to the new hidbus code]

Signed-off-by: Richard Hughes <rhughes@redhat.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2008-10-14 23:50:57 +02:00
..
usbhid HID: move logitech FF processing 2008-10-14 23:50:56 +02:00
hid-a4tech.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-apple.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-belkin.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-cherry.c HID: move cherry quirks 2008-10-14 23:50:52 +02:00
hid-chicony.c HID: move chicony quirks 2008-10-14 23:50:53 +02:00
hid-core.c HID: remove ignore quirk for MGE UPS devices 2008-10-14 23:50:57 +02:00
hid-cypress.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-debug.c HID: remove CVS keywords 2008-05-20 16:44:43 +02:00
hid-dell.c HID: move reset leds quirk 2008-10-14 23:50:56 +02:00
hid-dummy.c HID: move dell quirks 2008-10-14 23:50:55 +02:00
hid-ezkey.c HID: move ezkey quirks 2008-10-14 23:50:52 +02:00
hid-gyration.c HID: move gyration quirks 2008-10-14 23:50:54 +02:00
hid-ids.h HID: move logitech FF processing 2008-10-14 23:50:56 +02:00
hid-input.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-lg.c HID: move logitech FF processing 2008-10-14 23:50:56 +02:00
hid-lg.h HID: move logitech FF processing 2008-10-14 23:50:56 +02:00
hid-lg2ff.c HID: move logitech FF processing 2008-10-14 23:50:56 +02:00
hid-lgff.c HID: move logitech FF processing 2008-10-14 23:50:56 +02:00
hid-microsoft.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-monterey.c HID: move monterey quirks 2008-10-14 23:50:53 +02:00
hid-petalynx.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-samsung.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-sony.c HID: move connect quirks 2008-10-14 23:50:56 +02:00
hid-sunplus.c HID: move sunplus quirks 2008-10-14 23:50:51 +02:00
hidraw.c HID: hid, make parsing event driven 2008-10-14 23:50:48 +02:00
Kconfig HID: move logitech FF processing 2008-10-14 23:50:56 +02:00
Makefile HID: move logitech FF processing 2008-10-14 23:50:56 +02:00