Skip to contentSkip to conversation

HID: quirks: really enable the intended work around for appledisplay

PATCH Applied Lukas Bulwahn 3 participants 5 messages Feb 5 – May 12

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 HID: quirks: really enable the intended work around for appledisplay

From: Lukas Bulwahn <[email protected]>

Commit c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay") intends to add a quirk for kernels built with Apple Cinema Display support, but it refers to the non-existing config option CONFIG_APPLEDISPLAY, whereas the config option for Apple Cinema Display support is named CONFIG_USB_APPLEDISPLAY.

Refer to the intended config option CONFIG_USB_APPLEDISPLAY in the ifdef directive.

Fixes c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay")

---

Note this fix suggests that the patch of commit c7fabe4ad921 in this form was never effectively tested, checking the effect that the commit message claims it would have.

 drivers/hid/hid-quirks.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/hid-quirks.c +1 -1
index 3217e436c052..b91e081ef69c 100644
@@ -233,7 +233,7 @@ static const struct hid_device_id hid_quirks[] = {
  * used as a driver. See hid_scan_report().
  */
 static const struct hid_device_id hid_have_special_driver[] = {
-#if IS_ENABLED(CONFIG_APPLEDISPLAY)
+#if IS_ENABLED(CONFIG_USB_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) },
Signature · 1 line
2.52.0
#1 lore raw

Hi,

Quoted 13 lines · Lukas Bulwahn

From: Lukas Bulwahn <[email protected]>

Commit c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay") intends to add a quirk for kernels built with Apple Cinema Display support, but it refers to the non-existing config option CONFIG_APPLEDISPLAY, whereas the config option for Apple Cinema Display support is named CONFIG_USB_APPLEDISPLAY.

Refer to the intended config option CONFIG_USB_APPLEDISPLAY in the ifdef directive.

Quoted 7 lines
Fixes c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay")

---

Note this fix suggests that the patch of commit c7fabe4ad921 in this form was never effectively tested, checking the effect that the commit message claims it would have.

Thanks for spotting this. It was tested when I did this years ago. Though, maybe I tested before adding the #if IS_ENABLED, anciently hit some key in Vim, o something was renamed since then.

Either way, I’ll get the display out of the basement and re-test it the coming days.

René

Quoted 19 lines

drivers/hid/hid-quirks.c | 2 +-

1 file changed, 1 insertion(+), 1 deletion(-)
drivers/hid/hid-quirks.c +1 -1
index 3217e436c052..b91e081ef69c 100644
@@ -233,7 +233,7 @@ static const struct hid_device_id hid_quirks[] = {
 * used as a driver. See hid_scan_report().
 */
 static const struct hid_device_id hid_have_special_driver[] = {
-#if IS_ENABLED(CONFIG_APPLEDISPLAY)
+#if IS_ENABLED(CONFIG_USB_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) },
Signature · 1 line
2.52.0
Signature · 1 line
https://exactco.de • https://t2linux.com • https://patreon.com/renerebe
maintainer
#2 lore raw
Quoted 19 lines · René Rebe
Quoted 11 lines

From: Lukas Bulwahn <[email protected]>

Commit c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay") intends to add a quirk for kernels built with Apple Cinema Display support, but it refers to the non-existing config option CONFIG_APPLEDISPLAY, whereas the config option for Apple Cinema Display support is named CONFIG_USB_APPLEDISPLAY.

Refer to the intended config option CONFIG_USB_APPLEDISPLAY in the ifdef directive.

Quoted 7 lines
Fixes c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay")

---

Note this fix suggests that the patch of commit c7fabe4ad921 in this form was never effectively tested, checking the effect that the commit message claims it would have.

Quoted 5 lines

Thanks for spotting this. It was tested when I did this years ago. Though, maybe I tested before adding the #if IS_ENABLED, anciently hit some key in Vim, o something was renamed since then.

Either way, I’ll get the display out of the basement and re-test it the coming days.

Is there any results of this testing, please?

Thanks,

Signature · 2 lines
Jiri Kosina
SUSE Labs
maintainer
#3 lore raw
Quoted 17 lines · Jiri Kosina
Quoted 17 lines
Quoted 16 lines

Commit c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay") intends to add a quirk for kernels built with Apple Cinema Display support, but it refers to the non-existing config option CONFIG_APPLEDISPLAY, whereas the config option for Apple Cinema Display support is named CONFIG_USB_APPLEDISPLAY.

Refer to the intended config option CONFIG_USB_APPLEDISPLAY in the ifdef directive.

Fixes c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay")

---

Note this fix suggests that the patch of commit c7fabe4ad921 in this form was never effectively tested, checking the effect that the commit message claims it would have.

Quoted 7 lines
Quoted 5 lines

Thanks for spotting this. It was tested when I did this years ago. Though, maybe I tested before adding the #if IS_ENABLED, anciently hit some key in Vim, o something was renamed since then.

Either way, I’ll get the display out of the basement and re-test it the coming days.

Is there any results of this testing, please?

Friendly ping on this one :)

Signature · 2 lines
Jiri Kosina
SUSE Labs
maintainer Applied
#4 lore raw
In reply to Lukas Bulwahn
Quoted 8 lines · Lukas Bulwahn

From: Lukas Bulwahn <[email protected]>

Commit c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay") intends to add a quirk for kernels built with Apple Cinema Display support, but it refers to the non-existing config option CONFIG_APPLEDISPLAY, whereas the config option for Apple Cinema Display support is named CONFIG_USB_APPLEDISPLAY.

Quoted 5 lines

Refer to the intended config option CONFIG_USB_APPLEDISPLAY in the ifdef directive.

Fixes c7fabe4ad921 ("HID: quirks: work around VID/PID conflict for appledisplay")

Applied, thanks Lukas.

Signature · 2 lines
Jiri Kosina
SUSE Labs