From: Lars Melin <larsm17@gmail.com>
To: Scott Chen <scott@labau.com.tw>
Cc: young@labau.com.tw, jocelyn@labau.com.tw, roger@labau.com.tw,
Johan Hovold <johan@kernel.org>,
Greg Kroah-Hartman <gregkh@linuxfoundation.org>,
linux-usb@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: Re: [PATCH] Add a new PID for HP
Date: Fri, 6 Mar 2020 10:59:48 +0700 [thread overview]
Message-ID: <bc753e9a-6624-0f17-725e-f54144e5a281@gmail.com> (raw)
In-Reply-To: <20200306024048.11408-1-scott@labau.com.tw>
On 3/6/2020 09:40, Scott Chen wrote:
> Add a device id for HP LD381 Display
> LD381: 03f0:0f7f
>
> Signed-off-by: Scott Chen <scott@labau.com.tw>
> ---
> drivers/usb/serial/pl2303.c | 1 +
> drivers/usb/serial/pl2303.h | 1 +
> 2 files changed, 2 insertions(+)
>
> diff --git a/drivers/usb/serial/pl2303.c b/drivers/usb/serial/pl2303.c
> index aab737e1e7b6..5cb1c63295f5 100644
> --- a/drivers/usb/serial/pl2303.c
> +++ b/drivers/usb/serial/pl2303.c
> @@ -97,6 +97,7 @@ static const struct usb_device_id id_table[] = {
> { USB_DEVICE(COREGA_VENDOR_ID, COREGA_PRODUCT_ID) },
> { USB_DEVICE(YCCABLE_VENDOR_ID, YCCABLE_PRODUCT_ID) },
> { USB_DEVICE(SUPERIAL_VENDOR_ID, SUPERIAL_PRODUCT_ID) },
> + { USB_DEVICE(HP_VENDOR_ID, HP_LD381_PRODUCT_ID) },
> { USB_DEVICE(HP_VENDOR_ID, HP_LD220_PRODUCT_ID) },
> { USB_DEVICE(HP_VENDOR_ID, HP_LD220TA_PRODUCT_ID) },
> { USB_DEVICE(HP_VENDOR_ID, HP_LD960_PRODUCT_ID) },
> diff --git a/drivers/usb/serial/pl2303.h b/drivers/usb/serial/pl2303.h
> index a019ea7e6e0e..80b20e980064 100644
> --- a/drivers/usb/serial/pl2303.h
> +++ b/drivers/usb/serial/pl2303.h
> @@ -127,6 +127,7 @@
>
> /* Hewlett-Packard POS Pole Displays */
> #define HP_VENDOR_ID 0x03f0
> +#define HP_LD381_PRODUCT_ID 0x0f7f
> #define HP_LM920_PRODUCT_ID 0x026b
> #define HP_TD620_PRODUCT_ID 0x0956
> #define HP_LD960_PRODUCT_ID 0x0b39
>
The tables were sorted on product id, not product name, before you
entered this one.
br
/Lars
prev parent reply other threads:[~2020-03-06 3:59 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-06 2:40 Scott Chen
2020-03-06 3:59 ` Lars Melin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bc753e9a-6624-0f17-725e-f54144e5a281@gmail.com \
--to=larsm17@gmail.com \
--cc=gregkh@linuxfoundation.org \
--cc=jocelyn@labau.com.tw \
--cc=johan@kernel.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-usb@vger.kernel.org \
--cc=roger@labau.com.tw \
--cc=scott@labau.com.tw \
--cc=young@labau.com.tw \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®