Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: multimedia keys



On Sun, Feb 13, 2011 at 01:15:13PM +0000, Dennis den Brok wrote:
> If it's a USB keyboard, usbhidaction(1) may be helpful.

It is, and that's a good pointer, thanks.

However, my keyboard is "special" :(
I tried using the example config from usbhidaction(8), but get:
usbhidaction: config file `/etc/usbhidaction.conf', line 2, HID item not found: 
`Consumer:Consumer_Control.Consumer:Volume_Up'

# usbhidctl  -f uhid0 -a 
usbhidctl: USB_GET_REPORT(input) [probably not supported by device]: 
Input/output error

# usbhidctl -f uhid0 -r
Report descriptor:
Input   size=16 count=1 Array page=Consumer usage=Unassigned..0x03ff, logical 
range 0..1023
Collection page=Consumer usage=Consumer_Control
Total   input size 2 bytes
Total  output size 0 bytes
Total feature size 0 bytes

It also attaches a uhid1, but that looks unrelated:
# usbhidctl -f uhid1 -r
Report descriptor:
Collection page=Generic_Desktop usage=System_Control
Input   size=1 count=1 page=Generic_Desktop usage=System_Power_Down, logical 
range 0..1
Input   size=1 count=1 page=Generic_Desktop usage=System_Sleep, logical range 
0..1
Input   size=1 count=1 page=Generic_Desktop usage=System_Wake_Up, logical range 
0..1
End collection
Total   input size 1 bytes
Total  output size 0 bytes
Total feature size 0 bytes

What next?
 Thomas


Home | Main Index | Thread Index | Old Index