* psmouse sysfs problems
@ 2005-06-29 15:08 Hetfield
2005-06-29 20:07 ` Dmitry Torokhov
0 siblings, 1 reply; 4+ messages in thread
From: Hetfield @ 2005-06-29 15:08 UTC (permalink / raw)
To: linux-kernel
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?
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: psmouse sysfs problems
2005-06-29 15:08 psmouse sysfs problems Hetfield
@ 2005-06-29 20:07 ` Dmitry Torokhov
[not found] ` <1120114623.15195.6.camel@blight.blightgroup>
0 siblings, 1 reply; 4+ messages in thread
From: Dmitry Torokhov @ 2005-06-29 20:07 UTC (permalink / raw)
To: linux-kernel, hetfield666
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.
--
Dmitry
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: psmouse sysfs problems
[not found] ` <1120114623.15195.6.camel@blight.blightgroup>
@ 2005-06-30 7:49 ` Hetfield
2005-06-30 9:43 ` Hetfield
0 siblings, 1 reply; 4+ messages in thread
From: Hetfield @ 2005-06-30 7:49 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: linux-kernel
> 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
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: psmouse sysfs problems
2005-06-30 7:49 ` Hetfield
@ 2005-06-30 9:43 ` Hetfield
0 siblings, 0 replies; 4+ messages in thread
From: Hetfield @ 2005-06-30 9:43 UTC (permalink / raw)
To: Dmitry Torokhov; +Cc: linux-kernel
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.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2005-06-30 9:45 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox