Installing SuSE Linux 5.3 on the Libretto 60



I have just installed Linux on my Libretto 60 using the following method:

I created a 1 GB DOS partition because I plan to install Windows 95 anyway. Then I copied the stuff from the SuSE Linux 5.3 distribution CD 1 into a directory called CD on this partition using FX (FX is a program like LapLink to copy files from one PC to another using a parallel Link cable). I have choosen to use SuSE because I have already installed it once on my desktop and because it is shipped with KDE, the new Linux Desktop. Then I changed into the directory CD and ran setup.exe. There I have choosen to install from harddisk and to use loadlin instead of lilo. After installing some basic stuff from the first CD I recompiled the kernel to enable sound, APM and PCMCIA. Then I inserted a NE2000 compatible PCMCIA LAN card to install the remaining stuff from CD 2 and 3 using FTP. Then I deleted the installation stuff from the C: partition to make room to install Windows 95. This gives me a 1 GB Win95 and a 2 GB Linux on the same tiny Libretto.

For the upgrade to SuSE Linux 6.0, I have choosen to use the FTP path. It took quite a while to upgrade the whole bunch over the Internet but it worked.



The problems I came across during installation
You have to disable the use of INT 5 in /etc/pcmcia/config.opts (otherwise, sound does not work)

Monitoring the battery-status
create a file in /bin, name it "batt", set the chmod to 555 and enter the following:
    #! /bin/sh
    awk '{ print $7 }' < /proc/apm

Setting up Sound
The trick is not to play around with Sound Blaster (only 8 bit sound) or Microsoft Sound System (no sound at all) but to configure the sound-system as Crystal Sound Card. This works fine on my Libretto 60 with SuSE Linux 6.0 (Kernel 2.0.36) and the OSS/Free v 3.8s9 (www.opensound.com/ossfree/ossfree.html) I can use full 16 bit sound with Real Audio now! You have to recompile the kernel using the following settings to set this up. The sound driver is compiled as a module. I tried to compile it into the kernel but sound did not work after resuming from suspend. It works when the sound driver is compiled as a module.

#
# Sound
#
CONFIG_SOUND=m
# CONFIG_PAS is not set
# CONFIG_SB is not set
CONFIG_ADLIB=y
# CONFIG_GUS is not set
# CONFIG_MPU401 is not set
# CONFIG_PSS is not set
# CONFIG_GUS16 is not set
# CONFIG_GUSMAX is not set
# CONFIG_MSS is not set
# CONFIG_SSCAPE is not set
# CONFIG_TRIX is not set
# CONFIG_MAD16 is not set
CONFIG_CS4232=y
# CONFIG_MAUI is not set
# CONFIG_OPL3SA1 is not set
# CONFIG_SOFTOSS is not set
CONFIG_YM3812=y
CS4232_BASE=534
CS4232_IRQ=5
CS4232_DMA=1
CS4232_DMA2=1
CS4232_MPU_BASE=330
CS4232_MPU_IRQ=9
# CONFIG_LOWLEVEL_SOUND is not set