Hi all,
I recently installed Lakka on generic pc and i try to control master volume with a USB Button. This function is natively recognize on another debian notebook so it can works under Linux ^_^.
Is usb give this line :
Bus 004 Device 007: ID 2341:484d Arduino SA
and command ‘cat /proc/bus/input/devices’ gives this :
I: Bus=0003 Vendor=2341 Product=484d Version=0101
N: Name="Arduino LLC iWit USB Controller"
P: Phys=usb-0000:00:1d.2-1/input2
S: Sysfs=/devices/pci0000:00/0000:00:1d.2/usb4/4-1/4-1:1.2/0003:2341:484D.0008/input/input20
U: Uniq=HIDPH
H: Handlers=sysrq kbd mouse1 event7
B: PROP=0
B: EV=10001f
B: KEY=3f0003007f 0 0 483ffff17aff32d bf54444600000000 ff0001 130f938b17c007 ffff7bfad9415fff febeffdfffefffff fffffffffffffffe
B: REL=143
B: ABS=100000000
B: MSC=10
I wrote a rules for udev with this content :
SUBSYSTEM=="input", ATTRS{name}=="Arduino LLC iWit USB Controller", KERNEL=="event*", MODE="0666", ENV{ID_INPUT_JOYSTICK}="1"
to try to set param in GUI config but it’s not works… The only changing is that a message which precise that “Arduino LLC iWit USB Controller is not configured” when the USB is plugged.
Can anyone help me to activate this kind of controller ? Is there a way to configure it into retroarch config ? Or maybe a way to bind key directly to an alsa command (like amixer -q sset Master 3%+ to increase) ?
Edit : On the other debian, I use evtest to get keycode of this controller :
Event: time 1538904002.122141, type 1 (EV_KEY), code 115 (KEY_VOLUMEUP), value 0
Event: time 1538903999.400210, type 1 (EV_KEY), code 114 (KEY_VOLUMEDOWN), value 0
maybe it could be helpful to answer…
Edit2 : The volume+ and volume- button on my keyboard doesn’t works too
Edit3 : Here is the link to the picture of this USB audio controller : https://goo.gl/kK658k (it’s the picture from amazon product card).
Thanks by advance