Wireless USB Adapter fails to work with ndisgen (rtl8192su)

Gautam execve at gmail.com
Wed Oct 19 10:05:35 UTC 2011


Hi,

I am trying to use the Belkin Surf & Share Wireless USB Adapter on FreeBSD
8-Stable (csup-ed on 18.Oct), but it doesnt work. This is based on the
realtek 8192 chip. After installing the new kernel and world, I then used
ndisgen to generate the ko.

I am able to get wlan0 "UP" after I manually load the generated kernel
module rtl8192su_sys.ko

ndis0: flags=8803<UP,BROADCAST,SIMPLEX,MULTICAST> metric 0 mtu 2290
        ether 94:44:52:61:e0:dc
        media: IEEE 802.11 Wireless Ethernet autoselect mode 11b
        status: associated
wlan0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> metric 0 mtu 1500
        ether 94:44:52:61:e0:dc
        media: IEEE 802.11 Wireless Ethernet autoselect
        ssid "" channel 1 (2412 MHz 11b)
        country US authmode OPEN privacy OFF txpower 0 bmiss 7 scanvalid 60
        roaming MANUAL bintval 0

However, both "ifconfig wlan0 scan" and "ifconfig wlan0 list scan"  yield
nothing.

# usbconfig
ugen0.1: <UHCI root HUB Intel> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen1.1: <UHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen2.1: <UHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen3.1: <UHCI root HUB Intel> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps)
pwr=SAVE
ugen4.1: <EHCI root HUB Intel> at usbus4, cfg=0 md=HOST spd=HIGH (480Mbps)
pwr=SAVE
ugen4.2: <product 0x845a vendor 0x050d> at usbus4, cfg=0 md=HOST spd=HIGH
(480Mbps) pwr=ON
ugen1.2: <OM vendor 0x04f3> at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps)
pwr=ON
ugen0.2: <USB  AUDIO vendor 0x1130> at usbus0, cfg=0 md=HOST spd=FULL
(12Mbps) pwr=ON

Relevant logs are:

Oct 19 14:32:20 linbox kernel: ndis0: <vendor 0x050d product 0x845a, class
0/0, rev 2.00/2.00, addr 2> on usbus4
Oct 19 14:32:20 linbox kernel: ndis0: NDIS API version: 5.1
Oct 19 14:32:20 linbox kernel: ndis0: usbd_pnp: unsupported I/O dispatch
27:8
Oct 19 14:32:20 linbox root: Unknown USB device: vendor 0x050d product
0x845a bus uhub4
Oct 19 14:32:20 linbox root: Unknown USB device: vendor 0x050d product
0x845a bus uhub4
Oct 19 14:32:22 linbox kernel: wlan0: Ethernet address: 94:44:52:61:e0:dc

I am attaching the relevant /var/log/messages and the typescript. Anything
to be set in sysctl ?

Any pointers on how to debug this further -- I would really like to get this
to work on FreeBSD ?

Thanks
Gautam
-------------- next part --------------
A non-text attachment was scrubbed...
Name: messages
Type: application/octet-stream
Size: 13446 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20111019/a22c3adf/messages.obj
-------------- next part --------------
A non-text attachment was scrubbed...
Name: typescript
Type: application/octet-stream
Size: 9986 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-questions/attachments/20111019/a22c3adf/typescript.obj


More information about the freebsd-questions mailing list