Comment 35 for bug 492034

logari81 (logari81) wrote :

We have just confirmed this bug using the LiveCD of Ubuntu 10.10 with the the following device:

Bus 001 Device 006: ID 0b05:1786 ASUSTek Computer, Inc.

After connecting the wifi stick, the driver r8192s_usb cannot find the firmware:

rtl819xU:FirmwareRequest92S(): failed with TCR-Status: a
rtl819xU:FirmwareDownload92S(): failed with TCR-Status: a
rtl819xU:FirmwareRequest92S(): failed with TCR-Status: a
rtl819xU:FirmwareDownload92S(): failed with TCR-Status: a
rtl819xU:ERR!!! _rtl8192_up(): initialization is failed!
rtl819xU:FirmwareRequest92S(): failed with TCR-Status: a
rtl819xU:FirmwareDownload92S(): failed with TCR-Status: a
rtl819xU:FirmwareRequest92S(): failed with TCR-Status: a
rtl819xU:FirmwareDownload92S(): failed with TCR-Status: a
rtl819xU:ERR!!! _rtl8192_up(): initialization is failed!

looking at:
http://lxr.linux.no/#linux+v2.6.36/drivers/staging/rtl8192su/r8192S_firmware.c
it seems that the driver r8192s_usb looks for a firmware file
/lib/firmware/RTL8192SU/rtl8192sfw.bin

but the directory RTL8192SU doesn't exist in Maverick. We first tried copying the firmware file from RTL8192SE:

sudo cp /lib/firmware/RTL8192SE/rtl8192sfw.bin /lib/firmware/RTL8192SU/

after this the wifi stick could detect wireless networks but couldn't connect (the filesize of this firmware is 80976 bytes).
Then we tried a different version of the firmware:

wget http://launchpadlibrarian.net/37387612/rtl8192sfw.bin.gz
gunzip rtl8192sfw.bin.gz
sudo mv rtl8192sfw.bin /lib/firmware/RTL8192SU/

with this one the wifi stick could detect wireless networks and connect to them (the filesize of the used firmware is 68368 bytes).

Anyway this discussion it is not relevant for 11.04 since the driver r8912s_usb (RTL8192SU) will be replaced by RTL8172U:
http://git.kernel.org/?p=linux/kernel/git/torvalds/linux-2.6.git;a=blob;f=drivers/staging/rtl8712/usb_intf.c;h=f1f0c63e5bbc2dea815eae4b873f59630601d06e;hb=0143832cc96d0bf78486297aad5c8fb2c2ead02a