News:

Rule #1 - Be Patient - Rule #2 - Don't ask when, if you don't contribute - Rule #3 - You have coding skills - LinuxMCE's small brother is available: http://www.agocontrol.com

Main Menu

Pleeeeassee help with MCE remote :-(

Started by blairkutz, September 17, 2007, 03:53:12 AM

Previous topic - Next topic

totallymaxed

Quote from: Zaerc on November 30, 2007, 04:51:49 PM
Pleeeeassee help with adding stuff like that to the wiki... :-(

And as we move closer n closer to 0710 its important to make sure that Wiki information is clearly identified as relating to 0704.... otherwise this could cause all kinds of problems ;-)
Andy Herron,
CHT Ltd

For Dianemo/LinuxMCE consulting advice;
@herron on Twitter, totallymaxed+inquiries@gmail.com via email or PM me here.

Get Dianemo-Rpi2 ARM Licenses [url="http://forum.linuxmce.org/index.php?topic=14026.0"]http://forum.linuxmce.org/index.php?topic=14026.0[/url]

Get RaspSqueeze-CEC or Raspbmc-CEC for Dianemo/LinuxMCE: [url="http://wp.me/P4KgIc-5P"]http://wp.me/P4KgIc-5P[/url]

Facebook: [url="https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465"]https://www.facebook.com/pages/Dianemo-Home-Automation/226019387454465[/url]

[url="http://www.dianemo.co.uk"]http://www.dianemo.co.uk[/url]

AK83

#16
Sorry, but I'm new to LinuxMCE and to Linux as well and I have to work with it for a while to get into it. I will fix it somehow. I made some steps forward but I still have the problem with installing packages as I posted here: http://forum.linuxmce.org/index.php?topic=3319.0
If you could help me with that would be great.

Greets

Hagen

I am slightly tempted to answer:
Wait for the 710 release instead of doing all this work that is allready done in the next release.
But I woun't ;)

leonja

AK83
I got your PM.  I wrote down what I did to resolve my MCE remote proble in this thread:

http://forum.linuxmce.org/index.php?topic=3049.0

Let us know if you need more help.

Good luck,
Jaime
Selectron 42 inch LCD TV
AMD Athlon 2800+ on MSI K7N Motherboard
2x512MB DDR400 RAM
PNY Nvidia FX 5700 AGP video card
Hauppauge PVR-150 MCE capture card
Integrated Realtek 5.1 audio

AK83

leonja, thanks a lot!

My problem is that I get this error message
configure: error: *** you need to have the Linux kernel source installed for this driver
when typing this
./configure --prefix=/usr --sysconfdir=/etc/conf.d --with-x --with-driver=mceusb2

I read that it has something to do with the kernel headers. As described here http://www.mythtv.org/wiki/index.php/MCE_Remote#Installation_guides uname -a gives me back 2.6.20-16-generic. So I tried to update but it says that it is already the latest version. Any ideas?

Again, thanks a lot for your help!

leonja

AK83
I don't really know what could be wrong with your configuration.  I see you used the latest lirc source code.  One of the threads I read while trying to resolve the MCE remote problem warned about installing the latest lirc beta version, as it could contain code that was not supported under the current LMCE version.  For this reason, I downloaded the same lirc version 0.8.2 (official release) source code used in LMCE 704 and then overlaid the lirc_mceusb2 module source code version 1.37.  Thus, only updating the small part of lirc required to support the MCE remote with the SMK receiver.  Follow the instructions I wrote in my thread.

Again, I am not sure if this is your problem, but this is what worked for me.  Support for the MCE remote and SMK receiver is supposedly included in LMCE 710, as mentioned by several other persons in this forum.  Date for the 710 release is delayed though.

Good luck,
Jaime
Selectron 42 inch LCD TV
AMD Athlon 2800+ on MSI K7N Motherboard
2x512MB DDR400 RAM
PNY Nvidia FX 5700 AGP video card
Hauppauge PVR-150 MCE capture card
Integrated Realtek 5.1 audio

darrenmason

Quote from: AK83 on December 01, 2007, 01:46:30 PM
leonja, thanks a lot!

My problem is that I get this error message
configure: error: *** you need to have the Linux kernel source installed for this driver
when typing this
./configure --prefix=/usr --sysconfdir=/etc/conf.d --with-x --with-driver=mceusb2

I read that it has something to do with the kernel headers. As described here http://www.mythtv.org/wiki/index.php/MCE_Remote#Installation_guides uname -a gives me back 2.6.20-16-generic. So I tried to update but it says that it is already the latest version. Any ideas?

Again, thanks a lot for your help!

Have you done "apt-get install linux-headers"?
If that doesn't work try "apt-get install kernel-headers" - Can't remember which one it was  :-\

AK83

hey!

@leonja: I also tried version 0.8.2 with the latest lirc_mceusb2 drivers. Doesn't work.
@darrenmason: "apt-get install linux-headers [version]" says that I already have the newest version.

What I get now is this:
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.


I read that I need the GCC (build essential) package to compile. But I can't install that package using the terminal as I am told that it cannot be found. I think that is because of the lmce sources.list. Could I download some kind of .deb-file for this and run it after downloading?

Thanks! 

darrenmason

That error looks like you might not have the C++ compiler.

try 'apt-get install g++'

AK83

Hey!

The Terminal tells me that I already have the latest version of "gcc" (that's what you meant I guess).

alex@dcerouter:~$ dpkg -l gcc
...
||/ Name                       Version                    Beschreibung
+++-==========================-==========================-====================================================================
ii  gcc                        4.1.2-1ubuntu1             The GNU C compiler

and

alex@dcerouter:~$ dpkg -l make
...
||/ Name                       Version                    Beschreibung
+++-==========================-==========================-====================================================================
ii  make                       3.81-3build1               The GNU version of the "make" utility.


I still get that error:
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.


I don't know. Do I need something else?

AK83

Ok, sorry. I just read this:
"gcc is first built without the C++ compiler"

What I need is "gcc-c++", but I can't install any packages. The Terminal always tells me that the package cannot be found, doesn't matter which package I choose. Perhaps something went wrong during installation. That's why I asked for a different way to get packages I need.
:-[

darrenmason

I am sure the following worked for me....

apt-get update
apt-get install g++

What do you get when you enter these commands?

AK83


alex@dcerouter:~$ sudo apt-get update
Reading package lists... Done
alex@dcerouter:~$ sudo apt-get install g++
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Couldn't find package g


When I just try "apt-get install g++", I get:

E: Could not open lock file /var/lib/dpkg/lock - open (13 Permission denied)
E: Unable to lock the administration directory (/var/lib/dpkg/), are you root?


Perhaps LMCE can't update the packages? Is there some kind of log file I could check?

AK83

Hi!

I don't know, but probably there's something wrong with my sources.list. Would I get an error if "apt-get update" failed? Could someone post his sources.list so I can check if there's anything missing? Would be nice!

rafik24

 Hi AK83,

make sure you have       deb http://archive.ubuntu.com/ubuntu feisty main restricted universe multiverse
in you /etc/apt/sources.list

i would recommend to comment the line once you have finished downloading packages to avoid dependency  issues if update / upgrade happens from within lmce.

Rafik