On 27 Oct 2018, at 16:01, tech-lists wrote: 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: MAC/BBP RT5390 (rev 0x0502), RF RT5370 (MIMO 1T1R), address > [REDACTED]..> 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.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
On 27/10/2018 18:50, Bjoern A. Zeeb wrote:> 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.
On 27 Oct 2018, at 18:43, tech-lists wrote:> On 27/10/2018 18:50, Bjoern A. Zeeb wrote: > 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 = 0x5370This 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