NetBSD-Users archive

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

Re: uplcom: can only receive data



Frederik Sausmikat wrote:

The adapter states the wrong vendor and product ids and, as a result, the driver omits some extra initialization needed for this chip variant (in uplcom_pl2303x_init() if you are curious). When I force this extra code to be executed the adapter works fine but unfortunately breaks all older chips.

Please ignore everything I wrote so far, the solution is as simple as adding the adapter's revision to uplcom (I should have looked into that earlier). The attached patch makes my adapter work.

Regards (and sorry for the noise), Freddy

--- sys/dev/usb/uplcom.c        2008-09-03 09:15:12.000000000 +0200
+++ sys/dev/usb/uplcom.c        2008-09-03 09:26:07.000000000 +0200
@@ -163,6 +163,9 @@
        /* I/O DATA USB-RSAQ5 */
        { { USB_VENDOR_IODATA, USB_PRODUCT_IODATA_USBRSAQ5 },
                -1, UPLCOM_TYPE_HX },
+       /* ROTRONIC 12.02.1086 */
+       { { USB_VENDOR_ATEN, USB_PRODUCT_ATEN_UC232A },
+               0x300, UPLCOM_TYPE_HX },
        /* PLANEX USB-RS232 URS-03 */
        { { USB_VENDOR_ATEN, USB_PRODUCT_ATEN_UC232A },
                -1, UPLCOM_TYPE_0 },


Home | Main Index | Thread Index | Old Index