usb: quirks: Add no-lpm quirk for Elan Microelectronics Touchpad
Subsystems (2)
PATCH 1/1 usb: quirks: Add no-lpm quirk for Elan Microelectronics Touchpad
In reply to a message not in the archiveAs reported in BugLink, this device has an issue with Linux Power Management so adding a quirk. This quirk was reccomended by Alan Stern:
http://lkml.iu.edu/hypermail/linux/kernel/1606.2/05590.html
--- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+)
drivers/usb/core/quirks.c +3 -0
@@ -198,6 +198,9 @@ static const struct usb_device_id usb_quirk_list[] = {/* Protocol and OTG Electrical Test Device */ { USB_DEVICE(0x1a0a, 0x0200), .driver_info = USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL }, + + /* ELAN Microelectronics Touchscreen */ + { USB_DEVICE(0x04f3, 0x0381), .driver_info = USB_QUIRK_NO_LPM }, /* Acer C120 LED Projector */ { USB_DEVICE(0x1de1, 0xc102), .driver_info = USB_QUIRK_NO_LPM },
Signature · 1 line
2.7.4
Greg KH
maintainerQuoted 19 lines · Joseph Salisbury
As reported in BugLink, this device has an issue with Linux Power Management so adding a quirk. This quirk was reccomended by Alan Stern:
http://lkml.iu.edu/hypermail/linux/kernel/1606.2/05590.html
Signed-off-by Joseph Salisbury <[email protected]>Cc stable <[email protected]>--- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+)drivers/usb/core/quirks.c +0
-0
drivers/usb/core/quirks.c static const struct usb_device_id usb_quirk_list[] = { · line 203
Quoted 6 lines
drivers/usb/core/quirks.c +3
-0@@ -198,6 +198,9 @@ static const struct usb_device_id usb_quirk_list[] = {/* Protocol and OTG Electrical Test Device */ { USB_DEVICE(0x1a0a, 0x0200), .driver_info = USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL }, + + /* ELAN Microelectronics Touchscreen */ + { USB_DEVICE(0x04f3, 0x0381), .driver_info = USB_QUIRK_NO_LPM },
Please put this next to the other Elan touchscreen quirk entries, don't put them in random order, it's a pain to maintain that way...
thanks,
greg k-h
Quoted 29 lines · Greg KH
Quoted 19 lines · Joseph Salisbury
As reported in BugLink, this device has an issue with Linux Power Management so adding a quirk. This quirk was reccomended by Alan Stern:
http://lkml.iu.edu/hypermail/linux/kernel/1606.2/05590.html
Signed-off-by Joseph Salisbury <[email protected]>Cc stable <[email protected]>--- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+)drivers/usb/core/quirks.c +0
-0drivers/usb/core/quirks.c static const struct usb_device_id usb_quirk_list[] = { · line 203
Quoted 6 lines
drivers/usb/core/quirks.c +3
-0@@ -198,6 +198,9 @@ static const struct usb_device_id usb_quirk_list[] = {/* Protocol and OTG Electrical Test Device */ { USB_DEVICE(0x1a0a, 0x0200), .driver_info = USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL }, + + /* ELAN Microelectronics Touchscreen */ + { USB_DEVICE(0x04f3, 0x0381), .driver_info = USB_QUIRK_NO_LPM },Please put this next to the other Elan touchscreen quirk entries, don't put them in random order, it's a pain to maintain that way...
Quoted 3 lines
thanks,
greg k-h
Sorry, I grouped it with the other USB_QUIRK_NO_LPM entries. I'll send a V2 patch and make a note to group by manufacturer from now on.
Thanks,
Joe
Hi,
Quoted 3 lines · Joseph Salisbury
As reported in BugLink, this device has an issue with Linux Power Management so
s/"Linux Power Management"/"USB Link Power Management"
Best regards,
Lu Baolu
Quoted 25 lines
adding a quirk. This quirk was reccomended by Alan Stern:
http://lkml.iu.edu/hypermail/linux/kernel/1606.2/05590.html
Signed-off-by Joseph Salisbury <[email protected]>Cc stable <[email protected]>--- drivers/usb/core/quirks.c | 3 +++ 1 file changed, 3 insertions(+)drivers/usb/core/quirks.c +3
-0@@ -198,6 +198,9 @@ static const struct usb_device_id usb_quirk_list[] = {/* Protocol and OTG Electrical Test Device */ { USB_DEVICE(0x1a0a, 0x0200), .driver_info = USB_QUIRK_LINEAR_UFRAME_INTR_BINTERVAL }, + + /* ELAN Microelectronics Touchscreen */ + { USB_DEVICE(0x04f3, 0x0381), .driver_info = USB_QUIRK_NO_LPM }, /* Acer C120 LED Projector */ { USB_DEVICE(0x1de1, 0xc102), .driver_info = USB_QUIRK_NO_LPM },