From: Hetfield <hetfield666@gmail.com>
To: Dmitry Torokhov <dtor_core@ameritech.net>
Cc: linux-kernel@vger.kernel.org
Subject: Re: psmouse sysfs problems
Date: Thu, 30 Jun 2005 11:43:30 +0200 [thread overview]
Message-ID: <1120124611.15470.17.camel@blight.blightgroup> (raw)
In-Reply-To: <1120117787.15470.1.camel@blight.blightgroup>
Il giorno gio, 30/06/2005 alle 09.53 +0200, Hetfield ha scritto:
> > Il giorno mer, 29/06/2005 alle 15.07 -0500, Dmitry Torokhov ha
> > scritto:
> > > On Wednesday 29 June 2005 10:08, Hetfield wrote:
> > > > pwd
> > > > /sys/bus/serio/devices/serio0
> > > > root@blight serio0 # cat protocol
> > > > ImPS/2
> > > > root@blight serio0 # cat resetafter
> > > > 0
> > > > root@blight serio0 # echo 5 > res
> > > > resetafter resolution
> > > > root@blight serio0 # echo 5 > resetafter
> > > > root@blight serio0 # cat resetafter
> > > > 0
> > > > root@blight serio0 #
> > > >
> > > > and sending 0, 1, 2 to protocol changed nothing.
> > > > same for resolution.
> > > > i needed that feature to switch from synaptics to imps protocol and
> > > > back.
> > > >
> > > > i'm using 2.6.12-git10.
> > > >
> > > > what should i do?
> > > >
> > >
> > > Hi,
> > >
> > > try this:
> > >
> > > echo -n "imps" > /sys/bus/serio/devices/serioX/protocol
> > > echo -n "auto" > /sys/bus/serio/devices/serioX/protocol
> > >
> > > psmouse (and serio core in general) does not like exta characters (like
> > > newline) in requests and discards such requests.
> > >
> >
>
> thanks it seems working on my desktop, i'll try on my notebook too.
>
> the problem is that plugging a imps2 mouse to notebook doesn't work with
> synaptics touchpad.
> i needed to unload psmouse module and reload with proto=imps
>
> in win drivers (sorry!) i see that as soon as i plug the mouse, driver
> intercept it and says
> that synaptics advanced features will be disabled.
> when i unplug the mouse i get this features back.
> i'd like linux to do the same thing automatically, i'll play with
> protocol auto and resetafter values
>
> I'll report my test results
Here are results:
manual actions (i mean manual echo to protocol..): perfect
i tought resetafter param could restart the driver and set to a lower
protocol, but doesn't.
i see in dmesg that it only ask for resync after $resetafter value i
set.
using proto=auto, it always set synaptics protocol, even with plugged
mouse.
would be nice and automatic protocol up/down, maybe helped by resetafter
or another parameter
for example:
"checkafter" that recheck configuration every xxx seconds and change
protocol.
Good /sys work however
I'm ready to test any changement, just notice me.
prev parent reply other threads:[~2005-06-30 9:45 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-06-29 15:08 psmouse sysfs problems Hetfield
2005-06-29 20:07 ` Dmitry Torokhov
[not found] ` <1120114623.15195.6.camel@blight.blightgroup>
2005-06-30 7:49 ` Hetfield
2005-06-30 9:43 ` Hetfield [this message]
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=1120124611.15470.17.camel@blight.blightgroup \
--to=hetfield666@gmail.com \
--cc=dtor_core@ameritech.net \
--cc=linux-kernel@vger.kernel.org \
/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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox