提交 6eeb775a 编写于 作者: S Sean Young 提交者: Mauro Carvalho Chehab

media: USB: cdc-acm: blacklist IR Droid / IR Toy device

The IR Droid / IR Toy device used custom protocol over serial
line, so it is presenting itself as CDC ACM device.

Now that we have proper in-kernel driver for it we need to black-list the
device in cdc-acm driver.

http://dangerousprototypes.com/docs/USB_Infrared_Toy
https://www.irdroid.com/irdroid-usb-ir-transceiver/Acked-by: NGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Signed-off-by: NSean Young <sean@mess.org>
Signed-off-by: NMauro Carvalho Chehab <mchehab+huawei@kernel.org>
上级 261463db
...@@ -1890,6 +1890,12 @@ static const struct usb_device_id acm_ids[] = { ...@@ -1890,6 +1890,12 @@ static const struct usb_device_id acm_ids[] = {
}, },
#endif #endif
#if IS_ENABLED(CONFIG_IR_TOY)
{ USB_DEVICE(0x04d8, 0xfd08),
.driver_info = IGNORE_DEVICE,
},
#endif
/*Samsung phone in firmware update mode */ /*Samsung phone in firmware update mode */
{ USB_DEVICE(0x04e8, 0x685d), { USB_DEVICE(0x04e8, 0x685d),
.driver_info = IGNORE_DEVICE, .driver_info = IGNORE_DEVICE,
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册