Page 2 of 2 FirstFirst 12
Results 11 to 18 of 18

Thread: MCE Remote lirc 11.10

  1. #11
    Join Date
    Jun 2007
    Location
    Southampton, England
    Beans
    45

    Re: MCE Remote lirc 11.10

    Cheers for your help on this. Ive done udev rules for my tv cards in the past to get them in the correct order and then pointed myth to the symlinks ie /dev/dvb/adapter100.

    However say we create a udev rule for the mce remote to /dev/input/irremote but how to I get that to stick to rc0?

    Thanks again

    lirc slowly loosing its appeal

  2. #12
    Join Date
    Jun 2007
    Location
    Southampton, England
    Beans
    45

    Re: MCE Remote lirc 11.10

    ok got it, then symlink /dev/input/irremote to /dev/input/event3

    Thanks for your help with this much appreciated

  3. #13
    Join Date
    Jun 2007
    Location
    Southampton, England
    Beans
    45

    Re: MCE Remote lirc 11.10

    Ok the udev rules doesnt seem to work. How do i get this to stick to rc0 each time? at present irremote seems to move to different event numbers in /dev/input/event*

  4. #14
    Join Date
    Apr 2008
    Location
    Birmingham UK
    Beans
    482
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: MCE Remote lirc 11.10

    As I understand it, the udev rule looks for something in the kernel messages, and then whatever event the device is matched with is linked to /dev/irremote, which you then point lirc at in the hardware.conf.

    so do a dmesg | grep mce, and you will see what can be used to match it.
    the one I posted identifies the Hauppuage remote by the string
    "IR-receiver inside an USB DVB receiver"
    ****************************
    ****************************
    The sig between the asterisks is SO COOL that only REALLY COOL people can even see it!

  5. #15
    Join Date
    Jun 2007
    Location
    Southampton, England
    Beans
    45

    Re: MCE Remote lirc 11.10

    Sorry the udev rule works fine

    Code:
    udevadm info -a -p $(udevadm info -q path -n /dev/input/event3)
    Gave me the info to setup the rule and it matches fine
    so I have /dev/input/irremote

    Problem is there is no ouput if i put /dev/input/irremote in hardware.conf

    Code:
    # /etc/lirc/hardware.conf
    #
    #Chosen Remote Control
    REMOTE="Windows Media Center Transceivers/Remotes (all)"
    REMOTE_MODULES="lirc_dev mceusb"
    REMOTE_DRIVER=""
    REMOTE_DEVICE="/dev/input/irremote"
    REMOTE_SOCKET=""
    REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
    REMOTE_LIRCD_ARGS=""
    
    #Chosen IR Transmitter
    TRANSMITTER="None"
    TRANSMITTER_MODULES=""
    TRANSMITTER_DRIVER=""
    TRANSMITTER_DEVICE=""
    TRANSMITTER_SOCKET=""
    TRANSMITTER_LIRCD_CONF=""
    TRANSMITTER_LIRCD_ARGS=""
    
    #Enable lircd
    START_LIRCD="true"
    
    #Don't start lircmd even if there seems to be a good config file
    #START_LIRCMD="false"
    
    #Try to load appropriate kernel modules
    LOAD_MODULES="true"
    
    # Default configuration files for your hardware if any
    LIRCMD_CONF=""
    
    #Forcing noninteractive reconfiguration
    #If lirc is to be reconfigured by an external application
    #that doesn't have a debconf frontend available, the noninteractive
    #frontend can be invoked and set to parse REMOTE and TRANSMITTER
    #It will then populate all other variables without any user input
    #If you would like to configure lirc via standard methods, be sure
    #to leave this set to "false"
    FORCE_NONINTERACTIVE_RECONFIGURATION="false"
    START_LIRCMD=""
    but it works fine with /dev/lirc0 or whatever lirc1 - depending on what rc0 or rc1 it matches up to

    As a side to this, the /usr/share/hal/fdi/preprobe/20thirdparty/lirc.fdi file does indeed block IR for lirc. Ive noticed it is in fact not my usb tuner IR but the one on my cx88 nova-t pci tuner which is not being blocked for some reason.

    Code:
    ?xml version="1.0" encoding="UTF-8"?>
    
    <deviceinfo version="0.2">
      <device>
         <match key="info.product" contains_ncase="saa7134 ir">
            <merge key="info.ignore" type="bool">true</merge>
         </match>
         <match key="info.product" contains_ncase="IR-Receiver">
            <merge key="info.ignore" type="bool">true</merge>
         </match>
         <match key="info.product" contains_ncase="cx88 IR">
            <merge key="info.ignore" type="bool">true</merge>
         </match>
         <match key="info.product" contains_ncase="bttv IR">
            <merge key="info.ignore" type="bool">true</merge>
         </match>
         <match key="info.product" contains_ncase="Budget-CI dvb ir receiver saa7146">
            <merge key="info.ignore" type="bool">true</merge>
         </match>
      </device>
    </deviceinfo>
    Last edited by Crowie; April 14th, 2012 at 05:02 PM.

  6. #16
    Join Date
    May 2011
    Beans
    67

    Re: MCE Remote lirc 11.10

    Wylie,

    Just started following this thread but have been reading your blog too.

    Did these issues/changes just start in 11.10? As I mentioned on your blog, I just moved to 11.04 and my MCE programmed Harmony was just fine.

    So am I correct in thinking I'll only have to face this moving to either 11.10 or 12.04? At least it gives me some breathing room.

  7. #17
    Join Date
    Apr 2008
    Location
    Birmingham UK
    Beans
    482
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: MCE Remote lirc 11.10

    Yes, replied on the blog too.
    As I recall, I had problems going from 10.10 to 11.10.
    It does seem that some remotes now have LIRC kernel drivers, while others have not yet been transferred.
    Not very satisfactory, but it is a transitional thing.
    ****************************
    ****************************
    The sig between the asterisks is SO COOL that only REALLY COOL people can even see it!

  8. #18
    Join Date
    Apr 2008
    Location
    Birmingham UK
    Beans
    482
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: MCE Remote lirc 11.10

    For /dev/input/irremote to work, you need to specify

    REMOTE_DRIVER="devinput"

    Not sure, but you might have to stop the modules from loading as well.
    ****************************
    ****************************
    The sig between the asterisks is SO COOL that only REALLY COOL people can even see it!

Page 2 of 2 FirstFirst 12

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
  •