]> git.baikalelectronics.ru Git - kernel.git/commit
HID: blacklist Powercom USB UPS
authorMichael Tokarev <mjt@tls.msk.ru>
Sun, 1 Feb 2009 15:11:04 +0000 (16:11 +0100)
committerJiri Kosina <jkosina@suse.cz>
Tue, 17 Feb 2009 12:25:01 +0000 (13:25 +0100)
commit16510aacd622c4ff01d1a4e88848a04ec56c5643
tree7ca54d5ea4a0b4bd1b8013cce66aa31a19e505bd
parent036031e6cb98560dcf726c26f1bd528a9c9eef75
HID: blacklist Powercom USB UPS

For quite some time users with various UPSes from Powercom were forced to play
magic with bind/unbind in /sys in order to be able to see the UPSes.  The
beasts does not work as HID devices, even if claims to do so.  cypress_m8
driver works with the devices instead, creating a normal serial port with which
normal UPS controlling software works.

The manufacturer confirmed the upcoming models with proper HID support will
have different device IDs.  In any way, it's wrong to have two completely
different modules for one device in kernel.

Blacklist the device in HID (add it to hid_ignore_list) to stop this mess,
finally.

Signed-off-By: Michael Tokarev <mjt@tls.msk.ru>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-core.c
drivers/hid/hid-ids.h