keycode 153 = XF86Favorites
keycode 178 = XF86HomePage
keycode 236 = XF86Mail
keycode 144 = XF86AudioMute
keycode 174 = XF86AudioLowerVolume
keycode 176 = XF86AudioRaiseVolume
keycode 162 = XF86AudioPlay
killasmurf86 said:here's example
~/.xmodmaprc
Code:keycode 153 = XF86Favorites keycode 178 = XF86HomePage keycode 236 = XF86Mail keycode 144 = XF86AudioMute keycode 174 = XF86AudioLowerVolume keycode 176 = XF86AudioRaiseVolume keycode 162 = XF86AudioPlay
then you need to assign shortcuts to these keys using these names
note: codes are keyboard dependant
CodeBlock said:I guess it's kind of a lost cause for now, maybe worth submitting a PR and some driver hacker can look into it?
segin said:I've a Compaq Internet Keyboard, 18 key variety, and I have discovered why your multimedia keys work on Linux and not FreeBSD, sorta.
It's like this: X gets it's mouse data from /dev/sysmouse and it's keyboard data from /dev/kbdmux0. All data from input devices passes through the FreeBSD kernel and ends up being fed to X from these endpoints. The FreeBSD kernel appears to be silently dropping keypresses for keys it doesn't recognize. 'xev' is reporting nothing because X isn't even receiving the keycodes as the kernel is dropping them before they get to X.
Thank you! For the first time ever I can use the multimedia keys on my Logitech Wave keyboard.segin said:Oh, as a solution, try using sysutils/uhidd as a user-mode input driver. According to the uhidd entry in the FreeBSD Wiki, this will give you what you want.
Is your KB a USB KB? Make & model?hedgehog said:This option allowed me to use all of the multimedia keys on my KB
nope, my keyboard is ps/2 KB: mitsumi, kfk-eb9hy. I chose "Logitech iTouch Internet Navigator Keyboard SE" to let my multimedia keys work. But there is also the same logitech model in the list, but for USB keyboard. I suppose it worth to try before installing any other drivers. Can't test it myself because I don't have an USB keyboard with media keysaragon said:Is your KB a USB KB? Make & model?
Yep, PS/2 keyboards generally work without fuss.hedgehog said:nope, my keyboard is ps/2 KB
aragon said:Thank you! For the first time ever I can use the multimedia keys on my Logitech Wave keyboard.
ugen0.1: <OHCI root HUB ATI> at usbus0, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen1.1: <OHCI root HUB ATI> at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.1: <EHCI root HUB ATI> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen3.1: <OHCI root HUB ATI> at usbus3, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen4.1: <OHCI root HUB ATI> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen5.1: <EHCI root HUB ATI> at usbus5, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen2.2: <HP Webcam Vimicro Co.,ltd> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON
ugen4.2: <product 0x0001 vendor 0x0a12> at usbus4, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON
ugen2.3: <USB2.0-CRW Generic> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON