Discussion:
TP-LINK TL-WN321G
tech-lists
2018-10-27 16:01:00 UTC
Permalink
Hi,

context: 12-stable amd64

When TP-LINK TL-WN321G usb dongle is inserted, this appears in dmesg:

ugen1.3: <Ralink 802.11 n WLAN> at usbus1
run0 numa-domain 0 on uhub3
run0: <1.0> on usbus1
run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address [REDACTED]

but run(4) says it supports these:
TP-LINK TL-WDN3200
TP-LINK TL-WN727N v3

and run0 appears, and works, yet:

rum(4) says it supports this:
TP-LINK TL-WN321G

but no rum0 happens either on insertion (using standard GENERIC kernel)
or with rum loaded.
--
J.
Bjoern A. Zeeb
2018-10-27 17:50:31 UTC
Permalink
On 27 Oct 2018, at 16:01, tech-lists wrote:

Hi,
Post by tech-lists
context: 12-stable amd64
ugen1.3: <Ralink 802.11 n WLAN> at usbus1
..
Post by tech-lists
run0: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address [REDACTED]
..
Post by tech-lists
TP-LINK TL-WN321G
but no rum0 happens either on insertion (using standard GENERIC
kernel) or with rum loaded.
The problem with these dongles is that sometimes there’s a rev A and a
rev B which use entirely different chipsets and hence are entirely
different drivers. That is rarely observable from online shopping sites
or even product packaging. I haven’t checked this particular case
but if you can send me a usbconfig dump_device_desc for it I can go an
have a look.


/bz
tech-lists
2018-10-27 18:43:54 UTC
Permalink
Post by Bjoern A. Zeeb
The problem with these dongles is that sometimes there’s a rev A and a
rev B which use entirely different chipsets and hence are entirely
different drivers.  That is rarely observable from online shopping sites
or even product packaging.   I haven’t checked this particular case but
if you can send me a usbconfig dump_device_desc for it I can go an have
a look.
Sure!

here it is:

ugen1.3: <Ralink 802.11 n WLAN> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (450mA)

bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x148f
idProduct = 0x5370
bcdDevice = 0x0101
iManufacturer = 0x0001 <Ralink>
iProduct = 0x0002 <802.11 n WLAN>
iSerialNumber = 0x0003 <1.0>
bNumConfigurations = 0x0001


thanks,
--
J.
Bjoern A. Zeeb
2018-11-08 14:48:04 UTC
Permalink
Post by tech-lists
ugen1.3: <Ralink 802.11 n WLAN> at usbus1, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON (450mA)
bLength = 0x0012
bDescriptorType = 0x0001
bcdUSB = 0x0200
bDeviceClass = 0x0000 <Probed by interface class>
bDeviceSubClass = 0x0000
bDeviceProtocol = 0x0000
bMaxPacketSize0 = 0x0040
idVendor = 0x148f
idProduct = 0x5370
This is indeed a Ralink RT5370, so run(4) as it attached.

There seem to be at least 4 versions of the “TP-LINK TL-WN321G” all
being Ralink chips.
Earlier versions were indeed Ralink RT25xx based it seems, which is
rum(4).

I’ve updated the man pages to reflect this:
https://svnweb.freebsd.org/changeset/base/340251

Thanks a lot for reporting,
/bz

Loading...