Getting lirc to work on SUSE 10.0



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
.



Relevant Pages

  • Re: 2.6 input drivers FAQ (ir-kbd-gpio.ko)
    ... With this driver, this is just another keyboard, not lirc ... You should not need lircd. ... send the line "unsubscribe linux-kernel" in ...
    (Linux-Kernel)
  • Re: [patch 0/2] Winbond IR Driver - v2
    ... I just want to write the driver that fully exposes the hardware. ... decode just one remote, in my opinion aren't that great. ... There have been repeated attempts to get LIRC merged with the kernel, ... It isn't a NEC protocol, it actually has its own protocol ...
    (Linux-Kernel)
  • Re: [PATCH] Input: add appleir USB driver
    ... people who use the macmini LIRC driver. ... There is a way to dynamically manipulate quirks for a VID/PID pair ... people who use a learning remote to have more than 6 keys that the ...
    (Linux-Kernel)
  • [PATCH 01/18] lirc core device driver infrastructure
    ... -Add device driver interface and headers ... new file mode 100644 ... +# Makefile for the lirc drivers. ... +static struct file_operations fops; ...
    (Linux-Kernel)
  • Re: [patch 0/2] Winbond IR Driver - v2
    ... Bjorn Helgaas (convert the driver from ACPI to PNP) and Randy Dunlap (Kconfig ... I just want to write the driver that fully exposes the hardware. ... There have been repeated attempts to get LIRC merged with the kernel, ... I am working on extending the input system to accomodate IR ...
    (Linux-Kernel)