Comment 8 for bug 1365844

Revision history for this message
keshara Dorakumbura (krs4keshara) wrote :

Probably the "WORKAROUD" listed above should solve this bug. But, i think, most of users might lead not to get it right because of DKMS behavior. See my procedure, where i will point it out howto get it right...

01. install necessaries
$ sudo apt-get install linux-headers-generic build-essential dkms

02. reboot the system
### - this is where, I think, most of us do not get it right because anyone who won't reboot the system now, probably build a kernel module that would not worth to the system.

Why.?
When you execute part01 commands, the chances of installing new kernel version are probably be high. So, building kernel module using DKMS without a reboot will install kernel module only for the current kernel version, not for the new kernel version ,which, of course, will be the working kernel when the system reboots. Therefore, after executing step01 commands, make sure to reboot the system, so that following DKMS related commands will build a kernel module for the right kernel version.

03. Clone this repository
$ git clone https://github.com/pvaret/rtl8192cu-fixes.git

04. Set it up as a DKMS module
$ sudo dkms add ./rtl8192cu-fixes

05. Build and install it
$ sudo dkms install 8192cu/1.9

06. Refresh the module list
$ sudo depmod -a

07. Ensure the native (and broken) kernel driver is blacklisted
$ sudo cp ./rtl8192cu-fixes/blacklist-native-rtl8192.conf /etc/modprobe.d/

08. There is a known issue with power management on some hardware. If your WiFi connection drops after a few minutes, install the following module setting file to disable power management in your WiFi interface
$ sudo cp ./rtl8192cu-fixes/8192cu-disable-power-management.conf /etc/modprobe.d/

- reboot the system & have fun -