On Sun, Nov 26, 2017 at 04:11:10PM -0600, Frederick E. Stevens wrote:
> Hello,
>
> I have a USB device which I just obtained as part of my medical
> utilities. It is a OneTouch Verio IQ glucometer. After plugging it in
> to my Linux machine running 4.4.95 I obtained the device vendor and Id
> strings. I have added the strings to cp210x.c and built a new kernel,
> 4.4.102. The device is now recognized as a ttyUSB. Here is my dmesg
> output:
>
> [50675.033021] usb 5-1: new full-speed USB device number 7 using uhci_hcd
> [50675.188015] usb 5-1: New USB device found, idVendor=10c4, idProduct=85a7
> [50675.188022] usb 5-1: New USB device strings: Mfr=1, Product=2,
> SerialNumber=3
> [50675.188025] usb 5-1: Product: CP2103 USB to UART Bridge Controller
> [50675.188028] usb 5-1: Manufacturer: Silicon Labs
> [50675.188031] usb 5-1: SerialNumber: TGKHQ0M9
> [50675.194103] cp210x 5-1:1.0: cp210x converter detected
> [50675.194318] usb 5-1: cp210x converter now attached to ttyUSB1
>
> I've included a patch for the cp210x.c file.
That's great, thanks for the patch.
The diff itself looks good, but could you resubmit this on a format that
we can apply (i.e. as an inline patch with commit summary, commit
message and your Signed-off-by tag)?
The process and format is described in
Documentation/process/submitting-patches.rst
and here's an example of what such a patch may look like:
https://lkml.kernel.org/r/[email protected]
Note that git-format-patch and git-send-email can be really convenient
for this.
Just let us know if you have any questions.
Thanks,
Johan
> diff -upr a/drivers/usb/serial/cp210x.c b/drivers/usb/serial/cp210x.c
> --- a/drivers/usb/serial/cp210x.c 2017-11-25 11:33:48.369655206 -0600
> +++ b/drivers/usb/serial/cp210x.c 2017-11-26 09:27:15.225565082 -0600
> @@ -120,6 +120,7 @@ static const struct usb_device_id id_tab
> { USB_DEVICE(0x10C4, 0x8470) }, /* Juniper Networks BX Series System
> Console */
> { USB_DEVICE(0x10C4, 0x8477) }, /* Balluff RFID */
> { USB_DEVICE(0x10C4, 0x84B6) }, /* Starizona Hyperion */
> + { USB_DEVICE(0x10C4, 0x85A7) }, /* OneTouch Verio IQ Glucometer */
> { USB_DEVICE(0x10C4, 0x85EA) }, /* AC-Services IBUS-IF */
> { USB_DEVICE(0x10C4, 0x85EB) }, /* AC-Services CIS-IBUS */
> { USB_DEVICE(0x10C4, 0x85F8) }, /* Virtenio Preon32 */
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html