Fedora Linux Support Community & Resources Center
  #1  
Old 12th September 2005, 06:18 AM
voam Offline
Registered User
 
Join Date: Sep 2005
Posts: 15
Question lirc works, buy not automatically

Hello all,

I am in the process of installing mythtv and this are going really well but automating the infra red portion is giving me some problems. When I run all the steps individually the infrared works and controls mythtv, but when I try to have the computer auto login to the mythtv user and start up mythtv automatically then the ir device does not work.

These are the commands that work when I type the commands manually:

modprobe lirc_i2c
lircd
or /sbin/service lircd start
irw
... just to test that it works, and it does....
CTRL-C
irxevent &
mythfrontend
Again I repeat this works.

But...when I add the lines
irxevent &
mythfrontend &
into a script file in my Autostart directory then the lircd device does not work. I believe the lirc device is starting automatically on boot. I have the /etc/lrcd.conf file in place and I have the .lircrc file in the /home/mythtv directory.

Any ideas? And how should I ensure that each step is successfully happening?

Thanks in advance.

If this is a double post or if there are typos I apologize as I am using my tv as the monitor and I am typing blind.

Cheers

Last edited by voam; 12th September 2005 at 06:24 AM.
Reply With Quote
  #2  
Old 14th September 2005, 04:51 AM
voam Offline
Registered User
 
Join Date: Sep 2005
Posts: 15
Perhaps this will shed some light on the problem: Here goes the relevant info from /var/log/messages.
It looks like the service starts ok but then has trouble initializing. How can I go about troubleshooting this? Also, when I type in /sbin/service lircd status I get "system dead but subsystem locked" or something like that.

lircd-0.7.2[2430]: lircd(any) ready
lircd-0.7.2[2430]: accepted new client on /dev/lircd
lircd-0.7.2[2430]: could not get file information for /dev/lirc
lircd-0.7.2[2430]: default_init(): No such file or directory
lircd-0.7.2[2430]: caught signal

Any help would be greatly appreciated!
Reply With Quote
  #3  
Old 14th September 2005, 10:31 PM
Jman Offline
Registered User
 
Join Date: Mar 2004
Location: Minnesota, USA
Age: 28
Posts: 7,909
You could probably put the module you are modprobe'ing into /etc/modprobe.conf. Also, be sure the lircd service is configured to start on boot with
Code:
chkconfig lircd on
Reply With Quote
  #4  
Old 18th October 2005, 07:03 PM
eof Offline
Registered User
 
Join Date: Sep 2005
Location: Boston
Age: 48
Posts: 9
Quote:
Originally Posted by voam
Perhaps this will shed some light on the problem: Here goes the relevant info from /var/log/messages.
It looks like the service starts ok but then has trouble initializing. How can I go about troubleshooting this? Also, when I type in /sbin/service lircd status I get "system dead but subsystem locked" or something like that.

lircd-0.7.2[2430]: lircd(any) ready
lircd-0.7.2[2430]: accepted new client on /dev/lircd
lircd-0.7.2[2430]: could not get file information for /dev/lirc
lircd-0.7.2[2430]: default_init(): No such file or directory
lircd-0.7.2[2430]: caught signal

Any help would be greatly appreciated!
It's really simple
You need to tell lircd about the device to use, because stupid is looking for /dev/lirc by default. I have this for my LIRCD_OPTIONS in /etc/sysconfig/lirc:

Code:
LIRCD_OPTIONS="-d /dev/lirc0 -p 0666"
This will at least prevent the daemon from crashing IF your lirc device is indeed /dev/lirc0 (you could probably find that out by inserting/removing the receiver thingie) and if you have the appropriate
driver as default compiled into lircd. It is worth trying I think.

hth
Steffen
Reply With Quote
Reply

Tags
automatically, buy, lirc, works

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

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 On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how to set the application that automatically works on startup shiwankaswe Using Fedora 9 24th November 2008 02:30 AM
FC3: Help with getting lirc running automatically on startup Pinchie EOL (End Of Life) Versions 0 1st February 2006 12:12 AM


Current GMT-time: 03:34 (Saturday, 23-08-2014)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat