jojo_m
11-07-2007, 12:58
Hello, I have read that the new version of Oleg's firmware has implemented hiddev support (http://wl500g.info/showthread.php?t=4145).
Now I plan to connect a small numeric USB keyboard to my ASUS router (in my case it is a WL-HDD, running Oleg's firmware 1.9.2.7-7g). Then I want to use a program like cmdpad (http://cmdpad.sourceforge.net/)to execute bash scripts according to the keys I have pressed. In the end I want to have the possibility to enter ShoutCast IDs on the keyboard and then listen to the webradio station over the USB Audio dongle which is also connected to the router.
The ShoutCast part is already working (ShoutCast ID -> shell script -> download playlist from ShoutCast server -> parse -> stream -> playback with madplay).
But for the keyboard control I still have not found a solution. My problem is that I am no expert in compiling binaries and modules... I have already found binaries for a similar project (http://www.neophob.com/serendipity/index.php?/archives/113-OpenWRT-MP3-player-with-keyboard-and-display.html) on a LinkSys WRT54G using OpenWRT, but when I install them on my ASUS router I get some segmentation faults :mad: . I have been searching for two weeks now, but no result. There are also other modules (usbhid.o, usbkbd.o), but nothing worked in my case. Perhaps there is also an alternative to cmdpad?
Maybe someone has already done a similar project and can give me some hints? Any help is appreciated!!!:) :) :)
Now I plan to connect a small numeric USB keyboard to my ASUS router (in my case it is a WL-HDD, running Oleg's firmware 1.9.2.7-7g). Then I want to use a program like cmdpad (http://cmdpad.sourceforge.net/)to execute bash scripts according to the keys I have pressed. In the end I want to have the possibility to enter ShoutCast IDs on the keyboard and then listen to the webradio station over the USB Audio dongle which is also connected to the router.
The ShoutCast part is already working (ShoutCast ID -> shell script -> download playlist from ShoutCast server -> parse -> stream -> playback with madplay).
But for the keyboard control I still have not found a solution. My problem is that I am no expert in compiling binaries and modules... I have already found binaries for a similar project (http://www.neophob.com/serendipity/index.php?/archives/113-OpenWRT-MP3-player-with-keyboard-and-display.html) on a LinkSys WRT54G using OpenWRT, but when I install them on my ASUS router I get some segmentation faults :mad: . I have been searching for two weeks now, but no result. There are also other modules (usbhid.o, usbkbd.o), but nothing worked in my case. Perhaps there is also an alternative to cmdpad?
Maybe someone has already done a similar project and can give me some hints? Any help is appreciated!!!:) :) :)