Skip to content

Commit 4512d65

Browse files
jhovoldgregkh
authored andcommitted
USB: serial: metro-usb: add MS7820 device id
commit 31dc3f819bac28a0990b36510197560258ab7421 upstream. 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> Signed-off-by: Johan Hovold <johan@kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
1 parent 9dff499 commit 4512d65

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

drivers/usb/serial/metro-usb.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@ struct metrousb_private {
4545
static const struct usb_device_id id_table[] = {
4646
{ USB_DEVICE(FOCUS_VENDOR_ID, FOCUS_PRODUCT_ID_BI) },
4747
{ USB_DEVICE(FOCUS_VENDOR_ID, FOCUS_PRODUCT_ID_UNI) },
48+
{ USB_DEVICE_INTERFACE_CLASS(0x0c2e, 0x0730, 0xff) }, /* MS7820 */
4849
{ }, /* Terminating entry. */
4950
};
5051
MODULE_DEVICE_TABLE(usb, id_table);

0 commit comments

Comments
 (0)