You are not logged in.

#1 2007-09-27 03:21:26

Tido
Member
Registered: 2007-06-21
Posts: 65

Xorg 7.3 and Synaptics/ALPS Touchpad [FIXED]

I've read where this was discussed here and here but I'm still having trouble with my touchpad.  I can move the mouse around with it, but scrolling doesn't work and I can't use synclient or gsynaptics (get error "Can't access shared memory area. SHMConfig disabled?" but xorg.conf has it enabled).  Time to ask the smart people.

Here is my xorg.conf:

Section "ServerLayout"
    Identifier    "X.org Configured"
    Screen    0 "Screen0" 0 0
    InputDevice    "Touchpad" "CorePointer"
    InputDevice    "Mouse0" "SendCoreEvents"
    InputDevice    "Keyboard0" "CoreKeyboard"
    Option    "AIGLX" "true"
EndSection

Section "Files"
    RgbPath    "/usr/share/X11/rgb"
    ModulePath    "/usr/lib/xorg/modules"
    FontPath    "/usr/share/fonts/misc"
    FontPath    "/usr/share/fonts/100dpi:unscaled"
    FontPath    "/usr/share/fonts/75dpi:unscaled"
    FontPath    "/usr/share/fonts/TTF"
    FontPath    "/usr/share/fonts/Type1"
EndSection

Section "Module"
    Load  "extmod"
    Load  "xtrap"
    Load  "record"
    Load  "dbe"
    Load  "dri"
    Load  "glx"
    Load  "type1"
    Load  "freetype"
    Load  "synaptics"
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"
EndSection

Section "InputDevice"
    Identifier    "Touchpad"
    Driver    "synaptics"
    Option    "Device"        "/dev/input/mouse2"
    Option    "Protocol"        "auto-dev"
    Option    "LeftEdge"        "120"
    Option    "RightEdge"        "830"
    Option    "TopEdge"        "120"
    Option    "BottomEdge"        "650"
    Option    "FingerLow"        "14"
    Option    "FingerHigh"        "15"
    Option    "MaxTapTime"        "0"
    Option    "MaxTapMove"        "0"
    #Option    "EmulateMidButtonTime"    "75"
    Option    "VertScrollDelta"    "20"
    #Option    "HorizScrollDelta"    "20"
    Option    "MinSpeed"        "0.3"
    Option    "MaxSpeed"        "0.75"
    Option    "AccelFactor"        "0.015"
    Option    "EdgeMotionMinSpeed"    "200"
    Option    "EdgeMotionMaxSpeed"    "200"
    #Option    "UpDownScrolling"    "1"
    #Option    "CircularScrolling"    "1"
    #Option    "CircScrollDelta"    "0.1"
    #Option    "CircScrollTrigger"    "2"
    Option    "SendCoreEvents"
    Option    "SHMConfig"        "true"
EndSection

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

Section "Device"
    Identifier    "Card0"
    Driver    "intel"            
    VendorName    "Intel Corporation"
    BoardName    "Mobile 915GM/GMS/910GML Express Graphics Controller"
    BusID    "PCI:0:2:0"
    Option    "VideoRam"    "65536"
    Option    "CacheLines"    "1980"
    Option    "XAANoOffscreenPixmaps"    "true"
     Option    "DRI"    "true"
    Option    "RenderAccel"    "true"
    #Option    "AllowGLXWithComposite"    "true"
EndSection

Section "Screen"
    Identifier    "Screen0"
    Device    "Card0"
    Monitor    "Monitor0"
    DefaultDepth 24
    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
        Modes "1280x800" "1024x768" "800x600" "640x480" "320x240"
    EndSubSection
EndSection

Section "Extensions"
    #Option    "Composite"    "Enable"
    Option    "GLX"    "Enable"
EndSection

Section "DRI"
    Group 0
    Mode 0666
EndSection

From cat /proc/bus/input/devices

I: Bus=0011 Vendor=0002 Product=0008 Version=7321
N: Name="AlpsPS/2 ALPS GlidePoint"
P: Phys=isa0060/serio4/input0
S: Sysfs=/class/input/input7
U: Uniq=
H: Handlers=mouse2 event7 ts2
B: EV=f
B: KEY=420 0 70000 0 0 0 0 0 0 0 0
B: REL=3
B: ABS=1000003

Doing cat /dev/input/mouse2 and touching the touchpad gives a screen-full of jargon so I'll assume the handler is working.  Any ideas?

Last edited by Tido (2007-09-27 22:17:04)

Offline

#2 2007-09-27 09:03:09

Damnshock
Member
From: Barcelona
Registered: 2006-09-13
Posts: 414

Re: Xorg 7.3 and Synaptics/ALPS Touchpad [FIXED]

InputDevice    "Touchpad" "CorePointer"   ----> InputDevice    "Touchpad"     "SendCoreEvents"

Does that help?


My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org

Offline

#3 2007-09-27 09:21:25

Tido
Member
Registered: 2007-06-21
Posts: 65

Re: Xorg 7.3 and Synaptics/ALPS Touchpad [FIXED]

Damnshock wrote:

InputDevice    "Touchpad" "CorePointer"   ----> InputDevice    "Touchpad"     "SendCoreEvents"

Does that help?

Sadly it doesn't.  I tried having both Mouse0 and Touchpad set to "SendCoreEvents" (do not recommend this, it was not fun) and changing Mouse0 to "CorePointer" and Touchpad to "SendCoreEvents" but still no use.  Thanks for the suggestion, though!

Offline

#4 2007-09-27 14:28:51

fwojciec
Member
Registered: 2007-05-20
Posts: 1,411

Re: Xorg 7.3 and Synaptics/ALPS Touchpad [FIXED]

You have horizontal scrolling explicitly disabled in your xorg.conf - it seems.  As for "SHMConfig" I have it enabled using "on" rather than "true".  You have an ALPS touchpad - not Synaptic by the way - so instructions specific to Synaptic touchpads might not work for you. 

Also - you might have to enable the option "SendCoreEvents" by adding "true".

Offline

#5 2007-09-27 16:06:30

Tido
Member
Registered: 2007-06-21
Posts: 65

Re: Xorg 7.3 and Synaptics/ALPS Touchpad [FIXED]

fwojciec wrote:

You have horizontal scrolling explicitly disabled in your xorg.conf - it seems.  As for "SHMConfig" I have it enabled using "on" rather than "true".  You have an ALPS touchpad - not Synaptic by the way - so instructions specific to Synaptic touchpads might not work for you. 

Also - you might have to enable the option "SendCoreEvents" by adding "true".

Thanks for the suggestions, fwojciec.  Yes, I disabled horizontal scrolling long ago.  It drives me nuts.  Vertical scrolling is a-ok, though.  I set SHMConfig to "on" instead of "true", but no effect.  I also added "true" to the Option "SendCoreEvents", but no luck.  Thanks for the attempt!

Offline

#6 2007-09-27 22:05:54

Tido
Member
Registered: 2007-06-21
Posts: 65

Re: Xorg 7.3 and Synaptics/ALPS Touchpad [FIXED]

The bug trail is getting warmer...

From /var/log/Xorg.0.log

(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
dlopen: /usr/lib/xorg/modules/input//synaptics_drv.so: undefined symbol: miPointerGetMotionEvents
(EE) Failed to load /usr/lib/xorg/modules/input//synaptics_drv.so
(II) UnloadModule: "synaptics"
(EE) Failed to load module "synaptics" (loader failed, 7)

Offline

#7 2007-09-27 22:16:40

Tido
Member
Registered: 2007-06-21
Posts: 65

Re: Xorg 7.3 and Synaptics/ALPS Touchpad [FIXED]

Ah relief! As usual the culprit is my own stupidity.  I needed to install the new synaptics driver from [testing].  Then make sure Option "Protocol" is "auto-dev".  After that all is well.  Thanks!

Offline

#8 2007-09-27 22:28:15

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,835

Re: Xorg 7.3 and Synaptics/ALPS Touchpad [FIXED]

Hmm.. is it possible that you don't have [testing] at the very top of the repo list in /etc/pacman.conf? I think it might be. smile

The only supported way of using the testing repo is to enable it at the top of the list. 'Cherrypicking" individual packages from testing may work in some cases, but most of the time dependencies will break, as happened here.

Offline

#9 2007-09-28 00:56:52

Tido
Member
Registered: 2007-06-21
Posts: 65

Re: Xorg 7.3 and Synaptics/ALPS Touchpad [FIXED]

tomk wrote:

Hmm.. is it possible that you don't have [testing] at the very top of the repo list in /etc/pacman.conf? I think it might be. smile

The only supported way of using the testing repo is to enable it at the top of the list. 'Cherrypicking" individual packages from testing may work in some cases, but most of the time dependencies will break, as happened here.

Yep, you're right!  Good call, thanks!

Offline

#10 2007-09-28 13:10:07

Damnshock
Member
From: Barcelona
Registered: 2006-09-13
Posts: 414

Re: Xorg 7.3 and Synaptics/ALPS Touchpad [FIXED]

tomk wrote:

Hmm.. is it possible that you don't have [testing] at the very top of the repo list in /etc/pacman.conf? I think it might be. smile

The only supported way of using the testing repo is to enable it at the top of the list. 'Cherrypicking" individual packages from testing may work in some cases, but most of the time dependencies will break, as happened here.

Well, I had it on the top of the list but it didn't autoinstall the testing synaptics package. I had to do it manually when I upgraded to Xorg :S


My blog: blog.marcdeop.com
Jabber ID: damnshock@jabber.org

Offline

Board footer

Powered by FluxBB