Re: [PATCH] USB: serial: metro-usb: add MS7820 device id

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Tested-by: Ladislav Dobrovsky <ladislav.dobrovsky@xxxxxxxxx>


>
> 2017-10-12 14:50 GMT+02:00 Johan Hovold <johan@xxxxxxxxxx>:
>>
>> 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@xxxxxxxxx>
>> Cc: stable <stable@xxxxxxxxxxxxxxx>
>> Signed-off-by: Johan Hovold <johan@xxxxxxxxxx>
>> ---
>>  drivers/usb/serial/metro-usb.c | 1 +
>>  1 file changed, 1 insertion(+)
>>
>> 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);
>> --
>> 2.14.2
>>
>



[Index of Archives]     [Linux Kernel]     [Kernel Development Newbies]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite Hiking]     [Linux Kernel]     [Linux SCSI]