[FIXED] Ubuntu 11.10: working remote on Asrock ION 330 HT
#1
Solution in post #6


Blatent cross-post from http://www.xbmcfreak.nl/forums/topic/ubu...on-330-ht/

Just installed a fresh copy of Ubuntu 11.10 with XBMC 11 RC2 from the repos.
Got sound working by unmuting S/PDIF 1 using alsamixer and setting everything to HDMI.
Only remaining problem is the IR remote control.
Basic navigation works, kinda… key presses seem to fire twice.
Other buttons like OK don’t seem to work at all within XBMC.

This is the output when using: sudo ir-keytable -t
http://paste.ubuntu.com/872164/

Pressed the UP,DOWN,OK and BACK/EXIT buttons all once.

How did you get the remote working under the new XBMCBuntu?
Any help would be much appreciated, as all the information i can find on the net is aimed at Ubuntu < 11.10
Reply
#2
Try this guide, got my remote working perfectly under ubuntu 11.10.

http://forum.xbmc.org/showthread.php?tid=104541
Reply
#3
teeedubb Wrote:Try this guide, got my remote working perfectly under ubuntu 11.10.

http://forum.xbmc.org/showthread.php?tid=104541
Do you have a i386 or x64 version of Ubuntu installed?
Also, are you using the same system?

And which solution did you use?
1 Let the kernel pass the signal through to LIRC
2 Do everything completely in-kernel
3 Let the kernel cooperate with LIRC

I think my main problem right now is the double key-presses, even when only a single protocol is loaded.

Code:
geert@joker:~$ sudo ir-keytable
Found /sys/class/rc/rc0/ (/dev/input/event3) with:
    Driver nuvoton-cir, table rc-rc6-mce
    Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC
    Enabled protocols: RC-6
    Repeat delay = 500 ms, repeat period = 33 ms
This is the ouput with a single key press
Code:
geert@joker:~$ sudo ir-keytable -t
Testing events. Please, press CTRL-C to abort.
1331147565.039971: event MSC: scancode = 800f041e
1331147565.039983: event key down: KEY_UP (0x0067)
1331147565.039986: event sync
1331147565.288661: event key up: KEY_UP (0x0067)
1331147565.288664: event sync
Reply
#4
Im using a x64 version on ubuntu. Not sure what method I used, I set it up a long time ago, but it is with lirc as I use my remote to execute scripts.
Code:
xbmc@blaster:~$ sudo ir-keytable
[sudo] password for xbmc:
Found /sys/class/rc/rc0/ (/dev/input/event2) with:
        Driver mceusb, table rc-rc6-mce
        Supported protocols: NEC RC-5 RC-6 JVC SONY LIRC
        Enabled protocols: NEC RC-6 LIRC
        Repeat delay = 500 ms, repeat period = 125 ms

I dont get anything coming up when using 'ir-keytable -t' but I do see key inputs when using irw (one entry per keypress).

The only difference I see is the repeat period. Maybe this has something to do with your repeating keypresses...
Reply
#5
It works fine in xbmcbuntu 32bit. I do not know how it is setup nor have I tried to replicate it. I only know that lirc is included in the xbmcbuntu CD, why I do not know.

If I were to replicate this setup I would do it first on 32bit to isolate the different parts of the complexity. The quick fix is of course just to install xbmcbuntu.
Reply
#6
First setup LIRC with a basic configuration
For a new install
Code:
sudo apt-get install lirc
If LIRC is already install
Code:
sudo dpkg-reconfigure lirc
Remote control configuration:
Windows Media Center Transceivers/Remotes (all)
IR transmitter, if present:
None

Change the default configuration to work with the Nuvoton remote
Code:
sudo vi /etc/lirc/hardware.conf

Change the following 3 lines
Code:
REMOTE="Windows Media Center Transceivers/Remotes (all)"
REMOTE_MODULES="lirc_dev mceusb"
REMOTE_DRIVER=""
into this
Code:
REMOTE="Nuvoton Transceivers/Remotes"
REMOTE_MODULES="lirc_dev nuvoton-cir"
REMOTE_DRIVER="default"

Restart LIRC to apply the changes
Code:
sudo service lirc restart
Reply
#7
(2012-03-10, 09:01)vikjon0 Wrote: It works fine in xbmcbuntu 32bit. I do not know how it is setup nor have I tried to replicate it. I only know that lirc is included in the xbmcbuntu CD, why I do not know.

If I were to replicate this setup I would do it first on 32bit to isolate the different parts of the complexity. The quick fix is of course just to install xbmcbuntu.

Ofc lirc is on the "xbmclive" aka xbmcbuntu release, it always has been, however direct support for this remote has always been very very slim, even the drivers released by the manufacturer were ubuntu only and required ALOT of tweaking to get working under any other distro.


Anyway to my point, i've been testing different setups and distros with Eden;

(2012-03-07, 02:19)teeedubb Wrote: Try this guide, got my remote working perfectly under ubuntu 11.10.

http://forum.xbmc.org/showthread.php?tid=104541

That is a very very very very very very very, x1000 long guide to getting the remote working. Good maybe if you want to know the exact in's and outs, but if your using ubuntu you probably know sweet fa about the internal linux stuff and more than likely don't care. (If you did you would be running something else Tongue lol)

What gertjuhh wrote above me works in exactly the steps stated, no long winded way, no extra unneeded options. On my test install i had the remote going from non working to working within under a min.... Now on to the next distro...Will eventually do a write up of all distros that support this remote out the box seeing how hard it was to get it involved with the base lirc setup. Gentoo is still proving fun, but does work, but like the distro, not for the faint of heart.
Reply
#8
Quote:Ofc lirc is on the "xbmclive" aka xbmcbuntu release, it always has been
Good point...or not. I was "ofc" refering to the well known fact that the newer kernel includes the drivers. But dont worry about that.
Reply
#9
help here please:
http://forum.xbmc.org/showthread.php?tid=131821
Reply
#10
I had the same issue, remote control not working after upgrade.
After examining the settings, I found that the LIRC was not upgraded to the new version.

The system was unresponsive for over 30 minutes.
I decided that this was enough.
Re entered the CD and installed the new version as a new installation, removing the old installation.

After reinstalling, everything worked like a charm.
reconfigured the sound devices and imported the library again. Did an export before I initiated the upgrade.
Reply

Logout Mark Read Team Forum Stats Members Help
[FIXED] Ubuntu 11.10: working remote on Asrock ION 330 HT0