mirror of
https://github.com/torvalds/linux.git
synced 2026-06-02 19:43:40 +02:00
HID: quirks: work around VID/PID conflict for appledisplay
For years I wondered why the Apple Cinema Display driver would not
just work for me. Turns out the hidraw driver instantly takes it
over. Fix by adding appledisplay VID/PIDs to hid_have_special_driver.
Fixes: 069e8a65cd ("Driver for Apple Cinema Display")
Signed-off-by: René Rebe <rene@exactco.de>
Signed-off-by: Jiri Kosina <jkosina@suse.com>
This commit is contained in:
parent
85a8668093
commit
c7fabe4ad9
|
|
@ -233,6 +233,15 @@ static const struct hid_device_id hid_quirks[] = {
|
||||||
* used as a driver. See hid_scan_report().
|
* used as a driver. See hid_scan_report().
|
||||||
*/
|
*/
|
||||||
static const struct hid_device_id hid_have_special_driver[] = {
|
static const struct hid_device_id hid_have_special_driver[] = {
|
||||||
|
#if IS_ENABLED(CONFIG_APPLEDISPLAY)
|
||||||
|
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9218) },
|
||||||
|
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9219) },
|
||||||
|
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x921c) },
|
||||||
|
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x921d) },
|
||||||
|
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9222) },
|
||||||
|
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9226) },
|
||||||
|
{ HID_USB_DEVICE(USB_VENDOR_ID_APPLE, 0x9236) },
|
||||||
|
#endif
|
||||||
#if IS_ENABLED(CONFIG_HID_A4TECH)
|
#if IS_ENABLED(CONFIG_HID_A4TECH)
|
||||||
{ HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_WCP32PU) },
|
{ HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_WCP32PU) },
|
||||||
{ HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_X5_005D) },
|
{ HID_USB_DEVICE(USB_VENDOR_ID_A4TECH, USB_DEVICE_ID_A4TECH_X5_005D) },
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user