Page 1 of 2 12 LastLast
Results 1 to 10 of 14

Thread: lirc fix in 10.04

  1. #1
    Join Date
    Nov 2009
    Beans
    32

    lirc fix in 10.04

    Any solid fix for the lirc bug in 10.04 as yet? I did a fresh install of 10.04 and as many have reported, their remote doesn't function. I'm running a Hauppage 250 w/ the old gray remote. irw from the command prompt produces no output at all with remote button presses And the standard dmesg | grep lirc shows the expected leadtek IR loaded.

    Module versions;

    lirc_dev 2.6.32-25-generic
    lirc_i2c 2.6.32-25-generic

    Unfortunately I'm just dipping my foot into the the ubuntu pool, so I know just enough to be dangerous. Any cut and paste solutions around? Should i upgrade to 10.10?

    Any advice would be great - operating Mybuntu with my keyboard is fun, but the novelty is starting to wear off

    Rob

  2. #2
    Join Date
    Aug 2007
    Beans
    73

    Re: lirc fix in 10.04

    Supposedly there is a bug in lirc that has been fixed in lirc 0.8.7. Incidentally, lirc 0.8.7 is supplied with 10.10 but not 10.04 (I'm in the same boat as you with a PVR-350 card).
    If you Google "lirc 0.8.7" you can find the lirc website and they have directions on how to install 0.8.7. However, unless you are fairly experienced with Linux those directions are going to be a bit long in the tooth to follow (they are for me).
    I'm holding off on upgrading to 10.10 until some of the (inevitable) bugs have been fixed. I did upgrade from 9.10 (or maybe it was 9.04) to 10.04 and it went amazingly well. I haven't heard much about upgrade problems here on the list though so it is promising ....

    IC

  3. #3
    Join Date
    Aug 2010
    Beans
    10

    Re: lirc fix in 10.04

    Just want to add that lirc is not working for us in 10.04 either. This is the first time we've tried to use it so we thought we were just being noobs. We're trying to use a homebrew IR blaster to control our set top box. We installed lirc using Synaptic and pasted the config file from here into /etc/lirc/lircd.conf. We are testing our IR blaster using
    Code:
    irsend send_start Comcast_3067BC2-R KEY_1
    So far nothing is coming out of the serial port. From our understanding, DTR (pin 4) should change after issuing that command but it stays at a steady -11.32 V.

    Code:
    dmesg | grep lirc
    [   19.186435] lirc_dev: IR Remote Control driver registered, major 61 
    [   20.310032] lirc_serial: auto-detected active low receiver
    [   20.310036] lirc_dev: lirc_register_driver: sample_rate: 0
    [   20.310098] lirc_serial $Revision: 5.104 $ registered
    We're hoping to see a solution for 10.04 instead of having to upgrade to 10.10. If nothing else, does anybody know if lirc 0.8.7 will be available for 10.04 without us having to compile it?

  4. #4
    Join Date
    May 2008
    Location
    Michigan
    Beans
    249
    Distro
    Ubuntu 11.04 Natty Narwhal

    Re: lirc fix in 10.04

    I tried a fresh install of 10.10 and unfortunately there is not an easy solution for the lirc problem that I can see. This seems to be kernel related, because if 10.04 upgrades to kernel 2.6.32-25 lirc breaks.

    The easiest solution I found was:

    cd /boot/grub

    cp grub.cfg grub.cfg.bak (backup grub config, so it can be restored just in case)

    comment out or remove:

    Code:
    }
    menuentry 'Ubuntu, with Linux 2.6.32-25-generic-pae' --class ubuntu --class gnu-linux --class gnu --class os {
            recordfail
            insmod ext2
            set root='(hd1,1)'
            search --no-floppy --fs-uuid --set 35fdb7b7-3389-4a6c-90ae-1e884679a12d
            linux   /boot/vmlinuz-2.6.32-25-generic-pae root=UUID=35fdb7b7-3389-4a6c-90ae-1e884679a12d ro   crashkernel=384M-2G64M,$
            initrd  /boot/initrd.img-2.6.32-25

    Use the next kernel in the list, in my case, 2.6.32-25-generic-pae. After a reboot, lirc worked fine. Make sure you keep the same formating in grub.cfg otherwise ubuntu won't boot (see example above).
    Last edited by sr_guy; October 20th, 2010 at 03:32 PM.

  5. #5
    Join Date
    Oct 2004
    Location
    NH, USA
    Beans
    300
    Distro
    Ubuntu 9.04 Jaunty Jackalope

    Re: lirc fix in 10.04

    I have several Hauppauge PVR cards (150, 350, and 500) and been using the silver A415 silver remote with Mythbuntu 8.04.

    After upgarding to 10.04, this Hauppauge remote does not work. No response by irw. Searching for a fix. If I find one, I will post it here.
    Long time Mythbuntu User. Current Mythbuntu System: Intel i3, 4Gb RAM, 1.3 TB Storage, Mythbuntu 12.04/0.27 fixes, HDTV 5500 Tuner, Ceton Infiniti 4 Tuner

  6. #6
    Join Date
    Mar 2008
    Beans
    1,086

    Re: lirc fix in 10.04

    Quote Originally Posted by IceCap View Post
    Supposedly there is a bug in lirc that has been fixed in lirc 0.8.7. Incidentally, lirc 0.8.7 is supplied with 10.10 but not 10.04 (I'm in the same boat as you with a PVR-350 card).
    If you Google "lirc 0.8.7" you can find the lirc website and they have directions on how to install 0.8.7. However, unless you are fairly experienced with Linux those directions are going to be a bit long in the tooth to follow (they are for me).
    I'm holding off on upgrading to 10.10 until some of the (inevitable) bugs have been fixed. I did upgrade from 9.10 (or maybe it was 9.04) to 10.04 and it went amazingly well. I haven't heard much about upgrade problems here on the list though so it is promising ....

    IC
    I hesitate to mention this, but lirc is a fairly benign little package, and there is leeway in which versions of lirc will run on which Ubuntu. If you're reasonably sure that 0.8.7 will fix your issues and don't want to compile it --the lirc.org source's "make_install" tends to put things in the wrong directories from the standpoint of Debian/Ubuntu systems --then there's a good chance that the 10.10 .deb for lirc 0.8.7 (from packages.ubuntu.com) will install and run on 10.04. This has worked in other circumstances: when I needed XMP support in lirc in Ubuntu 9.04, I replaced its included lirc 0.8.4a with 0.8.6 from Ubuntu 9.10, and things were fine.

    There are a couple of caveats: once the lirc version was changed, all further configuration of lirc had to be done from the ncurses comand-line menu that appears after "sudo dpkg-reconfigure lirc", rather than from, say, the Mythbuntu control center.

    Also, if the later version proves unsatisfactory for whatever reason, backing the version down to the earlier one is not completely trivial on Mythbuntu the way it is on some other distros. The later version of lirc has to be uninstalled prior to the earlier one being reinstalled; and in this the .deb package manager will likely insist on also ripping out most of Mythtv, for which lirc is a dependency. These packages would need to be reinstalled along with the older lirc version.

  7. #7
    Join Date
    Aug 2007
    Beans
    73

    Re: lirc fix in 10.04

    Quote Originally Posted by klc5555 View Post
    I hesitate to mention this, but lirc is a fairly benign little package, and there is leeway in which versions of lirc will run on which Ubuntu. If you're reasonably sure that 0.8.7 will fix your issues and don't want to compile it --the lirc.org source's "make_install" tends to put things in the wrong directories from the standpoint of Debian/Ubuntu systems --then there's a good chance that the 10.10 .deb for lirc 0.8.7 (from packages.ubuntu.com) will install and run on 10.04. This has worked in other circumstances: when I needed XMP support in lirc in Ubuntu 9.04, I replaced its included lirc 0.8.4a with 0.8.6 from Ubuntu 9.10, and things were fine.

    There are a couple of caveats: once the lirc version was changed, all further configuration of lirc had to be done from the ncurses comand-line menu that appears after "sudo dpkg-reconfigure lirc", rather than from, say, the Mythbuntu control center.

    Also, if the later version proves unsatisfactory for whatever reason, backing the version down to the earlier one is not completely trivial on Mythbuntu the way it is on some other distros. The later version of lirc has to be uninstalled prior to the earlier one being reinstalled; and in this the .deb package manager will likely insist on also ripping out most of Mythtv, for which lirc is a dependency. These packages would need to be reinstalled along with the older lirc version.
    Yeah, that's pretty much what I figured after reading the info on the lirc website. Looks like they moved things around so the files aren't located in the same places. So I think I'm going to pass on trying this. Either just use my wireless keyboard or wait for 10.10 bugs (are there any?) to be ironed out.


    IC

  8. #8
    Join Date
    Mar 2008
    Beans
    1,086

    Re: lirc fix in 10.04

    Quote Originally Posted by IceCap View Post
    Yeah, that's pretty much what I figured after reading the info on the lirc website. Looks like they moved things around so the files aren't located in the same places. So I think I'm going to pass on trying this. Either just use my wireless keyboard or wait for 10.10 bugs (are there any?) to be ironed out.


    IC
    Sorry, my current motley assembly of Xubuntu-ish machines are all floating around among 9.04, 9.10, and 10.04. No 10.10 yet to directly address your question.

    But there are always bugs. The best you can hope for with perpetual cutting edge upgrades is that fixage >= breakage. Not always the case.

  9. #9
    Join Date
    Nov 2009
    Beans
    32

    lirc fix in 10.04 - upgraded to lirc lirc 0.8.7

    I did a fresh 10.04 install and yesterday when perusing the latest available10.04 updates. I saw lirc 0.8.7 listed and seeing as it's been mentioned in many threads as a possible fix for getting the haupage grey remote working I decided to give it a go.

    I installed the 0.8.7 update and still a no go. IRW still produces no output with key presses on the remote.

    Also:

    dmesg | grep lirc
    [ 16.546283] lirc_dev: IR Remote Control driver registered, major 61
    [ 17.437953] lirc_i2c: chip 0x0 found @ 0x18 (Leadtek IR)
    [ 17.437959] lirc_dev: lirc_register_driver: sample_rate: 10

    As above Leadtek is still referenced. Any thoughts from the Ubuntu Collective on other options.

    ----

    I'm not sure if it's worth mentioning also that lirc_d and lirc_dev are running as processes

    I tried updating to 10.10 and it still didn't work unfortunately (I wound up reinstalling 10.04 after major issues with support with my video card).

    Thanks muchly for any advice.
    Last edited by sudanmas; October 25th, 2010 at 03:50 PM.

  10. #10
    Join Date
    Feb 2008
    Beans
    3

    Re: lirc fix in 10.04

    I'm running a WinPVR 350 on mythbuntu 10.04. I wasn't getting anything from the remote using "cat /dev/lirc0" or irw. Compiling the 0.8.7 module from maverick worked for me. On my 10.04 mythbuntu install, I grabbed the source package from here: http://packages.ubuntu.com/maverick/...ource/download
    ...and installed it(dpkg -i). That caused dkms to compile it. Rebooted and the remote started working. Note: I'm still using the lircd(0.8.6) that comes with 10.04.

Page 1 of 2 12 LastLast

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •