lkml.org 
[lkml]   [2005]   [Jun]   [29]   [last100]   RSS Feed
Views: [more markup]  [less markup]  [headers]  [forward] 
 
Messages in this thread
/
FromDmitry Torokhov <>
SubjectRe: psmouse sysfs problems
DateWed, 29 Jun 2005 15:07:27 -0500
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
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-06-29 20:11    [W:0.141 / U:0.030 seconds]
©2003-2008 Jasper Spaans