Hmmm... I got one of these Streamzap controllers a couple of days ago.
I tried it tonight for the first time.
I didn't see any effect from pressing the buttons on the controller while running RhytmBox, MPlayer or Xine, so thought there was something broken, as per reports in this thread.
Code:
$ sudo /etc/init.d/lirc restart --verbose
* Stopping remote control daemon(s): LIRC [fail]
* Loading LIRC modules [ OK ]
* Unable to load LIRC kernel modules. Verify your
* selected kernel modules in /etc/lirc/hardware.conf
Not promising...
Yet:
Code:
$ lsmod | grep lirc
lirc_streamzap 22916 0
lirc_dev 22216 1 lirc_streamzap
usbcore 175376 8 lirc_streamzap,usb_storage,libusual,usbhid,ehci_hcd,uhci_hcd
And:
Code:
# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Streamzap PC Remote"
REMOTE_MODULES="lirc_streamzap"
REMOTE_DRIVER="default"
REMOTE_DEVICE="/dev/lirc0"
REMOTE_LIRCD_CONF=""
REMOTE_LIRCD_ARGS=""
#Chosen IR Transmitter
TRANSMITTER="None"
TRANSMITTER_MODULES=""
TRANSMITTER_DRIVER=""
TRANSMITTER_DEVICE=""
TRANSMITTER_LIRCD_CONF=""
TRANSMITTER_LIRCD_ARGS=""
#Enable lircd
START_LIRCD=true
#Don't start lircmd even if there seems to be a good config file
#START_LIRCMD="false"
#Try to load appropriate kernel modules
LOAD_MODULES="true"
# Default configuration files for your hardware if any
LIRCMD_CONF=""
#Forcing noninteractive reconfiguration
#If lirc is to be reconfigured by an external application
#that doesn't have a debconf frontend available, the noninteractive
#frontend can be invoked and set to parse REMOTE and TRANSMITTER
#It will then populate all other variables without any user input
#If you would like to configure lirc via standard methods, be sure
#to leave this set to "false"
FORCE_NONINTERACTIVE_RECONFIGURATION="false"
START_LIRCMD=""
# Remote settings required by gnome-lirc-properties
REMOTE_MODEL="PC Remote"
REMOTE_VENDOR="Streamzap"
# Receiver settings required by gnome-lirc-properties
RECEIVER_MODEL="PC Remote"
RECEIVER_VENDOR="StreamZap"
Now, what seems interesting is that there really is something coming in through /dev/lirc0, as we can see by this:
Code:
$ sudo cat /dev/lirc0
When I press a button on the remote controller, unprintable strings, including BELL appear in the terminal:
Code:
�����������������������������2�������������������������LK���������������������LP��������������������������Q�������������������������h���������������������T����������������������������������������������0�����������������������JS����������������������6��������������������� P
° Β4 σ Β2
The stuff above is what happens when I press the buttons 1 to 9 on the controller.
So maybe the problem is with the applications (Rhythmbox, et al) not looking at /dev/lirc0 for input?
I tried running Audacious... I have no sound at the moment (see other thread for this), but got some degree of control using the Streamzap.
In the preferences for Audacious, I looked in Plugins -> General tab. Here, I enabled the EvDev-Plug and set the device to /dev/lirc0. I had to change the permissions on this device to be readable my myself. Now I have a small amount of control over Audacious, but the program hangs after using the controls about twelve times... and messages flash by in the terminal where I started Audacious:
Code:
$ audacious
** (audacious:18441): WARNING **: event-device-plugin: device \x80Pn\u0002 not found in /dev/input , skipping.
amidi-plug(amidi-plug.c:amidiplug_init:97): init, read configuration
amidi-plug(i_backend.c:i_backend_load:107): loading backend '/usr/lib/audacious/Input/amidi-plug/ap-alsa.so'
amidi-plug(i_backend.c:i_backend_load:145): backend /usr/lib/audacious/Input/amidi-plug/ap-alsa.so (name 'alsa') successfully loaded
^CAudacious has received SIGINT and is shutting down.
amidi-plug(i_backend.c:i_backend_unload:164): unloading backend 'alsa'
amidi-plug(i_backend.c:i_backend_unload:167): backend 'alsa' unloaded
LASTFM: (cleanup) Cleanup finished
K.
Bookmarks