I understand your frustration! I'm trying to get a Streamzap to work in Intrepid Ibex (Ubuntu 8.10).
I can find no really obviously broken mechanism, configuration files seem to be correct, yet I can't control any programs. This makes me think that I need to tell each program to listen to the IR remote controller, but I can't find out how.
I linked /dev/lirc to /dev/lirc0 when I saw messages that /dev/lirc did not exist.
Code:
cd /dev
sudo ln -s lirc0 lirc
Then I started irrecord and followed the instructions to generate a config file for the controller / receiver.
This got me a file named test, when I compare this to the stock /usr/share/lirc/remotes/streamzap/lircd.conf.streamzap configuration file, there is not much difference (well, I named all the buttons in lower case...).
Code:
diff /usr/share/lirc/remotes/streamzap/lircd.conf.streamzap test
..snip..
30c32,33
< 0 0x00
---
> power 0x0A
> mute 0x0B
40,47c43,51
< POWER 0x0A
< MUTE 0x0B
< CH_UP 0x0C
< VOL_UP 0x0D
< CH_DOWN 0x0E
< VOL_DOWN 0x0F
< UP 0x10
< LEFT 0x11
---
> 0 0x00
> vol_up 0x0D
> vol_down 0x0F
> ch_up 0x0C
> ch_down 0x0E
> cursor_up 0x10
> cursor_down 0x14
> cursor_right 0x13
> cursor_left 0x11
This is very reassuring, but still doesn't get me a functioning set-up.
I still can't get lircd to start, for example.
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
But when I look inside hardware.conf, I can't see anything out of place...
Code:
$ more /etc/lirc/hardware.conf
# /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"
And I think that the kernel modules are loaded, anyway.
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
Oh, but here's a thing, I think lircd really is running already!
Code:
ps -edf | grep lirc
nobody 6838 1 0 14:04 ? 00:00:00 /usr/sbin/inputlircd /dev/input/event0 /dev/input/event1 /dev/input/event3 /dev/input/event4 /dev/input/event5 /dev/input/event6
So what's going on, here?
K.
Bookmarks