![]() |
ubuntu.com - launchpad.net - ubuntu help
|
|
|||||||
Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.
Ubuntu 9.10 is out!!!
When downloading Ubuntu 9.10 please consider using bittorrent to get your copy of Ubuntu. The Ubuntu Developers Summit for Lucid Lynx will be held the week of 16-Nov-2009 till 20-Nov-2009 in Dallas, TX USA. Visit the the Ubuntu wiki for more information about UDS and how to participate remotely. |
|
Hardware & Laptops Problems with hardware & laptops not being detected or supported during or after install. |
|
|
Thread Tools | Display Modes |
|
|
|
|
#1 |
|
5 Cups of Ubuntu
![]() |
Lirc: How to install?
Hi, I have almost all my hardware running in Hoary, except for my infrared remote. I used Fedora Core 3 before, and it worked perfectly there.
Can somebody give me a quick walktrough how to install lirc, because i'm a bit lost atm... |
|
|
|
|
#2 | |
|
First Cup of Ubuntu
![]() Join Date: Mar 2005
Beans: 7
|
Re: Lirc: How to install?
Quote:
|
|
|
|
|
|
#3 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2005
Beans: 1
|
Re: Lirc: How to install?
I know that in debian-like systems you have to install lirc package and lirc-modules-source package and compile modules in debian-way. I do it, but the result are modules with .o extension while right extension for 2.6 kernel is .ko;
in fact insmod answer the modules are in wrong format. can anyone help us? bye bye zoro, who loves ubuntu |
|
|
|
|
#4 | |
|
5 Cups of Ubuntu
![]() |
Re: Lirc: How to install?
Quote:
i think the compilescripts aren't modified for 2.6 when i configure lirc-modules-source, i get this message: /usr/src/linux/ is not a valid kernel source tree. any idea's, or somebody who is so kind to help me (us) out? thanks! edit: a lot can be found here: http://bugs.debian.org/cgi-bin/pkgre...modules-source Last edited by mayco; March 31st, 2005 at 06:41 PM.. |
|
|
|
|
|
#5 |
|
First Cup of Ubuntu
![]() Join Date: Apr 2005
Beans: 1
|
Re: Lirc: How to install?
Yes, I just went through this headache yesterday. I spent hours trying to get my Hauppauge PVR-250 remote working.
First, do not bother installing lirc or lirc-x you've successfully built and installed the lirc modules. Once the lirc-modules are built and in place, the lirc install will configure for your hardware. At least it did for me. I've tried so many things that there may be more steps missing, but here goes (oh, and you're better off trying to use EVERYTHING from Synaptic package manager and not compiling from source): 1. Install linux-source (I'm using 2.6.10 kernel), linux-headers, and lirc-modules-source. 2. Open a root terminal and go to /usr/src. 3. You should see 2 tar files and the new linux-headers-2.6.10 subdirectory 4. Extract the tar files: tar -xjvf linux-source-2.6.10.tar.bz2 5. tar -xvzf lirc-modules.tar.gz 6. Now you should have the source directories linux-source-2.6.10 and modules under /usr/src. 7. If you have a /usr/src/linux directory, check (ls -l /usr/src) to see that it is a symlink to the new linux-source-2.6.10 directory. If it isn't, move it to linux_old or something. Then, create the link: ln -s /usr/src/linux-source-2.6.10 /usr/src/linux 8. Follow the directions in /usr/src/modules/lirc/README for 'To recompile the LIRC kernel modules'. By the way, I left off the -revision flag and it still worked. If no errors, then proceed to the next step. If errors, then you may have some more steps to get your /usr/src/linux tree in shape. I can possibly help with that, but let's hope that it doesn't get to that. 9. If step 8 was successful, it created a debian package in /usr/src that begins lirc-modules-2.6.10... and has a suffix of .deb. If you made it this far, you're home free. 10. Install the .deb package: dpkg -i <full name of lirc-modules..deb here> 11. Check in /lib/modules. For me, it created a 2.6.10 subdirectory and basically put the modules in the wrong place. So, I had to move the entirer 'misc' subdirectory into the specific directory /lib/modules/2.6.10-5-386/. 12. Update the modules: depmod -ae && update-modules 13. Install the modules: modprobe lirc_dev 14. Install the modules: modprobe lirc_i2c Once this has been successful, you can proceed with installing lirc and lirc-x from Synaptic Package Manager. You should check with the "terminal" screen available inside the Synaptic UI while these packages install. They may ask you to configure your card. I apologize in advance if these steps seem sketchy. There's no current howto for lirc that I'm aware of. There are some really old ones out on the net that can give you grief. Let me know if this helps out. Any errors you might encounter will probably jog my memory. Cary |
|
|
|
|
#6 |
|
First Cup of Ubuntu
![]() Join Date: Mar 2005
Beans: 7
|
Re: Lirc: How to install?
ok I appreciate someone finally posting something that may be of some help to this ubuntu lirc issue. But could you go into a little more detail about how you made your .deb package I keep getting errors. I think its my tree if you could help me out I would really appreciate it. I made the symbolic link pointing the linux directory to my linux-source-2.6.10 directory but I still get some errors. Thanks.
|
|
|
|
|
#7 |
|
Just Give Me the Beans!
![]() Join Date: Apr 2005
Location: Germany
Beans: 50
|
Re: Lirc: How to install?
Thanks for the nice walkthrough, Cary.
I still have some problems: The modules_image builds and installs nicely but the lirc-modules won't load. The .deb-package installed the modules in the following directory: /lib/modules/2.6.11/misc. I copied these directory to my actual module-directory /lib/modules/2.6.11-e3 (I tried ./misc ./drivers/input/i2c and several other places), but "depmod -ae && update.modules && modprobe lirc_dev" won't work - "FATAL: Module lirc_dev not found." I have absolutely no idea what went wrong. Btw you won't need kernel-headers if kernel-source is installed. |
|
|
|
|
#8 |
|
First Cup of Ubuntu
![]() Join Date: May 2005
Beans: 1
|
Re: Lirc: How to install?
Hi!
If you do not want to move the modules after installing you can install them in the correct dir by doing the following (with bash as shell):
I assumed your kernel-package-suffix is -5-686 and you extracted the lirc-modules in /usr/src. You can find out your kernel-version with: Code:
cat /proc/version Cheers, Thorsten |
|
|
|
|
#9 | |
|
First Cup of Ubuntu
![]() Join Date: Dec 2005
Beans: 1
|
Re: Lirc: How to install?
Quote:
Code:
touch /usr/src/linux/Rules.make |
|
|
|
|
|
#10 |
|
5 Cups of Ubuntu
![]() Join Date: Nov 2005
Beans: 14
Ubuntu 7.10 Gutsy Gibbon
|
Re: Lirc: How to install?
Now i get "Couldn't build LIRC kernel modules"
|
|
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|