[LINUX] HOW-TO get Hama MCE Remote Control to fully work in Ubuntu 9.04

  Thread Rating:
  • 2 Votes - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
Juanjo Offline
Member
Posts: 53
Joined: Sep 2010
Reputation: 0
Location: Argentina
Post: #71
ok, i finally got it working, with a mix of modifying sudoers and the runXBMC launcher

it basicly does this:

runs hama_mce (i didnt install it, so it does not launch via udev)
runs xbmc

when xbmx exits (TV = yellow button)
kills hama_mce
service inputlirc restart (start should work since inputlircd dies when it looses control of hid device = when hama_mce is ran)
runs tvtime
on tvtime exit, the cycle begins again (i commenteed the touch command so the loop continues)

it works awesome. but the right button is still working partially, sometimes it sends an info command, and sometimes it detects ir correctly as a right click.

thanks fyfe, you rock. I will try now to reinstall dharma beta2, which made my remote stop working with inputlirc and thats why i wanted to start using hama_mce again.

Juanjo

EDIT:
I finally installed dharma beta2
everything runs perfect now, except for the randomness of the right click button!
thanks fyfe!
(This post was last modified: 2010-09-17 04:09 by Juanjo.)
find quote
Horscht Offline
Member
Posts: 92
Joined: Jan 2006
Reputation: 2
Post: #72
was anyone able to get the mousepad-thingy on the remote to work?

When I move the mouse with it, I don't see a mouse-pointer on the screen, but I see that I am actually highlighing stuff...
find quote
Silence66 Offline
Junior Member
Posts: 3
Joined: Nov 2010
Reputation: 0
Post: #73
thanks for your great script. compiled version 1.3 yesterday and everything works greatSmile i also tried version 1.4, but there i got a compile error of a missing directory
find quote
fyfe Offline
Junior Member
Posts: 6
Joined: Aug 2010
Reputation: 0
Location: Scotland
Post: #74
It's already fixed try v1.4.1
find quote
Silence66 Offline
Junior Member
Posts: 3
Joined: Nov 2010
Reputation: 0
Post: #75
thanksSmile will try it tomorrowSmile
find quote
bump909 Offline
Junior Member
Posts: 11
Joined: Feb 2010
Reputation: 0
Post: #76
slux Wrote:ok Ernie,I've got it!!Big Grin

First: compile the hama_mce bin and fire it up .
Second: make sure that the option "Allow programs on this system to control xbmc" is enabled.
Et voilĂ !!! It works perfectly!!!Also the infamous "i" key !!! Yeah NodNod

If you have problems,check with ps -ef if you see the hama_mce running and then check with netstat -a -n if udp port 9777 (eventserver) is listening.That's all!

We need this eventclient in Dharma final!!!PLEASEEEEEE!!!!!!!

Sorry, I think I have some serious noob questions. I've never worked with these eventclient things before and I'm having trouble finding a step by step tutorial.

How does this work for XBMC Live Dharma?
Do I download this and copy it over to my XBMC Live box?
How do I compile the bin?

I'm very new at this and feel like a helpless idiot. Tongue
find quote
hudo Offline
Fan
Posts: 450
Joined: Feb 2009
Reputation: 5
Location: xbmcmediacenter.com
Post: #77
Hi.
Read the all thread. All the info you need is here.

Anyway, try this:

Open up a console or ssh into your machine.

Code:
$ cd /usr/local/src
$ sudo wget http://trac.xbmc.org/attachment/ticket/8827/hama_mce-1.5.tar.gz
$ sudo tar xpvf hama_mce-1.5.tar.gz
$ sudo cd hama_mce-1.5
$ sudo apt-get install build-essential
$ sudo make
$ sudo make install
$ sudo reboot

Enjoy!

**EDIT**
tar command corrected and link tags removed.

/hudo
(This post was last modified: 2011-03-13 20:51 by hudo.)
find quote
bump909 Offline
Junior Member
Posts: 11
Joined: Feb 2010
Reputation: 0
Post: #78
Thanks so much!

Is there anything I need to do with the file before I uncompress? I'm getting an error when attempting to uncompress after the wget.

It's telling me it's an HTML doc.


xxxxx@new-host:/usr/local/src$ file hama_mce-1.5.tar.gz
hama_mce-1.5.tar.gz: HTML document text
find quote
bump909 Offline
Junior Member
Posts: 11
Joined: Feb 2010
Reputation: 0
Post: #79
Ok, I think I figured part of it out. I needed to download the raw attachment -

http://trac.xbmc.org/raw-attachment/tick...1.5.tar.gz


After doing that I still am unable to uncompress. I get the following error:

xxxxx@new-host:/usr/local/src$ sudo tar xvzf hama_mce-1.5.tar.gz

gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Exiting with failure status due to previous errors
find quote
hudo Offline
Fan
Posts: 450
Joined: Feb 2009
Reputation: 5
Location: xbmcmediacenter.com
Post: #80
Ok.
You're right.

It's not a tar.gz file. It's an uncompressed tar file... go figure.

Use the following command:

tar xpvf hama_mce-1.5.tar.gz

On another note, if you never compiled anything on that machine, you need to issue the following command or make will never work:

Code:
$ sudo apt-get install build-essential

Keep us posted on progress.

/hudo
(This post was last modified: 2010-11-23 19:14 by hudo.)
find quote
Post Reply