[Haifux] Getting mouse buttons to work

Dotan Cohen dotancohen at gmail.com
Tue Feb 15 12:55:07 MSK 2011

On Tue, Feb 15, 2011 at 11:19, Yedidyah Bar-David
<linux-il at didi.bardavid.org> wrote:
> I have no idea about the specific mouse or issue, but other places you
> can check are:
> 1. Outside of X, do
> od -tx1 /dev/input/mice
> then press various buttons and see what happens.

Interesting approach. In fact, even buttons that _do_ work did not
reliably give any output. However, I could get absolutely zero output
from the buttons in question.

> 2. Try playing with acpi/acpid. E.g., from the examples of acpid
> - look at /usr/share/doc/acpid/examples/default{,.sh}
> (or at least that's where they are on my laptop - Debian Lenny).
> I personally managed to make "Fn F7" move between internal/external
> monitor by playing with it and an example I once found on google -
> I think it was this one:
> http://www.thinkwiki.org/wiki/Sample_Fn-F7_script
> I have no idea if you can get acpi events from "normal" keys (not Fn)
> and did not try this (yet?).

Thanks, but I don't see how I could adapt that to a mouse. In any
case, it would have to be after I get a scancode from the device

Dotan Cohen


More information about the Haifux mailing list