Search Linux Wireless

Re: rtl8192* wifi driver

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 08/12/2011 05:30 PM, Roman Krylov wrote:
Hi kernel developers!
I have a USB wifi adapter from Reltek (0bda:8176).
I had 2.6.38 kernel and tried to install the driver provided by realtek - by
their support I was suggested to use 8192cu. It did not compile due to
discontinued support of explicit mutexes in newer kernels.
I changed it using instructions I've found on the internet, compiled and it
worked well.
Now in the linux kernel 3.0.1 I have found rtl8192* drivers in the kernel source
tree which I included in the install, but they did not work, though modules
loaded without error.
Then I took my cranked realtek driver for 2.6.38 and this time I had to remove
the #include <linux/smp_lock.h> to compile it and it works again.

The question is: can someone take care of importing this driver into the kernel
tree and support it?
Let the name be something like 'rtl8192cu_usb' to distinguish from others.

The driver rtl8192cu, which supports your device, has been in the kernel since 2.6.39. It is well integrated with the other Realtek 802.11n devices and drivers (rtl8192ce, rtl8192se, and rtl8192de).

Driver rtl8192cu works here. What failed with your system? Did you install the firmware? Check the output of the dmesg command.

The driver you posted does not use mac80211, but implements its own 802.11 stack. Such drivers are admitted to the staging directories under certain circumstances; however, not if they duplicate USB IDs for a mainline driver.

I unpacked your driver and tried to compile it under 3.1-rc1. It failed with

make ARCH=x86_64 CROSS_COMPILE= -C /lib/modules/3.1.0-rc1-wl+/build M=/home/finger/realtek/my_rtl8192CU_linux3.x modules
make[1]: Entering directory `/home/finger/wireless-testing-new'
  CC [M]  /home/finger/realtek/my_rtl8192CU_linux3.x/core/rtw_cmd.o
In file included from /home/finger/realtek/my_rtl8192CU_linux3.x/include/drv_types.h:80:0,
                 from /home/finger/realtek/my_rtl8192CU_linux3.x/core/rtw_cmd.c:24:
/home/finger/realtek/my_rtl8192CU_linux3.x/include/rtw_xmit.h:343:24: error: field ‘xmit_tasklet’ has incomplete type In file included from /home/finger/realtek/my_rtl8192CU_linux3.x/include/drv_types.h:81:0,
                 from /home/finger/realtek/my_rtl8192CU_linux3.x/core/rtw_cmd.c:24:
/home/finger/realtek/my_rtl8192CU_linux3.x/include/rtw_recv.h:217:24: error: field ‘recv_tasklet’ has incomplete type
make[2]: *** [/home/finger/realtek/my_rtl8192CU_linux3.x/core/rtw_cmd.o] Error 1
make[1]: *** [_module_/home/finger/realtek/my_rtl8192CU_linux3.x] Error 2

You really need to find out why rtl8192cu does not work.

Larry
--
To unsubscribe from this list: send the line "unsubscribe linux-wireless" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Host AP]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Linux Kernel]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux