Page 1 of 1

xorg-server che vai, touchpad che perdi

Posted: Tue Sep 21, 2010 2:33 am
by cloc3
nuovi problemi con il touchpad, con il mouse o con la tastiera?
beh, adesso hal non serve più, e bisogna spostare di nuovo i dettagli della configurazione sui file di xorg.
questi sono alcune impostazioni salutari testate su xorg-server-1.8.2:
/etc/X11/xorg.conf:

Code: Select all

Section "ServerLayout" 
    Identifier     "Default Layout" 
    InputDevice    "Mouse0" "CorePointer" 
    InputDevice    "Keyboard0" "CoreKeyboard" 
EndSection 

Section "InputDevice" 
    Identifier     "Mouse0" 
    Driver         "mouse" 
    Option         "Protocol" 
    Option         "ZAxisMapping" "4 5" 
EndSection 

Section "InputDevice" 
    Identifier     "Keyboard0" 
    Driver         "kbd" 
    Option         "XkbLayout" "it" 
EndSection
/etc/X11/xorg.conf.d/10-mouse.conf

Code: Select all

Section "InputClass"
    Identifier      "touchpad catchall"
    MatchIsTouchpad "on"
    Option "TapButton1" "1"
    Driver           "synaptics"
EndSection

Section "InputClass" 
     Identifier "evdev pointer catchall" 
     MatchIsPointer "on" 
     MatchDevicePath "/dev/input/event*" 
     Driver "evdev" 
EndSection 

Section "InputClass" 
    Identifier "evdev keyboard catchall" 
    MatchIsKeyboard "on" 
    MatchDevicePath "/dev/input/event*" 
    Driver "evdev" 
EndSection
altri dettagli sulla guida ufficiale.

Posted: Tue Sep 21, 2010 6:31 am
by ago
io ho dovuto inserire solo la policy per synaptics...nulla di tutto il resto :)

Posted: Wed Sep 22, 2010 7:03 pm
by cloc3
ago wrote:io ho dovuto inserire solo la policy per synaptics...nulla di tutto il resto :)
stai usando hal, che è deprecato.

il rischio che corri, se decidi di disabilitare il supporto di hal a >xorg-server-1.8, non è tanto quello di perdere i driver delle periferiche, quanto quello di vederteli caricati con impostazioni di default diverse da quelle a cui sei abituato.

è per questo che la documentazione gentoo ha preparato per tempo delle guide ben costruite.

Posted: Thu Sep 23, 2010 12:28 pm
by ago
cloc3 wrote:stai usando hal, che è deprecato
-.-'

Code: Select all

ago@devil ~ $ eix -e x11-base/xorg-server                                                                                                                                           
[D] x11-base/xorg-server                                                                                                                                                            
     Available versions:  [m]1.7.6 [m]1.7.7-r1 [m](~)1.8.2 [m](~)1.9.0 {debug dmx doc hal ipv6 kdrive minimal nptl sdl static-libs tslib +udev xorg}                                
     Installed versions:  1.8.2(00:06:20 14/08/2010)(nptl udev xorg -dmx -doc -hal -ipv6 -kdrive -minimal -static-libs -tslib)                                                      
     Homepage:            http://xorg.freedesktop.org/                                                                                                                              
     Description:         X.Org X servers

Posted: Thu Sep 23, 2010 7:30 pm
by cloc3
ago wrote: -hal
se hai la flag disattivata, perché utilizzi la policy?
ovvero, cosa intendi per policy?