Amilo Pro
De Sertecnet Valencia SL, la enciclopedia libre.
El AMILO PRO V2020 es un portatil de Siemens con tecnología centrino.
El hardware es un pentium M con los siguientes componentes de PCI:
00:00.0 Class 0600: 8086:3580 (rev 02) 00:00.1 Class 0880: 8086:3584 (rev 02) 00:00.3 Class 0880: 8086:3585 (rev 02) 00:02.0 Class 0300: 8086:3582 (rev 02) 00:02.1 Class 0380: 8086:3582 (rev 02) 00:1d.0 Class 0c03: 8086:24c2 (rev 03) 00:1d.1 Class 0c03: 8086:24c4 (rev 03) 00:1d.2 Class 0c03: 8086:24c7 (rev 03) 00:1d.7 Class 0c03: 8086:24cd (rev 03) 00:1e.0 Class 0604: 8086:2448 (rev 83) 00:1f.0 Class 0601: 8086:24cc (rev 03) 00:1f.1 Class 0101: 8086:24ca (rev 03) 00:1f.3 Class 0c05: 8086:24c3 (rev 03) 00:1f.5 Class 0401: 8086:24c5 (rev 03) 00:1f.6 Class 0703: 8086:24c6 (rev 03) 01:03.0 Class 0607: 1217:7114 (rev 20) 01:03.1 Class 0607: 1217:7114 (rev 20) 01:03.2 Class 0880: 1217:7110 01:07.0 Class 0280: 8086:4220 (rev 05) 01:0a.0 Class 0c00: 104c:8023 01:0c.0 Class 0200: 10ec:8139 (rev 10)
Los componentes que no son de Intel son el PCMCIA, el bus Firewire (Texas Instrument) y el controlador de red Realtek.
Son componentes bastante comunes, y en general no da problemas de configuración en Linux.
Se le puede sin embargo sacar algo de partido.
Las siguientes configuraciones y recomendaciones están sacadas de Fedora 3, (y superior) y CentOS
Tabla de contenidos |
Múltiples arranques
Como equipo portatil, el sistema ha de ser capaz de iniciarse en el entorno corporativo o en entorno desplazado. Para ello se ha escrito un programa para cambiar la autenticación (de NIS a local) y seleccionar los sistemas de ficheros en red.
#! /bin/bash
#
# network Bring up/down networking
#
# makerunlevel-stn: 45 9 90
# description: Activates/Deactivates all network interfaces configured to \
# start at boot time.
#
### BEGIN INIT INFO
# Provides: $network
### END INIT INFO
# Source function library.
. /etc/init.d/functions
if [ ! -f /etc/sysconfig/network ]; then
exit 0
fi
. /etc/sysconfig/network
if [ -f /etc/sysconfig/pcmcia ]; then
. /etc/sysconfig/pcmcia
fi
# Check that networking is up.
[ "${NETWORKING}" = "no" ] && exit 0
# if the ip configuration utility isn't around we can't function.
[ -x /sbin/ip ] || exit 1
# Even if IPX is configured, without the utilities we can't do much
[ ! -x /sbin/ipx_internal_net -o ! -x /sbin/ipx_configure ] && IPX=
# Even if VLAN is configured, without the utility we can't do much
[ ! -x /sbin/vconfig ] && VLAN=
CWD=`pwd`
cd /etc/sysconfig/network-scripts
. network-functions
# find all the interfaces besides loopback.
# ignore aliases, alternative configurations, and editor backup files
interfaces=`ls ifcfg* | LANG=C egrep -v '(ifcfg-lo|:|-range|rpmsave|rpmorig|rpmnew)' | \
LANG=C egrep -v '(~|\.bak)$' | \
LANG=C egrep 'ifcfg-[A-Za-z0-9\._-]+$' | \
sed 's/^ifcfg-//g' |
sed 's/[0-9]/ &/' | LANG=C sort -k 1,1 -k 2n | sed 's/ //'`
# See how we were called.
case "$1" in
start)
RUNLEVEL=`runlevel | awk '{print $2}'`
cd /etc/sysconfig/network-scripts
if [ -d runlevel${RUNLEVEL} ]; then
for i in $interfaces ; do
if [ -h ifcfg-$i ] ; then
# If we're in confirmation mode, get user confirmation.
echo Eliminando configuraciones antiguas de ifcfg-$i
rm -f ifcfg-$1
fi
done
echo Inicializando scripts para $RUNLEVEL
ln -sf runlevel${RUNLEVEL}/* .
case $RUNLEVEL in
4)
echo Configuracion sin NIS
authconfig --kickstart --nostart --disablenis
;;
*)
echo Configuracion con NIS
authconfig --kickstart --nostart --enablenis
;;
esac
fi
;;
stop)
;;
status)
;;
restart|reload)
;;
*)
echo $"Usage: $0 {start|stop|restart|reload|status}"
exit 1
esac
exit 0
El script os permite generar directorios runlevel4 y runlevel5 en /etc/sysconfig/network-scripts con los scripts ifcfg-eth0 e ifcfg-eth1 para activarlos de forma distinta en cada entorno.
Configuración del USB
En las configuraciones normales el USB no da fallos.
Existen algunos kernels (a partir de la versión 2.6.8) que rompe compatibilidad con los escritorios GNOME. El resultado es que no encuentra los discos flash.
Es posible que el futuro se tenga que cambiar (o alguna actualización os de un problema) Mientras tanto:
echo Generando viejo modo de acceso a USB echo y > /sys/module/usbcore/parameters/old_scheme_first echo Y > /sys/module/usbcore/parameters/use_both_schemes
Configuración de ahoro de energía
Lo primero es hacer que se activen las opciones de acceso al disco para manener la energía en la batería.
echo 1 > /proc/sys/vm/laptop_mode
Una de las cosas que más hacen sufrir a las baterías (ventiladores etc) es la frecuencia de CPU.
Para mejorar el comportamiento, /etc/cpuspeed.conf
VMAJOR=1 VMINOR=1 # Let background (nice) processes speed up the cpu OPTS="$OPTS -n" # Add your favorite options here #OPTS="$OPTS -s 0 -i 10 -r" # uncomment and modify this to check the state of the AC adapter #OPTS="$OPTS -a /proc/acpi/ac_adapter/*/state" # uncomment and modify this to check the system temperature #OPTS="$OPTS -t /proc/acpi/thermal_zone/*/temperature 75" DRIVER="speedstep-centrino" OPTS="-i 2 -a /proc/acpi/ac_adapter/*/state -t /proc/acpi/thermal_zone/*/temperature 75"
Forzar el funcionamiento del ratón
En caso de que el ratón no funcione:
echo -n "psmouse" > /sys/devices/platform/i8042/serio0/drvctl
Si esto funciona meter esta línea en:
/etc/rc.local
Esto fuerza el comportamiento como psmouse. Ahora se puede poner las X11 con synaptics al igual que mouseconfig.
Es interesante emplear un programita de configuración del ratón, por defecto es poco sensible.
Para esto gsynaptics es una ayuda.
Antes habrá que configurar el xorg.conf.
Ahí tenéis uno que funciona:
# Xorg configuration created by system-config-display
Section "ServerLayout"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Keyboard0" "CoreKeyboard"
InputDevice "Synaptics" "AlwaysCore"
EndSection
Section "Files"
# RgbPath is the location of the RGB database. Note, this is the name of the
# file minus the extension (like ".txt" or ".db"). There is normally
# no need to change the default.
# Multiple FontPath entries are allowed (they are concatenated together)
# By default, Red Hat 6.0 and later now use a font server independent of
# the X server to render fonts.
RgbPath "/usr/X11R6/lib/X11/rgb"
FontPath "unix/:7100"
EndSection
Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
Load "glx"
Load "record"
Load "freetype"
Load "type1"
Load "synaptics"
Load "dri"
EndSection
Section "InputDevice"
# Specify which keyboard LEDs can be user-controlled (eg, with xset(1))
# Option "Xleds" "1 2 3"
# To disable the XKEYBOARD extension, uncomment XkbDisable.
# Option "XkbDisable"
# To customise the XKB settings to suit your keyboard, modify the
# lines below (which are the defaults). For example, for a non-U.S.
# keyboard, you will probably want to use:
# Option "XkbModel" "pc102"
# If you have a US Microsoft Natural keyboard, you can use:
# Option "XkbModel" "microsoft"
#
# Then to change the language, change the Layout setting.
# For example, a german layout can be obtained with:
# Option "XkbLayout" "de"
# or:
# Option "XkbLayout" "de"
# Option "XkbVariant" "nodeadkeys"
#
# If you'd like to switch the positions of your capslock and
# control keys, use:
# Option "XkbOptions" "ctrl:swapcaps"
# Or if you just want both to be control, use:
# Option "XkbOptions" "ctrl:nocaps"
#
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "yes"
EndSection
Section "InputDevice"
Identifier "Synaptics"
Driver "synaptics"
Option "SHMConfig" "on"
Option "Device" "/dev/input/mice"
Option "Protocol" "auto-dev"
Option "Emulate3Buttons" "yes"
EndSection
Section "Monitor"
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "LCD Panel 1024x768"
HorizSync 31.5 - 48.5
VertRefresh 40.0 - 70.0
Option "dpms"
EndSection
Section "Device"
Identifier "Videocard0"
Driver "i810"
VendorName "Videocard vendor"
BoardName "Intel 852"
EndSection
Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"
Viewport 0 0
Depth 16
Modes "800x600" "640x480"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
Modes "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "DRI"
Group 0
Mode 0666
EndSection