|
|
Line 1: |
Line 1: |
| '''NOTE: This page is work in progress. Take care what are you doing, if you decide to follow its instructions''' | | '''NOTE: This page is work in progress''' |
|
| |
|
| = Eee PC = | | = Eee PC = |
Line 6: |
Line 6: |
|
| |
|
| == News == | | == News == |
| * '''2008-06-11''' Fn+F5 Switch WORKS | | * '''2009-02-16''' The 90 % of instructions was obsolete, so they have been deleted. Let's try to give a better layout to this page |
| * '''2008-06-10''' New resume from suspend wireless FIX: handles both Wifi ON and OFF...so no problems with madwifi not loaded
| |
| * '''2008-06-10''' New feature: Webcam ON/OFF switch in Fn+F6!
| |
| * '''2008-06-10''' Fixed resume from suspend backlight issue, look at the new fix
| |
| * '''2008-06-10''' Fixed fn Volume keys. Update your script
| |
| * '''2008-06-09''' Enriching this wiki page with all fixes found by Duli and members of eeeuser forum.
| |
| * '''2008-02-14''' [http://www.redhatmagazine.com/2008/02/14/fedora-eee-pc-eeedora/ Red Hat Magazine: Fedora + Eee PC = Eeedora]
| |
| | |
| == ACPI State of play==
| |
| * Fedora 8: Need to compile the asus_acpi module and use the Asus scripts that handle various functions, Volume Up, Volume Down, Wifi On/Off etc. Asus also provides their OSD code to notify the user that they have pressed a button.
| |
| * Fedora 9: ships with a module called eeepc.ko - read the ACPI support in Fedora 9 to get it work.
| |
| | |
| | |
| === Fn Buttons ===
| |
| * Zz/Fn+F1 - Works as expected computer suspends
| |
| * Wifi/Fn+F2 - read ACPI support in Fedora 9 to get it work.
| |
| * BrtUp/Fn+F3 - Works. No OSD
| |
| * BrtDown/Fn+F4 - Works. No OSD
| |
| * SwitchDisplay/Fn+F5 - read ACPI support in Fedora 9 to get it work.
| |
| * AP/Fn+F6 - Webcam Switch ON/OFF, read ACPI support in Fedora 9 to get it work. ''AccessPoint Mode? I don't think we need this. I was thinking about making this button use xrandr to switch on and off a scrolling Virtual Display. This should help if a large dialog box pops up off screen. (Originally this Fn Key was meant to open the task manager)''
| |
| * Mute/Fn+F7 - Works in Fedora 8 with Asus module. read ACPI support in Fedora 9 to get it work.
| |
| * VolDown/Fn+F8 - Works in Fedora 8 with Asus module. read ACPI support in Fedora 9 to get it work.
| |
| * VolUp/Fn+F9 - Works in Fedora 8 with Asus module. read ACPI support in Fedora 9 to get it work.
| |
| | |
| === What does NOT work ===
| |
| * Hibernation [https://bugzilla.redhat.com/show_bug.cgi?id=451232 BUG HAS BEEN REPORTED]
| |
| * Wireless Button ON/OFF (Fn+F2) [https://bugzilla.redhat.com/show_bug.cgi?id=461329 BUG HAS BEEN REPORTED]
| |
| * Making sweet coffee (maybe never be fixed)
| |
| | |
| === What Fedora 9 gives you ===
| |
| * Full linux experience (it runs VERY well with stock gnome)
| |
| * Acceptable boot time
| |
| * Fedora is a lifestyle :) always bleeding edge software for you!
| |
|
| |
|
| == Installing Fedora == | | == Installing Fedora == |
Line 44: |
Line 12: |
| * Using USB pendrive (at least 1 GB) take a look at the [[FedoraLiveCD/USBHowTo| USB Howto page]] | | * Using USB pendrive (at least 1 GB) take a look at the [[FedoraLiveCD/USBHowTo| USB Howto page]] |
| * Using USB pendrive, from Windows [https://fedorahosted.org/liveusb-creator liveusb-creator] | | * Using USB pendrive, from Windows [https://fedorahosted.org/liveusb-creator liveusb-creator] |
|
| |
| == ACPI support in Fedora 9 ==
| |
| '''Note : for security reasons, these instructions are not suitable on a production or critical environment. So use at your own risk.'''
| |
|
| |
| Also, in new eee PC 901 there is no atheros anymore which was replaced by RT2860 Wireless (rt2860sta can be compiled from sources <http://www.ralinktech.com/ralink/Home/Support/Linux.html>).
| |
|
| |
| Grant X access to local user root:
| |
| <pre>
| |
| $ echo "xhost +local:root" >> ~/.bash_profile
| |
| $ echo "xhost -local:root" >> ~/.bash_logout
| |
| $ su --login
| |
| # echo "xhost +local:root" >> /etc/skel/.bash_profile
| |
| # echo "xhost -local:root" >> /etc/skel/.bash_logout
| |
| </pre>
| |
|
| |
| Let's load ACPI daemon into Fedora 9
| |
| <pre>
| |
| su -
| |
| yum -y install acpid
| |
| </pre>
| |
|
| |
| Now we must start the ACPI daemon
| |
| [https://bugzilla.redhat.com/show_bug.cgi?id=451176 Bug has been reported]
| |
|
| |
| <pre>
| |
| chkconfig acpid on
| |
| service acpid start
| |
| </pre>
| |
|
| |
|
| |
| === FN keys and events (fixed) ===
| |
|
| |
| create these files
| |
| [https://bugzilla.redhat.com/show_bug.cgi?id=451182 Bug has been reported] (fixed in rawhide)
| |
| <pre>
| |
| gedit /etc/acpi/events/hotkeys.conf
| |
| </pre>
| |
| paste this code:
| |
| <pre>
| |
| event=hotkey ATKD .*
| |
| action=/etc/acpi/actions/hotkeys.sh %e
| |
| </pre>
| |
|
| |
| Create this file:
| |
| <pre>
| |
| gedit /etc/acpi/actions/hotkeys.sh
| |
| </pre>
| |
|
| |
| Paste this code
| |
| <pre>
| |
| #!/bin/bash
| |
|
| |
| export DISPLAY=:0
| |
|
| |
| case "$3" in
| |
|
| |
| #Fn+F2
| |
| 00000010)
| |
| # Wlan On
| |
| /etc/acpi/actions/wlan.sh poweron
| |
| ;;
| |
| 00000011)
| |
| # Wlan Off
| |
| /etc/acpi/actions/wlan.sh poweroff
| |
| ;;
| |
|
| |
| #Fn+F6
| |
| 00000012)
| |
| # Webcam switch
| |
| /etc/acpi/actions/camera.sh
| |
| # TaskManager
| |
| # /usr/bin/gnome-system-monitor
| |
| ;;
| |
|
| |
| #Fn+F7
| |
| 00000013)
| |
| # Volume mute
| |
| /usr/bin/amixer set -D hw:0 Master toggle
| |
| ;;
| |
|
| |
| #Fn+F8
| |
| 00000014)
| |
| # Volume down
| |
| /usr/bin/amixer set -D hw:0 Master 10%- unmute
| |
| ;;
| |
|
| |
| #Fn+F9
| |
| 00000015)
| |
| # Volume up
| |
| /usr/bin/amixer set -D hw:0 Master 10%+ unmute
| |
| ;;
| |
|
| |
| #Fn+F5
| |
| 00000030)
| |
|
| |
| /usr/bin/xrandr --output VGA --mode 1024x768 \
| |
| --output LVDS --off
| |
|
| |
| if [[ "$?" != "0" ]]; then
| |
|
| |
| /usr/bin/xrandr --output VGA --preferred \
| |
| --output LVDS --off
| |
|
| |
| fi
| |
| ;;
| |
|
| |
| 00000031)
| |
|
| |
| /usr/bin/xrandr --output LVDS --mode 800x480 \
| |
| --output VGA --mode 800x600
| |
|
| |
| ;;
| |
|
| |
| 00000032)
| |
|
| |
| /usr/bin/xrandr --output VGA --off \
| |
| --output LVDS --preferred
| |
|
| |
| ;;
| |
| *)
| |
| logger "ACPI hotkey $3 action is not defined"
| |
| ;;
| |
| esac
| |
| </pre>
| |
|
| |
| Other file:
| |
| <pre>
| |
| gedit /etc/acpi/actions/wlan.sh
| |
| </pre>
| |
| paste this code:
| |
| <pre>
| |
| #!/bin/bash
| |
|
| |
| PWR=$(cat /sys/devices/platform/eeepc/wlan)
| |
|
| |
| UnloadModules() {
| |
| rmmod ath_pci
| |
| rmmod ath_rate_sample
| |
| rmmod wlan_scan_sta
| |
| rmmod wlan_tkip
| |
| rmmod wlan_wep
| |
| rmmod wlan
| |
| }
| |
|
| |
| LoadModules() {
| |
| modprobe ath_pci
| |
| }
| |
|
| |
| case $1 in
| |
| poweron)
| |
| if [[ "$PWR" = "0" ]]; then
| |
| modprobe pciehp pciehp_force=1
| |
|
| |
| echo 1 > /sys/devices/platform/eeepc/wlan
| |
|
| |
| rmmod pciehp
| |
|
| |
| fi
| |
| ;;
| |
|
| |
| poweroff)
| |
| if [[ "$PWR" = "1" ]]; then
| |
|
| |
| modprobe pciehp pciehp_force=1
| |
|
| |
| ifconfig ath0 down
| |
|
| |
| wlanconfig ath0 destroy
| |
|
| |
| UnloadModules
| |
|
| |
| echo 0 > /sys/devices/platform/eeepc/wlan
| |
|
| |
| rmmod pciehp
| |
|
| |
| fi
| |
| ;;
| |
| esac
| |
| </pre>
| |
|
| |
| Webcam Switch file (NEW!):
| |
| <pre>
| |
| gedit /etc/acpi/actions/camera.sh
| |
| </pre>
| |
| paste this code:
| |
| <pre>
| |
| #!/bin/bash
| |
|
| |
| CAMERA=$(cat /sys/devices/platform/eeepc/camera)
| |
|
| |
| if [[ "$CAMERA" = "0" ]]; then
| |
| echo 1 > /sys/devices/platform/eeepc/camera
| |
| else
| |
| echo 0 > /sys/devices/platform/eeepc/camera
| |
| fi
| |
| </pre>
| |
| (please, do the following step after updating scripts, or new features like the webcam switch!!!)
| |
|
| |
| Make scripts executable:
| |
| <pre>
| |
| chmod -v +x /etc/acpi/actions/*
| |
| </pre>
| |
|
| |
| == Wireless Drivers ==
| |
|
| |
| === Eee PC 70x ===
| |
| Eee PC wireless is provided by an Atheros chipset. At this very moment, the only way to make it work on Fedora 9 is using Madwifi patched drivers, or windows driver with ndiswrapper.
| |
|
| |
|
| |
| {{admon/warning|The Madwifi driver isn't 100% Free Software, it contains proprietary code.}}
| |
|
| |
|
| |
| ''GOOD NEWS'': But Fedora '''RAWHIDE kernel natively supports''' EeePC 701 4G wireless hardware. Bad news is still Fn+F2 (wireless on/off) does not work. [https://bugzilla.redhat.com/show_bug.cgi?id=461329 Bug has been reported].
| |
|
| |
|
| |
| You can compile the kernel module or easily install it from an external repository like livna. After installing livna you can install the driver with the help of [[yum]] from the testing repository by using the <code>--enablerepo=livna-testing</code> option.
| |
|
| |
|
| |
| Sooner or later it would be possible to use the open source version of the ath5k driver for the Atheros chipsets.
| |
|
| |
|
| |
| Here are some [http://bugzilla.livna.org/show_bug.cgi?id=2019 compiled packages] for kernel 2.6.25.4-30.fc9.i686.
| |
|
| |
|
|
| |
|
| Livna repository and Madwifi driver are not officially affiliated or endorsed by the Fedora Project. '''Use them at your own discretion and risk.'''
| | = Eee PC 70x Series = |
|
| |
|
| | == Hardware support == |
| | === Wireless === |
| | Fedora 10 '''kernel natively supports''' EeePC 701 4G wireless hardware. |
|
| |
|
| * [https://fedoraproject.org/wiki/OtherRepositories Read this for more details on externel repositories].
| | = Eee PC 90x/1000 Series = |
|
| |
|
| === Eee PC 901 === | | == Hardware support == |
| | === Wireless === |
| Eee PC 901 wireless chip is Ralink RT2860, which is not supported by current kernel (work on support is in progress), but there's an open source driver provided by Ralink. | | Eee PC 901 wireless chip is Ralink RT2860, which is not supported by current kernel (work on support is in progress), but there's an open source driver provided by Ralink. |
| RPMFusion has an akmod package with this driver (akmod-rt2860). | | RPMFusion has an akmod package with this driver (akmod-rt2860). |
|
| |
|
| Fn+F2 doesn't work here, either. | | Fn+F2 doesn't work here, either |
| | | * [https://fedoraproject.org/wiki/OtherRepositories Read this for more details on externel repositories]. |
| == Fixes and solutions to common problems ==
| |
| | |
| === Shut down fix ===
| |
| If your Eee PC does not entirely shutdown, because the snd-hda-intel module cannot be unloaded.
| |
| | |
| <pre>
| |
| su -
| |
| echo "modprobe -r snd-hda-intel" >> /sbin/halt.local
| |
| chmod 755 /sbin/halt.local
| |
| </pre>
| |
|
| |
|
| Bug has been reported: https://bugzilla.redhat.com/show_bug.cgi?id=444115
| |
|
| |
|
| === Wireless resume from suspend fix ===
| |
| [https://bugzilla.redhat.com/show_bug.cgi?id=451181 BUG HAS BEEN REPORTED]
| |
| Temp workaround:
| |
|
| |
| With Madwifi driver, wireless doesn't work when resuming from sleep...but we can fix this issue with this script
| |
| (UPDATED! New script, handles sleep with both wifi ON/OFF)
| |
| Create the file:
| |
| <pre>
| |
| su -
| |
| gedit /etc/pm/sleep.d/S99wireless
| |
| </pre>
| |
| and paste this code:
| |
| <pre>
| |
| #!/bin/sh
| |
| WLAN=$(cat /sys/devices/platform/eeepc/wlan)
| |
|
| |
| case "$1" in
| |
| thaw|resume)
| |
| if [[ "$WLAN" = "1" ]]; then
| |
| { ip link set wifi0 up ; } 2>/dev/null
| |
| fi
| |
| ;;
| |
| *)
| |
| ;;
| |
| esac
| |
| exit $?
| |
| </pre>
| |
|
| |
| Make the script executable:
| |
| <pre>
| |
| chmod +x /etc/pm/sleep.d/S99wireless
| |
| </pre>
| |
|
| |
| === NetworkManager drop outs fix (Fedora 8 only) ===
| |
| ''Not necessary in Fedora 9''
| |
| * Works well with the Madwifi-NG drivers. To solve problems with frequents drop outs and communication problems try issuing this command.
| |
| <pre>
| |
| iwpriv ath0 bgscan 0
| |
| </pre>
| |
| * Just a quick update on a better way to issue this command on every boot. Edit your /etc/modprobe.conf and change change your lines for ath0 to look like this.
| |
| <pre>
| |
| alias ath0 ath_pci
| |
| install ath_pci /sbin/modprobe --first-time --ignore-install ath_pci && { /sbin/iwpriv ath0 bgscan 0 > /dev/null 2>&1 || :; }
| |
| </pre>
| |
|
| |
| === Internal Mic not working (fixed) ===
| |
| [https://bugzilla.redhat.com/show_bug.cgi?id=451178 Bug has been reported] (fixed in rawhide)
| |
|
| |
| Workaround:
| |
|
| |
| Double leftclick the volume icon, open preferences and enable e-Mic and e-Mic Boost.
| |
| In options select input source: e-Mic
| |
|
| |
| (strange, i-mic and e-mic are inverted!)
| |
|
| |
| === TouchPad tap fix ===
| |
| To fix the lack of TouchPad tap in Fedora 9, just install the Synaptics package available [http://www.ocf.berkeley.edu/~bobk/packages/ here]
| |
|
| |
| <pre>rpm -ihv http://www.ocf.berkeley.edu/~bobk/packages/synaptics-0.14.6-8.1.fc9.i386.rpm</pre>
| |
|
| |
| ''Old solution'' (I think this is for Fedora 8, please specify)
| |
| To enable the touchpad tapping, make your /etc/X11/xorg.conf look [http://forums.fedoraforum.org/showpost.php?p=1012733&postcount=16 like this] .
| |
|
| |
| === No backlight on resume from suspend (fixed) ===
| |
| [https://bugzilla.redhat.com/show_bug.cgi?id=451180 Bug has been reported] (fixed in rawhide)
| |
|
| |
| This bug has been fixed in kernel 2.6.26.
| |
|
| |
| The temporany workaround isn't working anymore, so let's wait for the new kernel release in fedora 9
| |
|
| |
| === Screen is off after resume from suspend/hibernate (Eee PC 901) ===
| |
| A different bug than the above, but adding --quirk-dpms-on to pm-suspend/pm-hibernate helps. Adding --store-quirks-as-fdi makes it permanent.
| |
|
| |
| Note: upgrading to BIOS 1603 seems to have removed the need for this quirk.
| |
|
| |
| See [https://bugzilla.redhat.com/show_bug.cgi?id=468271 bug 468271].
| |
|
| |
|
| == Hints and alternative software == | | == Hints and alternative software == |
Line 387: |
Line 50: |
| === Firefox 3, really a cpu eater === | | === Firefox 3, really a cpu eater === |
| Use Epiphany instead of Firefox 3... it's slim (written using the GTK libs) fast as Firefox 3, same compatibility (uses gecko as rendering engine). | | Use Epiphany instead of Firefox 3... it's slim (written using the GTK libs) fast as Firefox 3, same compatibility (uses gecko as rendering engine). |
|
| |
| === Webcam ===
| |
| The driver for the built-in webcam for the Eee PC 900 serie is installed with Fedora 9, you just have to load it.
| |
|
| |
| modprobe uvcvideo
| |
|
| |
| To get the same webcam application like the original OS of the Eee PC, install a small tool named <code>ucview</code>
| |
|
| |
| yum -y install ucview
| |
|
| |
|
|
| |
|
Line 408: |
Line 62: |
| If you want to take a look at the default source code which comes in the Eee PC, you could check Asus ftp: | | If you want to take a look at the default source code which comes in the Eee PC, you could check Asus ftp: |
|
| |
|
| * Serie 700 : http://update.eeepc.asus.com/p701/pool/ | | * Eee Pc 700 series: http://update.eeepc.asus.com/p701/pool/ |
| * Serie 900 : http://update.eeepc.asus.com/p900/pool/ | | * Eee Pc 900 series: http://update.eeepc.asus.com/p900/pool/ |
| * Serie 901 : http://update.eeepc.asus.com/p901/pool/ | | * Eee Pc 901 series: http://update.eeepc.asus.com/p901/pool/ |
|
| |
|
| == Comments == | | == Comments == |
|
| |
|
| It might be good to coordinate efforts and reach out to http://code.google.com/p/eeedora/. Some comments at http://www.bytebot.net/blog/archives/2008/01/31/eeedora-impressions and at http://wiki.eeeuser.com/howto:eeedora | | It might be good to coordinate efforts and reach out to http://code.google.com/p/eeedora/. Some comments at http://www.bytebot.net/blog/archives/2008/01/31/eeedora-impressions and at http://wiki.eeeuser.com/howto:eeedora |