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.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to [email protected]
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
[Index of Archives]
[Kernel Newbies]
[Netfilter]
[Bugtraq]
[Photo]
[Stuff]
[Gimp]
[Yosemite News]
[MIPS Linux]
[ARM Linux]
[Linux Security]
[Linux RAID]
[Video 4 Linux]
[Linux for the blind]
[Linux Resources]