Issues with Windows Media Remote

I’m trying to set up a usb Windows Live Remote (The remote shown in this guide) on OpenSUSE 12.2. I come from an Ubuntu background and I am making the switch over and I am loving OpenSUSE except I cannot get my remote to work properly. It seems that the remote is working but the button mapping is wrong. The center OK button does nothing and the Enter button at the very bottom of the remote does this operation. In addition a number of the buttons do nothing. Unfortunately this is unusable for me. This functionality has worked out of the box and nothing I have done has changed this. I am comfortable with command line and I am a software developer but sadly I know little about lirc. I have spent a few hours getting more comfortable to no avail. On Ubuntu the procedure I would follow is below:

commands from your IR control/remote. To install it I opened a terminal window and typed:
sudo apt-get install lirc
The configuration takes place in the terminal window. Unfortunately I hadn’t a clue what I was doing and skipped the configuration. I restarted it by opening a terminal window and typing:
sudo dpkg-reconfigure lirc
The first screen will be for remotes, I chose
**“Windows Media Center Transceivers/Remotes (all)” **
For Receivers I chose
**“Microsoft Windows Media Center V2 (usb) : Direct TV Receiver”**

What I have already tried:

I added a /etc/lirc/hardware.conf file:

# /etc/lirc/hardware.conf
#
#Chosen Remote Control
REMOTE="Windows Media Center Transceivers/Remotes (all)"
REMOTE_MODULES="lirc_dev mceusb"
REMOTE_DRIVER=""
REMOTE_DEVICE="/dev/lirc0"
REMOTE_SOCKET=""
REMOTE_LIRCD_CONF="mceusb/lircd.conf.mceusb"
REMOTE_LIRCD_ARGS=""
~                        

I have added the contents of /usr/share/lirc/remotes/mceusb/lircd.conf.mceusb to /usr/share/lirc/remotes/devinput/lircd.conf.devinput and /etc/lirc/lircd.conf.

Output of lsusb:

mike-aspire:/etc/lirc # lsusb
Bus 002 Device 002: ID 0471:0815 Philips (or NXP) eHome Infrared Receiver
Bus 002 Device 003: ID 04f2:0963 Chicony Electronics Co., Ltd 
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Output of /etc/init.d/lirc status:

mike-aspire:/etc/lirc # /etc/init.d/lirc status
redirecting to systemctl
lirc.service - LSB: lirc daemon
      Loaded: loaded (/etc/init.d/lirc)
      Active: active (running) since Sun, 20 Jan 2013 21:20:18 -0500; 16min ago
     Process: 2643 ExecStart=/etc/init.d/lirc start (code=exited, status=0/SUCCESS)
      CGroup: name=systemd:/system/lirc.service
          └ 2657 /usr/sbin/lircd -H dev/input -d /dev/input/ir


Jan 20 21:20:18 mike-aspire lircd-0.9.0[2657]: lircd(devinput) ready, using /var/run/lirc/lircd
Jan 20 21:20:18 mike-aspire lirc[2643]: Starting lircd (/dev/input/ir)..done
Jan 20 21:20:31 mike-aspire lircd-0.9.0[2657]: accepted new client on /var/run/lirc/lircd
Jan 20 21:20:31 mike-aspire lircd-0.9.0[2657]: initializing '/dev/input/ir'

No matter what I do irw doesn’t print anything out even if I mash every single button on the remote.

The OpenSUSE guide tells me to install lirc-kmp-desktop however this package is not in the repositories I have.

Output of irrecord:

mike-aspire:/etc/lirc # irrecord -H irman -d /dev/input/ir testconf
Driver `irman' not supported.
Supported drivers:
    accent
    alsa_usb
    asusdh
    atilibusb
    atwf83
    audio_alsa
    awlibusb
    bte
    bw6130
    commandir
    creative
    creative_infracd
    default
    devinput
    dfclibusb
    dsp
    dvico
    ea65
    i2cuser
    irlink
    livedrive_midi
    livedrive_seq
    logitech
    macmini
    mp3anywhere
    mplay
    mplay2
    mouseremote
    mouseremote_ps2
    null
    pcmak
    pinsys
    pixelview
    samsung
    sb0540
    silitek
    srm7500libusb
    tira
    tira_raw
    udp
    uirt2
    uirt2_raw
    usb_uirt_raw
    usbx



It just looks like my configuration file is being completely ignored and I have no idea why. I have restarted /etc/init.d/lirc multiple times and restarted my computer and nothing takes effect. Does anyone have any idea what is happening? I have been working on this quite some time and trying to use the web to figure things out to no avail. Any help would be amazing! Let me know if there is any more information I can provide!

Cheers

Somehow I magically solved my problem. I found out that my lircd (the service that listens to your usb IR receiver was being called with the wrong device). The best way to correct this is by editing your /etc/init.d/lirc file and replacing the default LIRCD_DEVICE with the correct one for your system. Mine was /dev/lirc0.Replace the line:
if test -L “/dev/input/ir”; then

have input driver

LIRCD_DEVICE="/dev/input/ir"
With the lines:
if test -L “/dev/input/ir”; then

have input driver

LIRCD_DEVICE="/dev/lirc0"

On 01/21/2013 04:06 AM, meffect wrote:
> Somehow I magically solved my problem.

congratulations!!!
and, thank you for providing the solution here so others (who google in)
can benefit as well!!

as for differences between your former and current OS, you might find
some smiles at
http://tinyurl.com/ubuntu-to-openSUSE
and
http://tinyurl.com/Ubuntu-Differences

and, feel welcome to expand either of those…

one of the prime differences is in how we install/uninstall software
using YaST or zypper, some of the bright spots of that here:
http://doc.opensuse.org/documentation/html/openSUSE/opensuse-startup/part.reference.software.html

Have a lot of fun!
and when you get to it, FOSS can always enjoy a new helping software
developer :slight_smile:


dd
openSUSE®, the “German Engineered Automobile” of operating systems!