You are not logged in.

#1 2014-04-27 15:02:17

LeftyAce
Member
Registered: 2012-08-18
Posts: 159

Logitech R400 some buttons not working

Hi all,

I have a logitech R400 presenter. It's a remote with forward and back buttons as well as a "presentation start" and a "blank screen" button. The forward and back buttons work great out of the box. Xev shows they are mapped to "Next" and "Prev" and they behave accordingly in evince presentation mode.

The presentation start and blank screen buttons don't do anything. Xev does not register any event when they are pressed. I don't mind so much about the blank screen, but it would be nice if I could just bind the "play" button to F5.

I found this thread that seems to indicate that the problem is keycodes greater than 255. I tried modifying /usr/lib/udev/hwdb.d/60-keyboard.hwdb as per that post, but no luck.

Is there a way I can check that my changes to hwdb.d took effect? All I did afterwards was reboot. Is there another way around this?

Thanks in advance!

-Lefty

Offline

#2 2014-05-20 16:34:52

suluke
Member
Registered: 2013-08-03
Posts: 3

Re: Logitech R400 some buttons not working

Did you run

udevadm hwdb --update

?
Or reboot?
I don't know if you have read this article , but it's surely a good reference.

Offline

#3 2014-05-20 16:47:53

suluke
Member
Registered: 2013-08-03
Posts: 3

Re: Logitech R400 some buttons not working

I just achieved exactly what you wanted to do.
I changed the R400 section in my /usr/lib/udev/hwdb.d/60-keyboard.hwdb to

# Logitech Presenter R400
keyboard:usb:v046DpC52Dd*dc*dsc*dp*ic*isc*ip*in00*
 KEYBOARD_KEY_070029=esc
 KEYBOARD_KEY_07003e=f5
 KEYBOARD_KEY_070037=b

('b' because that's what evince uses for blank screen).
Then I ran

# udevadm hwdb --update

as root and rebooted. Now it works just as expected.

Offline

Board footer

Powered by FluxBB