english - italiano

Eeepc 1001PX en el Debian Squeeze (En construcción)

debian-logo-mirrored.jpgasus-eee-pc-1001px-01.jpg

La configuración principales de debian squeeze obras (wifi, ethernet, webcam, audio, usb, card reader).

Paquetes esenciales:

  • linux-image-2.6-686 (obviously)
  • eeepc-acpi-scripts
  • xserver-xorg-video-intel
  • firmware-linux kernel (meta-package)
  • firmware-linux-free
  • firmware-linux-nonfree
  • xserver-xorg-input-synaptics

Paquetes sugeridos:

  • gpointing-device-settings | kde-config-touchpad

Información sobre el hardware de linux:

Especificaciones técnicas y el estado de trabajo

Tipo de dispositivo Dispositivo Trabaja
cpu Atom N450
display 10.1” WSVGA (1024×600) LED Backlight
ram 1GB SO-DIMM DDR2 PC667 (up to 2GB) -
hd 160GB - Sata II 5400rpm Hitachi
motherboard -
bios AMIBIOS(C)2010 American Megatrends -
graphic card Intel GMA 3150
wifi WiFi 802.11b/g - Atheros AR2427
ethernet Ethernet 10/100BT - Atheros AR8132
webcam 0,3 Mpixels webcam yes
audio(1) card HDA Intel - chip Realtek ALC269
audio(2) - si, mira bugs seccion
card reader Alcor Micro Corp. Multi Flash Reader
vga output -
usb ports -
touchpad Multitouch si, necesidad de probar mucho (para multitouch y otros)
keyboard - sí, pero no todas las teclas
battery 3 Cell Battery - 48 Wh Lithium-Ion 4.400 mAh 2h,30m max VS 2h,50m sobre WIN con el uso normal

(1)Altavoz y Auricolares (2)Micrófono Interno y esterno

Este es el hardware que he probado, pero otros modelos se puede cambiar un poco

Bios

I extracted info by:

  • Command dd if=/dev/mem bs=1k skip=768 count=256 2>/dev/null | strings -n 8 return: show
  • Command dmidecode -t bios return: show

Graphic Card

Intel Graphics Media Accelerator 3150:

Intel driver work very well, in gnome and kde I tested “clone desktop” and “extended desktop” monitor configuration and work well.

Lighweight solution for use multi monitor or change resolution is: lxrandr but has few options, grandr is good but not work very well, xrandr from command line is better, I use with:

xrandr --output LVDS1 --mode 1024x600
xrandr --output VGA1 --mode 1024x768 --right-of LVDS1

3d work fine, glxgear report:

1522 frames in 5.0 seconds = 304.265 FPS
1534 frames in 5.0 seconds = 306.777 FPS
1522 frames in 5.0 seconds = 304.362 FPS
1498 frames in 5.0 seconds = 299.471 FPS
1536 frames in 5.0 seconds = 307.183 FPS

See also:

Sound Card

  • Model: Realtek ALC662 Hi-Definition Audio 5.1 codec
  • Features: built-in stereo speakers and built-in microphone

Touchpad

  • on KDE work perfectly but need install kde-config-touchpad
  • for gtk/gnome users there is gpointing-device-settings but on my pc don't work very well (tapping don't work)
  • lightweight solution is synclient, in openbox I add this line in ~/.config/openbox/autostart.sh
if egrep -iq 'touchpad' /proc/bus/input/devices; then
    synclient VertEdgeScroll=1 &
    synclient TapButton1=1 &
    synclient RBCornerButton=3 &
    synclient LBCornerButton=1 &
    synclient BottomEdge=4000 &
    synclient RightEdge=3500 &
fi

some code take from http://crunchbanglinux.org/ script

Script útil

Script para activar / desactivar touchpad (touchpad_en.sh)

This script enable or disable touchpad via synclient or gconf with libnotify message

#!/bin/bash
icon="/usr/share/icons/gnome/48x48/devices/input-touchpad.png"
output=Touchpad
 
case $1 in
 
gconf)
#key_value=$(gconftool --get /desktop/gnome/peripherals/mouse/touchpad_enabled)
key_value=$(gconftool --get /desktop/gnome/peripherals/touchpad/touchpad_enabled)
echo $key_value | grep "false"
if [[ $? -eq 0 ]] ; then
	#gconftool --type Boolean --set /desktop/gnome/peripherals/mouse/touchpad_enabled true
	gconftool --type Boolean --set /desktop/gnome/peripherals/touchpad/touchpad_enabled true
	notify-send -i $icon "$output" "$output2" -t 1000
else
	#gconftool --type Boolean --set /desktop/gnome/peripherals/mouse/touchpad_enabled false
	gconftool --type Boolean --set /desktop/gnome/peripherals/touchpad/touchpad_enabled false
	notify-send -i $icon "$output" "$output2" -t 1000
fi
;;
 
*)
key_value=$(synclient -l | grep TouchpadOff | cut -d= -f2)
echo $key_value | grep "0"
if [[ $? -eq 0 ]] ; then
	synclient TouchpadOff=1
	output2=OFF
	notify-send -i $icon "$output" "$output2" -t 1000
else
	synclient TouchpadOff=0
	output2=ON
	notify-send -i $icon "$output" "$output2" -t 1000
fi
;;
 
esac

I launch the script with W-A-p keys from openbox adding this line on ~/.config/openbox/rc.xml in <keyboard> section

    <keybind key="W-A-p">
      <action name="Execute">
        <execute>/PATH_OF_SCRIPT/SCRIPT.sh</execute>
      </action>
    </keybind>

If you want use gpointing-device-settings change “SCRIPT.sh” with “SCRIPT.sh gconf”

I add a control in conky too (yellow “TP” means Touchpad enabled), see keyboard section

Keyboard

function key work
sleep FN+F1 yes
wireless FN+F2 yes
disconnect touchpad FN+F3 no
change resolution FN+F4 no
brightness - FN+F5 yes
brightness + FN+F6 yes
shutdown lcd FN+F7 no
change lcd/vga FN+F8 yes
system monitor FN+F9 no
mute FN+F10 yes (but with backports kernel)
volume - FN+F11 yes (but with backports kernel)
volume + FN+F12 yes (but with backports kernel)
change cpu speed FN+SPACE no

Useful scripts

Check keylocks and touchpad status from conky

This script check status of keylock and touchpad from xset -q and synclient -l commands and print result in conky language

#!/bin/bash
CL=`xset -q | awk '/Caps/ {print $4}'`
NL=`xset -q | awk '/Caps/ {print $8}'`
SL=`xset -q | awk '/Caps/ {print $12}'`
 
echo $CL | grep "on" > /dev/null
if [[ $? -eq 0 ]] ; then
pCL="\${color yellow}CAPS\$color"
	else
pCL="CAPS"
fi
 
echo $NL | grep "on"  > /dev/null
if [[ $? -eq 0 ]] ; then
pNL="\${color yellow}NUM\$color"
	else
pNL="NUM"
fi
 
echo $SL | grep "on"  > /dev/null
if [[ $? -eq 0 ]] ; then
pSL="\${color yellow}SCR\$color"
	else
pSL="SCR"
fi
 
synclient -l | grep TouchpadOff | grep 0 > /dev/null
if [[ $? -eq 0 ]] ; then
pTP="\${color yellow}TP\$color"
	else
pTP="TP"
fi
 
echo "$pCL | $pNL | $pSL | $pTP"

then need add this line on conky:

${execp /PATH_SCRIPT/NAME_SCRIPT.sh}

Keylock notify

This script used with openbox rc.xml file for notify when a keylock is pressed

#!/bin/bash
icon="/usr/share/icons/gnome/48x48/devices/keyboard.png"
case $1 in
 'scrl')
 mask=3
 key="Scroll"
 ;;
 'num')
 mask=2
 key="Num"
 ;;
 'caps')
 mask=1
 key="Caps"
 ;;
esac
value=$(xset q | grep "LED mask" | sed -r "s/.*LED mask:\s+[0-9a-fA-F]+([0-9a-fA-F]).*/\1/")
if [ $(( 0x$value & 0x$mask )) == $mask ]
then
 output="$key Lock"
 output2="On"
else
 output="$key Lock"
 output2="Off"
fi
notify-send -i $icon "$output" "$output2" -t 1000

In rc.xml in <keyboard> section add this lines:

   <keybind key="Caps_Lock">
      <action name="execute">
        <command>/PATH_SCRIPT/NAME_SCRIPT.sh caps</command>
      </action>
    </keybind>
 
    <keybind key="Num_Lock">
      <action name="execute">
        <command>/PATH_SCRIPT/NAME_SCRIPT.sh num</command>
      </action>
    </keybind>
 
     <keybind key="Scroll_Lock">
      <action name="execute">
        <command>/PATH_SCRIPT/NAME_SCRIPT.sh scrl</command>
      </action>
    </keybind>

Applications

Working Games

I do this list because not all debian games working with eeepc 1001PX

  • Secreat Maryo Chronicols
  • Wesnoth

Openbox configuration

apps I use with openbox:

  • mpd + sonata - for music
  • tint2 + gsimplecal (from http://crunchbanglinux.org/ repository) - for panel, tray icons bay and date/calendar
  • for manage external monitor xrandr (man xrandr) or grandr
  • wifi with network-manager + network-manager-applet
  • power manager with xfce-power-manager

This is my autostart.sh in ~/.config/openbox and by autostart.sh I launch two conky istance with conky_left and conky_right configuration files

Bugs

Tips and Tricks

For backup recovery partition and others:

See: backup

Otro

 
eeepc_1001px_debian_es.txt · Last modified: 2011/08/25 23:00 by varogami
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki