These are primarily my notes on getting my AOPEN OpenBook 1846 notebook to work with Mandriva (Mandrake) Linux 10.0. I decided to do them as HTML, in the hope it would help others. If you have any improvements etc, please email ben dot alex at acegi dot com dot au.
The following instructions worked for me, but obviously I cannot guarantee they will work for you. This information is supplied for your benefit and without charge, so use it entirely at your own risk.
The notebook pretty much installs out-of-the-box except for power management and the modem. Specifically, the network card, video card, floppy drive, on-board mouse and CD-ROM all load up without special attention.
Power management and the modem work with special adjustment (as explained below).
I have not tested the PCMCIA cards or CD burning.
Fortunately the slmodem-2.9.7(ftp://ftp.smlink.com/linux/unsupported/slmodem-2.9.7.tar.gz) driver works with the on-board modem. Here is how to configure:
tar -xvf slmodem-2.9.7.tar
I've assumed you already had installed your kernel sources RPM package. To check, ensure you get output like this:
rpm -qa | grep kernel-source
If you compiled successfully, the next step is to ensure it will load at startup:
cp scripts/slmodemd /etc/init.d
In modprobe.preload, add the following line:
NB: Don't add a comment to modprobe. It seems to get confused.
Make slmodemd automatically start at reboot. Load mcc then click system, services, find slmodemd, and put a tick beside "on boot".
That should be it. After rebooting you should have a /dev/ttySL0 device for your modem.
Didn't work? Try running dmesg | grep -i slamr and viewing its output. Mine looks like:
lamr: no version for "struct_module" found: kernel tainted.
slamr: module license 'Smart Link Ltd.' taints kernel.
slamr: SmartLink AMRMO modem.
slamr: probe 1039:7013 SiS630 card...
slamr: mc97 codec is SIL27
slamr: slamr0 is SiS630 card.
devfs_mk_dev: could not append to parent for slamr0
The way I test is to install minicom, set it up using minicom -s to use /dev/ttySL0, then ensure I can do AT commands like AT (enter) returns OK.
Finally, once it is proven to work, make a link:
ln -s /dev/ttySL0 /dev/modem
This is certainly the tricky one...
Edit /etc/lilo.conf and modify the "acpi=ht" entries to say "acpi=force".
Whilst in lilo.conf, also remove the resume=xxxxxxx entry from the linux-nonfb section, as you might need this if your suspend-to-disk (hibernate) testing goes pear-shaped. If this does happen to you, restart using the linux-nonfb option and then do a "mkswap /dev/hda5" to clear the hibernate information in your swap partition. Warning: I'd suggest you first "cat /etc/fstab" to ensure your swap partition is indeed /dev/hda5 before executing this command. BTW, if you ignore this recommendation you can recover by booting from Mandrake CD 1, F1, "rescue", selecting "mount file systems", then "console", then "chroot /mnt", then editing /etc/lilo.conf, then running lilo. But that's work you can avoid by just doing what is recommended and removing resume=xxxxxxxx whilst initially editing lilo.conf!
After editing /etc/lilo.conf, from the console prompt run "lilo" to update the configuration.
Install the acpid package. Ensure it's installed by the following command.
rpm -qa | grep -i acpid
As you can see, I used 1.0.3 which does not ship with Mandrake 10.0. I found it in the "cooker" FTP RPM sources.
Make acpid automatically start at reboot. Load mcc then click system, services, find acpid, and put a tick beside "on boot".
Next up edit /etc/modprobe.preload and add the following to it (I added it after the slamr for the modem):
Now you should be able to reboot. Upon restart, as root perform an "/etc/init.d/acpid status" and hopefully it will say it's running. Further troubleshooting is available via dmesg.
A few nice features: KDE's KLaptop will display correct icons depending on your battery status. Remove the AC plug and see the icon update. Also momentarily pressing the power button on the AOpen notebook will cause proper shutdown. You can also cat various information (such as system temperature) from /proc/acpi.Suspend/Resume:
Well, I tried, but no joy. If anyone gets this working, please let me know. I tried using suspend-scripts 1.7.3mdk and kdeutils 3.2.3-1. Suspend appears to work OK, but on resuming the screen goes white and locks up. I wish I had more time to look into this, but I'm happy enough knowing the battery/AC line status....
This page is a courtesy for TuxMobil by Ben Alex <ben.alex_at_acegi.com.au>.