[OpenIndiana-discuss] FTDI FT232R support In Hipster?

Jean-Pierre André jean-pierre.andre at wanadoo.fr
Wed Mar 13 13:40:48 UTC 2019


Till Wegmüller wrote:
> 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

How would I know which package (and which project) a file
(a driver in this case) belongs to ?

I posted it here, because this is where Reginald Beardsley asked
in the first place (the patch does not precisely address his
case, but it might be similar).

> 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.

I recently posted a patch on https://www.illumos.org/issues
(#10319) for an issue detected by valgrind, but did not get any
feedback...

Is there some dedicated channel to collect proposed patches,
with somebody forwarding to proper destination ?

Jean-Pierre

>
> 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;
>>
>>
>>






More information about the openindiana-discuss mailing list