View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 5 posts ] 
Print view Previous topic   Next topic  
Author Message
Search for:
PostPosted: Wed Jul 18, 2007 7:44 pm 
Offline
Joined: Sat Sep 16, 2006 9:29 pm
Posts: 15
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?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 7:50 pm 
Offline
Joined: Sat Sep 16, 2006 9:29 pm
Posts: 15
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?


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 8:13 pm 
Offline
Joined: Sat Sep 16, 2006 9:29 pm
Posts: 15
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 8:47 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
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.


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jul 18, 2007 9:29 pm 
Offline
Joined: Sat Sep 16, 2006 9:29 pm
Posts: 15
Why didnt I think of that...

Will do right now. Thanks a lot.


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 5 posts ] 


All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 63 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu