mikas notebook

January 13, 2009

Install FreeBSD/Linux on Compaq Armada E500 Laptop

Filed under: freebsd — admin @ 12:44 pm

Main infos:

  • * Mobile Pentium III 600 Mhz
    * 14 TFT screen, 1024×768
    * 256 MB RAM
    * Ati Rage Mobility graphic card
    * ESS Maestro 2E Soundcard 16 bit
    * 10 GB IBM hard disk
    * 24x Atapi CD-ROM
    * Floppy drive
    * PS/2 touchpad
    * 2 PCMCIA slots
    * Built-in Intel 10/100 NIC
    * Internal Lucent Winmodem
    * Ports: PS/2, parallel, serial, USB, IRDA, phone jack for the modem, headphones and microphone, connector for a docking station. External volume keys.
    * Intel 440 BX chipset

Some usefull files:

  • The xorg.conf (X-server configuration): download
  • dmesg (system message buffer) output: download
  • The partition table output: download
  • My kernel konfiguration file for FreeBSD ($FreeBSD: src/sys/i386/conf/GENERIC,v 1.429.2.13 2006/10/09 18:41:36 simon Exp $): download
  • My boot/loader.conf configuration file +splash image: loader.conf and splash.bmp

Howto setup the mouse with xorg:

# dmesg | grep -i mouse
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3

a list of drivers e.g.:

# apropos mouse | grep driver

device is psm0

# sudo cat /dev/psm0

try to move your mouse, if there are any unreadable
letters on your screen you can use this device for
your driver in /etc/X11/xorg.conf.

when there are no letters, you must check, if there
are any other FILES

# man psm | grep -i psm0
/dev/psm0   `non-blocking' device node
/dev/bpsm0  `blocking' device node under devfs.

/dev/bpsm0 is also a device, lets try the same with this
device:

# sudo cat /dev/bpsm0

Howto setup the network interface:

The network interface (if you have one built-in) is an Intel chip which will run flawlessly with the eepro100 module.
Note that LAN acticity can wake up the laptop if it was suspended but still connected.

network card config with:

sysinstall

into /etc/rc.conf:

ifconfig_fxp0="inet 192.168.2.30 netmask 255.255.255.0"
	defaultrouter="192.168.2.1"
route add default 192.168.2.1

Howto setup the soundcard:

ESS Maestro 2E PCI Audio Soundcard 16 Bit:
        http://www.freebsd.org/releases/6.2R/hardware-i386.html#SOUND
	The snd_maestro(4) driver supports the following PCI sound cards:
		* ESS Technology Maestro-1
    		* ESS Technology Maestro-2
		* ESS Technology Maestro-2E

more information: man snd_maestro

# sudo kldload snd_maestro
# cat /boot/defaults/loader.conf | grep -i loader_conf_files

check if “/boot/loader.conf” is in the variable
if yes, then next step. if no, then add it to the variable, default:

loader_conf_files="/boot/device.hints /boot/loader.conf /boot/loader.conf.local"

# sudo echo 'snd_maestro_load="YES"' >> /boot/loader.conf

save file and reboot
after reboot

the sound card should appear in your system message buffer (dmesg(8)) as something like:

# dmesg | grep -i pcm0
	pcm0:  port 0x3000-0x30ff irq 11 at device 8.0 on pci0
	pcm0:

The status of the sound card may be checked via the /dev/sndstat file:

# cat /dev/sndstat
	FreeBSD Audio Driver (newpcm)
	Installed devices:
	pcm0:  port 0x3000-0x30ff irq 11 at device 8.0 on pci0 (4p/1r/0v channels duplex default)

test your soundcard

# cat filename.mp3 > /dev/dsp

This command line should produce some noise, confirming the sound card is actually working.
Sound card mixer levels can be changed via the mixer(8) command. More details can be found in the mixer(8) manual page.

Powered by WordPress