From: Dmitry Torokhov <dtor_core@ameritech.net>
To: linux-kernel@vger.kernel.org, hetfield666@gmail.com
Subject: Re: psmouse sysfs problems
Date: Wed, 29 Jun 2005 15:07:27 -0500 [thread overview]
Message-ID: <200506291507.28015.dtor_core@ameritech.net> (raw)
In-Reply-To: <1120057685.31934.36.camel@blight.blightgroup>
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
next prev parent reply other threads:[~2005-06-29 20:07 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 [this message]
[not found] ` <1120114623.15195.6.camel@blight.blightgroup>
2005-06-30 7:49 ` Hetfield
2005-06-30 9:43 ` Hetfield
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=200506291507.28015.dtor_core@ameritech.net \
--to=dtor_core@ameritech.net \
--cc=hetfield666@gmail.com \
--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