Hi Lirc Group


I have been trying to get a LIRC configuration working with my FC4 setup for a while. But I can not get this to work. Here is what I can observe.


The system is build according to Jarod’s fantastic guide (or at least I think it is).

Myth works with all aspects – even the LCDd system works (hint: you must use the CVS version of the stable branch)

But LIRC does not work. I’m using a serial IR device from Zapway.de plugged into COM3

The device seems to be using the lirc_serial structure hence the following entries in modprobe.conf



# To use a Serial Port based IR module for LIRC

alias char-major-61-1 lirc_serial

options lirc_serial irq=4 io=0x3e8

install lirc_serial /bin/setserial /dev/ttyS2 uart none; /sbin/modprobe --ignore-install lirc_serial


after starting the device I have the following entries in /dev/lirc*

lrwxrwxrwx  1 root root     5 Oct  4 23:14 /dev/lirc -> lirc0

crw-rw----  1 root root 61, 0 Oct  4 23:14 /dev/lirc0

srw-rw-rw-  1 root root     0 Oct  5 13:42 /dev/lircd


And a “cat /dev/lirc0” produces rambling output when a button is pressed on the remote.

Even “mode2” will produce reasonable output.


Syslog reports:

Oct  5 13:43:29 settop kernel: lirc_dev: IR Remote Control driver registered, at major 61

Oct  5 13:43:30 settop kernel: lirc_serial: auto-detected active low receiver

Oct  5 13:43:30 settop kernel: lirc_dev: lirc_register_plugin: sample_rate: 0

Oct  5 13:43:30 settop lircd-0.7.2[18444]: lircd(any) ready


Starting “irw” adds the following entry to syslog:

Oct  5 13:44:20 settop lircd-0.7.2[18444]: accepted new client on /dev/lircd


BUT – no further output is produced by “irw” when I press buttons on the remote.


The version of the LIRC rpm’s:







modinfo reports:

[root@settop ~]# modinfo lirc_dev

filename:       /lib/modules/2.6.12-1.1447_FC4/updates/drivers/lirc/lirc_dev.ko

description:    LIRC base driver module

author:         Artur Lipowski

license:        GPL

alias:          char-major-61-*

parmtype:       debug:bool

parm:           debug:Enable debugging messages

vermagic:       2.6.12-1.1447_FC4 686 REGPARM 4KSTACKS gcc-4.0


srcversion:     F468FBEA0AA2B2ABBFCFA4B


[root@settop ~]# modinfo lirc_serial

filename:       /lib/modules/2.6.12-1.1447_FC4/updates/drivers/lirc/lirc_serial.ko

description:    Infra-red receiver driver for serial ports.

author:         Ralph Metzler, Trent Piepho, Ben Pfaff, Christoph Bartelmus

license:        GPL

parmtype:       type:int

parm:           type:Hardware type (0 = home-brew, 1 = IRdeo, 2 = IRdeo Remote, 3 = AnimaX, 4 = IgorPlug

parmtype:       io:int

parm:           io:I/O address base (0x3f8 or 0x2f8)

parmtype:       irq:int

parm:           irq:Interrupt (4 or 3)

parmtype:       share_irq:bool

parm:           share_irq:Share interrupts (0 = off, 1 = on)

parmtype:       sense:bool

parm:           sense:Override autodetection of IR receiver circuit (0 = active high, 1 = active low )

parmtype:       txsense:bool

parm:           txsense:Sense of transmitter circuit (0 = active high, 1 = active low )

parmtype:       softcarrier:bool

parm:           softcarrier:Software carrier (0 = off, 1 = on)

parmtype:       debug:bool

parm:           debug:Enable debugging messages

vermagic:       2.6.12-1.1447_FC4 686 REGPARM 4KSTACKS gcc-4.0


srcversion:     15B4AC845587914675B2C88


And last but not least – /etc/lircd.conf file (this is straight from Jarod’s guide):

# brand:                       Hauppauge

# model no. of remote control: Grey (PVR-350)


begin remote


  name  hauppaugegrey

  bits           13

  eps            30

  aeps          100


  one             0     0

  zero            0     0

  gap          200000

  min_repeat      4

  toggle_bit      2



      begin codes

          OFF                      0x00000000000017FD

          GO                       0x0000000000001FFB

          1                        0x00000000000017C1

          2                        0x00000000000017C2

          3                        0x00000000000017C3

          4                        0x00000000000017C4

          5                        0x0000000000001FC5

          6                        0x0000000000001FC6

          7                        0x0000000000001FC7

          8                        0x0000000000001FC8

          9                        0x0000000000001FC9

          0                        0x00000000000017C0

          BACK/EXIT                0x00000000000017DF

          MENU                     0x0000000000001FCD

          CH+                      0x00000000000017E0

          OK                       0x00000000000017E5

          CH-                      0x00000000000017E1

          VOL-                     0x0000000000001FD1

          VOL+                     0x00000000000017D0

          RED                      0x0000000000001FCB

          GREEN                    0x0000000000001FEE

          YELLOW                   0x00000000000017F8

          BLUE                     0x0000000000001FE9

          MUTE                     0x00000000000017CF

          BLANK                    0x0000000000001FCC

          FULL                     0x00000000000017FC

          REW                      0x0000000000001FF2

          PLAY                     0x00000000000017F5

          FFW                      0x0000000000001FF4

          RECORD                   0x00000000000017F7

          STOP                     0x0000000000001FF6

          PAUSE                    0x00000000000017F0

          REPLAY                   0x0000000000001FE4

          SKIP                     0x00000000000017DE

      end codes


end remote


Mythfrontend reports no problems connecting to the LIRC – nor does Mplayer – but then again – neither did irw. But the application never receives any data from lircd.


I took a look at the lircd code, intrumented a few tests, and found that in loop(), all messages received are of length zero. Likely a major clue to what is broken.


So – does anyone have some insight to offer to help me getting lirc to work? Thanks in advance.