Differences between revisions 51 and 52
Revision 51 as of 2008-10-11 11:50:09
Size: 7381
Editor: BenArmstrong
Comment: Remove redundant info: webcam, hotkeys; just refer to Configure
Revision 52 as of 2008-10-11 11:56:33
Size: 4905
Editor: BenArmstrong
Comment: Move alsa instructions to the sound HowTo
Deletions are marked like this. Additions are marked like this.
Line 44: Line 44:
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
Line 46: Line 45:
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
}}}
I’m 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 :)

Now you need to reboot.

After the reboot, have a look at 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 it’s just really distorted
 * Recording: Digital. this is the record level for the external mic in. It’s a lot quieter than the front mic even at 100%, perhaps we’re 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

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

{{{
VOLUME_LABEL='PCM'
VOLUME_LABEL='LineOut'
}}}

[psyche] Are you sure there should be two VOLUME_LABEL keys? I think for the second item should be HEADPHONE_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.
Build and install the latest release candidate of alsa as described in ["DebianEeePC/HowTo/Sound"].

?TableOfContents

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. The general eee-configuration page can be found in [:DebianEeePC/HowTo/Configure].

Wifi

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.

This can be built with module-assistant or from the tarball it installs. The easiest way is a simple

m-a prepare
m-a a-i rt2860-source 

Then install the built deb file.

To ensure that wireless still works after toggling it off and on by pressing ?FnF2:

  • put into /etc/modprobe.d/for-wireless line:

options pciehp pciehp_slot_with_bus=1 pciehp_force=1
  • add pciehp to /etc/modules to load it at boot start

Configuration

See [:DebianEeePC/HowTo/Configure] for instructions to set up the webcam, multiple displays, etc.

Hotkeys

If you want to see a message on your screen when you use a hotkey 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

VOLUME_LABEL='LineOut'
VOLUME_LABEL='iSpeaker'

to

VOLUME_LABEL='Master'
VOLUME_LABEL='Headphones'

See the section below about what to do if you are installing the latest alsa

Front Mic

Build and install the latest release candidate of alsa as described in ["DebianEeePC/HowTo/Sound"].

Touchpad

See ["DebianEeePC/Model/900#Touchpad"].

Users

?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.
    • works for me - installed Debian Lenny with kernel from linux-image-2.6.26-1-686 version 2.6.26-4, I compiled rt-sta and I use it with no problems [?ArturCzechowski]

  • 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 .

    • That page says that it works on the 900 with Linux-2.6.26; does it also work on 901 when using that version of Linux ?
  • 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

Macks can confirm that on a 100H:

  • Works:
    • WLAN with above drivers
    • Hotkeys (after changing the /etc/default/eeepc-acpi-scripts)
    • Suspend etc.
    • ACPI etc.
    • Webcam
  • Doesn't work:
    • Front mic (haven't tried the newest alsa...)
  • Not tested
    • Bluetooth
    • Card Reader