Archive for October, 2004

Mozilla Thunderbird and the order of accounts

Wednesday, October 27th, 2004

It has long annoyed me that I couldn’t control the order my mail accounts are listed in the left pane in Mozilla Thunderbird.

In the end I decided to just edit my ~/.mozilla-thunderbird/default.xxx/prefs.js file to get it right, and after several unsuccessful attempts I found out how easy it is.

Open your prefs.js file in an editor and find a line like

user_pref("mail.accountmanager.accounts", "account1,account2,account3,account4,account5,account6");

The number of accounts depend on how many you have created while you have used that profile.

Anyway, just reorder the list. You’ll have to find the definition of each account to identify it, but it is not that hard.

Too bad there isn’t a GUI user interface for this.

Installing a new wireless mini-pci card in an Asus M2400N laptop

Wednesday, October 27th, 2004

My Asus M2400N laptop came with an integrated Intel PRO/Wireless 2100 mini-pci card for wi-fi access. It was ok initially, but when I upgraded the rest of my gear to 802.11g and 54Mbps, it was too slow. I used an Atheros Cardbus card for a while, using the madwifi driver, but the laptop has only one PCMCIA slot, and it was a bit of a pain to have it always occupied.

Now I have bought an Intel PRO/Wireless 2200BG mini-pci card, which I managed to insert into the laptop with not too much difficulty.

The short story is that it can be done upgrading the builtin wireless card in the laptop, and it works. The long story, with photos of each step, is in the extended copy below.

(more…)

Linux 2.6.7 on Asus M2400N

Sunday, October 24th, 2004

In another futile attempt at getting SWSUSP2 to work on my laptop, I installed a 2.6.7 kernel from TuxMobil.org.

The results were so so.

First the kernel didn’t boot. It would hang just after a line of

ACPI: IRQ9 SCI: Edge set to Level Trigger.

After some searching I found the solution: add ‘nolapic’ to the kernel arguments. With that option the kernel boots perfectly.

Next problem was that no kernel modules wouldn’t load. No matter what I did, I kept getting the error message:

QM_MODULES: Function not implemented.

This time it was because my versions of depmod(8), insmod(8) et.al. were too old. I installed the debian package ‘module-init-tools’ and this problem went away too.

Some modules have changed names and some drivers have been replaced compared to Linux 2.4.24. I had to load ‘psmouse’ to get the PS/2 mouse to work and the USB host module is ‘uhci_hcd’.

Since the kernel from TuxMobil.org is made for Asus laptops, many drivers are compiled into the kernel (such as sound, drm, agpgart, the nic and acpi), so there are relatively few modules loaded. I just load these:

uhci-hcd
psmouse
parport_pc
ath_pci

Now, to get back to Software Suspend, it still doesn’t work. With my previous kernel I could suspend, but not resume, and now I cannot even suspend. The process blocks at “Freezing processes”, but fortunately I can interrupt it by pressing ESC.

I suspect the DRM module or agpgart to be the culprit.

I also tried to use S3 suspend to ram, both with acpi_sleep=s3_bios and acpi_sleep=s3_mode, but also without success. The suspend doesn’t quite work, because I can continue to type and edit so the kernel input line discipline is working, but the system remains unresponsive, and the only way out is to force a reboot by pressing the power button for some seconds.

All in all, I’m practically back where I started, albeit with a newer kernel, which is not bad, but still no working suspend.

The boot log is here.

UPDATE: the upgrade killed waproamd. The ath_pci driver no longer registers a disassociation, the no more roaming :-(

UPDATE 2005-06-04 13:48:26 CEST
Software Suspend now works, with a more recent kernel.