1. apt-get install qstardict virtualbox linux-backports-modules-intrepid apt-get install msttcorefonts wget -q http://packages.medibuntu.org/medibuntu-key.gpg -O- | sudo apt-key add - apt-get update apt-get install ubuntu-restricted-extras libdvdcss2 w32codecs mplayer vlc 2. ath5k這張wifi卡鳥... ======= 2. Wifi 如果裝了madwifi-tools,有可能ath5k會被列在blacklist中,要記得註解掉 madwifi-tools: /etc/modprobe.d/madwifi /etc/modprobe.d/madwifi ## ath5k (mac80211) # blacklist ath5k # To turn on wifi: Atheros Communications Inc. AR242x 802.11abg Wireless PCI Express Adapter (rev 01) http://www.ubuntu.com/getubuntu/releasenotes/810 http://www.ubuntu.com/getubuntu/releasenotes/810#Atheros%20ath5k%20wireless%20driver%20not%20enabled%20by%20default Ref: http://twntwn.info/blog/ajer001/archives/2738 # sudo apt-get install linux-backports-modules-intrepid-generic 接著重開機,然後到「系統 (System)」->「管理 (Administration)」->「硬體驅動程式 (HarwareDrivers)」,應該可以看到裡面有「Support for 5xxx series of Atheros 802.11 wireless LAN cards.」和「Support for Atheros 802.11 wireless LAN cards.」;把「Support for Atheros 802.11 wireless Lan cards.」關閉,這樣才會讓 Ath5k 正常使用。 接著重開機,應該就可以了。結束! # 不過這個ath5k在hibernate之後,resume會掛... dmesg出現 [ 392.841167] ath5k phy0: gain calibration timeout (2437MHz) [ 392.841183] ath5k phy0: can't reset hardware (-11) [ 392.845442] ath5k phy0: gain calibration timeout (2462MHz) [ 392.845447] ath5k phy0: can't reset hardware (-11) [ 392.888234] ath5k phy0: noise floor calibration failed (2462MHz) [ 393.250156] ath5k phy0: gain calibration timeout (2412MHz) [ 393.250162] ath5k phy0: can't reset hardware (-11) [ 393.632164] ath5k phy0: gain calibration timeout (2417MHz) [ 393.632169] ath5k phy0: can't reset hardware (-11) [ 394.014493] ath5k phy0: gain calibration timeout (2422MHz) 解決的方法有人說: # Ref: # https://bugs.launchpad.net/ubuntu/+source/linux/+bug/269253 # http://madberry.org/2008/11/how-to-get-atheros-ar242x-to-work-on-810-intrepid-ibex/ # Submitting an rfkill command (as root) solves the problem without rebooting for me: # echo 0 > /sys/devices/LNXSYSTM:00/device:00/ASUS010:00/rfkill/rfkill0/state # echo 1 > /sys/devices/LNXSYSTM:00/device:00/ASUS010:00/rfkill/rfkill0/state # Another workaround is to remove the kernel module (ath5k) before suspending, as mentioned in # https://bugs.launchpad.net/ubuntu/+source/linux/+bug/272169 測試之後發現前一個方法沒用,似乎只能在hibernate之前rmmod ath5k: a. /etc/acpi/hibernatebtn.sh ------------------------ #!/bin/sh test -f /usr/share/acpi-support/state-funcs || exit 0 # added by steven start rmmod ath5k # added by steven start . /usr/share/acpi-support/key-constants acpi_fakekey $KEY_SUSPEND ------------------------ b. 加一個檔案 /etc/acpi/resume.d/61-ath5k.sh #!/bin/sh # Added by Steven. if [ -z "$(lsmod | grep -i ath5k)" ]; then modprobe ath5k fi ======= 接著重開機,應該就可以了。 3. # To turn on fn-f7 for vga output: A. Edit /etc/acpi/events/thinkpad-videobtn ---------------- # /etc/acpi/events/ibmvideobtn # This is called when the user presses the video button. It is currently # a placeholder. event=ibm/hotkey HKEY 00000080 00001007 action=/etc/acpi/thinkpad-videobtn.sh ---------------- B. edit /etc/acpi/thinkpad-videobtn.sh ---------------- #!/bin/bash #xrandr --output VGA --auto xrandr --auto ---------------- chmod 755 /etc/acpi/thinkpad-videobtn.sh C. /etc/init.d/acpid restart