OpenWrt Forum Archive

Topic: Reacting to USB keypad, or: Where the f*ck did cmdpad go?

The content of this topic has been archived on 12 Mar 2018. There are no obvious gaps in this topic, but there may still be some posts missing at the end.

Hi, I'm constructing myself a MP3-WLAN-Radio based on a Asus WL500GP. Everything works well, however I'd like to connect a USB keyboard or keypad to my device to control it without my notebook.

Parsing /dev/input/eventX looks painful, so I stumbled upon the program "cmdpad" which should  be in the trunk SVN. However I cannot find it, has it been removed? Is there a besser solution for the thing I am trying to do? I want to launch commands when a certain key is pressed, but a program that just prints the name of the pressed key to stdout would be nice - the rest could be done with a nice shell script then :-)

(Last edited by Tommie on 4 May 2008, 16:52)

Well, it's in the x-wrt.org daily snapshot that I installed 2 weeks ago.  r10958 of openWRT

The discussion might have continued from here.