[FUG-BR] Problemas no touchpad freeBSD 7.0-RC1
Carlos A. M. dos Santos
unixmania em gmail.com
Quinta Janeiro 31 01:33:13 BRST 2008
2008/1/30 Rafael Stockler <rafael.stockler em gmail.com>:
> Boa noite a todos,
>
> Estou com um problema estranho no freeBSD 7.0 com o touchpad do DELL
> vostro 1400.
>
> O touchpad só funciona com protocolo Auto ou PS/2, porém, em nenhum
> deles funciona o scroll lateral. No PS/2 aceita o "tapa" como clique.
Sugiro que tentes encontrar a raiz do problema. Primeiro vê que
eventos o mouse gera:
1. Inicia o computador sem X/KDE ou mata-o se estiver rodando.
2. Loga como root no console.
3. Mata o moused
/etc/rc.d/moused stop
4. Roda o moused em modo debug
/usr/sbin/moused -3 -p /dev/psm0 -t auto -d -f
Observa o que ele mostra quando moves o dedo sobre a área de scroll.
Deve reportar algo parecido com isto para a rolagem pra cima:
moused: received char 0x87
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x7f
moused: received char 0x0
moused: received char 0x7f
moused: assembled full packet (len 8) 87,0,0,0,0,7f,0,7f
moused: tv: 1201749878 558843
moused: flags:80000000 buttons:00000000 obuttons:00000000
moused: activity : buttons 0x00000000 dx 0 dy 0 dz -1
e na rolagem pra baixo deve gerar isto:
moused: received char 0x87
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x0
moused: received char 0x1
moused: received char 0x7f
moused: assembled full packet (len 8) 87,0,0,0,0,0,1,7f
moused: tv: 1201749887 649729
moused: flags:80000000 buttons:00000000 obuttons:00000000
moused: activity : buttons 0x00000000 dx 0 dy 0 dz 1
Se funcionar, coloca no /etc/rc.conf o seguinte:
moused_enable="YES"
moused_flags="-3"
e no /etc/X11/xorg.conf algo como
Section "InputDevice"
Identifier "Mouse0"
Driver "mouse"
Option "Protocol" "auto"
Option "Device" "/dev/sysmouse"
EndSection
Não usa a opção "-z" do moused nem "ZAxisMapping" ou "ButtonMapping"
para o Xorg.
--
Carlos A. M. dos Santos
Mais detalhes sobre a lista de discussão freebsd