Laptops are the fastest growing market segment for PCs, and OpenLinux is unusually well-suited to laptop use. Caldera Systems' new ISP setup program, for instance, is designed for laptops, enabling the traveling user to select a new city's--or country's--connection numbers on-the-fly, without even having to reboot.
Some of the biggest hurdles that Linux has had to surmount, to work acceptably on laptops, have been installation, graphics compatibility for LCD adapters and screens, power management and PCMCIA issues. All of these hurdles have been significantly overcome in OpenLinux eDesktop 2.4. The installation setup program, Lizard, now supports most laptop graphics adapters and LCD screens, making installation and X Windows configuration much more reliable than before. PCMCIA setup is also automatic during installation, and power management can be controlled by a combination of supplied and downloadable programs.
However, problems may occasionally still occur. This chapter will focus on:
The combination of LCD screens and graphics adapters with proprietary `tweaks' has traditionally been a problem for the Linux operating system. Fortunately, refinements to the Lizard installation program have made installation a much less troublesome area, although configuring the X Windows System may still take some work on some machines.
Most users will be able to install OpenLinux from the CD, choosing either VESA or Non-Graphic install modes if necessary. If for some reason this doesn't work, then there are still two options left:
The last option will certainly work, resulting initially in a command line-only installation. Detailed instructions covering these installation options are in Chapter Three.
If you are having trouble configuring your graphic card and monitor to run X Windows on your laptop, try one of the alternative configuration programs. XF86Setup is a graphical setup program that relies on a very basic graphic server to work, and will often function when more complex programs will not. If that does not work, try the text-based xf86config, and initially at least use very conservative settings.
It may become necessary to manually edit your XF86Config file. This can be done with any command line or KDE text editor. Detailed instructions on editing this file are in the man page, and information on specific display adapters can be found in /usr/X11R6/lib/X11/doc.
Both Ethernet cards and modems are better supported now in PCMCIA format than in the more traditional format of open-soldered, plug-in adapter cards. Even quite obscure cards, including flash cards, are now recognized. However, it is still possible that the cardmgr program will grab the wrong interrupt (if this happens, it is very likely that another piece of hardware--the sound card, for example--will also fail to work correctly).
If you suspect this is happening, find out, either within Windows or by reading the /proc/interrupts file, which IRQs are used by your PC cards, and which are normally reserved for other pieces of hardware. Then edit your /etc/pcmcia/config.opts file, to exclude interrupts belonging to other devices.
The PCMCIA program comes with a useful utility called cardctl. This can be used to identify the inserted PC cards which your computer recognizes, and the resources they are using. Simply type at a command line:
Automatic Power Management is now a reality in Linux. The apm package of programs can be downloaded at www.worldvisions.ca/~apenwarr/apmd/.
This program will both monitor battery life, and also put your computer into a safe suspend/resume mode. The method used is the more elegant and faster suspend-to-RAM, not the alternative suspend-to-disk.
To use this program to monitor battery life, simply type:
and press Enter. To us it to suspend your computer, type:
Although the suspend/resume feature in Linux is as stable--if not more stable--than it is in other operating systems, there are two things to remember before using it:
In both cases, resume will be unreliable.
In fact, it is generally a good idea to shutdown all PC cards before using the suspend/resume feature. This can be accomplished by typing:
You may want to write a simple two-line shell script for that operation.
Effective power management of course is not just an issue of suspending your machine. Within OpenLinux, the BIOS power management routines will generally still work; try them out with the keyboard `hotkeys' normally used.
Manual hard disk power downs can be managed through the hdparm utility. An immediate disk shutdown can be effected through the command:
However, the disk may spin back up again momentarily. The reason for this is that Linux tends to make more regular read and write calls to the disk than Windows.
When power management is important, close down programs that you are not using, try to engage the BIOS power management through your hotkeys, and refrain from using programs like top, that make regular and frequent calls to the hard disk. You can also set the hard disk to attempt a power down every minute, by entering:
Excellent resources for Linux laptop management and generally living with Linux and laptops are on the Web. In particular, the Linux on Laptops Website is an extremely rich index of Linux/laptop information. The contents at the top of the Website's home page (See The Home Page of Linux on Laptops), give only the barest idea of the scope of information available--the site rewards exploration. The URL is:
www.cs.utexas.edu/users/kharker/linux-laptop/