Nie jesteś zalogowany.
Jeśli nie posiadasz konta, zarejestruj je już teraz! Pozwoli Ci ono w pełni korzystać z naszego serwisu. Spamerom dziękujemy!

Ogłoszenie

Prosimy o pomoc dla małej Julki — przekaż 1% podatku na Fundacji Dzieciom zdazyć z Pomocą.
Więcej informacji na dug.net.pl/pomagamy/.

#1  2009-05-30 12:57:00

  siarka2107 - Użyszkodnik DUG

siarka2107
Użyszkodnik DUG
Skąd: Warszawa
Zarejestrowany: 2006-04-05

poczęści działający touchpad

Mam problem ze skonfigurowaniem touchpada na moim lapku (Toshiba Satelite L40-14H). Mój xorg.conf wygląda następująco:

Kod:

Section "InputDevice"                  
        Identifier      "Generic Keyboard"
        Driver          "kbd"             
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "pl"   
EndSection                                     

Section "Device"
        Identifier      "Configured Video Device"
EndSection                                       

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection                                  

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0     
        InputDevice    "SynPS/2 Synaptics TouchPad"
#       InputDevice    "Mouse0" "CorePointer"      
        InputDevice    "Keyboard0" "CoreKeyboard"  
EndSection                                         

Section "Files"
        RgbPath      "/etc/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled" 
        FontPath     "/usr/share/fonts/X11/Type1"           
        FontPath     "/usr/share/fonts/X11/100dpi"          
        FontPath     "/usr/share/fonts/X11/75dpi"           
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection                                                             

Section "Module"
        Load  "GLcore"
        Load  "record"
        Load  "dbe"   
        Load  "dri"   
        Load  "extmod"
        Load  "xtrap" 
        Load  "glx"   
EndSection            

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"      
EndSection                     

Section "InputDevice"
        Identifier  "SynPS/2 Synaptics TouchPad"
        Driver      "synaptics"                 
        Option      "Device"                "/dev/input/event7"
        Option      "Protocol"              "auto-dev"         
        Option      "LeftEdge"              "1472"             
        Option      "RightEdge"             "5472"             
        Option      "TopEdge"               "1408"             
        Option      "BottomEdge"            "4448"             
        Option      "FingerLow"             "25"               
        Option      "FingerHigh"            "30"               
        Option      "MaxTapTime"            "180"              
        Option      "MaxTapMove"            "220"              
        Option      "VertScrollDelta"       "100"              
        Option      "HorizScrollDelta"      "100"              
        Option      "MinSpeed"              "0.22"             
        Option      "MaxSpeed"              "0.44"             
        Option      "AccelFactor"           "0.0020"           
        Option      "SHMConfig"             "true"             
        Option      "UpDownScrolling"       "true"             
        Option      "LeftRightScrolling"    "true"             
        Option      "TouchpadOff"           "0"            
        Option      "GrabEventDevice"       "1"
        Option      "CorePointer"                              
EndSection                                                     

#Section "InputDevice"
#       Identifier  "Mouse0"
#       Driver      "mouse" 
#       Option      "Protocol" "auto"
#       Option      "Device" "/dev/input/mice"
#       Option      "ZAxisMapping" "4 5 6 7"  
#EndSection                                   

Section "Monitor"
        #DisplaySize      330   210     # mm
        Identifier   "Monitor0"             
        VendorName   "LPL"                  
        ModelName    "ec00"                 
EndSection                                  

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"             
        ### [arg]: arg optional                                      
        #Option     "NoAccel"                   # [<bool>]           
        #Option     "SWcursor"                  # [<bool>]           
        #Option     "ColorKey"                  # <i>                
        #Option     "CacheLines"                # <i>                
        #Option     "Dac6Bit"                   # [<bool>]           
        #Option     "DRI"                       # [<bool>]           
        #Option     "NoDDC"                     # [<bool>]           
        #Option     "ShowCache"                 # [<bool>]           
        #Option     "XvMCSurfaces"              # <i>                
        #Option     "PageFlip"                  # [<bool>]           
        Identifier  "Card0"                                          
        Driver      "intel"                                          
        VendorName  "Intel Corporation"                              
        BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
        BusID       "PCI:0:2:0"                                        
EndSection                                                             

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"
        Monitor    "Monitor0"
        SubSection "Display"
                Viewport   0 0
                Depth     1
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

log z Xorg dotyczący synaptica:

Kod:

(II) intel(0): Setting screen physical size to 331 x 207                                                               
(II) Synaptics touchpad driver version 1.1.0                                                                           
(**) Option "Device" "/dev/input/event7"                                                                               
(II) SynPS/2 Synaptics TouchPad: x-axis range 1472 - 5472                                                              
(II) SynPS/2 Synaptics TouchPad: y-axis range 1408 - 4448                                                              
(II) SynPS/2 Synaptics TouchPad: pressure range 0 - 255                                                                
(II) SynPS/2 Synaptics TouchPad: finger width range 0 - 0                                                              
(II) SynPS/2 Synaptics TouchPad: buttons: left right middle double triple                                              
(**) Option "SHMConfig" "true"                                                                                         
(**) Option "LeftEdge" "1472"                                                                                          
(**) Option "RightEdge" "5472"                                                                                         
(**) Option "TopEdge" "1408"                                                                                           
(**) Option "BottomEdge" "4448"                                                                                        
(**) Option "FingerLow" "25"                                                                                           
(**) Option "FingerHigh" "30"                                                                                          
(**) Option "MaxTapTime" "180"                                                                                         
(**) Option "MaxTapMove" "220"                                                                                         
(**) Option "VertScrollDelta" "100"                                                                                    
(**) Option "HorizScrollDelta" "100"                                                                                   
(**) Option "UpDownScrolling" "true"                                                                                   
(**) Option "LeftRightScrolling" "true"                                                                                
(**) Option "TouchpadOff" "0"                                                                                          
(**) Option "MinSpeed" "0.22"                                                                                          
(**) Option "MaxSpeed" "0.44"                                                                                          
(**) Option "AccelFactor" "0.0020"                                                                                     
(**) Option "GrabEventDevice" "1"                                                                                      
(--) SynPS/2 Synaptics TouchPad: touchpad found                                                                        
(**) Option "CorePointer"                                                                                              
(**) SynPS/2 Synaptics TouchPad: always reports core events                                                            
(II) XINPUT: Adding extended input device "SynPS/2 Synaptics TouchPad" (type: TOUCHPAD)                                
(**) SynPS/2 Synaptics TouchPad: (accel) keeping acceleration scheme 1                                                 
(**) SynPS/2 Synaptics TouchPad: (accel) filter chain progression: 2.00                                                
(**) SynPS/2 Synaptics TouchPad: (accel) filter stage 0: 20.00 ms                                                      
(**) SynPS/2 Synaptics TouchPad: (accel) set acceleration profile 0                                                    
(--) SynPS/2 Synaptics TouchPad: touchpad found                                                                        
(II) config/hal: Adding input device Video Bus                                                                         
(II) LoadModule: "evdev"                                                                                               
(II) Loading /usr/lib/xorg/modules/input//evdev_drv.so                                                                 
(II) Module evdev: vendor="X.Org Foundation"                                                                           
        compiled for 1.6.1, module version = 2.2.2                                                                     
        Module class: X.Org XInput Driver                                                                              
        ABI class: X.Org XInput driver, version 4.0                                                                    
(**) Video Bus: always reports core events

a cat /proc/bus/input/devices daje:

Kod:

I: Bus=0011 Vendor=0002 Product=0007 Version=92b1
N: Name="SynPS/2 Synaptics TouchPad"
P: Phys=isa0060/serio4/input0
S: Sysfs=/devices/platform/i8042/serio4/input/input7
U: Uniq=
H: Handlers=mouse0 event7
B: EV=b
B: KEY=6420 0 7000f 0 0 0 0 0 0 0 0
B: ABS=11000003

Problem polega na tym, że (nie wiem jak to się pisze po fachowemu) nie działa mi przewijanie w pionie oraz w poziomie jak przesuwam palcem po prawej lub dolnej stronie maty touchpada, kolejny problem to nie mogę zaznaczać/uruchamiać programów podwujnym kliknięciem na matę touchpada (robię to przyciskami pomocniczymi poniżej touchpada). Mam debiana sid, pakiet xserver-xorg-input-synaptics jest zainstalowany, mam kde4, to samo dzieje się na kernelu dystrybucyjnym (2.6.29) jak i na własnym (2.6.30-rc7). Ma ktoś jakies pomysły jak rozwiązać wymienione problemy.

Ostatnio edytowany przez siarka2107 (2009-05-30 13:19:38)

Offline

 

#2  2009-05-30 13:17:14

  pink - Użytkownik

pink
Użytkownik
Skąd: P17PY93
Zarejestrowany: 2005-09-16

Re: poczęści działający touchpad

a jaki masz xorg, w nowym sie konfiguruje przez hal, mialem podobne problemu po upgrejdzie x-org ale juz jest ok

mam tylko tyle w xorg.conf

Section "Device"
        Identifier      "intel"
        Driver          "intel"
        Option "AccelMethod" "UXA"
EndSection

Section "ServerFlags"
        Option "DontZap" "Off" # Enables ctrl-alt-del
EndSection

Kod:

Section "Device"
        Identifier      "intel"
        Driver          "intel"
        Option "AccelMethod" "UXA"
EndSection

Section "ServerFlags"
        Option "DontZap" "Off" # Enables ctrl-alt-del
EndSection

za to w /etc/hal/fdi/policy/11-x11-synaptics.fdi

Kod:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.capabilities" contains="input.touchpad">
        <merge key="input.x11_driver" type="string">synaptics</merge>
        <!--If on, circular scrolling is used-->
        <merge key="input.x11_options.CircularScrolling" type="string">true</merge>
        <!--CircularScrolling should only be triggered in the down-right corner -->
        <merge key="input.x11_options.CircScrollTrigger" type="string">4</merge>
    <merge key="input.x11_options.TapButton1" type="string">1</merge>
        <!--
    <merge key="input.x11_options.VertTwoFingerScroll" type="string">1</merge>     
        <merge key="input.x11_options.TapButton2" type="string">2</merge>
        <merge key="input.x11_options.TapButton3" type="string">3</merge>   
    --> 
  </match>
  </device>
</deviceinfo

touchpad dziala tak jak chcialem ale ze jest to dosyc specyficzny touchpad, twoja konfiguracje bedzie zapewne inna.

Ostatnio edytowany przez pink (2009-05-30 13:18:19)


T430 think-box 4.9-custom x86_64 Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz GenuineIntel GNU/Linux
"Doktor plama i maharadża są pod złotym leszczem." "Człowieka od zwierzęcia odróżnia ciekawość świata. Patrze słucham i wyciągam wnioski."
https://www.behance.net/przemyslawmamon

Offline

 

#3  2009-05-30 14:17:20

  siarka2107 - Użyszkodnik DUG

siarka2107
Użyszkodnik DUG
Skąd: Warszawa
Zarejestrowany: 2006-04-05

Re: poczęści działający touchpad

dzięki pink, skonfigurowałem przez hala i wszystko działa jak trza, tak dla potomności mój xorg.conf:

Kod:

Section "InputDevice"                   
        Identifier      "Generic Keyboard"
        Driver          "kbd"             
        Option          "XkbRules"      "xorg"
        Option          "XkbModel"      "pc105"
        Option          "XkbLayout"     "pl"   
EndSection                                     

Section "Device"
        Identifier      "Configured Video Device"
EndSection                                       

Section "Monitor"
        Identifier      "Configured Monitor"
EndSection                                  

Section "ServerLayout"
        Identifier     "X.org Configured"
        Screen      0  "Screen0" 0 0     
#       InputDevice    "Mouse0" "CorePointer"
        InputDevice    "Keyboard0" "CoreKeyboard"
EndSection                                       

Section "Files"
        RgbPath      "/etc/X11/rgb"
        ModulePath   "/usr/lib/xorg/modules"
        FontPath     "/usr/share/fonts/X11/misc"
        FontPath     "/usr/share/fonts/X11/cyrillic"
        FontPath     "/usr/share/fonts/X11/100dpi/:unscaled"
        FontPath     "/usr/share/fonts/X11/75dpi/:unscaled" 
        FontPath     "/usr/share/fonts/X11/Type1"           
        FontPath     "/usr/share/fonts/X11/100dpi"          
        FontPath     "/usr/share/fonts/X11/75dpi"           
        FontPath     "/var/lib/defoma/x-ttcidfont-conf.d/dirs/TrueType"
EndSection                                                             

Section "Module"
        Load  "GLcore"
        Load  "record"
        Load  "dbe"   
        Load  "dri"   
        Load  "extmod"
        Load  "xtrap" 
        Load  "glx"   
EndSection            

Section "InputDevice"
        Identifier  "Keyboard0"
        Driver      "kbd"      
EndSection                     

#Section "InputDevice"
#       Identifier  "Mouse0"
#       Driver      "mouse" 
#       Option      "Protocol" "auto"
#       Option      "Device" "/dev/input/mice"
#       Option      "ZAxisMapping" "4 5 6 7"  
#EndSection                                   

Section "Monitor"
        #DisplaySize      330   210     # mm
        Identifier   "Monitor0"             
        VendorName   "LPL"                  
        ModelName    "ec00"                 
EndSection                                  

Section "Device"
        ### Available Driver options are:-
        ### Values: <i>: integer, <f>: float, <bool>: "True"/"False",
        ### <string>: "String", <freq>: "<f> Hz/kHz/MHz"             
        ### [arg]: arg optional                                      
        #Option     "NoAccel"                   # [<bool>]           
        #Option     "SWcursor"                  # [<bool>]           
        #Option     "ColorKey"                  # <i>                
        #Option     "CacheLines"                # <i>                
        #Option     "Dac6Bit"                   # [<bool>]           
        #Option     "DRI"                       # [<bool>]           
        #Option     "NoDDC"                     # [<bool>]           
        #Option     "ShowCache"                 # [<bool>]           
        #Option     "XvMCSurfaces"              # <i>                
        #Option     "PageFlip"                  # [<bool>]           
        Identifier  "Card0"                                          
        Driver      "intel"                                          
        VendorName  "Intel Corporation"                              
        BoardName   "Mobile GM965/GL960 Integrated Graphics Controller"
        BusID       "PCI:0:2:0"                                        
EndSection                                                             

Section "Screen"
        Identifier "Screen0"
        Device     "Card0"  
        Monitor    "Monitor0"
        SubSection "Display" 
                Viewport   0 0
                Depth     1   
        EndSubSection         
        SubSection "Display"
                Viewport   0 0
                Depth     4
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     8
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     15
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     16
        EndSubSection
        SubSection "Display"
                Viewport   0 0
                Depth     24
        EndSubSection
EndSection

i cat /etc/hal/fdi/policy/11-x11-synaptics.fdi:

Kod:

<?xml version="1.0" encoding="ISO-8859-1"?>
<deviceinfo version="0.2">
  <device>
    <match key="info.product" contains="SynPS/2 Synaptics TouchPad">
      <merge key="input.x11_driver" type="string">synaptics</merge>
      <merge key="input.x11_options.AlwaysCore" type="string">true</merge>
      <merge key="input.x11_options.VertEdgeScroll" type="string">true</merge>
      <merge key="input.x11_options.HorizEdgeScroll" type="string">true</merge>
      <merge key="input.x11_options.TapButton1" type="string">1</merge>
      <merge key="input.x11_options.TapButton2" type="string">2</merge>
      <merge key="input.x11_options.TapButton3" type="string">3</merge>
    </match>
  </device>
</deviceinfo>

Offline

 

Stopka forum

Powered by PunBB
© Copyright 2002–2005 Rickard Andersson
Nas ludzie lubią po prostu, a nie klikając w przyciski ;-)