Date: Sat, 4 Aug 2007 17:37:14 +0100 From: Giles Williams <giles.williams@gmail.com> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: freebsd-net@freebsd.org Subject: Re: Dynamode USB NIC Message-ID: <48B3F4C6-FBCF-4BB4-B852-AB52B08B0A1C@gmail.com> In-Reply-To: <20070804162704.T87821@maildrop.int.zabbadoz.net> References: <AD3254B7-E90E-4AA5-8371-F25A9D6B8BD9@gmail.com> <20070804161416.A87821@maildrop.int.zabbadoz.net> <E817CB8C-DBBC-46F8-B834-156AECFBE8D1@gmail.com> <20070804162704.T87821@maildrop.int.zabbadoz.net>
next in thread | previous in thread | raw e-mail | index | archive | help
hmm ok. erm being a bit of a noob - any chance you could explain how to do this? Thanks, Giles. On 4 Aug 2007, at 17:30, Bjoern A. Zeeb wrote: > On Sat, 4 Aug 2007, Giles Williams wrote: > > Hi, > Cc:ing net@ again > > >> Thanks for getting back to me! >> >> I've looked, and udav is loaded, I already tried that a while >> back. Execing usbdevs -v gives: >> >> bsdbox# usbdevs -v >> Controller /dev/usb0: >> addr 1: full speed, self powered, config 1, UHCI root hub(0x0000), >> Intel(0x0000), rev 1.00 >> port 1 addr 2: full speed, power 144 mA, config 1, Davicom CO., LTD >> (0x9601), DM9601 USB NNC(0x0a46), rev 1.01 >> port 2 powered > > For FreeBSD HEAD sources it looks like this: > > ... > } udav_devs [] = { > /* Corega USB-TXC */ > {{ USB_VENDOR_COREGA, USB_PRODUCT_COREGA_FETHER_USB_TXC }, 0}, > /* ShanTou ST268 USB NIC */ > {{ USB_VENDOR_SHANTOU, USB_PRODUCT_SHANTOU_ST268 }, 0}, > #if 0 > /* DAVICOM DM9601 Generic? */ > /* XXX: The following ids was obtained from the data > sheet. */ > {{ 0x0a46, 0x9601 }, 0}, > #endif > }; > ... > > As you can see, you ID is disabled with the #if 0. It seems it was > that way since the very first version. I cannot say what it's the way > it is. > > You could try to change it to #if 1 and recompile and see if it > panics or works... > > -- > Bjoern A. Zeeb bzeeb at Zabbadoz > dot NeT > Software is harder than hardware so better get it right the first > time.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?48B3F4C6-FBCF-4BB4-B852-AB52B08B0A1C>