diff options
author | Johan Hovold <johan@kernel.org> | 2017-10-12 14:50:46 +0200 |
---|---|---|
committer | Johan Hovold <johan@kernel.org> | 2017-10-16 09:34:58 +0200 |
commit | 31dc3f819bac28a0990b36510197560258ab7421 (patch) | |
tree | 11cead213dc48ce1c53a6e72ac9385ac03687b7e /drivers/usb/serial/metro-usb.c | |
parent | Linux 4.14-rc5 (diff) | |
download | linux-31dc3f819bac28a0990b36510197560258ab7421.tar.xz linux-31dc3f819bac28a0990b36510197560258ab7421.zip |
USB: serial: metro-usb: add MS7820 device id
Add device-id entry for (Honeywell) Metrologic MS7820 bar code scanner.
The device has two interfaces (in this mode?); a vendor-specific
interface with two interrupt endpoints and a second HID interface, which
we do not bind to.
Reported-by: Ladislav Dobrovsky <ladislav.dobrovsky@gmail.com>
Tested-by: Ladislav Dobrovsky <ladislav.dobrovsky@gmail.com>
Cc: stable <stable@vger.kernel.org>
Signed-off-by: Johan Hovold <johan@kernel.org>
Diffstat (limited to 'drivers/usb/serial/metro-usb.c')
-rw-r--r-- | drivers/usb/serial/metro-usb.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/usb/serial/metro-usb.c b/drivers/usb/serial/metro-usb.c index cc84da8dbb84..14511d6a7d44 100644 --- a/drivers/usb/serial/metro-usb.c +++ b/drivers/usb/serial/metro-usb.c @@ -45,6 +45,7 @@ struct metrousb_private { static const struct usb_device_id id_table[] = { { USB_DEVICE(FOCUS_VENDOR_ID, FOCUS_PRODUCT_ID_BI) }, { USB_DEVICE(FOCUS_VENDOR_ID, FOCUS_PRODUCT_ID_UNI) }, + { USB_DEVICE_INTERFACE_CLASS(0x0c2e, 0x0730, 0xff) }, /* MS7820 */ { }, /* Terminating entry. */ }; MODULE_DEVICE_TABLE(usb, id_table); |