aboutsummaryrefslogtreecommitdiff
path: root/drivers/eisa/pci_eisa.c
diff options
context:
space:
mode:
authorRichard Hughes <rhughes@redhat.com>2008-08-27 11:19:37 +0200
committerJiri Kosina <jkosina@suse.cz>2008-10-14 23:50:57 +0200
commitc0bd6a429819f794f626f9e73be4564e18e132db (patch)
tree235aa6dc873ab184f8eae0d5f050b921081b480c /drivers/eisa/pci_eisa.c
parent0f37cd0306463ad35f958d8f74a2b00e5b190b4b (diff)
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>
Diffstat (limited to 'drivers/eisa/pci_eisa.c')
0 files changed, 0 insertions, 0 deletions