Comment 95 for bug 190515

Revision history for this message
jan (jan-ubuntu-h-i-s) wrote :

I got a working work-around, just using standard Ubuntu stuff. Basically, this is reinstalling the legacy drivers, with workaround for bug 183818, and on my system with a recent kernel: 2.6.24-21. As not everyboby might know all commands, I'll lay out what I did:

1) install rt2500-source, using "Synaptic Package Manager"
2) open a Terminal (under accessories), and type:
cd /usr/src/modules/rt2500
vi rtmp_main.c
3) in vi (or any other standard editor), change on line 254, the line
    SET_MODULE_OWNER(net_dev);
into:
#ifdef __BUGFIX__
 https://bugs.launchpad.net/ubuntu/+source/rt2500/+bug/183818/
    SET_MODULE_OWNER(net_dev);
#endif
4) type in the terminal
sudo make
  sudo mv /lib/modules/2.6.24-21-generic/kernel/drivers/net/wireless/rt2x00/ rt2x00_orig
  sudo mkdir /lib/modules/2.6.24-21-generic/kernel/drivers/net/wireless/rt2x00/
  sudo cp -p rt2500.ko /lib/modules/2.6.24-21-generic/kernel/drivers/net/wireless/rt2x00/
sudo depmod

5) at this point in time, I rebooted my system, and got normal rt2500 functionality

Note that I did NOT use the debian style calls as described in the file INSTALL.Debian
    sudo module-assistant prepare
    sudo module-assistant get rt2500
    sudo module-assistant build rt2500
Also note that installing a new kernel version will require that you do these actions again.