On Sun, Feb 18, 2007 at 11:21:14PM +1100, Jonathan Gray wrote:
| On Sun, Feb 18, 2007 at 10:14:07AM +0100, Paul de Weerd wrote:
| > Hi all,
| > 
| > I have two USB nics (one wired, one wireless) to give away. They were
| > cheap, so I bought them to see if they were supported. Since they're
| > not, maybe some developer can use them. I know nothing about
| > documentation for these things, but this is what dmesg and usbdevs -v
| > say :
| 
| Ah, but perhaps it is easy to add support.
| 
| > 
| > # dmesg # for the wireless part
| > ugen0 at uhub2 port 3
| > ugen0: Tenda.. 54M USB Wireless NIC, rev 2.00/0.01, addr 2
| > 
| > # usbdevs -v # for the wireless part
| >  port 3 addr 2: high speed, self powered, config 1, 54M USB Wireless 
NIC(0x1fab), Tenda..(0x1286), rev 0.0
| > 1
| 
| Need more information on this.
| It does not appear to be the Tenda TWL542U, it does not appear in the list
| of ids in the windows driver.

Stoopid me, I did not include the modelnumber found on the thing
itself. This is a Tenda TWL541U. Windows driver online at
http://www.tenda.com.cn/Wireless/en/TWL541U.rar but it did not give me
many clues (no .sys or .inf files, only .dll, .tlb, .rgs and .exe).

| A few ways to figure out what it is:
| * Extract the .sys and .inf files from the windows driver, run strings/read 
for hints
| * Open up device and look

Nothing interesting. The radiopart is shielded with a little metal
casing, I did not pry this open.

| * Put FCC id into 
https://gullfoss2.fcc.gov/prod/oet/cf/eas/reports/GenericSearch.cfm
|       look at internal photos for chip

No FCC id in or on this thing.

| > 
| > # dmesg # for the wired part
| > ugen0 at uhub0 port 2
| > ugen0: ShanTou ST268 USB NIC, rev 1.10/1.01, addr 2
| > 
| > # usbdevs -v # for the wired part
| >  port 2 addr 2: full speed, power 144 mA, config 1, ST268 USB NIC(0x0268), 
ShanTou(0x0a46), rev 1.01
| 
| Google leads me to believe this is a udav(4) device.
| Please try the following diff:

Your diff works great :

udav0 at uhub0 port 1
udav0: ShanTou ST268 USB NIC, rev 1.10/1.01, addr 2 address 00:60:6e:30:e5:4d
amphy0 at udav0 phy 0: DM9601 10/100 PHY, rev. 0

I've not done very extensive testing yet, but I can send and receive
packets on this interface just fine. Here's the missing manpage bit :

Index: udav.4
===================================================================
RCS file: /cvs/src/share/man/man4/udav.4,v
retrieving revision 1.8
diff -u -r1.8 udav.4
--- udav.4      19 Jan 2007 08:40:53 -0000      1.8
+++ udav.4      18 Feb 2007 13:39:22 -0000
@@ -51,6 +51,7 @@
 .Bl -tag -width Dv -offset indent -compact
 .It Tn Corega FEther USB-TXC
 .It Tn HenTong WK-668
+.It Tn ShanTou ST268 USB NIC
 .El
 .Pp
 For more information on configuring this device, see

Thanks for your help, the device is still available if you (or another
developer) wants it.

Cheers,

Paul 'WEiRD' de Weerd

-- 
>++++++++[<++++++++++>-]<+++++++.>+++[<------>-]<.>+++[<+
+++++++++++>-]<.>++[<------------>-]<+.--------------.[-]
                 http://www.weirdnet.nl/                 

Reply via email to