How to access a FTDI usb device with a custom vendor and product id's

Burton Sampley bsmply at gmail.com
Tue Nov 10 16:55:43 UTC 2015


HPS,

Thank you for your prompt response.  I reviewed the webpage link you have
provided.  I assume that would be a template for an entry in
/etc/devd.conf, however what I do not understand is what is the FreeBSD
equivalent of "FTDI_SIO" that can be called in the "action" line?

The first step I would like to accomplish is to simple make the device work
at the command line, then I can automate the steps within /etc/devd.conf.
Right now, I am struggling to find documentation that is fit-for-purpose
for USB.  I would like to figure out if libftdi is the proper solution or
if I must use uftdi.  If I need to use uftdi, then specifically how do I
force uftdi to attach to a custom vid/pid?

Regards,

-Burton

On Tue, Nov 10, 2015 at 11:40 AM, Hans Petter Selasky <hps at selasky.org>
wrote:

> On 11/10/15 17:28, Burton Sampley wrote:
>
>> SYSFS{idVendor}=="2100", SYSFS{idProduct}=="9e56", RUN+="/sbin/modprobe -q
>> ftdi_sio vendor=0x2100 product=0x9e56"
>>
>> How do I accomplish the same in FreeBSD?  When the cable is plugged in, I
>> get the following in /var/log/messages:
>>
>
> Hi,
>
> See examples here:
>
>
> https://svnweb.freebsd.org/ports/head/multimedia/webcamd/files/webcamd.conf.in?view=markup
>
> --HPS
>



-- 
Your mind is like a parachute, it works much better when it is open.


More information about the freebsd-usb mailing list