30.10.2010

HP touchsmart notebook, Intel Centrino Wireless N-1000 and no wifi

I recently tried to use my wifi card the first time on Ubuntu 10.10. I noticed that I couldn't connect to any wifi network, no matter what mode the network was (a/b/g/n) or what encryption it used. I looked around and found Ubuntu Bug #630748 and the related Kernel bug #16691 which I thought had something to do with my issue.
I couldn't be more wrong.
It turned out I couldn't get a wifi connection, because bluetooth was disabled using that small GNOME Bluetooth indicator. While bluetooth was disabled, my wifi card was able to list networks and NetworkManager could try connecting to one, however, it never succeeded. dmesg spit out some messages like "direct probe to (access point MAC address) timed out" and after some time even "iwlagn 0000:03:00.0: Microcode SW error detected. Restarting 0x2000000.".
Thanks to Zander Hill's comment in my bug report #663298, I found out that by enabling bluetooth, I could connect to wifi networks again with no problems.

So if You ever run into connectivity problems, feel free to try out everything completely unrelated to Your wifi card just to be sure.

"Modern" touchpads V2

Ubuntu 10.10 came out about 2 weeks ago. There were no big changes, at least no visibly remarkable ones. However, some things that worked in 10.04 stopped working in Maverick. One example are the new Synaptic ClickPads integrated into many of the newer notebooks such as my HP TouchSmart tm2-1090eg. According to the comments in Bug #582809, the psmouse driver module does not correctly recognize the ClickPad and treats it as a "regular" Synaptics Touchpad. Fortunately, someone going by the name of "pauls" uploaded a patched source archive for the psmouse module and posted a detailed guide how to install the new module.
I tried it and it works™!
Here's how (copied from pauls' comment in the linked bug report):
Note: You need root privileges to do most of the things
  1. Download the patched source archive
    Code:
    $ wget https://bugs.launchpad.net/ubuntu/+source/linux/+bug/582809/+attachment/1675262/+files/psmouse-2.6.35-22-generic-patched.tar.bz2
  2. Unpack the source to /usr/src/
    Code:
    $ tar -xjv -C /usr/src/ -f psmouse-2.6.35-22-generic-patched.tar.bz2
  3. Install dkms
    Code:
    $ apt-get install dkms
  4. Add the source to dkms, build it and install the module
    Code:
    $ dkms add -m psmouse -v 2.6.35-22-generic
    $ dkms build -m psmouse -v 2.6.35-22-generic
    $ dkms install -m psmouse -v 2.6.35-22-generic
  5. Reboot.
You can always check wether the module is installed using
Code:
$ dkms status -m psmouse -v 2.6.35-22-generic
If the module is not installed, You can use the steps again to rebuild and reinstall it.
You can also remove the module when a fixed kernel has been released:
Code:
$ sudo dkms uninstall -m psmouse -v 2.6.35-22-generic
$ sudo dkms remove -m psmouse -v 2.6.35-22-generic --all
For more information, updates and troubleshooting, consult the bug report and its comments.
That's it! You're done!