All of lore.kernel.org
 help / color / mirror / Atom feed
From: Pavel Machek <pavel@suse.cz>
To: Vojtech Pavlik <vojtech@suse.cz>
Cc: kernel list <linux-kernel@vger.kernel.org>,
	Andrew Morton <akpm@zip.com.au>
Subject: Re: Do not use synaptics extensions by default
Date: Sat, 10 Jan 2004 20:44:20 +0100	[thread overview]
Message-ID: <20040110194420.GA1212@elf.ucw.cz> (raw)
In-Reply-To: <20040110193039.GA22654@ucw.cz>

Hi!

> > ..aka "make synaptics touchpad usable in 2.6.1" -- synaptics support
> > is not really suitable to be enabled by default. You can not click by
> > tapping the touchpad (well, unless you have very new X with right
> > configuration, but than you can't go back to 2.4), and touchpad senses
> > your finger even when it is not touching, doing spurious movements =>
> > you can't hit anything on screen. Without synaptics extensions
> > everything works just fine. You can reenable synaptics support using
> > commandline.
> > 
> > Plus it documents psmouse_noext option.
> > 
> > Please apply,
> 
> No way. This also kills Logitech mouse detection and Genius and ...
> ... and those cannot be enabled via kernel command line parameters.

I'm setting it to PSMOUSE_IMEX, that's just below PSMOUSE_SYNAPTICS:

#define PSMOUSE_PS2             1
#define PSMOUSE_PS2PP           2
#define PSMOUSE_PS2TPP          3
#define PSMOUSE_GENPS           4
#define PSMOUSE_IMPS            5
#define PSMOUSE_IMEX            6
#define PSMOUSE_SYNAPTICS       7

That should turn off just synaptics, no? 

Okay, so how to do this properly? Synaptics driver with "mouse
emulation" is not usable (tap-to-click is critical), and I want to be
able to boot 2.4...

								Pavel

> > --- tmp/linux/drivers/input/mouse/psmouse-base.c	2004-01-09 20:24:19.000000000 +0100
> > +++ linux/drivers/input/mouse/psmouse-base.c	2004-01-10 16:16:06.000000000 +0100
> > @@ -31,7 +31,7 @@
> >  MODULE_PARM_DESC(psmouse_noext, "[DEPRECATED] Disable any protocol extensions. Useful for KVM switches.");
> >  
> >  static char *psmouse_proto;
> > -static unsigned int psmouse_max_proto = -1U;
> > +static unsigned int psmouse_max_proto = PSMOUSE_IMEX;
> >  module_param(psmouse_proto, charp, 0);
> >  MODULE_PARM_DESC(psmouse_proto, "Highest protocol extension to probe (bare, imps, exps). Useful for KVM switches.");
> >  
> > @@ -678,6 +678,8 @@
> >  			psmouse_max_proto = PSMOUSE_IMPS;
> >  		else if (!strcmp(psmouse_proto, "exps"))
> >  			psmouse_max_proto = PSMOUSE_IMEX;
> > +		else if (!strcmp(psmouse_proto, "synaptics"))
> > +			psmouse_max_proto = PSMOUSE_SYNAPTICS;
> >  		else
> >  			printk(KERN_ERR "psmouse: unknown protocol type '%s'\n", psmouse_proto);
> >  	}
> > 
> > -- 
> > When do you have a heart between your knees?
> > [Johanka's followup: and *two* hearts?]
> 

-- 
When do you have a heart between your knees?
[Johanka's followup: and *two* hearts?]

  reply	other threads:[~2004-01-10 19:44 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-01-10 17:59 Do not use synaptics extensions by default Pavel Machek
2004-01-10 18:52 ` Sean Neakums
2004-01-10 19:28 ` Dmitry Torokhov
2004-01-10 19:40   ` Marcel J.E. Mol
2004-01-10 19:46     ` Pavel Machek
2004-01-10 20:29     ` Peter Osterlund
2004-01-10 19:51   ` Pavel Machek
2004-01-10 19:56     ` Vojtech Pavlik
2004-01-10 20:10       ` Pavel Machek
2004-01-10 20:15         ` Vojtech Pavlik
2004-01-10 23:52           ` Dmitry Torokhov
2004-01-11  8:13             ` Vojtech Pavlik
2004-01-10 19:30 ` Vojtech Pavlik
2004-01-10 19:44   ` Pavel Machek [this message]
2004-01-10 19:55     ` Vojtech Pavlik
2004-01-10 20:18       ` Sean Neakums
2004-01-10 20:23         ` Vojtech Pavlik
2004-01-10 20:49           ` Sean Neakums
2004-01-10 21:33             ` Peter Osterlund
2004-01-10 21:47               ` Sean Neakums
2004-01-10 23:42       ` Dax Kelson
2004-01-11  8:12         ` Vojtech Pavlik

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20040110194420.GA1212@elf.ucw.cz \
    --to=pavel@suse.cz \
    --cc=akpm@zip.com.au \
    --cc=linux-kernel@vger.kernel.org \
    --cc=vojtech@suse.cz \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.