Hello,
I tried to control mpd with a USB keyboard connected to my dokstar running openwrt.
My cmdpad.conf has the following entries:
device=/dev/input/event0
command= 105, P ,mpc prev
But when I press the corresponding "105" button (arrow left) I always get the following error message:
root@OpenWrt:/etc# cmdpad --debug
cmdpad - version 0.0.3 - Copyright (C) 2002-2003 Alessandro Fausto
Build with code optimization at Mar 27 2011 00:47:15
This is free software, comes with ABSOLUTELY NO WARRANTY, and
and you are welcome to redistribute it under certain conditions.
To view the licence use cmdpad --copying|more
Input driver version is 1.0.1
Input device ID: bus 0x3 vendor 0x1267 product 0x103 version 0x110
Input device name: HID 1267:0103
MAIN: UNK: type=4, code=4,value=458832
MAIN: KBD: code=105,value=1
no command found for key 105, event PRESS
MAIN: UNK: type=0, code=0,value=0
MAIN: UNK: type=4, code=4,value=458832
MAIN: KBD: code=105,value=0
no command found for key 105, event RELEASE
MAIN: UNK: type=0, code=0,value=0
It seams that the command for the key 105 is not correct. I tried it with other keys too.
Does anybody know where my mistake is?
Thanks
Elektrischlumpf
(Last edited by Elektrischlumpf on 9 May 2012, 19:40)