usb/108097: [usbgen] [patch] ADMtek 851X USB-to-LAN adapter

Hans Petter Selasky hselasky at c2i.net
Fri Jan 19 16:28:36 UTC 2007


On Friday 19 January 2007 17:18, Volker wrote:
> Hans Petter,
>
> On 01/19/07 15:34, Hans Petter Selasky wrote:
> > Could you get the revision number for this chip. For example what
>
> does
>
> > "usbdevs -v" output?
>
> usbdevs -v says:
>
>  port 4 addr 8: full speed, power 144 mA, config 1, ADM8515 USB To
> LAN NIC(0x8515), ADMTEK(0x0a46), rev 1.01

You can try setting the AUE_FLAG_VER_2 for this device, and see what happens. 
You don't need current to install current to try my driver.

#
# the following works on head and 6-stable
#

svn --username anonsvn --password anonsvn \
      checkout svn://svn.turbocat.net/i4b
#
# The following commands will
# install the driver on FreeBSD:
#
cd i4b/trunk/i4b/FreeBSD.usb
make S=../src package
make install

# then build a new kernel.
>
> > PS: I have added support for the newer AMDtek 8513 to my new USB
>
> stack. You
>
> > maybe want to try that one first.
>
> Currently I don't have a CURRENT machine installed.
>
> http://www.turbocat.net/~hselasky/isdn4bsd/sources/src/sys/dev/usb/if_aue.c
>
> > Look for 0x0201
>
> Talking about this one in aue_attach?
>  if (uaa->release >= 0x0201) {
>      sc->sc_flags |= AUE_FLAG_VER_2; /* XXX currently undocumented */
>  }

Yes, and in the callback functions.

--HPS


More information about the freebsd-usb mailing list