[OpenIndiana-discuss] FTDI FT232R support In Hipster?

Till Wegmüller toasterson at gmail.com
Wed Mar 13 12:15:29 UTC 2019


Hi

Is this file from any userland package or from illumos gate?
If it is from illumos gate you may want to open a Bug to get these ID's
added properly. Or directly a Patch if you can :) As this is the
OpenIndiana Discussion List and not the Illumos Developers list I don't
know if your Patch got recognized in the later case.

Greetings
Till

On 13.03.19 10:26, Jean-Pierre André wrote:
> Jean-Pierre André wrote:
>> Reginald Beardsley via openindiana-discuss wrote:
>>> google was not useful, so I thought I'd ask here.  I need some USB to
>>> serial interfaces.
>>>
>>
>> I have a rfxcom USB device to collect temperature data from several
>> sensors. It advertises an FTDI FT230XQ interface and appears as
>> usb403,6015.
>>
>> When I associate it with the driver usbftdi, I get an error
>> (roughly "driver successfully added, but failed to attach").
>> I do not see any /dev/cua interface created.
>>
>> The device runs properly on Windows and Linux, so I have to
>> suppose usbftdi is not fit for purpose (its standard association
>> is for usb403,6001 which must be an older interface).
>>
> 
> I have finally dug into the usbftdi driver code and found that
> it has hard coded limitations to specific devices.
> I just had to add the one I needed (usb403,6015) to the
> hard coded list and recompile.
> 
> Below is the significant diff.
> 
> Compiling this relies on a file sys/usb/usbdevs.h defining
> the vendor/product ids, which is apparently built from some
> source file whose OpenIndiana variant I could not find.
> I used one from FreeBSD, but it does not contain the one
> for MARVELL_SHEEVAPLUG_JTAG.
> 
> Jean-Pierre
> 
> --- uftdi_dsd.0 2019-03-12 12:04:08.095929800 +0000
> +++ uftdi_dsd.c 2019-03-13 09:43:54.242637100 +0000
> @@ -245,6 +254,7 @@
>                 case USB_PRODUCT_FTDI_EMCU2D:
>                 case USB_PRODUCT_FTDI_PCMSFU:
>                 case USB_PRODUCT_FTDI_EMCU2H:
> +               case USB_PRODUCT_FTDI_232EX: /* JPA */
>                         break;
>                 default:
>                         recognized = B_FALSE;
> 
> 
> 
> 
> 
> _______________________________________________
> openindiana-discuss mailing list
> openindiana-discuss at openindiana.org
> https://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the openindiana-discuss mailing list