Skip to contentSkip to conversation

touchpad doesn't work under 2.6.0-test1-ac2

DISCUSSION Michael Schierl 6 participants 8 messages Jul 24, 2003 – Jul 27, 2003 1 message not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 6 lines · David Benfell

Hello all,

Finally decided to give a development kernel a try on an HP zt1180 laptop. The kernel build went smoothly and I thought all was well (well except I guess I've gotta figure out frame buffer support again) until I started X and discovered that the mouse wasn't working.

same for me under 'vanilla' 2.6.0-test1.

However, giving 'psmouse_noext' as kernel param helped for me to make the touchpad work (using /dev/input/mice (protocol autops2) as source for gpm and gpm repeater as source for x, as I did in 2.4.x kernels).

Setting "#define DEBUG" in drivers/input/serio/i8042.c caused lots of lines of text on my console whenever i touched either the touchpad or one of the (four) buttons.

with 'psmouse_noext' it creates less lines on my console, and only for two buttons, not for the other two.

HTH,

Michael

Signature · 4 lines
"New" PGP Key! User ID: Michael Schierl <[email protected]>
Key ID: 0x58B48CDD    Size: 2048    Created: 26.03.2002
Fingerprint:  68CE B807 E315 D14B  7461 5539 C90F 7CC8
http://home.arcor.de/mschierlm/mschierlm.asc
#2 lore raw
Quoted 9 lines · Michael Schierl

David Benfell <[email protected]> wrote:

However, giving 'psmouse_noext' as kernel param helped for me to make the touchpad work (using /dev/input/mice (protocol autops2) as source for gpm and gpm repeater as source for x, as I did in 2.4.x kernels).

Setting "#define DEBUG" in drivers/input/serio/i8042.c caused lots of lines of text on my console whenever i touched either the touchpad or one of the (four) buttons.

In the drivers/input/mousedev.c there is (beside other entries) only one entry for absolute devices:

{
        .flags = INPUT_DEVICE_ID_MATCH_EVBIT | INPUT_DEVICE_ID_MATCH_KEYBIT | INPUT_DEVICE_ID_MATCH_ABSBIT,
        .evbit = { BIT(EV_KEY) | BIT(EV_ABS) },
        .keybit = { [LONG(BTN_TOUCH)] = BIT(BTN_TOUCH) },
        .absbit = { BIT(ABS_X) | BIT(ABS_Y) },
},      /* A tablet like device, at least touch detection, two absolute axes */

This entry requires that device reports BTN_TOUCH - but Synaptics tablet does not have any BTN_TOUCH, it has only "normal" LEFT, RIGHT buttons. So I created additional entry, which listed "[LONG(BTN_LEFT)] = BIT(BTN_LEFT)" for .keybit instead.

After this change gpm sees some events, but vertical movement is reversed (although synaptics does not report that...) and whenever I take finger up from touchpad mouse randomly jumps over screen.

And worse - after booting with Synaptics protocol enabled touching flatpannel with finger stops working as left button until machine is powered off.

This all happens on Compaq EVO N800C. I strongly believe that we need a build time option for disabling Synaptics detection, or at least input_synaptics=0 runtime option, until it can work at least as well as it works like ps/2 device.

Needless to say that small joystick on the keyboard does not work in synaptics mode, and it does not create separate input device.

Best regards,
Petr Vandrovec [email protected]

#3 lore raw

Hi!

Quoted 4 lines

This all happens on Compaq EVO N800C. I strongly believe that we need a build time option for disabling Synaptics detection, or at least input_synaptics=0 runtime option, until it can work at least as well as it works like ps/2 device.

Agreed, I even send a patch to vojtech, he said he is going to apply it and I have not heard about that patch after that...
Pavel

Signature · 2 lines
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]
#4 lore raw
Quoted 9 lines · Pavel Machek

Hi!

Quoted 4 lines

This all happens on Compaq EVO N800C. I strongly believe that we need a build time option for disabling Synaptics detection, or at least input_synaptics=0 runtime option, until it can work at least as well as it works like ps/2 device.

Agreed, I even send a patch to vojtech, he said he is going to apply it and I have not heard about that patch after that...

For proper Synaptics support an XFree86 driver is available (get it at
http://w1.894.telia.com/~u89404340/touchpad/index.html). This will allow for full support, including gesture recongition. Passthrough support for enabling the touchpoint or external mice chained to the Synaptics pad is pending in my patch queue and will be merged as soon as I return from Ottawa.

Support for touchpads is nonexistent in mousedev.c, it only supports mice, digitizers and touchscreens. Just adding an entry to the device tableis futile, you'd need much much more than that.

Signature · 2 lines
Vojtech Pavlik
SuSE Labs, SuSE CR
#5 lore raw
In reply to Petr Vandrovec

Hello all,

First someone pointed me at the driver available through

http://w1.894.telia.com/~u89404340/touchpad/index.html

I hadn't known about this, but I implemented it. It does not work for me under either the 2.6.0-test1-ac2 kernel or the kernel I was using before (2.4.21-pre6).

Output from the startx is:

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.0-test1-ac1 i686 [ELF] Build Date: 23 July 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Jul 23 08:01:03 2003 (==) Using config file: "/etc/X11/XF86Config"

    [10e] 320 x 200, 70Hz
    [111] 640 x 480, 60Hz, 72Hz, 75Hz, 85Hz
    [114] 800 x 600, 60Hz, 72Hz, 75Hz, 85Hz
    [117] 1024 x 768, 60Hz, 70Hz, 75Hz, 85Hz
    [11a] 1280 x 1024, 60Hz, 75Hz
    [11d] 640 x 400, 70Hz
    [122] 1600 x 1200, 60Hz
    [133] 320 x 240, 72Hz
    [13c] 1400 x 1050, 60Hz, 75Hz
    [143] 400 x 300, 72Hz
    [153] 512 x 384, 70Hz
    [173] 720 x 480, 75Hz
    [17e] 720 x 576, 75Hz

auto-dev: Found Synaptics in /proc/bus/input/devices
auto-dev: Found its handler entry
auto-dev: cannot find the event-device in the handlers-entry for the Synaptics touchpad hardware. Falling back to psaux protocol and the Device Option from XF86Config. Query no Synaptics: 6003C8
(EE) Mouse[1] no synaptics touchpad detected and no repeater device
(EE) Mouse[1] Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "Mouse[1]"
No core pointer

Fatal server error:
failed to initialize core devices

When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file "/var/log/XFree86.0.log". Please report problems to [email protected].

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

Quoted 7 lines · Petr Vandrovec
Quoted 6 lines · Michael Schierl

David Benfell <[email protected]> wrote:

However, giving 'psmouse_noext' as kernel param helped for me to make the touchpad work (using /dev/input/mice (protocol autops2) as source for gpm and gpm repeater as source for x, as I did in 2.4.x kernels).

No joy here, either:

[Using /dev/input/mouse as the input device]

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.0-test1-ac1 i686 [ELF] Build Date: 23 July 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Jul 23 09:25:40 2003 (==) Using config file: "/etc/X11/XF86Config"

    [10e] 320 x 200, 70Hz
    [111] 640 x 480, 60Hz, 72Hz, 75Hz, 85Hz
    [114] 800 x 600, 60Hz, 72Hz, 75Hz, 85Hz
    [117] 1024 x 768, 60Hz, 70Hz, 75Hz, 85Hz
    [11a] 1280 x 1024, 60Hz, 75Hz
    [11d] 640 x 400, 70Hz
    [122] 1600 x 1200, 60Hz
    [133] 320 x 240, 72Hz
    [13c] 1400 x 1050, 60Hz, 75Hz
    [143] 400 x 300, 72Hz
    [153] 512 x 384, 70Hz
    [173] 720 x 480, 75Hz
    [17e] 720 x 576, 75Hz

auto-dev: Could not find N: Name="Synaptics Synaptics TouchPad" and its handler entry H: Handlers= in /proc/bus/input/devices. So we are unable to auto-determine the synaptics touchpad device, falling back to psaux protocol and the Device Option. (EE) xf86OpenSerial: Cannot open device /dev/input/mouse
No such file or directory.
Synaptics driver unable to open device
(EE) PreInit failed for input device "Mouse[1]"
No core pointer

Fatal server error:
failed to initialize core devices

When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file "/var/log/XFree86.0.log". Please report problems to [email protected].

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

[Using /dev/psaux as the input device]

XFree86 Version 4.3.0
Release Date: 27 February 2003
X Protocol Version 11, Revision 0, Release 6.6
Build Operating System: Linux 2.6.0-test1-ac1 i686 [ELF] Build Date: 23 July 2003
Before reporting problems, check http://www.XFree86.Org/
to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
(++) from command line, (!!) notice, (II) informational, (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/XFree86.0.log", Time: Wed Jul 23 09:22:03 2003 (==) Using config file: "/etc/X11/XF86Config"

    [10e] 320 x 200, 70Hz
    [111] 640 x 480, 60Hz, 72Hz, 75Hz, 85Hz
    [114] 800 x 600, 60Hz, 72Hz, 75Hz, 85Hz
    [117] 1024 x 768, 60Hz, 70Hz, 75Hz, 85Hz
    [11a] 1280 x 1024, 60Hz, 75Hz
    [11d] 640 x 400, 70Hz
    [122] 1600 x 1200, 60Hz
    [133] 320 x 240, 72Hz
    [13c] 1400 x 1050, 60Hz, 75Hz
    [143] 400 x 300, 72Hz
    [153] 512 x 384, 70Hz
    [173] 720 x 480, 75Hz
    [17e] 720 x 576, 75Hz

auto-dev: Could not find N: Name="Synaptics Synaptics TouchPad" and its handler entry H: Handlers= in /proc/bus/input/devices. So we are unable to auto-determine the synaptics touchpad device, falling back to psaux protocol and the Device Option. Query no Synaptics: 6003C8
(EE) Mouse[1] no synaptics touchpad detected and no repeater device
(EE) Mouse[1] Unable to query/initialize Synaptics hardware.
(EE) PreInit failed for input device "Mouse[1]"
No core pointer

Fatal server error:
failed to initialize core devices

When reporting a problem related to a server crash, please send the full server output, not just the last messages. This can be found in the log file "/var/log/XFree86.0.log". Please report problems to [email protected].

XIO: fatal IO error 104 (Connection reset by peer) on X server ":0.0"
after 0 requests (0 known processed) with 0 events remaining.

I've attached my XF86Config, which includes commented out remnants of things I've tried.

Thanks!

Signature · 2 lines
David Benfell
[email protected]
# /.../
# SaX generated XFree86 config file
# Created on: 2002-04-05.
#
# Version: 4.3
# Contact: Marcus Schaefer <[email protected]>, 2001
#
# Automatically generated by [ISaX] (4.3)
# PLEASE DO NOT EDIT THIS FILE!
#
Section "Files"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/local"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/URW"
  FontPath     "/usr/X11R6/lib/X11/fonts/Speedo"
  FontPath     "/usr/X11R6/lib/X11/fonts/PEX"
  FontPath     "/usr/X11R6/lib/X11/fonts/cyrillic"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin2/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/latin7/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/baekmuk:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/japanese:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/kwintv"
  FontPath     "/usr/X11R6/lib/X11/fonts/truetype"
  FontPath     "/usr/X11R6/lib/X11/fonts/uni"
  FontPath     "/usr/X11R6/lib/X11/fonts/CID"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/misc"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/ucs/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/misc:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/75dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/100dpi:unscaled"
  FontPath     "/usr/X11R6/lib/X11/fonts/hellas/Type1"
  FontPath     "/usr/X11R6/lib/X11/fonts/misc/sgi"
  FontPath     "/usr/X11R6/lib/X11/fonts/xtest"
  FontPath     "/usr/local/fonts/ttf"
  ModulePath   "/usr/X11R6/lib/modules"
  RgbPath      "/usr/X11R6/lib/X11/rgb"
EndSection

Section "ServerFlags"
Option "AllowMouseOpenFail"
EndSection

Section "Module"

  Load         "dbe"
  Load         "type1"
  Load         "speedo"
  Load         "extmod"
  Load         "freetype"
  Load         "synaptics"

EndSection

Section "InputDevice"

  Driver       "keyboard"
  Identifier   "Keyboard[0]"
  Option       "Protocol" "Standard"
  Option       "XkbKeyCodes" "xfree86"
  Option       "XkbLayout" "us"
  Option       "XkbModel" "pc104"
  Option       "XkbRules" "xfree86"

EndSection

#Section "InputDevice"
#Driver "mouse"
#Identifier "Mouse[1]"
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#::: on the HP ZT1180, you must tell it that it's really two buttons, then to fake being 3... #::: or 5 like most wheels
#Option "ButtonNumber" "5"
#Option "ButtonNumber" "2"
#Option "Emulate3Buttons"
#Option "ZAxisMapping" "4 5"
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
#::: it hates gpm though. sorry.
#Option "Device" "/dev/psaux"
#:::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::

  #Option       "Name" "AutoDetected"
  #Option       "Protocol" "imps/2"
  #Option       "Vendor" "AutoDetected"

#EndSection

Section "InputDevice"
Driver "synaptics"
Identifier "Mouse[1]"
Option "Device" "/dev/input/mouse"
#Option "Device" "/dev/psaux"
Option "Protocol" "auto-dev"

  Option	"LeftEdge"      "1900"
  Option	"RightEdge"     "5400"
  Option	"TopEdge"       "3900"
  Option	"BottomEdge"    "1800"

Option "FingerLow" "25"
Option "FingerHigh" "30"
Option "MaxTapTime" "180"
Option "MaxTapMove" "220"
Option "VertScrollDelta" "100"
Option "MinSpeed" "0.02"
Option "MaxSpeed" "0.18"
Option "AccelFactor" "0.0010"
# Option "Repeater" "/dev/ps2mouse"
# Option "SHMConfig" "on"
EndSection

Section "Monitor"

  HorizSync    30-90
  Identifier   "Monitor[0]"
  ModelName    "AutoDetected"
  VendorName   "AutoDetected"
  VertRefresh  56-83
  UseModes     "Modes[0]"

EndSection

Section "Modes"
Identifier "Modes[0]"
Modeline "1400x1050" 158.26 1400 1416 1704 1944 1050 1050 1063 1097
EndSection

Section "Screen"
DefaultDepth 16
SubSection "Display"

    Depth      16
    Modes      "1400x1050" 
  EndSubSection
  Device       "Device[0]"
  Identifier   "Screen[0]"
  Monitor      "Monitor[0]"

EndSection

Section "Device"

  BoardName    "AutoDetected"
  Driver       "savage"
  Identifier   "Device[0]"
  Option       "dpms"
  VendorName   "AutoDetected"

EndSection

Section "ServerLayout"

  Identifier   "Layout[all]"
  InputDevice  "Keyboard[0]" "CoreKeyboard"
  InputDevice  "Mouse[1]" "CorePointer"
  Screen       "Screen[0]"

EndSection

Section "DRI"

    Group      "video"
    Mode       0660

EndSection

#6 lore raw
Quoted 8 lines · David Benfell

First someone pointed me at the driver available through

http://w1.894.telia.com/~u89404340/touchpad/index.html

I hadn't known about this, but I implemented it. It does not work for me under either the 2.6.0-test1-ac2 kernel or the kernel I was using before (2.4.21-pre6).

Quoted 6 lines

Output from the startx is:

auto-dev: Found Synaptics in /proc/bus/input/devices
auto-dev: Found its handler entry
auto-dev: cannot find the event-device in the handlers-entry for the Synaptics touchpad hardware. Falling back to psaux protocol and the Device Option from XF86Config. Query no Synaptics: 6003C8

It looks like the problem is that the evdev module is not loaded.

Signature · 2 lines
Peter Osterlund - [email protected]
http://w1.894.telia.com/~u89404340
#7 lore raw

SOLVED: touchpad doesn't work under 2.6.0-test1-ac2

In reply to David Benfell
Quoted 6 lines · David Benfell

Hello all,

First someone pointed me at the driver available through

http://w1.894.telia.com/~u89404340/touchpad/index.html

This driver does not work on the HP ZT1180.

What does work is enabling CONFIG_INPUT_EVDEV in the kernel configuration. The trick then is to NOT combine this with the Synaptics driver mentioned above.

Full details are available at:

	http://www.greybeard95a.com/hp/zt1180/

Thanks to everyone for their help!

Signature · 2 lines
David Benfell
[email protected]
#8 lore raw

Re: SOLVED: touchpad doesn't work under 2.6.0-test1-ac2

Quoted 5 lines · David Benfell
Quoted 4 lines · David Benfell

Hello all,

First someone pointed me at the driver available through

Quoted 7 lines
Quoted 2 lines

http://w1.894.telia.com/~u89404340/touchpad/index.html

This driver does not work on the HP ZT1180.

What does work is enabling CONFIG_INPUT_EVDEV in the kernel configuration. The trick then is to NOT combine this with the Synaptics driver mentioned above.

I want the driver to work on as many computers as possible. Can you please send me the XFree86 log file you get when you try to use the XFree driver and CONFIG_INPUT_EVDEV at the same time.

Signature · 2 lines
Peter Osterlund - [email protected]
http://w1.894.telia.com/~u89404340