Differences between revisions 36 and 88 (spanning 52 versions)
Revision 36 as of 2008-09-04 12:55:58
Size: 12497
Editor: ?WMartinBorgert
Comment: Removed a paragraph that has nothing to do with the EEE PC, let alone the 901.
Revision 88 as of 2015-02-21 10:51:44
Size: 3760
Editor: SvenJoachim
Comment:
Deletions are marked like this. Additions are marked like this.
Line 1: Line 1:
Work on supporting the 901 and other Atom-based models (1000, 1000H) has commenced. We have a source package for the atl1e ethernet driver at http://eeepc.debian.net/ and are working on producing debs of this and rebuilding the installer to include them so that an ethernet-based install on these models will be possible. <<TableOfContents>>
Line 3: Line 3:
A driver for the wireless hardware can be found at http://www.ralinktech.com.tw/data/drivers/2008_0708_RT2860_Linux_STA_v1.7.0.0.tar.bz2. This page summarizes the status of support for models 901, 1000 and 1000H. Please do not use it as a bug tracking system. Instead, file bugs and apply model-specific usertags as described on [[DebianEeePC/Bugs/About]].
Line 5: Line 5:
FixMe: This page has many things that are not model-specific and/or are duplicated elsewhere in the wiki (e.g. m-a, linux-uvc tip, multiple monitors, suspend-to-disk, swfdec flash player). Please delete redundant material and update appropriate pages instead (/HowTo/Sound for 'front mic', for instance) leaving behind only the truly model-specific things (e.g. rt2860, special hotkeys). Thanks. Please put no non-model specific information on this page. See [[DebianEeePC/HowTo/Configure]] for configuration of webcam, multiple displays, etc.
Line 7: Line 7:
=== Debian package for rt2860 ===
[liable] We are working on supporting the rt2860 driver. A working source deb is now available in the eeepc.debian.net repository. The name of the package is rt2860-source and can be fetched with apt-get or your favourite package manager once you have added the repo. Instructions for adding the repository are linked from the main page of the wiki.
Sometimes confused with the [[DebianEeePC/Model/901GO|901GO]] which has a different wireless chipset.
Line 10: Line 9:
This can be built with module-assistant or from the tarball it installs. The easiest way is a simple == Wifi ==
Line 12: Line 11:
"m-a prepare" As of version 2.6.32, the driver ''rt2860sta'' renames the wireless interface from ''ra0'' to ''wlan0''. [[DebianEeePC/HowTo/Wifi#Network_configurators|See here if you're using a network configurator]]); rename any interface name in `/etc/network/interfaces`, `/etc/wicd/wireless-settings.conf` if you are using wicd and `/etc/arno-iptables-firewall/debconf.cfg` if you are using Arno's firewall.
Line 14: Line 13:
"m-a a-i rt2860-source" As of kernel version 2.6.32+39, "wicd" version 1.7.0+ds1-5, and "firmware-ralink" version 0.35~bpo60+1 (Squeeze, on a 901, 26 APR 12), it was not necessary to manually edit the two text files mentioned above. All that was needed was to click on the wireless icon in the system tray and, in the ensuing "Wicd Network Manager" window, select the "Preferences" tab and enter "wlan0" into the "Wireless interface:" data field. Refresh the scan and enter the security code, if needed.
Line 16: Line 15:
Then install the built deb file.

[OzeLot] I had success building the rt2860-driver from rt2860-source_1.7.0.0-1_all.deb on Debian/lenny with 2.6.26 kernel.

Before I followed your recipe, I installed the debs build-essential, kernel-package, module-assistant and the linux-headers-2.6.26-1-686.

To build the rt2860 module from the sources I did:
As of version 2.6.30, the non-free firmware has been moved out (see DebianBug:521553). To get it working, DebianPkg:firmware-ralink must be installed. Non-free section must be added to the APT source.
Line 25: Line 18:
"m-a prepare"
"m-a a-i rt2860"
$ sudo aptitude install firmware-ralink
Line 28: Line 20:
and installed the resulting rt2860-modules-2.6.26-1-686_1.7.0.0-1+2.6.26-3_i386.deb.
Line 30: Line 21:
To manage my eth0 and ra0 interface, I installed network-manager-kde on my eeepc 901 with KDE. Then you need just three definitions in /etc/network/interfaces: Starting with version 2.6.29, the Linux kernel contains the driver for the Ralink 2860; it's enabled and present in {{{linux-image-2.6.29-1-*}}}. However, it contains non-free firmware (DebianBug:521553).

With 2.6.28 and earlier, the recommended way to install the driver for these models is with the prebuilt module package from [[DebianEeePC/Repository|our repository]]:
Line 33: Line 26:
auto lo
iface lo inet loopback
auto eth0
iface eth0 inet dhcp
auto ra0
iface ra0 inet dhcp
aptitude install rt2860-modules-2.6.26-1-686
Line 40: Line 28:
The management does network-manager afterwards.
Line 42: Line 29:
I confirm WPA1 AES connect to a (ralink) access-point.

===== Installer =====
JohnGoerzen has confirmed these things work on the 901:

 * X
 * Hardware ethernet
 * Wifi with above driver, including WPA2 and network-manager
 * Suspend/Resume
 * Hotkeys: suspend, brightness, others untested.
Performance seems to be better than the Xandros install.

ThijmenDeGooijer has confirmed these things to work on the 1000H:

 * X also on external display
 * Hardware ethernet
 * Wifi with above driver, including WPA2 and network-manager
 * Sound output, recording untested
 * Suspend/Resume to disk
 * Hotkeys: suspend, brightness, volume control (after modifying VOLUME_LABEL in /etc/default/eeepc-acpi-scripts).
IvanSanchez reports:

 * In order for the Wifi hotkey (Fn+F2) to work, /etc/acpi/actions/wireless.sh needs to be tweaked - replace "ath0" with "ra0" and "ath_pci" with "rt2860sta". Do this after installing the rt2860sta driver from the above link.
 * Bluetooth works OK, but only if enabled from the BIOS. There is no way (yet) of enabling/disabling it - the eeepc acpi module needs some patching (see http://forum.eeeuser.com/viewtopic.php?pid=304343). The bluetooth adapter is an USB device, much like the webcam.
 * Remember to install cpufrequtils to allow throttling, if you skipped tasksel (works like a charm with acpi_cpufreq).
 * ACPI events do work out of the box with 2.6.26 kernel - seems like the 901's ACPI implementation is less buggy than the 701's.
 * rt2860sta driver won't compile with 2.6.26 kernel (sid); use 2.6.25 (lenny) for the time being.
 * Internal microphone does not seem to work. Most probably the 901 suffers from theh same problem as the 900. See http://wiki.debian.org/DebianEeePC/Model/900#head-1ef9e12308f2364008cb9f9871633d94ea331159 .
 * The four "silver" keys (in the silver strip where the power button is) throw an ACPI event. The hotkey.sh script should reference those keys to do something useful (e.g. toggle webcam/bluetooth on/off).
 * suspend/hibernate/resume works; X with external display works (hint: edit /etc/default/eeepc-acpi-scripts for a higher resolution); LAN works.
This doesn't seem to work out-of-the-box:

 * Display switching
 * Hotkeys: LCD off, others untested
== Hints and Tips from empika ==
=== webcam ===
you need to
Alternatively, the module can be built and installed automatically with [[ModuleAssistant|module-assistant]], as follows:
Line 81: Line 32:
#apt-get install module-assistant
}}}
this should also install the kernel headers needed to build the wireless drive. next runn
m-a prepare
m-a a-i rt2860 }}}
Line 85: Line 35:
{{{
#module-assistant auto-install linux-uvc
}}}
to install the right module for the webcam. afterwards run
See [[DebianEeePC/HowTo/Wifi/Rt2860]] and [[DebianEeePC/HowTo/Wifi]] for a guide to configuring wireless.
Line 90: Line 37:
{{{
#echo 1 > /proc/acpi/asus/camera
}}}
you should now have a working webcam, test it with Cheese :D
== Hotkeys ==
If you want to see a message on your screen when you use a hotkey run {{{aptitude install aosd-cat}}} to install the OSD display'er. you then need to edit /etc/default/eeepc-acpi-scripts and change {{{ENABLE_OSD='no'}}} to {{{ENABLE_OSD='yes'}}}.
Line 95: Line 40:
=== wifi ===
I followed the instructions on http://www.itwriting.com/blog/778-fixing-wi-fi-on-asus-eee-pc-901-with-linux.html which links to this driver from Ralink http://www.itwriting.com/DPO_RT28xx_60_LinuxSTA_V1.7.0.0_2008_07_15.tgz, it has special eee-pc bits in and is ready to compile once extracted, just run '''make''' and '''make install''' in the source dir.

You need to edit /etc/acpi/actions/wireless.sh and replace all instances of '''ath0''' with '''ra0''' and '''ath_pci''' with '''rt2860sta''' To get the wireless hotkey to display the correct message when on the OSD you need to edit /etc/acpi/actions/hotkey.sh, find the line (around 35)

{{{
if grep -q ath0 /proc/net/wireless; then
}}}
and change it to

{{{
if grep -q ra0 /proc/net/wireless; then
}}}
network-manager-gnome didnt work for me, it did not give me the option to use WPA encryption so I installed Wicd which works pretty well most of the time. grab it from http://wicd.sourceforge.net/

follow the instructions on the download page and remove everything from /etc/network/interfaces bar

{{{
auto lo
iface lo inet loopback
}}}
wikd should be in your apps->internet menu, you can now run it and connect to wireless AP's!

=== hotkeys, osd and misc bits ===
run {{{apt-get install aosd-cat}}} to install the OSD display'er. you then need to edit /etc/default/eeepc-acpi-scripts and change the following lines {{{ENABLE_OSD='no'}}} to {{{ENABLE_OSD='yes'}}}

If you are not going to install the latest alsa driver to get the front mic working you can change
If you are not going to install the latest ALSA driver to get the front mic working you can change
Line 127: Line 45:
Line 131: Line 48:
See the section below about what to do if you are installing the latest alsa
Line 133: Line 49:
=== Multiple monitors ===
this is detailed on another page but i had some issues getting the desktop to display over the two monitors so have pasted my xorg.conf and some more info below to help. Firstly install xrandr if its not already
(eeepc-acpi-scripts 1.0.12 will detect these automatically.)
Line 136: Line 51:
{{{
#apt-get install xrandr
}}}
then edit /etc/default/eee-acpi-scripts, change the line {{{COMBINED_DISPLAY_SWITCHES='--mode 640x480'}}} to
See the section below about what to do if you are installing the latest ALSA modules.
Line 141: Line 53:
{{{
COMBINED_DISPLAY_SWITCHES='--output VGA --auto --above LVDS'
}}}
next you need to edit your /etc/X11/xorg.conf here is my version
== Front Mic ==
Build and install the latest release candidate of ALSA as described in [[DebianEeePC/HowTo/Sound]].
Line 146: Line 56:
{{{
Section "InputDevice"
        Identifier "Generic Keyboard"
        Driver "kbd"
        Option "XkbRules" "xorg"
        Option "XkbModel" "pc105"
        Option "XkbLayout" "gb"
EndSection
Section "InputDevice"
        Identifier "Configured Mouse"
        Driver "synaptics"
        Option "CorePointer"
        Option "SendCoreEvents" "true"
        Option "Device" "/dev/input/mice"
        Option "Protocol" "auto-dev"
        Option "HorizEdgeScroll" "1"
EndSection
Section "Device"
        Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
        Driver "intel"
        BusID "PCI:0:2:0"
EndSection
Section "Monitor"
        Identifier "Configured Monitor"
        Option "DPMS"
EndSection
Section "Screen"
        Identifier "Default Screen"
        Device "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
        Monitor "Configured Monitor"
        DefaultDepth 24
        SubSection "Display"
                Depth 24
                Modes "1024x600"
                #ADD LINE FOR MULTI DISPLAYS
                #this is 1024 wide by 1368 high (768+600=1368)
                Virtual 1024 1368
        EndSubSection
EndSection
}}}
restart X '''without''' your external monitor plugged in, hitting the hotkey (f+f5) should now activate your external monitor. if not you can debug issues by running
== Touchpad ==
See [[DebianEeePC/HowTo/ElantechTouchpad]].
Line 188: Line 59:
{{{
#xrandr
}}}
as a normal user (or a user that has permission to run x stuff), this will give you an output from which you can tell which monitors are plugged in. without external monitor plugged in
== Bluetooth ==
Bluetooth works fine with 2.6.29 and later. Older kernels need to be patched and may have a problem in that it must be enabled from the BIOS.
Line 193: Line 62:
{{{
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 1024 x 1368
VGA disconnected (normal left inverted right x axis y axis)
LVDS connected 1024x600+0+0 (normal left inverted right x axis y axis) 195mm x 113mm
   1024x600 60.0*+
   800x600 60.3
   640x480 59.9
TV disconnected (normal left inverted right x axis y axis)
}}}
with external monitor plugged in
We recommend using 2.6.29 or newer. There is a backported 2.6.29 for lenny users; see [[../../HowTo/Upgrade|our upgrade notes]] for details.
Line 204: Line 64:
{{{
Screen 0: minimum 320 x 200, current 1024 x 600, maximum 1024 x 1368
VGA connected (normal left inverted right x axis y axis)
   1024x768 60.0
   800x600 60.3
   640x480 59.9
LVDS connected 1024x600+0+0 (normal left inverted right x axis y axis) 195mm x 113mm
   1024x600 60.0*+
   800x600 60.3
   640x480 59.9
TV disconnected (normal left inverted right x axis y axis)
}}}
running the xrandr command with the options we specified in /etc/default/eee-acpi-scripts should also help you debug any problems
== Power management ==
Install cpufrequtils to allow throttling (works like a charm with acpi_cpufreq).
Line 218: Line 67:
{{{
#xrandr --output VGA --auto --above LVDS
}}}
=== front mic ===
To get the front mic working you have to rebuild the alsa driver using the latest release candidate. grab it from here ftp://ftp.alsa-project.org/pub/driver/alsa-driver-1.0.18rc1.tar.bz2

next you need to unpack it somewhere like /usr/src/ then build it. you may want to backup your old driver first

{{{
/usr/lib/2.6.25-2-686/kernel/sounds/pci/hda/# cp snd-hda-intel.ko snd-hda-intel.ko.stock
/usr/src/alsa-driver-1.0.18rc1# ./configure --with-cards=hda-intel --with-options=all
/usr/src/alsa-driver-1.0.18rc1# make
/usr/src/alsa-driver-1.0.18rc1# make install
/usr/src/alsa-driver-1.0.18rc1# ./snddevices
}}}
im not sure if the last step is necessary but i ran it anyway.

you can verify your new driver with

{{{
/usr/lib/2.6.25-2-686/kernel/sounds/pci/hda/# ls -l
}}}
check that the date on the snd-hda-intel.ko is about the time you compiled it :)

your now you need to reboot.

after the reboot checkout your mixer settings with alsamixer or the gnome-volume-control, the channels have changed from the stock driver.

 * Playback: PCM. this is the master volume for the speakers
 * Playback: LineOut. this is the volume for the headphone socket
 * Recording: Capture. this is the record level for the front mic. it only seems usable at about 30% otherwise its just really distorted
 * Recording: Digital. this is the record level for the external mic in. its alot quieter than the front mic even at 100%, prehaps were missing some MicBoost like the stock driver has.
To get your hot keys to work again you need to edit /etc/default/eee-acpi-scripts and change the mixer labels to

{{{
VOLUME_LABEL='LineOut'
VOLUME_LABEL='iSpeaker'
}}}
to

{{{
VOLUME_LABEL='PCM'
VOLUME_LABEL='LineOut'
}}}
you also need to add the line

{{{
I_SWITCH_LABEL='iSpeaker'
}}}
this should get the volume keys working again.

To get the mute key to work you need to edit /etc/acpi/actions/hotkey.sh. Comment out the line (around line number 50)

{{{
status=$(amixer get $VOLUME_LABEL | sed -n '/%/{s/.*\[\(on\|off\)\].*/\u\1/p;q}')
}}}
and add this line underneath it

{{{
status=$(amixer get $I_SWITCH_LABEL | sed -n 's/.*\[\(on\|off\)\].*/\1/;ta;d;:a;p;q')
}}}
further down in the '# Fn+F7 -- mute/unmute speakers' section comment out the line

{{{
amixer -q set $VOLUME_LABEL toggle
}}}
and add instead

{{{
amixer -q set $I_SWITCH_LABEL toggle
}}}
you should now be all set
With 2.6.30 and later, Super Hybrid Engine support is present; [[../../HowTo/Configure#SuperHybridEngine|see our configuration page for information]].

This page summarizes the status of support for models 901, 1000 and 1000H. Please do not use it as a bug tracking system. Instead, file bugs and apply model-specific usertags as described on DebianEeePC/Bugs/About.

Please put no non-model specific information on this page. See DebianEeePC/HowTo/Configure for configuration of webcam, multiple displays, etc.

Sometimes confused with the 901GO which has a different wireless chipset.

Wifi

As of version 2.6.32, the driver rt2860sta renames the wireless interface from ra0 to wlan0. See here if you're using a network configurator); rename any interface name in /etc/network/interfaces, /etc/wicd/wireless-settings.conf if you are using wicd and /etc/arno-iptables-firewall/debconf.cfg if you are using Arno's firewall.

As of kernel version 2.6.32+39, "wicd" version 1.7.0+ds1-5, and "firmware-ralink" version 0.35~bpo60+1 (Squeeze, on a 901, 26 APR 12), it was not necessary to manually edit the two text files mentioned above. All that was needed was to click on the wireless icon in the system tray and, in the ensuing "Wicd Network Manager" window, select the "Preferences" tab and enter "wlan0" into the "Wireless interface:" data field. Refresh the scan and enter the security code, if needed.

As of version 2.6.30, the non-free firmware has been moved out (see 521553). To get it working, firmware-ralink must be installed. Non-free section must be added to the APT source.

$ sudo aptitude install firmware-ralink

Starting with version 2.6.29, the Linux kernel contains the driver for the Ralink 2860; it's enabled and present in linux-image-2.6.29-1-*. However, it contains non-free firmware (521553).

With 2.6.28 and earlier, the recommended way to install the driver for these models is with the prebuilt module package from our repository:

aptitude install rt2860-modules-2.6.26-1-686

Alternatively, the module can be built and installed automatically with module-assistant, as follows:

m-a prepare
m-a a-i rt2860 

See DebianEeePC/HowTo/Wifi/Rt2860 and DebianEeePC/HowTo/Wifi for a guide to configuring wireless.

Hotkeys

If you want to see a message on your screen when you use a hotkey run aptitude install aosd-cat to install the OSD display'er. you then need to edit /etc/default/eeepc-acpi-scripts and change ENABLE_OSD='no' to ENABLE_OSD='yes'.

If you are not going to install the latest ALSA driver to get the front mic working you can change

VOLUME_LABEL='LineOut'
VOLUME_LABEL='iSpeaker'

to

VOLUME_LABEL='Master'
VOLUME_LABEL='Headphones'

(eeepc-acpi-scripts 1.0.12 will detect these automatically.)

See the section below about what to do if you are installing the latest ALSA modules.

Front Mic

Build and install the latest release candidate of ALSA as described in DebianEeePC/HowTo/Sound.

Touchpad

See DebianEeePC/HowTo/ElantechTouchpad.

Bluetooth

Bluetooth works fine with 2.6.29 and later. Older kernels need to be patched and may have a problem in that it must be enabled from the BIOS.

We recommend using 2.6.29 or newer. There is a backported 2.6.29 for lenny users; see our upgrade notes for details.

Power management

Install cpufrequtils to allow throttling (works like a charm with acpi_cpufreq).

With 2.6.30 and later, Super Hybrid Engine support is present; see our configuration page for information.