Fedora 9

  • Install

yum install yum-fastestmirror
yum update
yum install scim-lang-japanese

http://java.com/en/download/index.jsp

http://www.eclipse.org/downloads/moreinfo/c.php

yum install eclipse - NG?

http://subclipse.tigris.org/update_1.4.x

#/sbin/lspci

03:00.0 Ethernet controller: Atheros Communications Inc. AR5212 802.11abg NIC (rev 01)

Info. http://www.thinkwiki.org/wiki/ThinkPad_11a/b/g_Wireless_LAN_Mini_Express_Adapter
setup livna repo. see http://rpm.livna.org/rlowiki/

for 2.6.25.14-108.fc9.i686

# yum install kmod-madwifi madwifi

OR

http://www.atrpms.net/dist/f9/madwifi/

create /etc/modprobe.d/madwifi

    • -

alias wlan0 ath_pci
blacklist ath5k

    • -

# wget http://dl.atrpms.net/all/madwifi-0.9.5-42_r3771.fc9.i386.rpm
# wget http://dl.atrpms.net/all/madwifi-kmdl-2.6.26.3-29.fc9-0.9.5-42_r3771.fc9.i686.rpm
# wget http://dl.atrpms.net/all/madwifi-hal-kmdl-2.6.26.3-29.fc9-0.9.5-42_r3771.fc9.i686.rpm
# rpm -ivh madwifi*
# /sbin/modprobe ath_pci

  • Wireless

/etc/acpi/actions/wireless.sh

    • -

#!/bin/sh

PATH=/sbin:/bin:/usr/bin

DRIVER=ath_pci

STATUS=`cat /sys/devices/platform/thinkpad_acpi/hotkey_radio_sw`

if [ $STATUS -eq 0 ]; then
modprobe -r $DRIVER
logger "Wireless Switch OFF"
elif [ $STATUS -eq 1 ]; then
modprobe $DRIVER
echo -n 1 > /proc/sys/dev/wifi0/ledpin
echo -n 1 > /proc/sys/dev/wifi0/softled
logger "Wireless Switch ON"
else
logger "Unknown Wireless Switch status: $STATUS"
fi

    • -


/etc/acpi/events/wireless.conf

    • -

event=ibm/hotkey HKEY 00000080 00007000
action=/etc/acpi/actions/wireless.sh

    • -
  • Sound

/etc/modprobe.d/sound
options snd-hda-intel index=0 model=3stack

options snd-hda-intel index=0 model=auto position_fix=1

/sbin/modprobe snd-hda-intel

  • Kernel rebuild

http://fedoraproject.org/wiki/Docs/CustomKernel

cd SPECS
rpmbuild -bp --target=`uname -m` kernel.spec

cd ~/rpmbuild/BUILD/kernel-2.6.26/linux-2.6.26.i686
cp /boot/config-2.6.26.5-45.fc9.i686 .config
make oldconfig
make
make modules
make modules_install
make install


  • Reference

http://www.linux-on-laptops.com/ibm.html
http://tuxmobil.org/ibm.html
http://www.thinkwiki.org/wiki/ThinkWiki