Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Xorg 7.3 and synaptics touchpad problem
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Desktop Environments
View previous topic :: View next topic  
Author Message
reallyasi9
n00b
n00b


Joined: 15 Sep 2007
Posts: 11

PostPosted: Sat Sep 15, 2007 10:53 pm    Post subject: Xorg 7.3 and synaptics touchpad problem Reply with quote

Hi. I recently upgraded Xorg from version 7.2 to version 7.3. I have a laptop with a built-in Alps touchpad (which uses the synaptics driver) and a bluetooth mouse for use when I am at my desk. The problem is Xorg 7.3 no longer accepts both the synaptics touchpad and the bluetooth mouse at the same time--I have to manually add or remove the devices from my Server section to get one or the other to work. I followed the guide at http://gentoo-wiki.com/HARDWARE_Synaptics_Touchpad, which worked for 7.2. Here is some relevant information:

Code:
$ cat /proc/bus/input/devices

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

I: Bus=0005 Vendor=046d Product=b002 Version=4809
N: Name="Bluetooth Travel Mouse"
P: Phys=XX:XX:XX:XX:XX:XX
S: Sysfs=/class/input/input19
U: Uniq=XX:XX:XX:XX:XX:XX
H: Handlers=mouse2 event6
B: EV=7
B: KEY=ff0000 0 0 0 0 0 0 0 0
B: REL=103


From xorg.conf:

Code:
Section "InputDevice"
    Identifier          "TouchPad0"
    Driver              "synaptics"
    Option              "Device"        "/dev/input/event5"
#    Option             "Device"        "/dev/input/event2"
    Option              "Protocol"      "auto-dev"
...
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol"    "ImPS/2"  # Auto detect
    Option      "Device"      "/dev/input/mice"
...
EndSection

Section "ServerLayout"
    Identifier          "Layout0"
    Screen              "Screen0"
    InputDevice         "Mouse0"        "CorePointer"
    InputDevice         "Keyboard0"     "CoreKeyboard"
    InputDevice         "TouchPad0"     "AlwaysCore"
...
EndSection


In this configuration, X only responds to the bluetooth mouse and not the touchpad. The strange part is that the log tells me that the synaptics driver loads properly and finds the touchpad correctly:

Code:
(II) LoadModule: "synaptics"
(II) Loading /usr/lib/xorg/modules/input//synaptics_drv.so
(II) Module synaptics: vendor="X.Org Foundation"
        compiled for 4.3.99.902, module version = 1.0.0
        Module class: X.Org XInput Driver
        ABI class: X.Org XInput driver, version 2.0
...
(--) TouchPad0 auto-dev sets device to /dev/input/event5
(**) Option "Device" "/dev/input/event5"
(**) Option "SHMConfig" "on"
...
(--) TouchPad0 touchpad found
(**) Option "AlwaysCore"
(**) TouchPad0: doesn't report core events
(II) evaluating device (TouchPad0)
(II) XINPUT: Adding extended input device "TouchPad0" (type: MOUSE)
(II) evaluating device (Keyboard0)
(II) XINPUT: Adding extended input device "Keyboard0" (type: KEYBOARD)
(II) evaluating device (Mouse0)
(II) XINPUT: Adding extended input device "Mouse0" (type: MOUSE)
Synaptics DeviceInit called
SynapticsCtrl called.
Synaptics DeviceOn called
(--) TouchPad0 auto-dev sets device to /dev/input/event5
(**) Option "Device" "/dev/input/event5"
(--) TouchPad0 touchpad found
(II) Mouse0: ps2EnableDataReporting: succeeded


The line I worry about is the "(**) TouchPad0: doesn't report core events". My solution was to add an "Option 'SendCoreEvents' 'true'" line to the InputDevice section for TouchPad0, but this gives me the same warning and the same problem. It's only when I change the option in the Server section to "CorePointer" instead of "AlwaysCore" does the touchpad actually work. However, because the touchpad gets CorePointer, the bluetooth mouse is no longer recognized. I am frustrated. On top of this, I can't seem to downgrade to Xorg 7.2 due to all the complex dependencies modular X has.

Has anybody else had this problem? What should I do to solve it? Thanks.
Back to top
View user's profile Send private message
albright
Advocate
Advocate


Joined: 16 Nov 2003
Posts: 2588
Location: Near Toronto

PostPosted: Sat Sep 15, 2007 11:32 pm    Post subject: Reply with quote

For me (usb mouse) this works:

Code:

Section "ServerLayout"
....
    InputDevice "Mouse0" "CorePointer"
    InputDevice "Mouse1" "SendCoreEvents"
....


where mouse0 is the synaptics pad ...
_________________
.... there is nothing - absolutely nothing - half so much worth
doing as simply messing about with Linux ...
(apologies to Kenneth Graeme)
Back to top
View user's profile Send private message
reallyasi9
n00b
n00b


Joined: 15 Sep 2007
Posts: 11

PostPosted: Sun Sep 16, 2007 2:30 am    Post subject: ** solved ** Reply with quote

Thanks for the fix! I guess I just overlooked that combination.
Back to top
View user's profile Send private message
zx2c4
Developer
Developer


Joined: 09 Jun 2005
Posts: 177

PostPosted: Sun Sep 23, 2007 10:26 pm    Post subject: Scrolling Broken Reply with quote

After upgrading to 7.3 and recompiling synaptics and fixing my xorg file with the fixes this topic recommended, my touch pad works fine... except

The right side of the pad that used to function as a 'scroll wheel' now triggers a click event when I scroll with it.

Code:
Section "InputDevice"
    Identifier  "Touchpad"
    Driver      "synaptics"
    Option      "Device"                "/dev/input/mouse0"
    Option      "Protocol"              "auto-dev"
    Option      "AccelFactor"           "0.20"
EndSection


What's the problem?
Back to top
View user's profile Send private message
Ruebezahl
n00b
n00b


Joined: 10 Nov 2005
Posts: 8

PostPosted: Fri Oct 05, 2007 6:12 pm    Post subject: Reply with quote

I'm also having a touchpad-prolem, since my upgrade to xorg 7.3. No click-events, when I want to scroll, but it doesn't scroll anymore.

Code:
Section "InputDevice"
        Driver          "synaptics"
        Identifier      "Synaptics Touchpad"
        Option          "Device" "/dev/input/mouse1"
        Option          "Protocol" "auto-dev"
        Option          "SendCoreEvents"
        Option          "SHMConfig" "on"
        Option          "LeftEdge" "130"
        Option          "RightEdge" "840"
        Option          "TopEdge" "130"
        Option          "BottomEdge" "640"
        Option          "FingerLow" "7"
        Option          "FingerHigh" "8"
        Option          "MaxTapTime" "180"
        Option          "MaxTapMove" "110"
        Option          "EmulateMidButtonTime" "75"
        Option          "VertScrollDelta" "10"
        Option          "HorizScrollDelta" "10"
        Option          "MinSpeed" "0.60"
        Option          "MaxSpeed" "1.10"
        Option          "AccelFactor" "0.030"
        Option          "EdgeMotionMinSpeed" "200"
        Option          "EdgeMotionMaxSpeed" "200"
        Option          "UpDownScrolling" "1"
        Option          "CircularScrolling" "1"
        Option          "CircScrollDelta" "0.1"
        Option          "CircScrollTrigger" "2"
        Option          "Emulate3Buttons" "on"
EndSection
Back to top
View user's profile Send private message
estel
n00b
n00b


Joined: 21 Jan 2006
Posts: 26
Location: Bristol, England

PostPosted: Fri Oct 05, 2007 8:31 pm    Post subject: Reply with quote

Grr, my synapotics touch pad hasn't been working either. The fix here works... sort of.

Now, the touchpad works for about 1 second following a keypress on the keyboard. Then it stops working.
Also, /dev/input/mouse0 (the device that my touchpad device is mapped to), seems to be completely quiet.
_________________
Dell Inspiron 6400 | Pentium Dual Core T2060 | 1GB | 80GB HDD | Gentoo ~
Back to top
View user's profile Send private message
Ramblurr
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2006
Posts: 103

PostPosted: Thu Oct 25, 2007 3:48 am    Post subject: Reply with quote

I had similar issues. And here are the steps I took to resolve them. Some steps might be extraneous:

re-merge synaptics
Under ServerLayout changed like so:
Code:

InputDevice    "TouchPad" "CorePointer" #Touchpad
InputDevice    "Mouse0" "SendCoreEvents"  #External Mouse


Here's my InputDevice section:

Code:
Section "InputDevice"
    Driver "synaptics"
    Identifier "TouchPad"
    Option  "Device" "/dev/input/mouse6"  # determined using 'cat /proc/bus/devices/input'
    Option "SendCoreEvents" "true"
    Option "Protocol" "auto-dev"
    Option "SHMConfig" "on"
    Option "MinSpeed" "0.280"
    Option "MaxSpeed" "0.48"
    Option "AccelFactor" "0.0020"
    Option "LeftEdge" "130"
    Option "RightEdge" "840"
    Option "TopEdge" "130"
    Option "BottomEdge" "640"
    Option "UpDownScrolling" "1"
    Option "Emulate3Buttons" "on"
EndSection


Note that the config values, are probably specific to my toshiba touchpad.

When my scrolling and such wasn't working I ran a 'synclient -l; and saw that my Top/Bottom/Right/Left edge values were very high (1900,4000). Essentially X thought my touchpad was much larger than it actually was, so when I was using the right edge to try and scroll it wasn't being detected that I was at the edge.

I haven't gotten tapping to work yet.
Back to top
View user's profile Send private message
geekounet
Bodhisattva
Bodhisattva


Joined: 11 Oct 2004
Posts: 3772
Location: Wellington, Aotearoa

PostPosted: Thu Oct 25, 2007 10:34 am    Post subject: Re: Xorg 7.3 and synaptics touchpad problem Reply with quote

reallyasi9 wrote:
From xorg.conf:

Code:
Section "InputDevice"
    Identifier          "TouchPad0"
    Driver              "synaptics"
    Option              "Device"        "/dev/input/event5"
#    Option             "Device"        "/dev/input/event2"
    Option              "Protocol"      "auto-dev"
...
EndSection

Section "InputDevice"
    Identifier  "Mouse0"
    Driver      "mouse"
    Option      "Protocol"    "ImPS/2"  # Auto detect
    Option      "Device"      "/dev/input/mice"
...
EndSection

Section "ServerLayout"
    Identifier          "Layout0"
    Screen              "Screen0"
    InputDevice         "Mouse0"        "CorePointer"
    InputDevice         "Keyboard0"     "CoreKeyboard"
    InputDevice         "TouchPad0"     "AlwaysCore"
...
EndSection

The AlwaysCore option no longer exists. Replace it with SendCoreEvents or CorePointer ;)
Back to top
View user's profile Send private message
Ramblurr
Tux's lil' helper
Tux's lil' helper


Joined: 18 Dec 2006
Posts: 103

PostPosted: Thu Oct 25, 2007 12:26 pm    Post subject: Reply with quote

Hah. Thanks :)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Desktop Environments All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum