Wacom and Synaptics problem

Asked by Linus Mannervik on 2005-10-21

I'm trying to get my wacom tablet work with pressure sensitivity which requires me to change (in the xorg.conf) the usb mouse from using the /dev/input/mice device. The problem is that my Synaptics touchpad resists to work if I use the usb mouse on any other device file!
I don't understand in what way they are connected to each other... Does the touchpad require a configured input device on /dev/input/mice???

The Xorg log tells me that no Synaptics touchpad devices are found.

Any help is appreciated!

Here are the interesting parts of my xorg.conf:

Section "InputDevice"
        Identifier "Mouse"
        Driver "mouse"
        Option "Device" "/dev/input/mouse2"
        Option "Protocol" "ImPS/2"
        Option "Emulate3Buttons" "true"
        Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
 Identifier "Touchpad"
 Driver "synaptics"
 Option "Device" "/dev/psaux"
 Option "Protocol" "auto-dev"
 Option "LeftEdge" "1700"
 Option "RightEdge" "5300"
 Option "TopEdge" "1700"
 Option "BottomEdge" "4200"
 Option "FingerLow" "25"
 Option "FingerHigh" "30"
 Option "MaxTapTime" "180"
 Option "MaxTapMove" "220"
 Option "VertScrollDelta" "100"
 Option "MinSpeed" "0.06"
 Option "MaxSpeed" "0.12"
 Option "AccelFactor" "0.0010"
 Option "SHMConfig" "on"
EndSection

Section "InputDevice"
        Identifier "Cursor"
        Driver "wacom"
        Option "Device" "/dev/input/wacom"
        Option "Type" "cursor"
        Option "USB" "on"
EndSection

Section "InputDevice"
        Identifier "Stylus"
        Driver "wacom"
        Option "Device" "/dev/input/wacom"
        Option "Type" "stylus"
        Option "USB" "on"
EndSection

Section "InputDevice"
        Identifier "Eraser"
        Driver "wacom"
        Option "Device" "/dev/input/wacom"
        Option "Type" "eraser"
        Option "USB" "on"
EndSection

...

Section "ServerLayout"
        Identifier "Default Layout"
        Screen "Default Screen"
        InputDevice "Generic Keyboard"
        InputDevice "Mouse" "CorePointer"
        InputDevice "Touchpad" "AlwaysCore"
        InputDevice "Stylus" "SendCoreEvents"
        InputDevice "Eraser" "SendCoreEvents"
        InputDevice "Cursor" "SendCoreEvents"
EndSection

Question information

Sascha Brossmann (brsma) said : #1

Could you post your hardware setup?

What happens if you change '/dev/psaux' in the touchpad section to e.g. '/dev/input/mouse1'? You can find out, on which device the touchpad actually sends events as follows:

 * Open a terminal and become root ('su' or 'sudo -s')
 * cd into /dev/input
 * For each of the devices present there: 'cat <device>'
 * If you see data arriving when moving the finger over the touchpad you have found one of the devices the touchpad sends event data to. Try each of them as touchpad device in xorg.conf

Linus Mannervik (glitter) said : #2

I'm running an Apple iBook G4. The tablet is a Wacom Graphire2. (What exactly do you want to know about my hardware?)

I've tried using mouse1, event3 and ts1, which all seems to represent the touchpad, but without any luck - Xorg still don't find any devices.

As a clearification I'm able to get both the tablet and the touchpad to work without any problem separatly - the problems occours only when I have them both configured in the xorg.conf.

Sascha Brossmann (brsma) said : #3

i just mailed you the relevant parts of my xorg.conf (similar setup). if it works as i hope, please post it here, so others can profit as well.

Linus Mannervik (glitter) said : #4

With help from Sasha's xorg.conf I finally managed to get it to work.
I now use the following xorg settings:

Section "InputDevice"
 Identifier "Generic Keyboard"
 Driver "kbd"
 Option "CoreKeyboard"
 Option "XkbRules" "xorg"
 Option "XkbModel" "pc105"
 Option "XkbLayout" "se"
 Option "XkbOptions" "lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch,lv3:lwin_switch"
EndSection

Section "InputDevice"
 Identifier "Mouse"
 Driver "mouse"
 Option "Device" "/dev/input/mouse2"
 Option "Protocol" "ImPS/2"
 Option "Emulate3Buttons" "true"
 Option "ZAxisMapping" "4 5"
EndSection

Section "InputDevice"
 Identifier "ADB Touchpad"
 Driver "mouse"
 Option "Device" "/dev/input/mouse1"
 Option "CorePointer"
        Option "SendCoreEvents" "true"
 Option "Protocol" "auto"
 Option "Emulate3Buttons" "true"
 Option "ZAxisMapping" "4 5"
 Option "AllowMouseOpenFail" "on"
EndSection

Section "InputDevice"
        Identifier "cursor"
        Driver "wacom"
        Option "Device" "/dev/input/wacom"
        Option "Type" "cursor"
        Option "USB" "on"
EndSection

Section "InputDevice"
        Identifier "stylus"
        Driver "wacom"
        Option "Device" "/dev/input/wacom"
        Option "Type" "stylus"
        Option "USB" "on"
EndSection

Section "InputDevice"
        Identifier "eraser"
        Driver "wacom"
        Option "Device" "/dev/input/wacom"
        Option "Type" "eraser"
        Option "USB" "on"
EndSection

Section "ServerLayout"
 Identifier "Default Layout"
 Screen "Default Screen"
 InputDevice "Generic Keyboard"
 InputDevice "Mouse" "CorePointer"
 InputDevice "ADB Touchpad"
        InputDevice "cursor" "AlwaysCore"
        InputDevice "stylus" "AlwaysCore"
        InputDevice "eraser" "AlwaysCore"
EndSection