Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Oct 2008 03:43:26 +0300
From:      Borodin Oleg <primus008@yandex.ru>
To:        freebsd-hardware@freebsd.org
Subject:   Patch for correct determine & work uplcom R232-USB Profilic chips PL2303HX
Message-ID:  <48F53CAE.3010509@yandex.ru>

next in thread | raw e-mail | index | archive | help
This is a multi-part message in MIME format.
--------------000104060904030707070707
Content-Type: text/plain; charset=KOI8-R; format=flowed
Content-Transfer-Encoding: 7bit


Patch for correct determine & work uplcom with R232-USB  Profilic 
PL2303HX chips

Borodin Oleg
Kaliningrad, Russia

--- ./sys/dev/usb/uplcom.c.orig 2008-10-04 10:23:55.000000000 
+0300                                            
+++ ./sys/dev/usb/uplcom.c      2008-10-14 07:56:45.000000000 
+0300                                            
@@ -243,6 +243,10 
@@                                                                                          
 
        /* ST Lab USB-SERIAL-4 
*/                                                                             
 
        { USB_VENDOR_PROLIFIC, 
USB_PRODUCT_PROLIFIC_PL2303,                                                   
 
          0x300, TYPE_PL2303X 
},                                                                              
 
+       /* TRENDnet TU-S9, Rover Computers Ltd and other PL2303HX based 
USB-RS232 
*/                                                                             
 
+       { USB_VENDOR_PROLIFIC, 
USB_PRODUCT_PROLIFIC_PL2303,                                                   
 
+         0x400, TYPE_PL2303X 
},                                                                              
 
+                                                                                                             
 
        /* IOGEAR/ATEN UC-232A (also ST Lab USB-SERIAL-1) 
*/                                                   
        { USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303, -1, 
TYPE_PL2303 },                                 
        /* HAMLET exagerate XURS232 
*/                                                                         
    

--------------000104060904030707070707
Content-Type: text/plain;
 name="patch-x-sys-dev-usb-uplcom.c"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="patch-x-sys-dev-usb-uplcom.c"

--- ./sys/dev/usb/uplcom.c.orig	2008-10-04 10:23:55.000000000 +0300
+++ ./sys/dev/usb/uplcom.c	2008-10-14 07:56:45.000000000 +0300
@@ -243,6 +243,10 @@
 	/* ST Lab USB-SERIAL-4 */
 	{ USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303,
 	  0x300, TYPE_PL2303X },
+	/* ST Lab USB-SERIAL-4 */
+	{ USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303,
+	  0x400, TYPE_PL2303X },
+
 	/* IOGEAR/ATEN UC-232A (also ST Lab USB-SERIAL-1) */
 	{ USB_VENDOR_PROLIFIC, USB_PRODUCT_PROLIFIC_PL2303, -1, TYPE_PL2303 },
 	/* HAMLET exagerate XURS232 */

--------------000104060904030707070707--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48F53CAE.3010509>