How to access a FTDI usb device with a custom vendor and product id's
Ian Lepore
ian at freebsd.org
Wed Nov 11 21:38:41 UTC 2015
On Wed, 2015-11-11 at 16:28 -0500, Burton Sampley wrote:
> I added a line to the table, but it seems to have failed since I used
> the
> VID# instead of the VID# name. Where are the VID names mapped to the
> VID#'s? Apparently, I know enough about coding to be dangerous.
> I'll do
> some more digging to try to fix my own error.
>
> Here's a diff of the original source and my modified source:
>
> [/usr/src/sys/dev/usb/serial]$ /usr/bin/diff ./uftdi.c ./uftdi.c.ORIG
> 914d913
> < UFTDI_DEV(2100, 9e56, 0),
> [/usr/src/sys/dev/usb/serial]$
>
> Here's the compile splattage:
The VID and PID names are in the file src/sys/dev/usb/usbdevs.
-- Ian
More information about the freebsd-usb
mailing list