Re: [PATCH] USB:pl2303: add ids for Hewlett-Packard HP POS pole displays

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

 



Am 28.03.2014 19:29, schrieb Sanders, Aaron:
> Add device ids to pl2303 for the Hewlett-Packard HP POS pole displays:
> LD960: 03f0:0B39
> LCM220: 03f0:3139
> LCM960: 03f0:3239 

Which chips do these devices use ?
Chip type detection/distinction is one of the weak spots of the pl2303
driver and there is a good chance that we have to run after this
information one day...
Just my two cents.

Regards,
Frank Schäfer


> Signed-off-by: Aaron Sanders <Aaron.Sanders@xxxxxx>
>
> diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
> index 3b5ba4f..4d70809 100644
> --- a/drivers/usb/serial/pl2303.c
> +++ b/drivers/usb/serial/pl2303.c
> @@ -82,6 +82,9 @@ static const struct usb_device_id id_table[] = {
>  	{ USB_DEVICE(YCCABLE_VENDOR_ID, YCCABLE_PRODUCT_ID) },
>  	{ USB_DEVICE(SUPERIAL_VENDOR_ID, SUPERIAL_PRODUCT_ID) },
>  	{ USB_DEVICE(HP_VENDOR_ID, HP_LD220_PRODUCT_ID) },
> +	{ USB_DEVICE(HP_VENDOR_ID, HP_LD960_PRODUCT_ID) },
> +	{ USB_DEVICE(HP_VENDOR_ID, HP_LCM220_PRODUCT_ID) },
> +	{ USB_DEVICE(HP_VENDOR_ID, HP_LCM960_PRODUCT_ID) },
>  	{ USB_DEVICE(CRESSI_VENDOR_ID, CRESSI_EDY_PRODUCT_ID) },
>  	{ USB_DEVICE(ZEAGLE_VENDOR_ID, ZEAGLE_N2ITION3_PRODUCT_ID) },
>  	{ USB_DEVICE(SONY_VENDOR_ID, SONY_QN3USB_PRODUCT_ID) },
> diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
> index c38b8c0..ec183d1 100644
> --- a/drivers/usb/serial/pl2303.h
> +++ b/drivers/usb/serial/pl2303.h
> @@ -121,9 +121,12 @@
>  #define SUPERIAL_VENDOR_ID	0x5372
>  #define SUPERIAL_PRODUCT_ID	0x2303
>  
> -/* Hewlett-Packard LD220-HP POS Pole Display */
> -#define HP_VENDOR_ID		0x03f0
> -#define HP_LD220_PRODUCT_ID	0x3524
> +//* Hewlett-Packard POS Pole Displays */
> + #define HP_VENDOR_ID		0x03f0
> + #define HP_LD220_PRODUCT_ID	0x3524
> + #define HP_LD960_PRODUCT_ID	0x0B39
> + #define HP_LCM220_PRODUCT_ID	0x3139
> + #define HP_LCM960_PRODUCT_ID	0x3239
>  
>  /* Cressi Edy (diving computer) PC interface */
>  #define CRESSI_VENDOR_ID	0x04b8
> --
> To unsubscribe from this list: send the line "unsubscribe linux-usb" in
> the body of a message to majordomo@xxxxxxxxxxxxxxx
> More majordomo info at  http://vger.kernel.org/majordomo-info.html

--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux