Hi, all I want to use a usb network interface on FreeBSD6.1 as well as I use it on linux. When insert the USB into Linux box and run ifconfig command, it will report that a usb0(1, 2) can be used now. But when I insert the same USB device into the FreeBSD box, FreeBSD only report that some USB device has been detected, there is nothing on the screen when I run ifconfig command. I am a newbie to FreeBSD. How can I know whether my FreeBSD can support this devices like Linux? Thanks for your help very much Zongjun
On Monday 23 October 2006 18:26, Sun Zongjun-E5739C wrote:> I want to use a usb network interface on FreeBSD6.1 as well as I use it > on linux. When insert the USB into Linux box and run ifconfig command, > it will report that a usb0(1, 2) can be used now. But when I insert the > same USB device into the FreeBSD box, FreeBSD only report that some USB > device has been detected, there is nothing on the screen when I run > ifconfig command.You need to paste the dmesg output so we have a chance to see what the actual device in question is.. The output of usbdevs -v would be useful. If you are running a GENERIC kernel (which has all of the USB drivers loaded in it already) then it would seem FreeBSD doesn't support your hardware. -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061023/aaba2a2a/attachment.pgp
On Mon, Oct 23, 2006 at 04:56:50PM +0800, Sun Zongjun-E5739C wrote:> > Hi, all > > I want to use a usb network interface on FreeBSD6.1 as well as I use it<snip>> I am a newbie to FreeBSD. How can I know whether my FreeBSD can support > this devices like Linux?You need to know what chipset is in your USB Ethernet device. A cursory search through the ethernet drivers[1] turns up the following drivers; aue(4): ADMtek AN986 Pegasus chipset axe(4): ASIX Electronics AX88172 chipset cue(4): Computer Access Technology Corporation's USB-EL1210A chipset kue(4): Kawasaki LSI KL5KLUSB101B chipset rue(4): RealTek RTL8150 chip udav(4): Davicom DM9601 chipset As others have said, check your 'dmesg' and 'usbdevs' output if you can find any of these devices. Roland [1]: zgrep -l "USB Ether" /usr/share/man/man4/if_* -- R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 187 bytes Desc: not available Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20061023/aec3f996/attachment.pgp
As I said in another email, the Linux uses zaurus driver for this USB lan devices. I have checked the freebsd list that it uses cdce driver to support zaurus USB devices. But some zaurus usb devices don't report its class and interfaces correctly. It should works if we can add the product ID and vendor ID into the drivers manually. The zaurus drivers in linux complains about the incompliance of USB devices of zaurus (CDC) so Linux developer developed a specific driver for that. I don't want to make a specific driver for FreeBSD since I am a newbie to freebsd. What I want to do is to add the vendor and product information to the driver manually by myself. Thanks Regards Zongjun -----Original Message----- From: Jansen Gotis [mailto:jtgotis@gmail.com] Sent: 2006$BG/(J10$B7n(J23$BF|(J 18:06 To: Sun Zongjun-E5739C Subject: Re: How to configure a usb device On 10/23/06, Sun Zongjun-E5739C <E5739C@motorola.com> wrote:> > Hi, all > > I want to use a usb network interface on FreeBSD6.1 as well as I use > it on linux. When insert the USB into Linux box and run ifconfig > command, it will report that a usb0(1, 2) can be used now. But when I > insert the same USB device into the FreeBSD box, FreeBSD only report > that some USB device has been detected, there is nothing on the screen > when I run ifconfig command. > > > I am a newbie to FreeBSD. How can I know whether my FreeBSD can > support this devices like Linux? > > Thanks for your help very muchHello, Please check here if your hardware is supported: http://www.freebsd.org/releases/6.1R/hardware-i386.html#ETHERNET Sometimes even if your specific hardware is not listed, it might work if it uses a supported chipset. Hope this helps, Jansen