Skip to contentSkip to conversation

media: ir_toy: add another IR Droid device

PATCH In review Sean Young 3 participants 4 messages Dec 27, 2020 – Dec 28, 2020

Subsystems (4)
lore
Share & tools
lore

Sean Young

author maintainer
#0 lore raw

PATCH 1/2 media: ir_toy: add another IR Droid device

This device is also supported.

---
 drivers/media/rc/ir_toy.c | 1 +
 1 file changed, 1 insertion(+)
drivers/media/rc/ir_toy.c +1 -0
index e0242c9b6aeb..3e729a17b35f 100644
@@ -491,6 +491,7 @@ static void irtoy_disconnect(struct usb_interface *intf)
 
 static const struct usb_device_id irtoy_table[] = {
 	{ USB_DEVICE_INTERFACE_CLASS(0x04d8, 0xfd08, USB_CLASS_CDC_DATA) },
+	{ USB_DEVICE_INTERFACE_CLASS(0x04d8, 0xf58b, USB_CLASS_CDC_DATA) },
 	{ }
 };
 
Signature · 1 line
2.29.2
author maintainer
#1 lore raw

PATCH 2/2 cdc-acm: blacklist another IR Droid device

This device is supported by the IR Toy driver.

---
 drivers/usb/class/cdc-acm.c | 4 ++++
 1 file changed, 4 insertions(+)
drivers/usb/class/cdc-acm.c +4 -0
index f52f1bc0559f..781905745812 100644
@@ -1895,6 +1895,10 @@ static const struct usb_device_id acm_ids[] = {
 	{ USB_DEVICE(0x04d8, 0xfd08),
 	.driver_info = IGNORE_DEVICE,
 	},
+
+	{ USB_DEVICE(0x04d8, 0xf58b),
+	.driver_info = IGNORE_DEVICE,
+	},
 #endif
 
 	/*Samsung phone in firmware update mode */
Signature · 1 line
2.29.2