Getting lirc to work on SUSE 10.0
- From: Tom <t.ronalds@xxxxxxxxxxx>
- Date: Sat, 29 Apr 2006 20:40:29 +0930
I've been battling with this for quite some time now and am getting
nowhere. Basically all I am after is to be able to remotely control
volume on MPlayer & xine and possibly xmms. I would be truly greatful if
someone who has got this going could help point me in the right direction.
My infrared receiver is a "homebrew" serial port device identical to the
one on this site:
http://www.zapway.de/e_index1.htm
I tried initially to run with the original lirc rpm supplied by SUSE and
then with the one from packman (lirc-0.7.2-0.pm.0.i586.rpm). I had no
luck with those; firstly for some reason the /dev/lirc device does not
get created with these versions and secondly it seems support for the
"lirc_serial" module has not been compiled into them, as the module
could not be found by modprobe and would give out "fatal" kernel
messages on boot.
Then I tried the source package from lirc.org. Unfortunately still no
go. Compile runs fine; so does make and make install; /dev/lirc gets
created, but the command "lircd" to start the lircd daemon then produces
"command not found.
Similarly, running "mode2" gives "error opening /dev/lirc. No such
device". "xmode2" results in
xmode2: No such device or address
xmode2: error opening /dev/lirc
On "irw" I get "irw
connect: Connection refused".
At the same time, doing "ls -l /dev/lirc* shows:
ls -l /dev/lirc*
crw-r--r-- 1 root root 61, 0 2006-04-29 20:08 /dev/lirc
prw-rw-rw- 1 root root 0 2006-04-29 19:28 /dev/lircd
prw-r--r-- 1 root root 0 2006-04-29 19:28 /dev/lircm
So clearly the device does exist - even if for some unknown reason the
/dev/lircd and /dev/lircm entries are highlighted in red. Why that is
the case or what it means I have no idea.
As far as I can see, the /etc/sysconfig/lirc file is all as it should
be. Please check it out to see if there is any obvious stuffup there:
## Path: Hardware/Lirc
## Description: lirc (infrared remote control) configuration
## Type: string
## Default: "666"
## ServiceRestart: lirc
#
# permissions for /dev/lircd
#
LIRCD_DEV_PERMISSIONS="666"
## Type: string
## Default: "root:video"
#
# owner and group for /dev/lircd
#
LIRCD_DEV_OWNER="root:video"
## Type: string
## Default: ""
#
# use given driver
#
LIRCD_DRIVER=""
## Type: string
## Default: ""
#
# read from given device
#
LIRCD_DEVICE="/dev/lircd"
# Serial port for the receiver (for serial driver)
COM_PORT=/dev/ttyS0
DRIVER_OPTS="irq=4 io=0x3f8"
## Type:
string(lirc_bt829,lirc_gpio,lirc_i2c,lirc_it87,lirc_parallel,lirc_sir,ir-kbd-i2c,ir-kbd-gpio)
## Default: ""
#
# load given lirc driver module
#
LIRC_MODULE="lirc_serial"
## Type: string
## Default: ""
#
# listen for network connections on specified port.
# WARNING: don't use this on a machine with an internet
# connection as lircd is running as root!
#
LIRCD_LISTENPORT=
## Type: string
## Default: ""
#
# connect lircd to specified host
#
LIRCD_CONNECT=
I'm at my wits end. Surely this is not meant to be this difficult! I
have read all the documentation at lirc.org several times, but what it
says simply does not work for me. I have googled extensively, but can
only find very little on this particular lirc setup related to SUSE. It
seems other distros handle lirc differently - that is, why is there no
/dev/lirc at all if the SUSE/packman rpm is used?
Please help. This is _the_ one issue I have not been able to resolve for
literally weeks and it's driving me mad...
Thank you.
Tom
.
- Prev by Date: Re: Time SERVER needed
- Next by Date: Re: Adding Fedora to grub
- Previous by thread: Message Error hde: dma_timer_expiry: dma status == 0x24
- Next by thread: how to move a reiserfs partition
- Index(es):
Relevant Pages
|