Setup Fujitso Amilo Laptop

Hardy

Gutsy

usbcore.autosuspend=1
   

if [ ! -f /tmp/dirty_writeback_centisecs ]; then
  cat /proc/sys/vm/dirty_writeback_centisecs > /tmp/dirty_writeback_centisecs
fi
echo 1500 > /proc/sys/vm/dirty_writeback_centisecs
echo min_power > /sys/class/scsi_host/host0/link_power_management_policy

iwpriv eth1 set_power 7

aticonfig --set-powerstate=1

/etc/init.d/powernowd stop
echo "powersave" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "powersave" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

# Disable wake on LAN
ethtool -s eth0 wol d
ethtool -s eth1 wol d

# Disable cups
/etc/init.d/cupsys stop
   

and /etc/acpi/ac.d/10-stefan.sh:

cat /tmp/dirty_writeback_centisecs > /proc/sys/vm/dirty_writeback_centisecs

iwpriv eth1 set_power 1

aticonfig --set-powerstate=2

echo "userspace" > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo "userspace" > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
/etc/init.d/powernowd start

/etc/init.d/cupsys start
   

Sound

The microphone is still not working.

Install the latest alsa drivers (current version 1.0.16rc2):

Sleeping and hibernation

Installing latest fglrx driver

Feisty

Everything works out of the box. Battery lifetime is still not very good (updated power-management scripts below).

Dapper tweaks

Battery runs out quickly

#!/bin/bash

echo 60 > /proc/sys/vm/swappiness
echo 3000 > /proc/sys/vm/dirty_expire_centisecs
echo 500  > /proc/sys/vm/dirty_writeback_centisecs
echo 10   > /proc/sys/vm/dirty_background_ratio
echo 40   > /proc/sys/vm/dirty_ratio

/usr/bin/aticonfig  --set-powerstate=2

/sbin/iwpriv eth1 set_power 7

cpufreq-selector -g userspace

echo "Stefan: re-enabling USB devices"
/sbin/modprobe uhci_hcd

echo userspace > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo userspace > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor
# of
# cpufreq-selector -g userspace

/etc/init.d/powernowd restart
  

#!/bin/sh

echo powersave > /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
echo powersave > /sys/devices/system/cpu/cpu1/cpufreq/scaling_governor

echo 10 > /proc/sys/vm/swappiness
echo 0 > /proc/sys/vm/dirty_expire_centisecs
echo 0 > /proc/sys/vm/dirty_writeback_centisecs
echo 60 > /proc/sys/vm/dirty_background_ratio
echo 95 > /proc/sys/vm/dirty_ratio

aticonfig  --set-powerstate=1

/sbin/iwpriv eth1 set_power 5

cpufreq-selector -g powersave

echo "Stefan: disabling USB devices for low power mode"
/sbin/rmmod uhci_hcd
   

#!/bin/sh

/etc/init.d/powernowd restart
/etc/init.d/wifi-radar restart
   

Kernel complains of losing sync with touchpad

Apr 21 23:53:37 voyager kernel: [4294843.171000] psmouse.c: TouchPad at isa0060/serio4/input0 - driver resynched.

When the battery or CPU status is monitored too frequently, the touchpad loses sync. Sounds weird, but this is very common (just do a Google search).

   options psmouse resetafter=3 proto=imps
   

Sluggish keyboard

Sound doesn't work

Wireless driver installation

First, the ieee80211 stack:

   sudo apt-get install linux-headers-`uname -r`
   

   chmod a+x remove-old && sudo ./remove-old
   

   sudo ln -s /usr/src/linux-headers-`uname -r`/ /lib/modules/`uname -r`/build
   
   make && sudo make install
   

Then, the wireless drivers:

   cp ipw3945.ucode /lib/firmware
   

   cp x86/ipw3495d /sbin
   

   install ipw3945 modprobe --ignore-install ipw3945 ; sleep 0.5 ; /sbin/ipw3945d --quiet
   

This should start the daemon every time the module is loaded.

/sbin/ipw3945d --kill
rmmod ipw3945
modprobe ipw3945
   

ATI binary drivers installation

Note: Dapper now includes these drivers

   X_VERSION=x690 ; fakeroot ./ati-driver-installer-<version>.run
   

   sudo module-assistant build,install fglrx-kernel
   

sub-sahara africa
subrahaman
sahara trip IanKnot rainbow