Installing Debian on LG's LW60-DBJA Express Notebook

ryanheise.com → LW60
** Product information and specs **

The lspci command (after updating the pci.ids file) shows:

0000:00:00.0 Host bridge: Intel Corporation Mobile 915GM/PM/GMS/910GML Express Processor to DRAM Controller (rev 03)
0000:00:01.0 PCI bridge: Intel Corporation Mobile 915GM/PM Express PCI Express Root Port (rev 03)
0000:00:1b.0 0403: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 04)
0000:00:1c.0 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 1 (rev 04)
0000:00:1c.2 PCI bridge: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) PCI Express Port 3 (rev 04)
0000:00:1d.0 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #1 (rev 04)
0000:00:1d.1 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #2 (rev 04)
0000:00:1d.2 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #3 (rev 04)
0000:00:1d.3 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB UHCI #4 (rev 04)
0000:00:1d.7 USB Controller: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) USB2 EHCI Controller (rev 04)
0000:00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev d4)
0000:00:1f.0 ISA bridge: Intel Corporation 82801FBM (ICH6M) LPC Interface Bridge (rev 04)
0000:00:1f.1 IDE interface: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) IDE Controller (rev 04)
0000:00:1f.3 SMBus: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) SMBus Controller (rev 04)
0000:01:00.0 VGA compatible controller: ATI Technologies Inc M24 1P [Radeon Mobility X600]
0000:02:00.0 Ethernet controller: Marvell Technology Group Ltd. Fast Ethernet Controller (rev 10)
0000:06:00.0 CardBus bridge: Texas Instruments PCI7420 CardBus Controller
0000:06:00.2 FireWire (IEEE 1394): Texas Instruments PCI7x20 1394a-2000 OHCI Two-Port PHY/Link-Layer Controller
0000:06:00.3 Unknown mass storage controller: Texas Instruments PCI7420/PCI7620 Dual Socket CardBus and Smart Card Cont. w/ 1394a-2000 OHCI Two-Port  PHY/Link-Layer Cont. an
0000:06:02.0 Network controller: Intel Corporation PRO/Wireless 2915ABG MiniPCI Adapter (rev 05)

The important bits are:

Installing debian

Unfortunately you will not be able to use the netinst CD since it has an old version of the sk98lin driver which cannot detect the network card. Instead, you will need to download the full CD image of "testing". Only the first of the 14 CDs is required to install a minimal working system, then you can compile the latest sk98lin module and apt-get install the remaining packages over the Internet.

When booting the installation CD, boot with "linux26 pci=bios,biosirq acpi=off" . These boot parameters prevent the installer from freezing during PCMCIA detection. PCMCIA can be configured propertly after installation, and then ACPI can be safely re-enabled.

When configuring xfree86, select the vesa driver since fglrx is not included on the CD. fglrx can be installed later.

Fixing PCMCIA detection

Edit /etc/pcmcia/config.opts (as root) and comment out the line that says "include port 0x800-0x8ff"

Enabling ACPI

WARNING: If you enable ACPI without first fixing PCMCIA detection, your system will freeze at boot during PCMCIA detection.

Edit /boot/grub/menu.lst, and change the boot parameters so that "acpi=on" and "apm=off" (you shouldn't have them both on at the same time). If you like you can add a new boot option rather than editing the existing one, so that if your boot freezes, you can still revert to the original one.

The only problem I've found with ACPI so far is that the laptop does not power down after a shutdown. You will have to press and hold the power key to force it to power down.

Ethernet

Using another (network-enabled) computer, download the kernel-source debian package with the version matching your currently installed kernel. You can transfer it to your laptop via CD or USB-disk. Install the kernel source as follows:

# dpkg -i kernel-source-XXX.deb
# cd /usr/src
# tar jxvf kernel-source-XXX.tar.bz2
# ln -s kernel-source-XXX linux

Then download the latest sk98lin driver from here. I have tested v8.16 which works. Just follow the installation instructions that come with the driver. They are relatively straightforward.

Additionally, you need configure your network interfaces through the /etc/network/interfaces file (see "man interfaces" for instructions).

APT

Once your Internet connection is working, you can install the remaining software packages over the Internet using APT. Information on configuring and using APT is here.

Installing the ATI driver (fglrx)

Debian-specific instructions for installing fglrx can be found on this page.

Synaptics touchpad

To enable the tap-to-click and scroll features of the touchpad, put "psmouse proto=imps" in your /etc/modules files.

If you want to test this before rebooting, you can try:

# rmmod psmouse
# modprobe psmouse proto=imps

Wireless

You need to compile and install the ipw2200 driver. The source is available as a debian package, instructions are in the description of that package.

Once the driver is installed, you should also update your /etc/network/interfaces file.

Sound

Sound works with the snd-azx driver in ALSA 1.0.8 or later. You will need to download the alsa-source debian package and follow the compile/install instructions. Once the kernel module is installed, you can run alsaconf to auto-detect the sound card and configure it. The snd-azx driver in 1.0.8 is quite basic but functionality may be improved in 1.0.9.

Copyright © 2006