I would like to use a Logitech R400 pointer with my Lenovo T440s running on Ubuntu 14.04 64bit. There is a problem with the keys so that forward and backward buttons result in jumping at 1st or last slide respectively.
So I followed the instructions in this previous post (Xubuntu - Logitech presenter works only partialy) and tried to figure out the scancodes (http://derickrethans.nl/logitech-r400-take2.html).
It didn't work as the device is not properly recognized. Instead of recieving something like:
lsusb
Bus 004 Device 003: ID 046d:c52d Logitech, Inc.
I get:
Bus 002 Device 017: ID 0e00:0111
Instead of
/dev/input/by-id
containingusb-Logitech_USB_Receiver-event-kbd
I have:
usb-MOUSE_USB_MOUSE-event-kbd usb-MOUSE_USB_MOUSE-event-if01-event-mouse usb-MOUSE_USB_MOUSE-event-if01-mouse
Accordingly, the device is not recognized as a R400 so that modification of /lib/udev/hwdb.d/60-keyboard.hwdb
or newly created /etc/udev/hwdb.d/70-keyboard.hwdb
have no effect.
Does anybody know why the R400 is not properly recognized and how to correct this?
Thank you for your time considering my issue!
Update:
According to xinput
, the pointer device is:
Virtual core pointer
-> MOUSE USB MOUSE id=17
Virtual core keyboard
-> MOUSE USB MOUSE id=11
Output of
./getscancodes /dev/input/event17
:Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0xe00 product 0x111 version 0x110 Input device name: "MOUSE USB MOUSE" ^[OH^[OF^[^[[15;2~b
Output of
./getscancodes /dev/input/event11
:Input driver version is 1.0.1 Input device ID: bus 0x0 vendor 0x0 product 0x0 version 0x0 Input device name: "HDA Intel HDMI HDMI/DP,pcm=8" ^[OH^[OF^[^[[15;2~b
However, id=11 says in
xinput --list-props 11
that it is related to/dev/input/event9
. scancodes of event9 are:Input driver version is 1.0.1 Input device ID: bus 0x3 vendor 0xe00 product 0x111 version 0x110 Input device name: "MOUSE USB MOUSE" 458827 (0x7004b) ^[OH458827 (0x7004b) 458830 (0x7004e) ^[OF458830 (0x7004e) 458981 (0x700e5) 458814 (0x7003e) ^[[15;2~458981 (0x700e5) 458814 (0x7003e) 458757 (0x70005) b458757 (0x70005)
These partially correspond to scancodes given link (Tweaking the Logitech R400 presenter tool on Linux)
Update:
Id is changing from time to time, so today the device is id=17.
Scan codes for this device are as follows:
left button -> 458827 (0x7004b)
right button -> 458830 (0x7004e)
start presentation -> 458793 (0x70029)
blank screen -> 458793 (0x70029)
xinput
can list all input devices id