Hardware y configuraciones de Linpus

Ver el tema anterior Ver el tema siguiente Ir abajo

Hardware y configuraciones de Linpus

Mensaje por indiocabreao el Jue 05 Jun 2008, 22:17

Holas Smile

A modo de notas para quien las quiera o necesite usar, pongo aqui el hardware y alguna configuracion del Airis Kira 300 con Linpus instalado.
Tratare de ir actualizandolo con cualquier cosa que descubra...por ejemplo la configuracion del teclado. Perdonad por lo largo del mensaje.

Saludos


USB
[root@LINPUS linpus]# lsusb
Bus 004 Device 003: ID 0bda:8189 Realtek Semiconductor Corp.
Bus 004 Device 002: ID 04f2:b039 Chicony Electronics Co., Ltd

PCI
[root@LINPUS linpus]# lspci
00:00.0 Host bridge: VIA Technologies, Inc. Unknown device 0353 (rev 11)
00:00.1 Host bridge: VIA Technologies, Inc. Unknown device 1353
00:00.2 Host bridge: VIA Technologies, Inc. Unknown device 2353
00:00.3 Host bridge: VIA Technologies, Inc. Unknown device 3353
00:00.4 Host bridge: VIA Technologies, Inc. Unknown device 4353
00:00.5 PIC: VIA Technologies, Inc. Unknown device 5353
00:00.6 Host bridge: VIA Technologies, Inc. Unknown device 6353
00:00.7 Host bridge: VIA Technologies, Inc. Unknown device 7353
00:01.0 VGA compatible controller: VIA Technologies, Inc. Unknown device 1122 (rev 11)
00:0d.0 FLASH memory: VIA Technologies, Inc. Unknown device 9530
00:0f.0 IDE interface: VIA Technologies, Inc. CX700M2 IDE
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 Controller (rev a0)
00:10.4 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 90)
00:11.0 ISA bridge: VIA Technologies, Inc. Unknown device 8353
00:11.7 Host bridge: VIA Technologies, Inc. Unknown device a353
00:13.0 PCI bridge: VIA Technologies, Inc. Unknown device b353
00:14.0 Audio device: VIA Technologies, Inc. VIA High Definition Audio Controller (rev 10)
01:06.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10)

Modulos del kernel
[root@LINPUS linpus]# lsmod
Module Size Used by
ecb 3200 2
8139cp 17280 0
agrserial 10992 0
agrmodem 1249632 1
uvcvideo 47112 0
compat_ioctl32 1664 1 uvcvideo
videodev 24704 1 uvcvideo
v4l1_compat 12292 2 uvcvideo,videodev
v4l2_common 15104 2 uvcvideo,videodev
r8187 88332 0
r8187msh 62372 1 r8187
ieee80211_rtl 82824 2 r8187,r8187msh
ieee80211_crypt_tkip_rtl 9728 1 ieee80211_rtl
ieee80211_crypt_wep_rtl 4864 2 ieee80211_rtl
ieee80211_crypt_ccmp_rtl 6528 2 ieee80211_rtl
ieee80211_crypt_rtl 4868 5 r8187msh,ieee80211_rtl,ieee80211_crypt_tkip_rtl,ieee80211_crypt_wep_rtl,ieee80211_crypt_ccmp_rtl
ehci_hcd 27404 0
ohci_hcd 17284 0
uhci_hcd 19596 0
usbcore 106760 7 agrmodem,uvcvideo,r8187,ehci_hcd,ohci_hcd,uhci_hcd
8139too 20864 0
mii 4608 2 8139cp,8139too
vcrdrm 38416 0
vmsc 21776 1 vcrdrm
psmouse 33552 0
snd_hda_intel 311064 3 agrmodem
snd_seq_dummy 3332 0
snd_seq_oss 28416 0
snd_seq_midi_event 6144 1 snd_seq_oss
snd_seq 42192 5 snd_seq_dummy,snd_seq_oss,snd_seq_midi_event
snd_seq_device 6796 3 snd_seq_dummy,snd_seq_oss,snd_seq
snd_pcm_oss 34464 0
snd_mixer_oss 13952 3 snd_pcm_oss
snd_pcm 59908 2 snd_hda_intel,snd_pcm_oss
snd_timer 17540 2 snd_seq,snd_pcm
snd_page_alloc 7816 2 snd_hda_intel,snd_pcm
snd_hwdep 7044 1 snd_hda_intel
snd 41380 11 agrmodem,snd_hda_intel,snd_seq_dummy,snd_seq_oss,snd_seq,snd_seq_device,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_timer,snd_hwdep

Archivo /etc/X11/xorg.conf

# Xorg configuration created by system-config-display
#Section "InputDevice"
# Identifier "EETI"
# Driver "egalax"
# Option "Device" "/dev/ttyS0"
# Option "parameters" "/etc/egalax.cal"
# Option "ScreenNo" "0"
#EndSection

Section "ServerLayout"

# InputDevice "EETI" "SendCoreEvents"
Identifier "single head configuration"
Screen 0 "Screen0" 0 0
InputDevice "Mouse0" "CorePointer"
InputDevice "Synaptics Mouse" "AlwaysCore"
InputDevice "Keyboard0" "CoreKeyboard"
EndSection

Section "Files"
RgbPath "/usr/share/X11/rgb"
FontPath "/usr/share/X11/fonts/misc"
FontPath "/usr/share/X11/fonts/100dpi"
FontPath "/usr/share/X11/fonts/encodings"
EndSection

Section "Module"
Load "dbe"
Load "extmod"
Load "fbdevhw"
# Load "glx"
Load "record"
Load "type1"
# Load "dri"
EndSection

Section "InputDevice"
Identifier "Keyboard0"
Driver "kbd"
Option "XkbModel" "pc105"
Option "XkbLayout" "es"
EndSection

Section "InputDevice"
Identifier "Synaptics Mouse"
Driver "synaptics"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "LeftEdge" "1700"
Option "RightEdge" "5300"
Option "TopEdge" "1700"
Option "BottomEdge" "4200"
Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.09"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0015"
Option "SHMConfig" "on"
EndSection


Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/input/mice"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "InputDevice"
Identifier "Mouse1"
Driver "mouse"
Option "Protocol" "IMPS/2"
Option "Device" "/dev/psaux"
Option "ZAxisMapping" "4 5"
Option "Emulate3Buttons" "no"
EndSection

Section "Monitor"

### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
### Comment all HorizSync and VertSync values to use DDC:
Identifier "Monitor0"
VendorName "Monitor Vendor"
ModelName "My Monitor"
### Comment all HorizSync and VertSync values to use DDC:
HorizSync 30.0 - 72.0
VertRefresh 50.0 - 75.0
ModeLine "800x480" 29.58 800 816 896 992 480 481 484 497
#ModeLine "800x600" 38.22 800 832 912 1024 600 601 604 622
#ModeLine "848x480" 31.5 848 864 952 1056 480 481 484 497
Option "dpms"
EndSection

Section "Device"
Identifier "Videocard0"
Driver "via"
VendorName "Videocard vendor"
BoardName "SiS Real256E"
Option "DisplayHardwareLayout" "TTLLCD"
#Option "LCDBusWidth" "12bit"
Option "Active Device" "CRT,LCD"
Option "FnHotkey"
EndSection

Section "Screen"
Identifier "Screen0"
Device "Videocard0"
Monitor "Monitor0"
DefaultDepth 24
SubSection "Display"

# Modes "800x600"
Depth 16
Modes "1024x768"
EndSubSection
SubSection "Display"
Viewport 0 0
Depth 24
#Modes "848x480"
Modes "800x480"
#Modes "1024x768" "800x600" "640x480"
#Modes "1024x768"
Virtual 1280 768
EndSubSection
EndSection

Section "DRI"
Group 0
Mode 0666
EndSection

indiocabreao

Cantidad de envios : 71
Fecha de inscripcion : 20/05/2008

Ver perfil de usuario

Volver arriba Ir abajo

Re: Hardware y configuraciones de Linpus

Mensaje por indiocabreao el Dom 08 Jun 2008, 02:18

Configuracion del teclado
Necesario tener instalado el programa xhkeys.

Archivo /home/usuario/.XHkeys
xhkeys.codeline3: 174;0;PL;2;Volume -1
xhkeys.plugin1: xhkeys_cdaudio;cda;devname="/dev/cdrom";devgrab=n
xhkeys.osdHAlignment: centre
xhkeys.plugin2: xhkeys_mixer;vol;devname="/dev/mixer"channel=-1;devgrab=n
xhkeys.osdFrameWidth: 2
xhkeys.codeline5: 75;1;A*;Wireless Enable/Disable;sudo /usr/bin/radion.sh
xhkeys.osdGeometry: -10+5
xhkeys.codeline9: 19;4;A*;Suspend to RAM;/etc/acpi/actions/sleep.sh
xhkeys.codeline4: 176;0;PL;2;Volume +1
xhkeys.osdColour: turquoise
xhkeys.codeline2: 160;0;PL;2;Mute
xhkeys.codeline6: 111;0;A#;/usr/bin/gnome-screenshot
xhkeys.osdBkgrColour: navy
xhkeys.codeline1: 115;0;KOS;T;40;12;1;2
xhkeys.osdFont: 7x13bold
xhkeys.osd: yes
xhkeys.osdFrameColour: blue


Archivo /usr/bin/radion.sh Enciende y apaga el wifi.

#!/bin/sh
# Updated by Peter Zhang <Peterzhang@linpus.com>
# 2008-04-11

# To avoid press the hotkey too frequently
if [ -x /tmp/.wlan-hk ]; then
exit
fi

# Create a flag file
touch /tmp/.wlan-hk

radion=`iwpriv wlan0 getradion|awk -F: '{printf $2}'`
echo $radion

# radion=`iwpriv wlan0 getradion`
#"wlan0 getradion:1" denote radio on now, otherwise off
if [ $radion = 1 ]; then
#sudo rm -f /tmp/.wlan-hk
echo "To radio off"
#Disable the Networkmanager wireless control
dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.setWirelessEnabled boolean:false
ifconfig wlan0 down

# kill NetworkManager first
sleep 1
if test "x`pidof NetworkManager`" != x; then
sudo kill `pidof NetworkManager`
fi
sleep 1
if test "x`pidof NetworkManager`" != x; then
sudo kill `pidof NetworkManager`
fi

sleep 2
#Set the radio off
iwpriv wlan0 setradion 0

# Restart NetworkManager and disable Wireless after a while
# To let users can use wire connection
if test "x`pidof NetworkManager`" == x; then
sudo /sbin/modprobe -r r8187 > /dev/null 2>&1
sudo /etc/init.d/NetworkManager start
sudo /sbin/modprobe -r r8187msh > /dev/null 2>&1
sudo /sbin/modprobe -r r8187 > /dev/null 2>&1
sleep 1
sudo /sbin/modprobe -r r8187msh > /dev/null 2>&1
sudo /sbin/modprobe -r r8187 > /dev/null 2>&1
dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.setWirelessEnabled boolean:false
ifconfig wlan0 down
fi
unset radion

# Delete flag file.
sudo rm -f /tmp/.wlan-hk

# Enable Wireless
else
echo "To radio on"
#set the radio on
iwpriv wlan0 setradion 1

# Restart NetworkManger to make sure NetworkManger can work properly.
if test "x`pidof NetworkManager`" == x; then
#sudo /usr/sbin/NetworkManager
sudo /etc/init.d/NetworkManager start
else
sudo kill `pidof NetworkManager`
sleep 1
sudo /etc/init.d/NetworkManager start
fi

# To make sure NetworkManager is really running
sleep 1
if test "x`pidof NetworkManager`" == x; then
sudo /etc/init.d/NetworkManager start
else
sudo rm -f /tmp/.wlan-hk
fi

# Print waiting message to give end users more patiences
# You may add multi-language support as below.
if grep "lang=es" /proc/cmdline ; then
zenity --warning --text="Se\ está\ inicializando\ el\ dispositivo\ WIFI...\nPor\ favor,\ espere\ un\ momento."
else
sudo zenity --warning --text="Wireless\ is\ starting...\nPlease\ wait\ for\ a\ while."
fi

# Enable wireless
ifconfig wlan0 up
#Enable the Networkmanager wireless control
dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.setWirelessEnabled boolean:true
unset radion

# Delete flag file.
sudo rm -f /tmp/.wlan-hk
fi


Archivo /etc/acpi/actions/sleep.sh Suspender a ram

#!/bin/sh
#kenchen add for suspend to ram 2007-09
# Peter Zhang <peterzhang@linpus.com>, 2008-04-18
# updated sleep.sh to fix audio not OK when resume from S3

# chmod to enable user "linpus" to write info to it.
sudo chmod 666 /sys/power/state

#Disable the Networkmanager wireless control
dbus-send --system --type=method_call --dest=org.freedesktop.NetworkManager /org/freedesktop/NetworkManager org.freedesktop.NetworkManager.setWirelessEnabled boolean:false
ifconfig wlan0 down

# kill NetworkManager
sudo /etc/init.d/NetworkManager stop
if test "x`pidof wpa_supplicant`" != x; then
sudo kill `pidof wpa_supplicant`
fi
if test "x`pidof NetworkManager`" != x; then
sudo kill `pidof NetworkManager`
fi

# Kill audio concerned apps: screensaver,agrmodem,panel,mcs-manager
# To rmmod snd_hda_intel successfully
if test "x`pidof screensaver`" != x; then
sudo kill `pidof screensaver`
fi
sudo /etc/init.d/agr_softmodem stop >/dev/null 2>&1
sudo /sbin/modprobe -r agrserial >/dev/null 2>&1
sudo /sbin/modprobe -r agrmodem >/dev/null 2>&1
sudo kill `pidof xfce4-panel`
sleep 1
if test "x`pidof xfce-mcs-manager`" != x; then
sudo kill `pidof xfce-mcs-manager`
fi
sleep 1

# rmmod modules to sleep
sudo /etc/rc.d/init.d/acpid stop >/dev/null 2>&1
sudo /sbin/modprobe -r e_powersaver >/dev/null 2>&1
sudo /sbin/modprobe -r ehci_hcd >/dev/null 2>&1
sudo /sbin/modprobe -r ohci_hcd >/dev/null 2>&1
sudo /sbin/modprobe -r uhci_hcd >/dev/null 2>&1
sudo /sbin/modprobe -r 8139too > /dev/null 2>&1
sudo /sbin/modprobe -r r8187 > /dev/null 2>&1
sudo /sbin/modprobe -r vcrdrm > /dev/null 2>&1
sudo /sbin/modprobe -r snd-hda-intel >/dev/null 2>&1

# sleep
sudo echo -n mem >/sys/power/state

# loading modules to resume
sudo /sbin/modprobe uhci_hcd >/dev/null 2>&1
sudo /sbin/modprobe ohci_hcd >/dev/null 2>&1
sudo /sbin/modprobe ehci_hcd >/dev/null 2>&1
sudo /sbin/modprobe vcrdrm > /dev/null 2>&1
sudo /sbin/modprobe e_powersaver >/dev/null 2>&1
sudo /sbin/modprobe 8139too >/dev/null 2>&1
sudo /sbin/modprobe snd_hda_intel >/dev/null 2>&1
sudo /sbin/modprobe snd_hda_intel >/dev/null 2>&1

# start all applications which were shut down when sleep
sudo /etc/init.d/NetworkManager start >/dev/null 2>&1
sleep 2
/usr/bin/xfce-mcs-manager &
sleep 1
/usr/bin/xfce4-panel &
sleep 1
ps aux | grep nm-applet | grep -v grep
if [ $? != 0 ]; then
nm-applet &
fi
sudo /etc/init.d/agr_softmodem start >/dev/null 2>&1
sudo alsactl restore &
exit

indiocabreao

Cantidad de envios : 71
Fecha de inscripcion : 20/05/2008

Ver perfil de usuario

Volver arriba Ir abajo

Muchas gracias

Mensaje por kyaneos el Sáb 21 Jun 2008, 14:06

muchas gracias por la configuración.

kyaneos

Cantidad de envios : 11
Fecha de inscripcion : 04/06/2008

Ver perfil de usuario

Volver arriba Ir abajo

Muchas gracias

Mensaje por Sergio Yinyang el Lun 20 Abr 2009, 11:18

Casi un año después, posteo para agradecértelo Very Happy .

Estoy investigando a fondo para dejarlo bien tuneado sobre Debian y esta información me va a ser muy válida ya que desinstalé el Linpus al poco de probarlo y perdí la configuración.

Gracias y saludos.

Sergio Yinyang

Cantidad de envios : 10
Fecha de inscripcion : 23/07/2008

Ver perfil de usuario

Volver arriba Ir abajo

Re: Hardware y configuraciones de Linpus

Mensaje por Contenido patrocinado Hoy a las 04:04


Contenido patrocinado


Volver arriba Ir abajo

Ver el tema anterior Ver el tema siguiente Volver arriba

- Temas similares

 
Permisos de este foro:
No puedes responder a temas en este foro.