How to have multimedia buttons on top of keyboard work?

usbhid_load="YES" goes in loader.conf

Code:
sudo vi /boot/loader.conf

Code:
usbhid_load="YES"

and hw.usb.usbhid.enable=1 should go in sysctl.conf

Code:
sudo vi /etc/sysctl.conf

Code:
hw.usb.usbhid.enable=1
 
and hw.usb.usbhid.enable=1 should go in sysctl.conf
I think that it can go to /boot/loader.conf too because usbhid(4) tells that:
Rich (BB code):
SYSCTL VARIABLES
     The following variables are available as both sysctl(8) variables and
     loader(8) tunables:

     hw.usb.usbhid.enable
             Enable usbhid and make its priority greater than other USB HID
             drivers have.  Default is 0.
 
I'd suggest playing with xfce4-mixer a bit and see if you can set the right volume device. I also believe that xfce4-mixer has a plugin for xfce4-panel, it may help.
 
here are my notes on getting the multimedia keys working
on an external usb ducky mini keyboard


this is the devd.conf config the keyboard


here are my root config files for my Dell XPS
which i use with an external Ducky mini keyboard to get the multimedia keys working

including loader.conf, sysctl.conf, rc.conf etc

 
usbhid_load="YES"
usbhid_load="YES" goes in loader.conf
Loading the module is only necessary if a custom kernel is running without usbhid device compiled in. The GENERIC kernel has the device enabled:
Code:
% uname  -mir
14.2-RELEASE amd64 GENERIC

% config  -x  /boot/kernel/kernel  |  grep  usbhid
device    usbhid

% kldstat  -v  |  grep  usbhid
        296 uhub/usbhid
        126 usbhid/hidbus
 
It would help to have more hardware information. Otherwise we are just guessing.

Is this a USB keyboard?

Buttons on "Top of Keyboard" could mean anything from laptop to PS2 keyboard.
 
Back
Top