LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 05-01-2012, 01:49 AM   #1
Jykke
Member
 
Registered: Sep 2005
Posts: 201

Rep: Reputation: 19
What is starting lirc in my machine


I am running xubuntu with xmbc on it. I have some problems with lirc and I figured that get the lirc to cooperate after the boot if I stop lirc, remove modules ir_lirc_codec, lirc_dev and lirc_serial and restart lirc (letting it to load modules lirc_dev and lirc_serial).

(I do not know where ir_lirc_codec is coming from and if it is one responsible for making the lirc not to work in the first place, but it is blocking the removal of the other lirc modules and apparently I do not need it).

Problem 1: I now removed lirc with update-rc.d from all runlevels - still it is running after boot. What is starting it?

Problem 2: I tried to blacklist that ir_lirc_codec und /etc/modprobe.d/ and other modules which seem to originate from my DVB-S card (hauppauge_ir and such stuff) - I also did update-initramfs -u after that - to no avail they are still there.
 
Old 05-09-2012, 05:03 PM   #2
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Hi,

if blacklisting doesn't work, you could also remove the modules. But note that there may be any dependencies which require the lirc-modules. Check the output of lsmod in order to find out which other modules depend on the lirc-modules.

Markus
 
Old 05-10-2012, 12:45 PM   #3
Jykke
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 19
Well in fact none because I can remove them after the boot. My problem is that lirc is not working after the normal boot, only if I stop lirc remove the modules and restart lirc (which then automatically loads only the necessary modules, which do not include these ir modules) - somehow the blacklist should do the trick. And then I am still wondering what is it that starts the lirc service as I do not have it anywhere anymore (under /etc/rc*.d) - it should not start automatically.
 
Old 05-10-2012, 12:57 PM   #4
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
Well, conflicting modules maybe the reason why lirc doesn't work after booting. I don't have any experience with xmbc, when does xmbc start? also at boot-time? is it possible, that xmbc starts lirc?

You can find out where the lirc-service resides with the command
Code:
whereis lirc
provided that lirc is the name of the binary, if it is a service (on Windows it is called service, on Linux we say a daemon) it may also be named lircd, but I have no experience with this software.

Markus
 
Old 05-10-2012, 03:12 PM   #5
Jykke
Member
 
Registered: Sep 2005
Posts: 201

Original Poster
Rep: Reputation: 19
No, I start xbmc "myself" from startup script after autologin. The lirc is running before that already for a longer time. The service resides under /etc/init.d but would be called by /etc/rc3.d/ but I already removed it from the services and yet it is running when the machine runs up. I just don't know where it is started. Maybe some old stuff from mythbuntu which I had on the machine earlier on, but still...
 
Old 05-10-2012, 03:18 PM   #6
markush
Senior Member
 
Registered: Apr 2007
Location: Germany
Distribution: Slackware
Posts: 3,979

Rep: Reputation: Disabled
You could rename the module ir_lirc_codec which isn't used (as you described in your posting above). When you rename a module (in the /lib/modules directory, it will be no longer found and therefore not loaded as well. Then check, if lirc is loaded anyway and if so, if it works correct.

Markus
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Installed LIRC-0.9.0 on Fedora 14, /dev/lirc was not created, lirc programs won't run FalkiD Linux - Software 4 06-06-2011 09:33 AM
can't access machine after starting in runlevel 1 memius Ubuntu 20 12-18-2010 05:23 PM
Troubles starting irserver and lirc userbrian Linux - Software 1 10-18-2008 06:52 PM
Starting lirc with MythTV Frontend at Bootup Chiefl Linux - Newbie 17 10-06-2007 12:14 PM
starting firefox in remote machine crescent123 Linux - Networking 4 04-19-2007 01:45 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:40 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration