Solved Struggle to get ir remote working on Asus H87i-Plus w/xbmcbuntu
#16
From my dmesg
Code:
[   15.305662] Registered IR keymap rc-rc6-mce
[   15.305758] input: Media Center Ed. eHome Infrared Remote Transceiver (1934:5168) as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/rc/rc0/input18
[   15.305863] rc0: Media Center Ed. eHome Infrared Remote Transceiver (1934:5168) as /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0/rc/rc0
[   15.308475] IR NEC protocol handler initialized
[   15.310980] IR RC5(x) protocol handler initialized
[   15.317469] IR RC6 protocol handler initialized
[   15.318497] IR JVC protocol handler initialized
[   15.318634] IR Sony protocol handler initialized
[   15.319838] IR SANYO protocol handler initialized
[   15.320637] IR MCE Keyboard/mouse protocol handler initialized
[   15.321370] lirc_dev: IR Remote Control driver registered, major 250
[   15.322555] IR LIRC bridge handler initialized
[   15.322740] input: MCE IR Keyboard/Mouse (mceusb) as /devices/virtual/input/input19
[   15.322859] rc rc0: lirc_dev: driver ir-lirc-codec (mceusb) registered at minor = 0
[   15.465345] mceusb 1-1.3:1.0: Registered FINTEK eHome Infrared Transceiver with mce emulator interface version 2
[   15.465348] mceusb 1-1.3:1.0: 0 tx ports (0x0 cabled) and 2 rx sensors (0x1 active)
[   15.465383] usbcore: registered new interface driver mceusb

It's something about how you setup lirc that those lirc_dev lines didn't showed up. I'm more familiar with lirc anyway..
Reply
#17
I can tell you that I recently struggled with lubuntu 14.04 and lirc. In the end, xbmcbuntu worked out of the box with motherboard CIR header with a tsop38238 connected directly to it.

When I searched around I read somewhere that lirc support in ubuntu is messed up and sure enough as the same config from xbmcbuntu copied to lubuntu did not work at all even after copying all config files from xbmcbuntu to lubuntu.
Reply
#18
(2014-06-20, 09:13)oldpoem Wrote: Maybe it's something obvious like you probably need to reconfigure lirc (dpkg-reconfigure lirc) ? What is your /etc/lirc/hardware.conf ?

oldpoem, I very much appreciate your help diagnosing this. I think that the problem is not with lirc but with the kernel passing events to lirc. From my understanding all remote events are now registered in the kernel through ir-keytable (hence the "modprobe ir-lirc-codec &
ir-keytable -p LIRC" commands). I am hesitant to re-install lirc again before I show events in ir-keytable, in order to diagnose the root of the problem.

Below is the output from openelec, and what should be showing up with xbmcbuntu and lubuntu after "# ir-keytable -t"

Code:
OpenELEC:~ # killall eventlircd
OpenELEC:~ # killall lircd
OpenELEC:~ # ir-keytable -p NEC,RC-5,RC-6,JVC,SONY,LIRC
Protocols changed to NEC RC-5 RC-6 JVC SONY LIRC
OpenELEC:~ # ir-keytable -c
Old keytable cleared
OpenELEC:~ # ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1403275146.745316: event MSC: scancode = 800f7420
1403275146.745316: event sync
1403275147.435682: event MSC: scancode = 800f7421
1403275147.435682: event sync
1403275147.867270: event MSC: scancode = 800f7422
1403275147.867270: event sync

Unfortunately I cannot use openelec permanently since my htpc is also my 6-drive home server. In the past it was only running ubuntu server 12.04, then my htpc died so I installed xbmc on top of the server base with bram77's script. I was using an old i3 w/hd2000 gpu and it was having problems with some content, so I bought a new mb for a haswell i3 and upgraded to gotham/trusty.

Do you thinks it's worth trying an older version of lubuntu?
Reply
#19
(2014-06-20, 17:13)tstack77 Wrote: what should be showing up with xbmcbuntu and lubuntu after "# ir-keytable -t"

This's mine on Lubuntu
Code:
oldpoem@Lubuntu:~$ sudo ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1403278167.932494: event type EV_MSC(0x04): scancode = 0x800f041e
1403278167.932494: event type EV_SYN(0x00).
1403278168.267456: event type EV_MSC(0x04): scancode = 0x800f041e

Quote:Unfortunately I cannot use openelec permanently since my htpc is also my 6-drive home server. In the past it was only running ubuntu server 12.04, then my htpc died so I installed xbmc on top of the server base with bram77's script. I was using an old i3 w/hd2000 gpu and it was having problems with some content, so I bought a new mb for a haswell i3 and upgraded to gotham/trusty.

Do you thinks it's worth trying an older version of lubuntu?

I think stick with 14.04 which is LTS is definitely better. But no point using it if it's not working the way you want it.
Reply
#20
Thanks for testing, I was actually hoping that "ir-keytable -t" wasn't going to work for you Laugh

I also agree that the move to 14.04 is preferred, but using just my phone and yatse as a remote doesn't work for the rest of the family.

This is a complete shot in the dark, but at this point I think I have to start to look at this issue as a kernel problem. Can you run "uname -r" and tell me what kernel you're on? Both xbmcbuntu and lubuntu were tested on the 3.13.0-29 kernel, while openelec is on 3.14.7. I'm thinking that I could try setting up xbmcbuntu before running updates...
Reply
#21
It's 3.13.0-29.
Reply
#22
Thanks, I figured yours was the same. And the reason why I am so stumped is that my remote is the exact same as that one from ebay. Mine is actually the original dongle that was packaged with the retail XP MCE disc that the hp remote is a clone of. I even have another one that I tried from my bedroom that is that same hp variant. They're both the same as the remote from the sicky, "How to get a seamless remote experience" (btw, that post is a lie :-)
Reply
#23
I just upgraded the kernel to 3.15.1-031501-generic and still nothing.

I also ran lubuntu from a live-drive on 5 different machines in my house, and installed only ir-keytable. I was able to generate events on all the computers but the Asus H87i-Plus. To make sure it isn't solely an ubuntu issue I tried fedora and got the same negative result. I have no idea how it works with openelec.

I sent a support request to Asus but I doubt I'll get anything of substance from them.

Anyone have any other ideas before I return this motherboard?
Reply
#24
What about asking in OpenElec forums?
Reply
#25
SOLVED, kinda

Searching around the openelec forums I found a post with the same issue. Digging into the problem further it seems that there is a problem with ubuntu's implementation of xhci vs ehci usb protocols. If xhci is enabled in the bios it is recognized by linux to be associated with ALL usb ports, hence why simply switching to a usb2 port did nothing. Downside of disabling xhci is that all usb ports will be downgraded to usb2 speeds. I chose this workaround since I do not rely on usb3.

Another fix pertains to the mceusb driver and a patch to make it work with xhci/usb3. It can be found HERE.

Hope this helps anyone in the future until the linux kernel is patched.
Reply

Logout Mark Read Team Forum Stats Members Help
Struggle to get ir remote working on Asus H87i-Plus w/xbmcbuntu0