• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

Remote recognized, irw receives signal, no love

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Stratus_ss

Overclockix Snake Charming Senior, Alt OS Content
Joined
Jan 24, 2006
Location
South Dakota
I have an lirc_mceusb2 remote. I followed the MythTV guide for this remote, and irw detects the key presses but things like xev and the actual OS doesnt respond to the remote

Code:
leoniteous@leoniteous-laptop ~ $ sudo irw
000000037ff07be1 00 Up mceusb
000000037ff07be1 01 Up mceusb
000000037ff07bde 00 Right mceusb
000000037ff07bdf 01 Left mceusb
000000037ff07bfd 00 Two mceusb
000000037ff07bfa 00 Five mceusb
000000037ff07bf1 00 Mute mceusb
000000037ff07bed 00 ChanUp mceusb
000000037ff07bec 00 ChanDown mceusb
000000037ff07bf2 00 Home mceusb
000000037ff07bdd 00 OK mceusb

lsusb
Code:
leoniteous@leoniteous-laptop ~ $ lsusb
Bus 001 Device 002: ID 413c:a005 Dell Computer Corp. Internal 2.0 Hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 1784:0008 TopSeed Technology Corp. 
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

dmesg

Code:
leoniteous@leoniteous-laptop ~ $ dmesg |tail
[  740.155571] usbcore: deregistering interface driver lirc_mceusb2
[  740.160284] lirc_mceusb2[3]: usb remote disconnected
[  743.638294] lirc_dev: IR Remote Control driver registered, major 61 
[  743.643011] 
[  743.643015] lirc_mceusb2: Philips eHome USB IR Transceiver and Microsoft MCE 2005 Remote Control driver for LIRC $Revision: 1.51 $
[  743.643019] lirc_mceusb2: Daniel Melander <[email protected]>, Martin Blatter <[email protected]>
[  743.756125] usb 4-2: reset full speed USB device using uhci_hcd and address 3
[  743.913740] lirc_dev: lirc_register_plugin: sample_rate: 0
[  743.917661] lirc_mceusb2[3]: Topseed Technology Corp. eHome Infrared Transceiver on usb4:3
[  743.917746] usbcore: registered new interface driver lirc_mceusb2

Not really sure where to go from here because the mythtv guide stops are irw and assumes the remote is working

I am still working on it.

Lirc version is 0.8.4a I tried building the newest snapshot from source but everytime I run the configure I get an error saying "Dialog not found"

I read the documentation but there was no clues as to what this means

Any help out there?

EDIT: the dialog error means that I didn't have the dialog package installed

EDIT 2: compiling the latest from source hasn't yielded anything new

EDIT 3: Further update the mceusb2 driver has my remote included
Code:
/* Topseed eHome Infrared Transceiver */
	{ USB_DEVICE(VENDOR_TOPSEED, 0x0008) },

still dont know what hte problem is

EDIT 4: can confirm that the lircrc file is setup correctly, at least it looks that way. Still digging
 
Last edited:
so after uninstalling and reinstalling it several times, and re-running the mythbuntu-lirc-generator

I finally have the remote working with vlc. XEV still doesnt recognize it which is strange and frustrating
 
xev still doesnt recognize the remote but most of the buttons work. Gave up on remapping the ones that dont everything seems to function as much as can be expected
 
xev still doesnt recognize the remote but most of the buttons work. Gave up on remapping the ones that dont everything seems to function as much as can be expected

LIRC should handle all your IR commands if set up correctly. Where are you stuck at this point? The applications are not tied to the remote, it works like your mouse (stand alone). Can you post your lirc.conf?
 
I should have said, I resolved my issue, and posted a guide.

With the ATI remotes, xev recognizes the buttons allowing you to remap them which makes for easier integration with programs and xbmc.

However the alternative, as was posted in the guide (which should show up on the front page soonish and is here in the AltOS section already) is to use irexec to do what you want
 
LIRC can be a pain. Myth must be recompiled with LIRC support, or there is a program you can run in the background (I think it is something like irxevent or something, but I don't use it, as I build mine in). In Gentoo, it's not bad, as you just add a lirc useflag, then all programs are compiled with lirc support. Also, you need to recompile myth after you compile qt sometimes.

There are 2 config files you write. The first maps ir signals to names on the remote, which you can set to anything you want. Then you write another config file that maps those names to specific keypresses it must simulate when that signal is received. Also, make sure you put it in the right place, and the 2nd file is user-specific I believe... I know that myth works fine with the remove when I run under the limited user mythtv, but not as root or any other user, as there is no config file set up.

So, make sure you have both config files set up, make sure the lircd and lircmd daemons are running, make sure lirc support is built into myth or irxevent (sp?) is running, and make sure the drivers (modules) for the remote are loaded.
 
Back