linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* touchpad doesn't work under 2.6.0-test1-ac2
@ 2003-07-22  4:39 David Benfell
  2003-07-23 14:05 ` Josh Crawley
  0 siblings, 1 reply; 10+ messages in thread
From: David Benfell @ 2003-07-22  4:39 UTC (permalink / raw)
  To: linux-kernel

[-- Attachment #1: Type: text/plain, Size: 754 bytes --]

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.

I'm guessing this list doesn't allow attachments, and I don't really
want to splat all over everybody with the output I thought relevant,
so I've posted it on my website:

	http://www.parts-unknown.org/hp-zt1180-dmesg.gz
	http://www.parts-unknown.org/hp-zt1180-lspci.gz
	http://www.parts-unknown.org/hp-zt1180.config.gz

wget should work.

Did I miss a configuration option or do some other stupid thing?

-- 
David Benfell
benfell@parts-unknown.org

[-- Attachment #2: Type: application/pgp-signature, Size: 478 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: touchpad doesn't work under 2.6.0-test1-ac2
  2003-07-22  4:39 touchpad doesn't work under 2.6.0-test1-ac2 David Benfell
@ 2003-07-23 14:05 ` Josh Crawley
  0 siblings, 0 replies; 10+ messages in thread
From: Josh Crawley @ 2003-07-23 14:05 UTC (permalink / raw)
  To: David Benfell, linux-kernel

David Benfell wrote:

>Hello all,
>  
>
Hello.

>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.
>  
>
Just a few points. First, is your input pointed at /dev/input/mouse ? 
Second, you need the userspace synaptics for touchpads, which 
unfortunately needs to be done.

>I'm guessing this list doesn't allow attachments, and I don't really
>want to splat all over everybody with the output I thought relevant,
>so I've posted it on my website:
>  
>
As long as the attachments arent big, I think it's ok. I sent here a few 
problems just like what you're talking about.

Good day,
Josh


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: touchpad doesn't work under 2.6.0-test1-ac2
  2003-07-25  0:16 Petr Vandrovec
@ 2003-07-25 23:53 ` Vojtech Pavlik
  0 siblings, 0 replies; 10+ messages in thread
From: Vojtech Pavlik @ 2003-07-25 23:53 UTC (permalink / raw)
  To: Petr Vandrovec; +Cc: Vojtech Pavlik, schierlm, linux-kernel, pavel

On Fri, Jul 25, 2003 at 02:16:25AM +0200, Petr Vandrovec wrote:

> > 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
> 
> I do not use XFree. I'm using 1600x1200 radeonfb consoles.

gpm support is on the way. Until it's available, you can use
'psmouse_noext=1' on the kernel or module command line to bring the
synaptics touchpad to standard PS/2 mouse mode. Then it'll work with gpm
without any changes. Don't expect advanced
multitap/scrolling/palmdetection, then, though.

> > Support for touchpads is nonexistent in mousedev.c, it only supports
> > mice, digitizers and touchscreens. Just adding an entry to the device
> > table is futile, you'd need much much more than that.
> 
> What's difference between touchscreen and touchpad? Both use absolute
> directions, and rest are just buttons... As I need working gpm, without 
> mousedev support Synaptics mode is of no use for me.

Touchscreen is overlaid over a screen. The cursor follows the finger
position exactly. This is the sale for digitizers, except a cursor is
replaced by a pen. Touchpads are completely different - the finger
motion is relativized and then summed up again, so instead of the cursor
following the finger position, it moves in the direction the finger
moves.

As an example, imagine touching the touchscreen in the lower left corner and
moving it to the upper right. You end up with the cursor in the upper
right corner. Now tap the lower left corner again, and the cursor moves
there immediately. This is the behavior mousedev supports.

While with a touchpad, you'll first see the cursor moving towards the
upper right corner, but not reaching it. Now after tapping the lower
left corner again, the cursor stays in position and can be moved further
...

See the difference?

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: touchpad doesn't work under 2.6.0-test1-ac2
  2003-07-25  7:08     ` David Benfell
@ 2003-07-25 21:32       ` Peter Osterlund
  0 siblings, 0 replies; 10+ messages in thread
From: Peter Osterlund @ 2003-07-25 21:32 UTC (permalink / raw)
  To: David Benfell; +Cc: linux-kernel

David Benfell <benfell@greybeard95a.com> writes:

> 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:
> 
> 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.

-- 
Peter Osterlund - petero2@telia.com
http://w1.894.telia.com/~u89404340

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: touchpad doesn't work under 2.6.0-test1-ac2
  2003-07-24 21:24   ` Petr Vandrovec
  2003-07-24 22:57     ` Pavel Machek
@ 2003-07-25  7:08     ` David Benfell
  2003-07-25 21:32       ` Peter Osterlund
  1 sibling, 1 reply; 10+ messages in thread
From: David Benfell @ 2003-07-25  7:08 UTC (permalink / raw)
  To: linux-kernel


[-- Attachment #1.1: Type: text/plain, Size: 6922 bytes --]

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 xfree86@xfree86.org.

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

On Thu, 24 Jul 2003 23:24:16 +0200, Petr Vandrovec wrote:
> On Thu, Jul 24, 2003 at 10:27:51PM +0200, Michael Schierl wrote:
> > David Benfell <benfell@greybeard95a.com> 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 xfree86@xfree86.org.

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 xfree86@xfree86.org.

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!
-- 
David Benfell
benfell@parts-unknown.org

[-- Attachment #1.2: hp-zt1180-XF86Config --]
[-- Type: text/plain, Size: 4966 bytes --]

# /.../
# SaX generated XFree86 config file
# Created on: 2002-04-05.
#
# Version: 4.3
# Contact: Marcus Schaefer <sax@suse.de>, 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


[-- Attachment #2: Type: application/pgp-signature, Size: 478 bytes --]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: touchpad doesn't work under 2.6.0-test1-ac2
@ 2003-07-25  0:16 Petr Vandrovec
  2003-07-25 23:53 ` Vojtech Pavlik
  0 siblings, 1 reply; 10+ messages in thread
From: Petr Vandrovec @ 2003-07-25  0:16 UTC (permalink / raw)
  To: Vojtech Pavlik; +Cc: schierlm, linux-kernel, pavel

On 25 Jul 03 at 2:11, Vojtech Pavlik wrote:
> On Fri, Jul 25, 2003 at 12:57:45AM +0200, Pavel Machek wrote:
> > 
> > > 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

I do not use XFree. I'm using 1600x1200 radeonfb consoles.

> 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
> table is futile, you'd need much much more than that.

What's difference between touchscreen and touchpad? Both use absolute
directions, and rest are just buttons... As I need working gpm, without 
mousedev support Synaptics mode is of no use for me.
                                                            Petr
                                                            


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: touchpad doesn't work under 2.6.0-test1-ac2
  2003-07-24 22:57     ` Pavel Machek
@ 2003-07-25  0:11       ` Vojtech Pavlik
  0 siblings, 0 replies; 10+ messages in thread
From: Vojtech Pavlik @ 2003-07-25  0:11 UTC (permalink / raw)
  To: Pavel Machek; +Cc: Petr Vandrovec, schierlm, linux-kernel, vojtech

On Fri, Jul 25, 2003 at 12:57:45AM +0200, Pavel Machek wrote:

> Hi!
> 
> > 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.

-- 
Vojtech Pavlik
SuSE Labs, SuSE CR

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: touchpad doesn't work under 2.6.0-test1-ac2
  2003-07-24 21:24   ` Petr Vandrovec
@ 2003-07-24 22:57     ` Pavel Machek
  2003-07-25  0:11       ` Vojtech Pavlik
  2003-07-25  7:08     ` David Benfell
  1 sibling, 1 reply; 10+ messages in thread
From: Pavel Machek @ 2003-07-24 22:57 UTC (permalink / raw)
  To: Petr Vandrovec; +Cc: schierlm, linux-kernel, vojtech

Hi!

> 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
-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: touchpad doesn't work under 2.6.0-test1-ac2
  2003-07-24 20:27 ` Michael Schierl
@ 2003-07-24 21:24   ` Petr Vandrovec
  2003-07-24 22:57     ` Pavel Machek
  2003-07-25  7:08     ` David Benfell
  0 siblings, 2 replies; 10+ messages in thread
From: Petr Vandrovec @ 2003-07-24 21:24 UTC (permalink / raw)
  To: schierlm; +Cc: linux-kernel, vojtech

On Thu, Jul 24, 2003 at 10:27:51PM +0200, Michael Schierl wrote:
> David Benfell <benfell@greybeard95a.com> 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
						vandrove@vc.cvut.cz
						


^ permalink raw reply	[flat|nested] 10+ messages in thread

* Re: touchpad doesn't work under 2.6.0-test1-ac2
       [not found] <bXg8.4Wg.1@gated-at.bofh.it>
@ 2003-07-24 20:27 ` Michael Schierl
  2003-07-24 21:24   ` Petr Vandrovec
  0 siblings, 1 reply; 10+ messages in thread
From: Michael Schierl @ 2003-07-24 20:27 UTC (permalink / raw)
  To: linux-kernel

David Benfell <benfell@greybeard95a.com> wrote:

>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
-- 
"New" PGP Key! User ID: Michael Schierl <schierlm@gmx.de>
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

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2003-07-25 23:38 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-22  4:39 touchpad doesn't work under 2.6.0-test1-ac2 David Benfell
2003-07-23 14:05 ` Josh Crawley
     [not found] <bXg8.4Wg.1@gated-at.bofh.it>
2003-07-24 20:27 ` Michael Schierl
2003-07-24 21:24   ` Petr Vandrovec
2003-07-24 22:57     ` Pavel Machek
2003-07-25  0:11       ` Vojtech Pavlik
2003-07-25  7:08     ` David Benfell
2003-07-25 21:32       ` Peter Osterlund
2003-07-25  0:16 Petr Vandrovec
2003-07-25 23:53 ` Vojtech Pavlik

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).