Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 3 Jan 2002 13:43:06 -0500
From:      Joshua Coombs <jcoombs@gwi.net>
To:        Josef Karthauser <joe@tao.org.uk>
Cc:        freebsd-stable@freebsd.org
Subject:   Re: Linksys USB100TX
Message-ID:  <20020103134306.A23765@dargo.gwi.net>
In-Reply-To: <20020103183914.A15254@genius.tao.org.uk>; from joe@tao.org.uk on Thu, Jan 03, 2002 at 06:39:14PM %2B0000
References:  <20020103132559.A12981@dargo.gwi.net> <20020103183914.A15254@genius.tao.org.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jan 03, 2002 at 06:39:14PM +0000, Josef Karthauser wrote:
> On Thu, Jan 03, 2002 at 01:25:59PM -0500, Joshua Coombs wrote:
> > I have a Linksys USB100TX that I'm working on getting fired up with
> > FreeBSD.  NetBSD sees the device as an aue item and runs with it clean,
> > Free sees it as a ugen.  I did some digging and found references in early
> > 2001 hinting that this particular model was supported by Free, so I'm
> > guessing that mine has a new rev number or something similar throwing
> > FreeBSD's identification of it off.
> > 
> > Controller /dev/usb0:
> > addr 1: self powered, config 1, UHCI root hub(0x0000), VIA(0x0000), rev 0x0100
> >  port 1 powered
> >  port 2 addr 2: power 156 mA, config 1, LINKSYS USB Adapter(0x400b), LINKSYS Inc.(0x066b), rev 0x0101
> > 
> > Is this something that I can twiddle my local copy of /usr/src to make
> > function, or is there going to be more work involved?  I'm willing to
> > put the time in to get this going and test it, I just need some guidance
> > in doing so.
> 
> Try this.  Apply the following patch, and then do:
> 
> # cd /usr/src/sys/dev/usb
> # make -f Makefile.usbdevs
> 
> Then rebuild your kernel and see if it works.
> What's the exact model number of this device?
> 
> Joe
> 
> 
> Index: usbdevs
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/usb/usbdevs,v
> retrieving revision 1.71
> diff -u -r1.71 usbdevs
> --- usbdevs	12 Dec 2001 15:58:22 -0000	1.71
> +++ usbdevs	3 Jan 2002 18:36:55 -0000
> @@ -685,6 +685,7 @@
>  product LINKSYS USB100TX	0x2203	USB100TX Ethernet
>  product LINKSYS USB100H1	0x2204	USB100H1 Ethernet/HPNA
>  product LINKSYS USB10TA		0x2206	USB10TA Ethernet
> +product LINKSYS UNKNOWN		0x400b	Unknown Ethernet
>  
>  /* Logitech products */
>  product LOGITECH M2452		0x0203	M2452 keyboard
> Index: if_aue.c
> ===================================================================
> RCS file: /home/ncvs/src/sys/dev/usb/if_aue.c,v
> retrieving revision 1.44
> diff -u -r1.44 if_aue.c
> --- if_aue.c	19 Nov 2001 18:47:49 -0000	1.44
> +++ if_aue.c	3 Jan 2002 18:33:22 -0000
> @@ -117,6 +117,7 @@
>      { USB_VENDOR_SMC,		USB_PRODUCT_SMC_2202USB,	  0 },
>      { USB_VENDOR_LINKSYS,	USB_PRODUCT_LINKSYS_USB100TX,	  LSYS },
>      { USB_VENDOR_LINKSYS,	USB_PRODUCT_LINKSYS_USB10TA,	  LSYS },
> +    { USB_VENDOR_LINKSYS,	USB_PRODUCT_LINKSYS_UNKNOWN,	  LSYS },
>      { USB_VENDOR_COREGA,	USB_PRODUCT_COREGA_FETHER_USB_TX, 0 },
>      { USB_VENDOR_KINGSTON,	USB_PRODUCT_KINGSTON_KNU101TX,	  0 },
>      { USB_VENDOR_ABOCOM,	USB_PRODUCT_DLINK_DSB650TX_PNA,	  0 },
> 

I just tried something similar, I replaced the orriginal USB100TX's
product id with the new ones in usbdevs and usbdevs.h and recompiled.
Worked like a charm.  The exact model as listed on the unit and
Linksys's paperwork is USB100TX, just like the older unit.

Joshua Coombs

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message




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