LinHES Forums http://forum.linhes.org/ |
|
lirc re-install from scratch? http://forum.linhes.org/viewtopic.php?f=14&t=15908 |
Page 1 of 1 |
Author: | antx [ Wed Jul 18, 2007 7:44 pm ] |
Post subject: | lirc re-install from scratch? |
Hi there! What's an honest guy to do to reinstall lirc in a working condition? Long story short: Because my MCEUSB2 remote didnt want to work, I removed everything lirc-related with: dpkg -P lirc, lirc-x, lirc-svga, lirc-modules rm -rf /etc/lirc/ rm /etc/lircd.conf rm /etc/lircmd.conf rm /home/mythtv/.lircdrc Since there's no .deb on the install CD (at least, couldnt find em..), my guess was to apt-get install the whole thing. apt-get install lirc lirc-x lirc-svga lirc-modules-source cd /root wget ftp://knoppmyth.net/R5/linux-source-2.6 ... om_all.deb dpkg -i linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb rm linux-source-2.6.18-chw-13_2.6.18-chw-13-10.00.Custom_all.deb cd /usr/src rm -rf linux ln -s linux linux-source-2.6.18-chw-13_2.6.18-chw-13 cd /usr/src/lirc-0.8.0 ./configure make and then... BAM! Quote: /usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:54:35: error: linux/devfs_fs_kernel.h: No such file or directory
/usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c: In function 'cleanup': /usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:132: warning: implicit declaration of function 'devfs_remove' /usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c: In function 'lirc_register_plugin': /usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.c:381: warning: implicit declaration of function 'devfs_mk_cdev' make[5]: *** [/usr/src/lirc-0.8.0/drivers/lirc_dev/lirc_dev.o] Error 1 make[4]: *** [_module_/usr/src/lirc-0.8.0/drivers/lirc_dev] Error 2 make[4]: Leaving directory `/usr/src/linux-headers-2.6.18-chw-13' make[3]: *** [lirc_dev.o] Error 2 make[3]: Leaving directory `/usr/src/lirc-0.8.0/drivers/lirc_dev' make[2]: *** [all-recursive] Error 1 make[2]: Leaving directory `/usr/src/lirc-0.8.0/drivers' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/usr/src/lirc-0.8.0' make: *** [all] Error 2 Something tells me I don't even have the correct source... am I doing the whole thing upside-down? Is there an easier way to reinstall lirc? |
Author: | antx [ Wed Jul 18, 2007 7:50 pm ] |
Post subject: | |
Oh well... http://lists.alioth.debian.org/pipermai ... 00261.html I guess my modules-source are incorrect for that kernel. Where do I find the correct one? |
Author: | antx [ Wed Jul 18, 2007 8:13 pm ] |
Post subject: | |
The story continued... Tried module-assistant with partial success. Now the modules compile and install, but I can't seem to find em anywhere, and lirc still complains that there is no module. /etc/init.d/lirc restart Quote: #####################################################
## I couldn't load the required kernel modules ## ## You should install lirc-modules-source to build ## ## kernel support for your hardware. ## ##################################################### ## If this message is not appropriate you may set ## ## LOAD_MODULES=false in /etc/lirc/hardware.conf ## ##################################################### Heck! Im lost. |
Author: | tjc [ Wed Jul 18, 2007 8:47 pm ] |
Post subject: | |
You may want to try making a good backup and auto upgrading to the same (or the latest) version. That's the canonical "I roached my install but don't want to lose my media or settings" fix. |
Author: | antx [ Wed Jul 18, 2007 9:29 pm ] |
Post subject: | |
Why didnt I think of that... Will do right now. Thanks a lot. |
Page 1 of 1 | All times are UTC - 6 hours |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |