You are not logged in.
@Perre:
don't mix it up. i still use lirc-utils (and so the lirc daemon) for xbmc. you don't need lirc (contains lirc_mceusb). add the lirc daemon to rc.conf again and neither blacklist any of the modules related to IR nor modprobe -r any of these modules in rc.local. restart. test with irw. all buttons should work, notice the double key problem. try modprobe -r ir_rc6_decoder. and test again. notice, that the double key problem is gone. (hopefully!)
apparently, this isn't the best solution. anyone?
Offline
I found a post from the lirc dev Jarod Wilson (http://www.gossamer-threads.com/lists/m … 693#460693):
> echo none +lirc > /sys/class/rc/rc0/protocols
>
> This will disable the in-kernel decoders and enable only the lirc bridge
> driver.
Solution:
- no need for lirc package (old modules)
- need for lirc-utils ("since full native input layer support is not quite a reality yet")
- no blacklisting
- ir-keytable -p lirc (does the same as discribed above for all remotes)
For now, i put the line above in rc.local, but a udev rule should be the better place...
Offline
I found a post from the lirc dev Jarod Wilson (http://www.gossamer-threads.com/lists/m … 693#460693):
> echo none +lirc > /sys/class/rc/rc0/protocols
>
> This will disable the in-kernel decoders and enable only the lirc bridge
> driver.Solution:
- no need for lirc package (old modules)
- need for lirc-utils ("since full native input layer support is not quite a reality yet")
- no blacklisting
- ir-keytable -p lirc (does the same as discribed above for all remotes)For now, i put the line above in rc.local, but a udev rule should be the better place...
Thanks for doing the legwork on this and providing multiple solutions.
Offline
@Perre:
don't mix it up. i still use lirc-utils (and so the lirc daemon) for xbmc. you don't need lirc (contains lirc_mceusb). add the lirc daemon to rc.conf again and neither blacklist any of the modules related to IR nor modprobe -r any of these modules in rc.local. restart. test with irw. all buttons should work, notice the double key problem. try modprobe -r ir_rc6_decoder. and test again. notice, that the double key problem is gone. (hopefully!)
apparently, this isn't the best solution. anyone?
I got a little confused, yes.
But now the remote is working perfectly. Putting the lirc daemon back in rc.conf and adding modprobe -r ir_rc6 in rc.local did the trick!
As falconindy said: Thanks for doing the work with this, ctxfi-user! It's greatly appreciated.
Offline
For now, i put the line above in rc.local, but a udev rule should be the better place...
Which package contains the binary for "ir-keytable"? Can't find that in lirc-utils.
Offline
@lynix:
It's v4l-utils. (The new IR modules are part of the V4L-DVB project.)
Offline
Ok, guys, I don't really understand what's going on here...
So... back then, I had a working iMon remote. Now, with the new kernel, I don't. the first time I had a problem, I think with kernel 2.6.35, just blacklisting "ir-core" was enough to get back to a working lircd. With 2.6.36, not anymore.
I tried:
- loading lirc_imon (apparently it's not needed anymore), but I don't have a /dev/lirc0
- doing:
# echo none +lirc > /sys/class/rc/rc0/protocols
# ir-keytable -p lirc
and now I get a crash in XBMC (!), and still no remote functionality.
- changing my /etc/conf.d/lircd.conf to:
LIRC_DEVICE="/dev/input/event5"
LIRC_DRIVER="devinput"
to no use.
What can I try now? And, what this change of getting the drivers into the kernel is good for, if it's so awfully complicated to get working something that was working perfectly before?
Thanks to anyone willing to help here, and sorry if I sound a little bit annoyed but... well, I am!
Last edited by palmaway (2010-12-12 05:58:13)
Offline
- changing my /etc/conf.d/lircd.conf to:
LIRC_DEVICE="/dev/input/event5"
LIRC_DRIVER="devinput"
to no use.
Ok... some good news!
The procedure quoted above actually worked, but (of course) I had to replace my existing /etc/lircd.conf with the default one for the driver "devinput".
Now everything seems to be fine again!
Offline
++lirc_problems; :\
My problem is a bit different.. irw does detect everything I press, however, irexec doesn't launch anything, and xbmc does nothing when I press a key... everything was working just fine and now it doesn't..
Did this happen to anyone else?
Best regards!
Last edited by guisacouto (2010-12-12 13:39:38)
Offline
Oh man I have the same issue of multiple presses but after reading through this thread I'm confused as to which "solution" to try lol
Last edited by colbert (2010-12-12 20:44:59)
Offline
Problem solved. If anyone has the same symptoms has I did the problem might me that the name of the remote changed.
Mine used to be mceusb, and now it is mceusb_hauppauge.. I didn't notice this and this was why irexec wasn't working (using wrong name!), and xbmc defaults to mceusb so I just had to change /opt/xbmc/system/Lircmap.xml to use mceusb_hauppauge too.
Hope this is useful to someone!
best regards!
Offline
1. DO NOT remove lirc or REINSTALL it if you removed it
2. CHANGE rc.conf modules section to something like thisMODULES=(...... !ir_core lirc_mceusb ......)
3. reboot
THIS worked for me!
After an upgrade today, this worked for me! Much easier and less time-consuming than a kernel recompile! My computer + Linux = TIME VAMPIRE
Offline
Variation on the theme that worked for my Microsoft RC6 remote / Hauppauge Nova-T-500:
1. Keep lirc-utils installed and lircd in the rc.conf DAEMONS array.
2. Uninstall lirc.
3. Replace lirc_mceusb with mceusb in the rc.conf MODULES array.
4. Create /etc/modprobe.d/dvb-usb.conf containing
options dvb_usb disable_rc_polling=1
to resolve the double-keystroke problem without blacklisting any modules.
5. Add
/usr/bin/ir-keytable -p lirc
to /etc/rc.local.
Offline
Post 37 quote worked for me as well after reboot Also, I had issue on my laptop with libusb-compat, and all that was needed was a reinstall of libusb-compat, a reboot and it works
Offline
I know this thread is a couple months old, but with recent updates to lirc, they seem to have completely dropped support for the lirc_mceusb module. I had previously used this as a quick fix, like some users suggested. Now, I found that everything is fixed and working as before by implementing what had been previously stated in this thread:
I found a post from the lirc dev Jarod Wilson (http://www.gossamer-threads.com/lists/m … 693#460693):
> echo none +lirc > /sys/class/rc/rc0/protocols
>
> This will disable the in-kernel decoders and enable only the lirc bridge
> driver.
Variation on the theme that worked for my Microsoft RC6 remote / Hauppauge Nova-T-500:
1. Keep lirc-utils installed and lircd in the rc.conf DAEMONS array.
2. Uninstall lirc.
3. Replace lirc_mceusb with mceusb in the rc.conf MODULES array.
4. Create /etc/modprobe.d/dvb-usb.conf containingoptions dvb_usb disable_rc_polling=1
to resolve the double-keystroke problem without blacklisting any modules.
5. Add/usr/bin/ir-keytable -p lirc
to /etc/rc.local.
I did not have to add mceusb to my MODULES line in rc.conf, it was automatically detected with udev enabled. I'm not sure if the line
echo none +lirc > /sys/class/rc/rc0/protocols
is absolutely necessary, but it is compatible with my AVS Gear MCE remote.
Offline
I've encountered broken LIRC again after rebooting my laptop. I have no lirc_mceusb/2 or lirc-mceusb/2 module when trying to load any. I have uninstalled and reinstalled LIRC, moved my /etc/lircd.conf to /etc/lirc/lircd.conf, restarted LIRC, and loaded the mceusb module. Trying irw shows no recognition of button presses at all
edit:
I found a post from the lirc dev Jarod Wilson (http://www.gossamer-threads.com/lists/m … 693#460693):
> echo none +lirc > /sys/class/rc/rc0/protocols
>
> This will disable the in-kernel decoders and enable only the lirc bridge
> driver.
I don't have any /sys/class/rc/rc0/protocols when trying this command.
Variation on the theme that worked for my Microsoft RC6 remote / Hauppauge Nova-T-500:
1. Keep lirc-utils installed and lircd in the rc.conf DAEMONS array.
2. Uninstall lirc.
3. Replace lirc_mceusb with mceusb in the rc.conf MODULES array.
4. Create /etc/modprobe.d/dvb-usb.conf containingoptions dvb_usb disable_rc_polling=1
to resolve the double-keystroke problem without blacklisting any modules.
5. Add/usr/bin/ir-keytable -p lirc
to /etc/rc.local.
I did this, rebooted and still the same
Last edited by colbert (2011-04-08 05:30:20)
Offline
Well, my remote's still working properly but I'm using the mceusb module that ships with kernel26 and don't have the lirc package installed, only lirc-utils. Did you by any chance mix up your lircd.confs? /etc/conf.d/lircd.conf should be something like
#
# Parameters for lirc daemon
#
LIRC_DEVICE="/dev/lirc0"
LIRC_DRIVER=""
LIRC_EXTRAOPTS=""
LIRC_CONFIGFILE=""
and /etc/lirc/lircd.conf should be
#
# brand: HP
# model no. of remote control: TSGH-IR01
# devices being controlled by this remote: HP Slimline S3100y
#
# RC-6 config file
[etc]
Offline
Since the Lirc update i have the same problem like colbert.
Previously i was using lirc_mceusb but now it's not available. I tried to set up mceusb module instead, uninstall lirc and copying the mceremoteconfig to /etc/lirc/lircd.conf
Only the Up,left,right,down and volume keys are working. With lirc_mceusb everything was working perfect.
I'm using an original Microsoft MCE Remote (RC6)v2 with the original IR-Receiver.
Last edited by plantoschka (2011-04-08 22:27:52)
Offline
Well, my remote's still working properly but I'm using the mceusb module that ships with kernel26 and don't have the lirc package installed, only lirc-utils. Did you by any chance mix up your lircd.confs? /etc/conf.d/lircd.conf should be something like
# # Parameters for lirc daemon # LIRC_DEVICE="/dev/lirc0" LIRC_DRIVER="" LIRC_EXTRAOPTS="" LIRC_CONFIGFILE=""
and /etc/lirc/lircd.conf should be
# # brand: HP # model no. of remote control: TSGH-IR01 # devices being controlled by this remote: HP Slimline S3100y # # RC-6 config file [etc]
Nope, they are correct. This is kind of baffling
Offline
I'm sure that I'm not doing anything special. What's in the logs?
$ dmesg | grep -e lirc -e LIRC -e mceusb
lirc_dev: IR Remote Control driver registered, major 251
IR LIRC bridge handler initialized
usbcore: registered new interface driver mceusb
rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
mceusb 5-2:1.0: Registered Philips eHome Infrared Transceiver on usb5:2
Offline
$ dmesg | grep -e lirc -e LIRC -e mceusb
lirc_dev: IR Remote Control driver registered, major 252
IR LIRC bridge handler initialized
usbcore: registered new interface driver mceusb
rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
mceusb 4-2:1.0: Registered Philips eHome Infrared Transceiver on usb4:3
My output looks almost like yours but remote still not working :-(
Offline
As was mentioned, you need to modify /sys/class/rc/rc0/protocols. (you can either use "none +lirc" or just "lirc") If that file doesn't exist, make sure your remote is plugged in and the mceusb module is loaded.
Another change they made was changing the button names in the default provided lircd.conf file, so be careful if you implement your lircd.conf file by including the default one, or overwrote your lircd.conf file when debugging the issue. (that ended up happening to me...)
I started a thread earlier that documents the issues, since I didn't see this thread until now. (https://bbs.archlinux.org/viewtopic.php?id=116515) I also updated the wiki page documenting both issues, and I included the old lircd.conf in case you're stuck with the new one that changed the button names.
Last edited by akb825 (2011-04-09 10:03:21)
Offline
As was mentioned, you need to modify /sys/class/rc/rc0/protocols. (you can either use "none +lirc" or just "lirc") If that file doesn't exist, make sure your remote is plugged in and the mceusb module is loaded.
Finally worked for me. The protocols file now look like this:
rc-5 nec rc-6 jvc sony [lirc]
Offline
ir-keytable from the v4l-utils package, which is what I've been using, has the same effect:
$ sudo ir-keytable -p lirc
Password:
Protocols changed to LIRC
$ cat /sys/class/rc/rc0/protocols
rc-5 nec rc-6 jvc sony [lirc]
Offline
I've posted my problem here https://bugs.archlinux.org/task/24275. The problem is with kernel 2.6.37 and newer... I can't figure it out what has changed or if I could find some changelog between the 2.6.36 and 2.6.37. that would probably help
EDIT: found the changelog http://kernelnewbies.org/Linux_2_6_37 but nothing indicates what would be the problem...
EDIT2: Ok, with 2.6.36 I have nothing in /sys/class/rc/ and the remote works out of the box. With next kernel and newer I have now /sys/class/rc/rc0/... which is probably where the bug is, this is created as extra and it obviously interferes with the remote often accepting one click as two... What to do, what to do.
Last edited by Clouseau (2011-05-18 18:14:56)
Offline