]> git.karo-electronics.de Git - karo-tx-linux.git/commit
HID: ACRUX - activate the device immediately after binding
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 11 Mar 2011 08:27:34 +0000 (00:27 -0800)
committerGreg Kroah-Hartman <gregkh@suse.de>
Wed, 23 Mar 2011 20:04:09 +0000 (13:04 -0700)
commit552c26d16dbb5ec82755492fd5eab42d6d07990d
tree475dff7daa2018e52bb1cff718bd58a166b74935
parentbf59a586cad3de1d4419312826d4b759a4da0921
HID: ACRUX - activate the device immediately after binding

commit 0ae43810976bc969ee158510c4acbe70ed136e61 upstream.

This device does not tolerate delayed opening and goes into a coma if
we try to that. Ubuntu even has a crutch for udev that opened the device
upon seeing it for the first time, but it did not work if we happened to
boot with the device attached, since by the time userspace got around
opening the device it was too late. Let's start the device immediately
to deal with this issue.

Reported-by: Sergei Kolzun <x0r@dv-life.ru>
Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
drivers/hid/Kconfig
drivers/hid/Makefile
drivers/hid/hid-axff.c
drivers/hid/hid-core.c