NetBSD-Users archive

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

Re: uplcom: can only receive data



Greg Troxel wrote:
Frederik Sausmikat <sausmikat%fgan.de@localhost> writes:

--- 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 },

Huh?  That's adding a new definition that has the same vendor/product,
but different output values.  Or is the 0x300/-1 part of the key?

The 0x300 (or any other value) is for a specific revision of the device where -1 means 'don't care' (and must be defined last in a vendor/product group).

This is valid for CURRENT only, uplcom in STABLE is somewhat different and doesn't allow for revisions to be specified.

Regards, Freddy




Home | Main Index | Thread Index | Old Index