From Fedora Project Wiki

Line 1: Line 1:
= EeePC =
= EeePC =


The [http://eeepc.asus.com/global/ EeePC]  has really taken the sub-compact pc market by storm.  Although the bundled linux installation is interesting, Fedora is more my style.  This page should contain all the needed quirks and notes needed to run Fedora perfectly on the eeePc.
The [http://eeepc.asus.com/global/ EeePC]  has really taken the sub-compact pc market by storm.  Although the bundled linux installation is interesting, Fedora is more our style.  This page should contain all the needed quirks and notes needed to run Fedora perfectly on the eeePc.


== News ==
== News ==

Revision as of 09:26, 9 June 2008

EeePC

The EeePC has really taken the sub-compact pc market by storm. Although the bundled linux installation is interesting, Fedora is more our style. This page should contain all the needed quirks and notes needed to run Fedora perfectly on the eeePc.

News

ACPI

  • Out of the Box F8: The asus_acpi module that Asus provided provides ACPI events that can be handled by the acpid daemon. Asus provides scripts that the acpid can trigger to do 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.
  • Out of the Box F9: Fedora 9 ships with a module called eeepc.ko - if you load it at system boot (add modprobe eeepc to /etc/rc.local) pressing one of the extra buttons will generate an acpi event that you can (and have to) handle yourself.
  • This is how I got the Fn+F2 (wireless) hotkey working on Fedora 9 with networknanager: Link .
  • Goal: I plan to provide an asus_acpi module that gives proper Fedora system integration through HAL.
  • Status: Thanks to code Ikke started, I got things in order quite quickly.

Buttons

  • Zz/Fn+F1 - Works as expected computer suspends
  • Wifi/Fn+F2 - Currently produces the wlan ButtonPressed event on dbus. I am working on hal killswitch functionality for it.
  • BrtUp/Fn+F3 - Works. No OSD
  • BrtDown/Fn+F4 - Works. No OSD
  • SwitchDisplay/Fn+F5 - Produces ButtonPressed events on dbus. My plan is to patch grandr to listen on the dbus and do proper xrandr switching.
  • AP/Fn+F6 - 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. OSD. Needs tweaks to gconf
  • VolDown/Fn+F8 - Works. OSD. Needs tweaks to gconf
  • VolUp/Fn+F9 - Works. OSD. Needs tweaks to gconf

Boot Speed

Wireless Drivers

Working madwifi drivers with experimental support for AR5007 chipsets are here . I´ve tested it on my EeePC 4G (701) and it works like a charm in F8 and F9.

To compile and install wireless drivers you first need to do several things. First install all necessary packages; as root do:

yum install make binutils gcc glibc-devel glibc-headers libgomp patch kernel-headers kernel-devel wget

Then blacklist the ath5k module:

echo "blacklist ath5k" >> /etc/modprobe.d/blacklist

Your /etc/modprobe.conf should look like this:

<!-- Start Atheros Stuff
-->
alias wifi0 ath_pci
alias ath0 ath_pci
options ath_pci autocreate=sta
<!-- End Atheros Stuff
-->

Download madwifi-nr-r3366+ar5007 driver:

wget http://snapshots.madwifi.org/special/madwifi-nr-r3366+ar5007.tar.gz

Extract madwifi source code and compile it:

tar xvf madwifi-ng-r2756-20071018.tar.gz
cd madwifi-nr-r3366+ar5007
make && echo ok
su -c "make install && echo ok"

Note: madwifi in livna-testing now supports the AR5007 card in the EeePC. --JonathanDieter 2008/05/20

NetworkManager

  • Works well with the Madwifi-NG drivers. To solve problems with frequents drop outs and communication problems try issuing this command.
iwpriv ath0 bgscan 0
  • 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.
alias ath0 ath_pci
install ath_pci /sbin/modprobe --first-time --ignore-install ath_pci && { /sbin/iwpriv  ath0 bgscan 0 > /dev/null 2>&1 || :; }


Window Manager

Do yourself a favor and install Openbox .

yum install openbox obconf

After installation you will need to choose openbox as your new window manager. If you are running gdm click on the session button and choose Gnome/Openbox. If you have an .xinitrc that is run at log in you can add, openbox, openbox-session or openbox-gnome-session to it.

Why?

  • This Window Manager is FAST!!!
  • The decorations are very small and simple.
  • By default Openbox trys to shrink windows to fit the viewable screen
  • Did I say this how fast this WM is?

Resolutions

Suspend

  • Works great. Using the Madwifi driver for the wireless card you need to add the following code to a script in /etc/pm/sleep.d/ . I call my script S99wireless.
#!/bin/sh

case "$1" in
thaw|resume)
{ ip link set wifi0 up ; } 2>/dev/null
;;
*)
;;
esac
exit $?

( Please Note that the machine won't suspend if the radio is turned off and the Madwifi driver is still loaded. )

Make the script executable:

chmod +x /etc/pm/sleep.d/S99wireless

Quirks

Shut down

If your EeePC does not entirely shutdown, like mine, add the following line to /etc/init.d/halt (I put right after the "Saving mixer setting" stuff):


modprobe -r snd-hda-intel && echo "snd-hda-intel module removed!"

I've filed a bug report on this: https://bugzilla.redhat.com/show_bug.cgi?id=444115


TouchPad

To enable the touchpad tapping, make your /etc/X11/xorg.conf look like this .


Source Code

If you want to take a look at the default source code which comes in the EeePC, you could check Asus ftp:

http://update.eeepc.asus.com/p701/pool/

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