Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Feb 2013 14:15:02 -0700
From:      Ian Lepore <ian@FreeBSD.org>
To:        CeDeROM <cederom@tlen.pl>
Cc:        freebsd-stable@FreeBSD.org
Subject:   Re: So I whip out a FTDI-based multiport Serial USB Adapter....
Message-ID:  <1360012502.93359.491.camel@revolution.hippie.lan>
In-Reply-To: <CAFYkXjmFpm7eQtZsWbhqfjnyxc_RovdrF858EUVc%2B1pAvV=fKg@mail.gmail.com>
References:  <511004AA.3060201@denninger.net> <1360008362.93359.485.camel@revolution.hippie.lan> <CAFYkXjmFpm7eQtZsWbhqfjnyxc_RovdrF858EUVc%2B1pAvV=fKg@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 2013-02-04 at 22:05 +0100, CeDeROM wrote:
> On Mon, Feb 4, 2013 at 9:06 PM, Ian Lepore <ian@freebsd.org> wrote:
> > FTDI's vendor ID is 0x0403, and FTDI stuff works fine in FreeBSD 9 and
> > 10; I use it all the time.  Sometimes aftermarket vendors who use FTDI's
> > parts program different vendor/product info and IDs have to be added to
> > code to recognize them, that's the only trouble one usually encounters.
> 
> I also want to use my KT-LINK multipurpose low-level embedded access
> multitool based on FT2232H with RS232 port and I was worried there is
> no driver - right now I will add the PID and recompile sources to see
> if it works - happy to catch this thread :-)
> 
> Some questions as you Ian seem to already have experience with this devices:
> 1. Is it possible to compile only uftdi driver and load it into
> existing kernel that have this driver compiled-in so I don't have to
> recompile whole kernel and all of the modules?
> 2. Is it possible to pass VID/PID and/or RS232 channel as kernel
> loadable option? This would again spare some build/runtime time for me
> :-)
> 3. Do you know a good method on kernel module testing other than
> rebuilding/rebooting all the time? VirtualBox + USB Attach?
> 
> Any hints appreciated! :-)
> Tomek
> 

If you don't already have the right devices compiled in, just build the
usb/ucom and usb/uftdi modules and kldload uftdi and you should be good
to go.

-- Ian





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1360012502.93359.491.camel>