Re: [PATCH] USB: serial: pl2303: add Delock Infrared device id

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

 



On Sat, Feb 09, 2019 at 12:18:40PM +0330, ebrahim@xxxxxxx wrote:
> From: Ebrahim Byagowi <ebrahim@xxxxxxx>
> 
> This makes Delock Infrared adapter to work as a USB to Serial device.
> ---
>  drivers/usb/serial/pl2303.c | 1 +
>  drivers/usb/serial/pl2303.h | 3 +++
>  2 files changed, 4 insertions(+)
> 
> diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
> index 98e7a5df0..d5ec72575 100644
> --- a/drivers/usb/serial/pl2303.c
> +++ b/drivers/usb/serial/pl2303.c
> @@ -105,6 +105,7 @@ static const struct usb_device_id id_table[] = {
>  	{ USB_DEVICE(SANWA_VENDOR_ID, SANWA_PRODUCT_ID) },
>  	{ USB_DEVICE(ADLINK_VENDOR_ID, ADLINK_ND6530_PRODUCT_ID) },
>  	{ USB_DEVICE(SMART_VENDOR_ID, SMART_PRODUCT_ID) },
> +	{ USB_DEVICE(DELOCK_VENDOR_ID, DELOCK_PRODUCT_ID) },
>  	{ }					/* Terminating entry */
>  };
>  
> diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
> index 4e2554d55..01936de13 100644
> --- a/drivers/usb/serial/pl2303.h
> +++ b/drivers/usb/serial/pl2303.h
> @@ -153,3 +153,6 @@
>  #define SMART_VENDOR_ID	0x0b8c
>  #define SMART_PRODUCT_ID	0x2303
>  
> +/* Delock Infrared Adapter */
> +#define DELOCK_VENDOR_ID	0x1685
> +#define DELOCK_PRODUCT_ID	0x2000

Please post the output of lsusb -v for this device, and perhaps also a
log from when connecting the device with driver debugging enabled.

How did you determine that this a pl2303 device?

Johan



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

  Powered by Linux