Lirc not yet functional in 11.4

It is likely your lircd or lircrc file that is at fault.

I have a mceusb2 and have a working lircd and lircrc file. However the double and sometimes triple entries for me were because the mceusb was trying to act as a keyboard. Once I disabled that it behaved and worked as it always had in numerous kernel releases.

If adding that file disables the whole thing my guess is your lircd file is not complete.

Can you post it and I can have a look and compare it to mine.

I went back and looked at my first post and can’t edit that post. In it I said you needed a lircrc in /etc/lirc That should have read you need a lircrd.conf file in /etc/lirc

You then of course will need a lircrc in your mythtv hidden directory and a .lircrc in your home directory.

I wouldn’t call the efforts of compiling heroic - writing the manual was more work :slight_smile:
You are correct, lirc-0.9.0-pre1 is not really necessary. I got confused by some thread were it stated that lirc-0.9.0 better supports the now built-in support for lirc in the kernel. This may or may not be the case, I can not tell for sure.
However, the lirc package included in openSUSE 11.4 (0.8.7) works just fine with my manual steps 1.6 and 2.1 (just as you said).
However, kremotecontrol does not work - but the problem could be unrelated. See also Bug 260271 - Kremotecontrol daemon not working

Sorry, jumping the gun again.

kremotecontrol works fine - I mis-configured XBMC: I set “Remote control sends keyboard presses” to yes - which prevents
kremotecontrol from picking up any of the key-presses from the remote.

So for the iMON-Pad (Device ID 15c2:ffdc) I can now say:
LIRC: working
irw: working
kremotecontrol: working
XBMC: working

The only things I had to do were configure lirc in /etc/sysconfig/lirc and copy the correct lircd.conf to /etc/lirc/

Thanks for all your help in understanding lirc a little better.

Cheers

Martin

Edit1: Typo

This is true, (as far as I can tell at least) version 0.9.0 is being developed with the understanding that the LIRC kernel modules that used to be compiled with LIRC (and technically still can be) are merged in to the kernel and 0.9.0 is utilizing the lirc.h header file as merged into the kernel source. However, given that, the driver you are using (devinput) does not use kernel modules–it is implemented in userspace, so 0.8.7 should be just as good in your case, and in fact might be a tad more stable than the development version of 0.9.0.

However, kremotecontrol does not work - but the problem could be unrelated. See also Bug 260271 - Kremotecontrol daemon not working

I see from your reply below that you’ve got kremotecontrol working too, good to hear.

Hi All,

Not only am I up and running, but I learned some new Linux stuff from Martin and Poorboy Willy. In the end Bruce was the man for me. Bruce, your quirks.conf file came through in eliminating the double command mess. And it worked all along. :)I’ve been testing this on a slow Atom/Ion system and the clue was patience. After a reboot there was no LIRC . . . for about 15 seconds or so. If I wait a bit before I start up MythTV, it works like a charm.

I want to thank you all you for the friendly support. Linux Rocks!

Wessel

Your welcome I am glad I could help :peace:

I’ve tried many tips I found in this topic but it still does not work with my Philips SRM 7500. I came a little further but still no succes. If I start irw lirc starts dumping errors:

/usr/local/sbin/lircd --nodaemon --output=/var/run/lirc/lircd --device=macShortAddress=12:34,remoteShortAddress=56:78,macPANId=9a:bc
lircd: lircd(srm7500libusb) ready, using /var/run/lirc/lircd
lircd: accepted new client on /var/run/lirc/lircd
lircd: initializing driver
lircd: 802.15.4 network parameters
lircd: macShortAddress 12:34
lircd: macPANId 9a:bc
lircd: LogicalChannel 19
lircd: remoteShortAddress 56:78
lircd: macBeaconPayload PHILIPSlinux-sxua
lircd: initializing Philips USB receiver
lircd: could not detach kernel driver: No such file or directory
lircd: initializing Philips USB receiver
lircd: could not detach kernel driver: No such file or directory
lircd: initializing Philips USB receiver
lircd: could not detach kernel driver: No such file or directory
lircd: initializing Philips USB receiver
lircd: could not detach kernel driver: No such file or directory
lircd: initializing Philips USB receiver
lircd: could not detach kernel driver: No such file or directory
[etc etc]

Any help?

Hi, I tried your trick, but I still get double and triple keys from the remote. Don’t know much about X, so any ideas on how to debug why the quirks file is not working in my setup?

I get this in my boot sequence, so I believe your trick should work:

<6>    5.508035] Registered IR keymap rc-rc6-mce
<6>    5.508303] input: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815) as /devices/pci0000:00/0000:00:02.0/usb3/3-1/3-1:1.0/rc/rc0/input3
<6>    5.508461] rc0: Media Center Ed. eHome Infrared Remote Transceiver (0471:0815) as /devices/pci0000:00/0000:00:02.0/usb3/3-1/3-1:1.0/rc/rc0
<6>    5.508574] mceusb 3-1:1.0: Registered Philips eHome Infrared Transceiver on usb3:2
<6>    5.508686] usbcore: registered new interface driver mceusb
<6>    5.518271] lirc_dev: IR Remote Control driver registered, major 251 
<6>    5.520352] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
<6>    5.520452] IR LIRC bridge handler initialized

Thanks

Hi,

I’ve been having similar issues with the MCE remote and found this thread very interesting to read. Hopefully it’s ok to add my questions to the thread rather than starting a new one.

I’ve been using Suse and Myth for years now and recently bought some new hardware to be able to use DVB-T in HD. One thing i’ve been holding off on is getting the MCE remote(s) to work but the day has finally come :slight_smile:

It seems that LIRC is recognizing the USB receiver fine, and can load all the modules and start lirc. Logs indicate it is recognized but have not been able to get any meaningful output. I think my problem is that suse 11.4 recognized the keyboard as a HID and might prevent Lirc from using it? The silver arrow keys work, and the volume but that even when I do not run lirc (hence me thinking it’s seen as a HID). I’ve tried the 10-quirks.conf trick, but that does not seem to do anything. (no errors in the log either)

irw starts with no errors (also when I point it to /dev/lirc0) but no output whatsoever.

I was hoping there’s another way to prevent the remote being recognized as HID. Or is this not supposed to interfere?

all lirc modules are loaded fine (usbmce, lirc_dev). dmesg lists Media Centre Ed. eHome Infrared Remote Tranciever as registered with no errors in the logs anywhere.

Eventually, I’d like to have the keyboard working outside Myth too, so I can do some surfing etc…

Cheers
Johan

Hi all,

I still have trouble with LIRC in Suse 11.4.

I’m using Hauppauge WinTV-HVR1110 card that has a IR receiver on it, and works fine in Suse 11.3, but NOT in version 11.4

Kernel seems to detect the TV card and also find that has a IR receiver (below a piece of boot.msg), but no input driver is registered
<6> 7.039585] lirc_dev: IR Remote Control driver registered, major 251
<6> 7.054795] IR LIRC bridge handler initialized
<6> 7.073717] FDC 0 is a post-1991 82077
<6> 7.099840] saa7130/34: v4l2 driver version 0.2.16 loaded
<6> 7.104551] saa7134 0000:02:00.0: PCI INT A → GSI 21 (level, low) → IRQ 21
<6> 7.109102] saa7133[0]: found at 0000:02:00.0, rev: 209, irq: 21, latency: 84, mmio: 0xfdeff000
<6> 7.118552] saa7133[0]: subsystem: 0070:6701, board: Hauppauge WinTV-HVR1110 DVB-T/Hybrid [card=104,autodetected]
<6> 7.128731] saa7133[0]: board init: gpio is 6400000
<6> 7.273036] saa7133[0]: i2c eeprom 00: 70 00 01 67 54 20 1c 00 43 43 a9 1c 55 d2 b2 92
<6> 7.278430] saa7133[0]: i2c eeprom 10: ff ff ff 0e ff 20 ff ff ff ff ff ff ff ff ff ff
<6> 7.283748] saa7133[0]: i2c eeprom 20: 01 40 01 32 32 01 01 33 88 ff 00 aa ff ff ff ff
<6> 7.288908] saa7133[0]: i2c eeprom 30: ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff ff
<6> 7.294129] saa7133[0]: i2c eeprom 40: ff 21 00 c2 96 10 03 32 15 60 ff ff ff ff ff ff
<6> 7.299483] saa7133[0]: i2c eeprom 50: ff 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<6> 7.304812] saa7133[0]: i2c eeprom 60: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<6> 7.309922] saa7133[0]: i2c eeprom 70: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00
<6> 7.314858] saa7133[0]: i2c eeprom 80: 84 09 00 04 20 77 00 40 b0 9f 12 f0 73 05 29 00
<6> 7.319672] saa7133[0]: i2c eeprom 90: 84 08 00 06 cb 05 01 00 94 18 89 72 07 70 73 09
<6> 7.324476] saa7133[0]: i2c eeprom a0: 23 5f 73 0a fc 72 72 0b 2f 72 0e 01 72 0f 03 72
<6> 7.329202] saa7133[0]: i2c eeprom b0: 10 01 72 11 ff 79 0d 00 00 00 00 00 00 00 00 00
<6> 7.333848] saa7133[0]: i2c eeprom c0: 84 09 00 04 20 77 00 40 b0 9f 12 f0 73 05 29 00
<6> 7.338468] saa7133[0]: i2c eeprom d0: 84 08 00 06 cb 05 01 00 94 18 89 72 07 70 73 09
<6> 7.342982] saa7133[0]: i2c eeprom e0: 23 5f 73 0a fc 72 72 0b 2f 72 0e 01 72 0f 03 72
<6> 7.347487] saa7133[0]: i2c eeprom f0: 10 01 72 11 ff 79 0d 00 00 00 00 00 00 00 00 00
<6> 7.351985] tveeprom 1-0050: Hauppauge model 67019, rev B1B4, serial# 1220528
<6> 7.356326] tveeprom 1-0050: MAC address is 00:0d:fe:12:9f:b0
<6> 7.360630] tveeprom 1-0050: tuner model is Philips 8275A (idx 114, type 4)
<6> 7.364904] tveeprom 1-0050: TV standards PAL(B/G) NTSC(M) PAL(I) SECAM(L/L’) PAL(D/D1/K) ATSC/DVB Digital (eeprom 0xfc)
<6> 7.373344] tveeprom 1-0050: audio processor is SAA7131 (idx 41)
<6> 7.377659] tveeprom 1-0050: decoder processor is SAA7131 (idx 35)
<6> 7.381883] tveeprom 1-0050: has radio, has IR receiver, has IR transmitter
<6> 7.386157] saa7133[0]: hauppauge eeprom: model=67019
<6> 7.785654] cfg80211: World regulatory domain updated:
<6> 7.789993] (start_freq - end_freq @ bandwidth), (max_antenna_gain, max_eirp)
<6> 7.794434] (2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6> 7.799152] (2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
<6> 7.806837] (2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
<6> 7.811294] (5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<6> 7.815203] (5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
<7> 7.876608] ieee80211 phy0: Selected rate control algorithm ‘minstrel_ht’
<7> 7.877416] Registered led device: rt2500usb-phy0::radio
<7> 7.877442] Registered led device: rt2500usb-phy0::quality
<6> 7.877941] usbcore: registered new interface driver rt2500usb
<4> 8.584073] nvidia: module license ‘NVIDIA’ taints kernel.
<4> 8.587794] Disabling lock debugging due to kernel taint
<6> 8.601268] tuner 1-004b: chip found @ 0x96 (saa7133[0])
<6> 8.642013] tda829x 1-004b: setting tuner address to 61
<6> 8.684010] tda829x 1-004b: type set to tda8290+75a
<6> 9.469420] nvidia 0000:01:00.0: PCI INT A → GSI 16 (level, low) → IRQ 16
<7> 9.473474] nvidia 0000:01:00.0: setting latency timer to 64
<6> 9.473481] vgaarb: device changed decodes: PCI:0000:01:00.0,olddecodes=io+mem,decodes=none:owns=io+mem
<4> 9.482432] NVRM: loading NVIDIA UNIX x86_64 Kernel Module 275.21 Mon Jul 18 14:40:18 PDT 2011
<6> 12.060154] saa7133[0]: registered device video0 [v4l2]
<6> 12.065021] saa7133[0]: registered device vbi0
<6> 12.069656] saa7133[0]: registered device radio0
<6> 13.037634] dvb_init() allocating 1 frontend
<6> 13.142145] DVB: registering new adapter (saa7133[0])
<4> 13.146791] DVB: registering adapter 0 frontend 0 (Philips TDA10046H DVB-T)…
<6> 13.178054] tda1004x: setting up plls for 48MHz sampling clock
<6> 13.350036] tda1004x: found firmware revision 20 – ok
<6> 13.846495] saa7134 ALSA driver for DMA sound loaded
<6> 13.850959] saa7133[0]/alsa: saa7133[0] at 0xfdeff000 irq 21 registered as card -1

So in order to follow your recommendations and fill up the configuration in /etc/sysconfig/lirc (LIRCD_DRIVER and LIRCD_DEVICE) I need to know which is the device driver. That by the way are empty fields in Suse 11.3 (but works)

Many thanks

I also had trouble to get lircd running. I found the solution in ](fernbedienung x10 linux Archive - repats blog). The command

sudo irrecord -H atilibusb /etc/lirc/lirc.conf

worked with me although there is no module ati_libusb on my system. This gave me the idea to start licrcd with also specifying the driver. So I set

LIRCD_DRIVER=“atilibusb”

in /etc/sysconfig/lirc and ho .

. /etc/init.d/lirc start
no works, and with this also the remote control.:slight_smile: