Re: psmouse sysfs problems

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 [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]
  Powered by Linux