What I noticed:
the output from cat /proc/bus/input/devices differs from time to time and the "PC Speaker" sometimes comes first, sometimes in the middle and sometimes at last. That changes the eventX number :\ But with that in mind it should work about every third start ( didn't ever )
There are 2 devices called "Logitech USB Receiver" which are the keyboard and the mouse - so one can't say what is what only by the name ( I've looked at the handler and choose the one with a mouseX handler )
Binary package hint: xserver- xorg-input- evdev
What I did:
added evdev to /etc/modules
configured /etc/X11/xorg.conf mouse entry to
Section "InputDevice" 00:11.2- 2/input1"
Identifier "Michis Logitech MX700-USB"
Driver "evdev"
Option "CorePointer"
Option "Protocol" "event"
Option "Dev Phys" "usb-0000:
Option "SendCoreEvents" "true"
Option "Buttons" "10"
Option "ZAxisMapping" "4 5"
Option "Resolution" "800"
Option "Device" "/dev/input/event1"
EndSection
I got the inputX and eventX numbers from cat /proc/bus/ input/devices
I: Bus=0003 Vendor=046d Product=c50b Version=2100 0000:00: 11.2-2/ input0 class/input/ input0
N: Name="Logitech USB Receiver"
P: Phys=usb-
S: Sysfs=/
H: Handlers=kbd event0
B: EV=120003
B: KEY=10000 7 ff800000 7ff febeffdf ffefffff ffffffff fffffffe
B: LED=1f
I: Bus=0003 Vendor=046d Product=c50b Version=2100 0000:00: 11.2-2/ input1 class/input/ input1
N: Name="Logitech USB Receiver"
P: Phys=usb-
S: Sysfs=/
H: Handlers=kbd mouse0 event1 ts0
B: EV=7
B: KEY=ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff ffffffff 0 0 1878 d800d100 1e0000 0 0 0
B: REL=103
I: Bus=0010 Vendor=001f Product=0001 Version=0100 class/input/ input2
N: Name="PC Speaker"
P: Phys=isa0061/input0
S: Sysfs=/
H: Handlers=kbd event2
B: EV=40001
B: SND=6
What I noticed: input/devices differs from time to time and the "PC Speaker" sometimes comes first, sometimes in the middle and sometimes at last. That changes the eventX number :\ But with that in mind it should work about every third start ( didn't ever )
the output from cat /proc/bus/
There are 2 devices called "Logitech USB Receiver" which are the keyboard and the mouse - so one can't say what is what only by the name ( I've looked at the handler and choose the one with a mouseX handler )