15014
Comment: Reference the touchpad info for the 900.
|
15367
|
Deletions are marked like this. | Additions are marked like this. |
Line 2: | Line 2: |
Line 42: | Line 41: |
[Mathijs] If you get the driver directly from the [javascript:void(0);/*1221527152275*/ Ralink website] there is a bug causing the compilation process to fail with the error'': '''struct net_device' ''''has no member'' named '''nd_net'''.'' To fix this, edit the file 'os/linux/rt_main_dev.c' and change 'dev->nd_net' on line 804 to 'dev_net(dev)'. |
|
Line 120: | Line 121: |
Line 128: | Line 130: |
Line 145: | Line 148: |
Line 147: | Line 149: |
Line 175: | Line 178: |
Line 177: | Line 179: |
Line 179: | Line 182: |
If there are no error messages content of /etc/acpi/actions/wireless.sh shall be OK. [/ArturCzechowski] |
If there are no error messages content of /etc/acpi/actions/wireless.sh shall be OK. [/ArturCzechowski] |
Model 901/1000/1000H support status
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"].
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.
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.
[?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:
m-a prepare m-a a-i rt2860
and installed the resulting rt2860-modules-2.6.26-1-686_1.7.0.0-1+2.6.26-3_i386.deb.
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:
auto lo iface lo inet loopback auto eth0 iface eth0 inet dhcp auto ra0 iface ra0 inet dhcp
The management does network-manager afterwards.
I confirm WPA1 AES connect to a (ralink) access-point.
[Mathijs] If you get the driver directly from the [javascript:void(0);/*1221527152275*/ Ralink website] there is a bug causing the compilation process to fail with the error: struct net_device' 'has no member named nd_net. To fix this, edit the file 'os/linux/rt_main_dev.c' and change 'dev->nd_net' on line 804 to 'dev_net(dev)'.
?JohnGoerzen has confirmed these things work on the 901: Performance seems to be better than the Xandros install. ?ThijmenDeGooijer has confirmed these things to work on the 1000H: ?IvanSanchez reports: 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. 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 . This doesn't seem to work out-of-the-box:
You need to this should also install the kernel headers needed to build the wireless drive. next run to install the right module for the webcam. Afterwards run You should now have a working webcam, test it with Cheese
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) and change it to 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 wikd should be in your apps->internet menu, you can now run it and connect to wireless AP's! [?ArturCzechowski] With following version of involved software: Fn+F2 turns off the wifi, but turning on doesn't work. A lot of errors in dmesg: http://pastebin.com/f698965f9 After some messing up with configuration I finally got things work. Alternatively you can apply following patch. Please note this patch also replaces device and module names. To apply the patch paste it into file, for example: /tmp/toggle-wifi.diff. Then run: patch -p0 < /tmp/toggle-wifi.diff If there are no error messages content of /etc/acpi/actions/wireless.sh shall be OK. [?/ArturCzechowski]
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 to See the section below about what to do if you are installing the latest alsa
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 it’s not already installed then edit /etc/default/eee-acpi-scripts, change the line COMBINED_DISPLAY_SWITCHES='--mode 640x480' to next you need to edit your /etc/X11/xorg.conf here is my version restart X without your external monitor plugged in, hitting the hotkey (f+f5) should now activate your external monitor. If not then you can debug issues by running 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: With external monitor plugged in: Running the xrandr command with the options we specified in /etc/default/eee-acpi-scripts should also help you debug any problems
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 I’m not sure if the last step is necessary but i ran it anyway. You can verify your new driver with 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: ?LineOut. this is the volume for the headphone socket 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 to You also need to add the line 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) and add this line underneath it Further down in the ‘# Fn+F7 -- mute/unmute speakers’ section, comment out the line and add instead You should now be all set.
See ["DebianEeePC/Model/900#Touchpad"]. Installer
Hints and Tips from empika
webcam
# apt-get install module-assistant
# module-assistant auto-install linux-uvc
# echo 1 > /proc/acpi/asus/camera
wifi
if grep -q ath0 /proc/net/wireless; then
if grep -q ra0 /proc/net/wireless; then
auto lo
iface lo inet loopback
Linux jalapeno 2.6.26-1-686 #1 SMP Thu Aug 28 12:00:54 UTC 2008 i686 GNU/Linux
linux-image-2.6.26-1-686 2.6.26-4
rt2860-modules-2.6.26-1-686 1.7.0.0-1+2.6.26-4
options pciehp pciehp_slot_with_bus=1 pciehp_force=1
on|enable)
if [ $(cat $wlan_control) = 0 ]; then
echo 1 > $wlan_control
# adding a sleep here, due to some bug the driver loading is not atomic here
# and could cause ifconfig to fail
sleep 1
if ! ifconfig ra0 up; then exec $0 off; fi
fi
;;
--- wireless.sh.orig 2008-09-07 22:45:20.000000000 +0200
+++ wireless.sh 2008-09-07 22:41:08.000000000 +0200
@@ -6,20 +6,17 @@
case $1 in
on|enable)
if [ $(cat $wlan_control) = 0 ]; then
- modprobe -r pciehp
- modprobe pciehp pciehp_force=1
echo 1 > $wlan_control
- modprobe ath_pci
# adding a sleep here, due to some bug the driver loading is not atomic here
# and could cause ifconfig to fail
sleep 1
- if ! ifconfig ath0 up; then exec $0 off; fi
+ if ! ifconfig ra0 up; then exec $0 off; fi
fi
;;
off|disable)
if [ $(cat $wlan_control) = 1 ]; then
- ifdown --force ath0
- modprobe -r ath_pci
+ ifdown --force ra0
+ modprobe -r rt2860sta
echo 0 > $wlan_control
fi
;;
hotkeys, osd and misc bits
VOLUME_LABEL='LineOut'
VOLUME_LABEL='iSpeaker'
VOLUME_LABEL='Master'
VOLUME_LABEL='Headphones'
Multiple monitors
#apt-get install xrandr
COMBINED_DISPLAY_SWITCHES='--output VGA --auto --above LVDS'
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
#xrandr
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)
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)
#xrandr --output VGA --auto --above LVDS
front mic
/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
/usr/lib/2.6.25-2-686/kernel/sounds/pci/hda/# ls -l
VOLUME_LABEL='LineOut'
VOLUME_LABEL='iSpeaker'
VOLUME_LABEL='PCM'
VOLUME_LABEL='LineOut'
I_SWITCH_LABEL='iSpeaker'
status=$(amixer get $VOLUME_LABEL | sed -n '/%/{s/.*\[\(on\|off\)\].*/\u\1/p;q}')
status=$(amixer get $I_SWITCH_LABEL | sed -n 's/.*\[\(on\|off\)\].*/\1/;ta;d;:a;p;q')
amixer -q set $VOLUME_LABEL toggle
amixer -q set $I_SWITCH_LABEL toggle
Touchpad