For English Readers
This page is only a draft, I'll translate it to english when it becomes completed, if you wish some help please contact me:
iuri@NOSPAMdigizapDONOTSENDSPAM.com.br
There are another three pages about this laptop:
Dell Latitude 110L no Linux
Isto aqui é um rascunho, ainda não está completo, mas se mesmo assim for útil para você, me sentirei bem
http://www1.la.dell.com/content/products/features.aspx/advertised_latit1a?c=br&l=pt&s=bsd
http://www1.us.dell.com/content/products/productdetails.aspx/latit_110l?c=us&cs=555&l=en&s=biz
http://www.dell.com/html/us/products/latitude/110L.html
Links úteis
Fotos
Colocar fotos aqui.
Hardware
Colocar marca e tipo.
- Interno
- Processador: Intel Celeron M 350 (1.30GHz)
- Memória: 512 MB (Marca???)
- Tela: 15"
- Placa Video: intel (i975)
- Teclado: ABNT 2 (cedilha) (Marca???)
- TouchPad: Synaptics Touchpad
- Dispositivos de armazenamento em massa:
- Wireless: 802.11b/g - Intel PRO/Wireless 2200BG
- HD: 40 GB (Marca???)
- Modem: 56 kbps v.92 (HSF) Conexant modem
- Placa de Rede: 100 Mbits (Marca?????)
- Placa de som: AC'97
- Expansão
- Ponte PCMCIA:
- Ponte USB: USB 2.0 ???
- Ponte Firewire: Não tem
Programas usados
- i8kutils
- Versão da BIOS.
- Número de série.
- Temperatura da CPU.
- Estado do cooler.
- Estado da bateria.
- Botões para volume.
- gkrellm
- hotkeys
- Teclas para volume e outras hotkeys em geral.
- acpid
- Capturar botões desligar e "Em espera" (sleep), como também a abertura e fechamento do LCD.
- vbetool
- Desligar e religar monitor, usado para scripts.
Configurando
Os devices são ligados pela ponte i8042
XFree86
Usar o driver
i810 ou o
vesa
O i810 provê aceleração 3D.
No ubuntu hoary, a combinação driver i810 do XOrg com o tela LCD não funcionou, a solução foi usar o driver vesa, no debian etch com XOrg o i810 funcionou corretamente
O debian sarge com XFree86 só funcionou driver =vesa.
A placa de video possui duas interfaces de video, pode-se configurar as duas e usar dualhead veja mais abaixo.
Xorg.conf
Section "Device"
Identifier "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device Primary"
Driver "i810"
#Driver "vesa"
Option "CheckLid" "true"
BusID "PCI:0:2:0"
EndSection
A entrada
Option "CheckLid" "true" serve para reativar o LCD ao abrir o mesmo, mas não funciona para a versão da placa de vídeo atual, mas no futuro pode estar disponível. Um workaround pode ser usado através do acpid.
Dual head
Conseguir exteder a área de trabalho, o segredo é colocar
screen em cada device.
Configuracao do X:
# ....
Section "Device"
Identifier "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device Primary"
Driver "i810"
#Driver "vesa"
Option "MonitorLayout" "CRT, CRT+LFP, LFP"
Screen 0
Option "CheckLid" "true"
BusID "PCI:0:2:0"
EndSection
Section "Device"
Identifier "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device Secondary"
Driver "i810"
Screen 1
Option "MonitorLayout" "CRT, CRT+LFP, LFP"
#Driver "vesa"
BusID "PCI:0:2:0"
EndSection
Section "Monitor"
Identifier "Dell Monitor"
HorizSync 30-71
VertRefresh 50-160
Option "DPMS"
EndSection
Section "Monitor"
Identifier "Generic Monitor"
Option "DPMS"
EndSection
# ....
Section "Screen"
Identifier "Screen One"
Device "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device Primary"
Monitor "Dell Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
Section "Screen"
Identifier "Screen Two"
Device "Intel Corporation 82845G/GL[Brookdale-G]/GE Chipset Integrated Graphics Device Secondary"
Monitor "Generic Monitor"
DefaultDepth 24
SubSection "Display"
Depth 1
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 4
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 8
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 15
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 16
Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
SubSection "Display"
Depth 24
Modes "1024x768" "800x600" "640x480"
#Modes "1280x1024" "1152x864" "1024x768" "800x600" "640x480"
EndSubSection
EndSection
# ....
Section "ServerLayout"
Identifier "Default Layout"
Screen "Screen One"
Screen "Screen Two" Above "Screen One"
#Screen "Screen Two" Below "Screen One"
#Screen "Screen Two" RightOf "Screen One"
#Screen "Screen Two" LeftOf "Screen One"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
# Sem aceleracao 3D quando Xinerama habilitado, pq?
Option "Xinerama"
EndSection
Configuração de um site alemão
achei isto em um site alemão (ainda não testei)
ref:
http://www.linuxsoft.cz/article.php?id_article=1042
Intel 915GM/910GML Graphics
00:02.0 VGA compatible controller: Intel Corporation Mobile 915GM/GMS/910GML
Express Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile 915GM/GMS/910GML Express
Graphics Controller (rev 03)
Linux agpgart interface v0.101 (c) Dave Jones
agpgart: Detected an Intel 915GM Chipset.
agpgart: Detected 7932K stolen memory.
agpgart: AGP aperture is 256M @ 0xc0000000
# zakladni casti konfigurace xorg.conf
...
Load "dlx"
Load "dri"
...
Section "Device"
BoardName "915 GM"
BusID "0:2:0"
Driver "i810"
Identifier "Device[0]"
Option "SaXDualHead"
Option "Clone"
Option "SaXDualMonitorVendor" "LPL"
Option "SaXDualOrientation" "off"
Option "SaXDualResolution" "800x600"
Option "CloneRefresh" "43-75"
Option "SaXDualMode" "off"
Option "SaXDualHSync" "off"
Option "SaXDualMonitorModel" "C8365^P150X09 MONITOR"
Option "Modes" "800x600"
Option "SaXDualVSync" "43-75"
Option "MonitorLayout" "CRT,LFP"
Screen 0
VendorName "Intel"
EndSection
Touchpad
o módulo utilizado foi
tsdev
#!/bin/sh
apt-get install tpconfig xfree86-driver-synaptics
xorg.conf
# ...
Section "ServerLayout"
Identifier "Default Layout"
Screen "Default Screen"
InputDevice "Generic Keyboard"
InputDevice "Configured Mouse"
InputDevice "Synaptics Touchpad"
EndSection
# ...
Section "InputDevice"
Identifier "Synaptics Touchpad"
Driver "synaptics"
Option "SendCoreEvents" "true"
Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"
Option "HorizScrollDelta" "0"
EndSection
Teclado
NAO FUNCIONOU AINDA TODAS AS TECLAS
criar o seguinte arquivo
/etc/init.d/hotkeys-dell.sh
#!/bin/sh
#/etc/init.d/hotkeys-dell.sh
SETKEY='/usr/bin/setkeycodes'
if [ -x $SETKEY ];then
# em espera
#????
# hibernar
$SETKEY e00a 240
# wi-fi
$SETKEY e008 176
# bateria
$SETKEY e007 131
# crt/lcd
$SETKEY e00b 243
# cdrom
$SETKEY e009 181
# brilho +
$SETKEY e006 245
# brilho -
$SETKEY e005 246
fi
Colocar ele para iniciar do sistema.
#!/bin/sh
sudo chmod +x /etc/init.d/hotkeys-dell.sh
sudo ln -s /etc/init.d/hotkeys-dell.sh /etc/rcS.d/S90hotkeys-dell.sh
Agora configurar o hotkeys
#!/bin/sh
apt-get install hotkeys gkrellm
Crie o arquivo
$HOME/.hotkeys/110L.def
<?xml version="1.0"?>
<definition>
<config model="Dell Latitude 110L Notebook">
<VolUp keycode="176"/>
<VolDown keycode="174"/>
<Mute keycode="160"/>
<userdef keycode="240"
command="/usr/sbin/hibernate">Hibernar</userdef>
<userdef keycode="176"
command="">Wi-Fi</userdef>
<userdef keycode="131"
command="/usr/bin/gkrellm">Bateria</userdef>
<userdef keycode="243"
command="">CRTLCD</userdef>
<userdef keycode="181"
command="/usr/bin/eject /dev/cdrom">CDROM</userdef>
<userdef keycode="245"
command="">BrilhoMais</userdef>
<userdef keycode="246"
command="">BrilhoMenos</userdef>
</config>
<contributor>
<name>Iuri Gomes Diniz</name>
<email>iuri@digizap.com.br</email>
</contributor>
</definition>
Executar
#!/bin/sh
/usr/bin/hotkeys -t110L
keyboard.c: can't emulate rawmode for keycode 244
Rede
Como você usa notebook, eu recomendo os seguintes programas:
ifplugd - para automaticamente configurar as interfaces quando detectado link.
wireless-toosl - para configurar a chave WEP quando em uso
netenv - para carregar arquivos de configuracao (Xorg.conf, interfaces, ... ) de acordo com ambiente de execução, a escolha pode ser feita no lilo ou no grub.
Usando o ifplugd com wireless e usando wep, se a chave nao for carregada antes, ele não acha link.
sugestao incluir a seguinte linha no
/etc/init.d/ifplugd dentro da seção start.
/sbin/iwconfig eth1 key [1] AABB00FD88
Ethernet 100 Mbits
Módulo utilizado: e100
Wireless
Instalar fontes para compilar
apt-get install ieee80211-source ipw2200-source
Instalar pacotes para compilar no seu kernel
#!/bin/sh
apt-get install kernel-headers
Compilar ieee80211
#!/bin/sh
cd /usr/src
sudo tar xvzf ieee80211-source.tar.gz
cd modules/ieee80211/driver
sudo make
sudo make install
Compilar o ipw2200
#!/bin/sh
cd /usr/src
sudo tar xvzf ipw2200-source.tar.gz
cd modules/ipw2200/driver
sudo make IEEE80211_INC=/usr/src/modules/ieee80211/driver
sudo make IEEE80211_INC=/usr/src/modules/ieee80211/driver install
Instalar o firmware.
Baixe o firmware daqui:
http://ipw2200.sourceforge.net/firmware.php
#!/bin/sh
cd /usr/lib/hotplug/firmware
sudo tar xvzf ~/DOWNLOAD/ipw2200-fw-2.3.tgz
Carregar o módulo
#!/bin/sh
modprobe ipw2200
Mesmo assim não funcionou, log do dmesg:
ipw2200: Intel(R) PRO/Wireless 2200/2915 Network Driver, 1.0.6
ipw2200: Copyright(c) 2003-2004 Intel Corporation
ACPI: PCI Interrupt 0000:02:03.0[A] -> GSI 19 (level, low) -> IRQ 201
ipw2200: Detected Intel PRO/Wireless 2200BG Network Connection
ipw2200: ipw-2.3-boot.fw load failed: Reason -2
ipw2200: Unable to load firmware: 0xFFFFFFFE
ipw2200: failed to register network device
ACPI: PCI interrupt for device 0000:02:03.0 disabled
ipw2200: probe of 0000:02:03.0 failed with error -5
Achei na internet um blog:
http://www.openthought.org/blosxom.cgi/Blog
Aqui ele diz que o agora é o udev quem carrega o firmware e não mais o hotplug, mas o mas meu udev não veio configurado para carregar firmware, segue agora como fazer
Crie o arquivo
/etc/udev/rules.d/999-firmware.rules com o seguinte conteúdo
ACTION=="add", SUBSYSTEM=="firmware", RUN+="/sbin/firmware_helper"
A mensagem:
ipw2200: Radio Frequency Kill Switch is On:
Kill switch must be turned off for wireless networking to work.
Indica que o wireless está desativado, pode reativá-lo precionado ALT+F2 ou usando o software
http://rfswitch.sourceforge.net/ (Não testei)
Pode-se ler o arquivo
/sys/bus/pci/drivers/ipw2200/*/rf_kill para ver o estado do wi-fi.
Tabela de estados:
| numero | significado |
| 0 | Abafador de sinal desligado (Wi-Fi ligado) |
| 1 | Abafador de sinal ligado por software (Wi-Fi desligado) |
| 2 | Abafador de sinal ligado por hardware (Wi-Fi desligado) |
| 3 | Abafador de sinal ligado por software e hardware (Wi-Fi desligado) |
PCMCIA
Não testado, módulo usado
yenta
Botões para energia
No debian, recompilar o kernel com
Software Suspend ativo (não testei Software Suspend 2)
CONFIG_SOFTWARE_SUSPEND=y
Instalar o daemon
acpid e
vbetool
apt-get install acpid vbetool
no debian ele já configurou o botão power (redondo) para desligar o computador.
Segue código
/etc/acpi/powerbtn.sh
#!/bin/sh
# /etc/acpi/powerbtn.sh
# Initiates a shutdown when the power putton has been
# pressed.
if ps -Af | grep -q '[k]desktop' && test -f /usr/bin/dcop
then
dcop --all-sessions --all-users ksmserver ksmserver logout 0 2 0 && exit 0
else
/sbin/shutdown -h now "Power button pressed"
fi
/etc/acpi/events/powerbtn
# /etc/acpi/events/powerbtn
# This is called when the user presses the power button and calls
# /etc/acpi/powerbtn.sh for further processing.
# Optionally you can specify the placeholder %e. It will pass
# through the whole kernel event message to the program you've
# specified.
# We need to react on "button power.*" and "button/power.*" because
# of kernel changes.
event=button[ /]power
action=/etc/acpi/powerbtn.sh
Agora configurar botão sleep (Em espera), fn + ESC para fazer softsuspend
/etc/acpi/sleepbtn.sh
#!/bin/sh
# /etc/acpi/sleepbtn.sh
sync
/sbin/hwclock --systohc
echo shutdown > /sys/power/disk; echo disk > /sys/power/state
#chvt 6
/sbin/hwclock --adjust
/sbin/hwclock --hctosys
/etc/acpi/events/sleepbtn
# /etc/acpi/events/sleepbtn
event=button[ /]sleep
action=/etc/acpi/sleepbtn.sh
Queremos resolver o problema de fechar o notebook e ao abrir o LCD não religar, ele também é um botão.
/etc/acpi/lidbtn.sh
#!/bin/sh
# /etc/acpi/lidbtn.sh
grep 'open' /proc/acpi/button/lid/LID/state >/dev/null
if [ "x$?" == "x0" ]; then
# Aberto
/usr/sbin/vbetool dpms on
else
# Fechado
/usr/sbin/vbetool dpms off
fi
/etc/acpi/events/lidbtn
# /etc/acpi/events/lidbtn
event=button[ /]lid
action=/etc/acpi/lidbtn.sh
Agora reiniciar o daemon
#!/bin/sh
sudo /etc/init.d/acpid restart
Modem
http://www.linuxant.com/drivers/hsf/downloads-license.php
Coolers, Temperatura, Bateria...
insmod i8k force=1
Incluir no arquivo /etc/modules
i8k
battery
ac
processor
button
fan
thermal
Criar o arquivo /etc/modprobe.d/i8k
options i8k force=1
Atualizar modules.conf
#!/bin/sh
update-modules
Para verificar tente o Sensors Applet do Gnome, utilize o
i8kmon ou o
gkrellm com o plugin
gkrellm-i8k
Programas
#!/bin/sh
apt-get install yacpi gkrellm gkrellm-i8k i8kutils
use o
yacpi para ver no modo texto o estado da bateria.
Compiz + aiglx
funciona uma maravilha nesta placa (driver i810), precisa do Xorg 7.1
Configurando o X
precisa dos módulos dri e glx
/etc/x11/xorg.conf
Section "Module"
Load "i2c"
Load "bitmap"
Load "ddc"
Load "dri"
Load "extmod"
Load "freetype"
Load "glx"
Load "int10"
Load "type1"
Load "vbe"
EndSection
Section "DRI"
Mode 0666
EndSection
você precisa de umas opções extra no driver i810
Section "Device"
Identifier "Intel Corporation Mobile 915GM/GMS/910GML Express Graphics Controller"
Driver "i810"
BusID "PCI:0:2:0"
Option "XAANoOffscreenPixmaps"
Option "RenderAccel" "true"
Option "backingstore" "true"
EndSection
Instalando e configurando o compiz
Coloque o repositório com as versões mais atualizadas para o ubuntu edgy
/etc/apt/sources.list
# compiz
deb http://gandalfn.club.fr/ubuntu edgy dev
Instalando o compiz no ubuntu
#/bin/sh
sudo apt-get update
sudo apt-get install compiz compiz-core compiz-extra compiz-extra-gnome compiz-extra-plugins \
compiz-gnome compiz-plugins gnome-compiz-manager-extra libgnome-compiz-manager
rodando o compiz :
#!/bin/sh
compiz --replace gconf
configurando o compiz:
#!/bin/sh
# este comando restaura para a configuracao padrao
gconftool --recursive-unset /apps/compiz/
#este comando chama o gconf
#edite primeiro os plugins que vc quer usar
gconf-editor /apps/compiz/general/allscreens/options/active_plugins
Esteja atento a ordem dos plugins e as dependências, entre em cada plugin e veja as chaves
load_before e
requires
Para saber o que cada plugin faz olhe a chave info
exemplos:
#!/bin/sh
# qual a precedencia do plugin cube?
gconftool --get /apps/compiz/plugins/cube/load_before
# qual os requerimentos do plugin animation?
gconftool --get /apps/compiz/plugins/animation/requires
# o que o plugin woobly faz?
gconftool --long-docs /apps/compiz/plugins/wobbly/info
há um configurador do compiz em:
http://www.go-compiz.org/index.php?title=Compiz-Settings, mas eu não cheguei a usá-lo
referências:
http://www.go-compiz.org/index.php?title=Download
http://www.go-compiz.org/index.php?title=Intel
http://fedoraproject.org/wiki/RenderingProject/aiglx
http://gentoo-wiki.com/TIP_Xorg_X11_and_Transparency
http://gandalfn.wordpress.com/howto/howto-compiz-aiglx-on-edgy/
--
IuriDiniz - 17 Feb 2007
--
IuriDiniz - 22 Sep 2005