Date: Tue, 10 Nov 2015 11:55:42 -0500 From: Burton Sampley <bsmply@gmail.com> To: Hans Petter Selasky <hps@selasky.org> Cc: freebsd-usb@freebsd.org Subject: Re: How to access a FTDI usb device with a custom vendor and product id's Message-ID: <CANV5k3oRPP_-_SBz2fih0tA12BzoO9Ua%2BAfJGaE_CCNE3JzpHQ@mail.gmail.com> In-Reply-To: <56421DFD.6070503@selasky.org> References: <CANV5k3rW62rGoXKD4m5meegEJ04T4b_v=QGCqBV5wuGxZjzCbg@mail.gmail.com> <56421DFD.6070503@selasky.org>
next in thread | previous in thread | raw e-mail | index | archive | help
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@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CANV5k3oRPP_-_SBz2fih0tA12BzoO9Ua%2BAfJGaE_CCNE3JzpHQ>