LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-16-2006, 09:11 PM   #1
mr_r
LQ Newbie
 
Registered: Aug 2003
Location: London, UK
Distribution: Suse 10.1, Centos 4.3, Fedora Core 4 / 5
Posts: 22

Rep: Reputation: 15
Question Problem: LIRC does not activate on reboot, but works manually


I've installed LIRC on FC4. I have an iMon remote.

[ Problem: LIRC does not activate on reboot, but works manually ]

Following the instructions it all installs fine - I check the devices are there like so

Code:
#ll /dev/li*
crw-r--r--  1 root root 61, 0 Mar 17 01:10 /dev/lirc
prw-r--r--  1 root root     0 Mar 17 01:10 /dev/lircd
prw-r--r--  1 root root     0 Mar 17 01:10 /dev/lircm
Then, when I reboot it all goes.

So I looked in the contrib/ folder and found the correct startup script for redhat

I copy that as follows;
Code:
cp lirc.redhat /etc/init.d/lirc
looking in
Code:
/etc/rc.d/rc3.d
Code:
# ll *lirc*
lrwxrwxrwx  1 root root 14 Mar 15 04:09 K71lirc -> ../init.d/lirc
I see its linked correctly.

In /etc/modprobe.conf I added

Code:
alias char-major-61 lirc_dev
alias char-major-61 lirc_imon

To load it manually I have to do

Code:
# modprobe lirc_dev
# modprobe lirc_imon
# service lirc start
Starting Infrared Remote Control:                          [  OK  ]

# ll /dev/li*       

crw-------  1 root root 61, 0 Mar 17 03:05 /dev/lirc0
srw-rw-rw-  1 root root     0 Mar 17 03:05 /dev/lircd
prw-r--r--  1 root root     0 Mar 17 03:05 /dev/lircm
note the lirc device has gone from lirc -> lirc0 now

Can anybody help me to get this going at boot please? I've spent hours looking on forums and man pages but no luck.

Any help would be very much appreciated.
 
Old 03-19-2006, 07:31 AM   #2
tuxangler
Member
 
Registered: Mar 2006
Location: Germany
Distribution: OpenSuSE 10.3 x86-64 SMP - Kernel 2.6.23.14
Posts: 42

Rep: Reputation: 15
Try this in your /etc/init.d/lirc

Code:
setserial /dev/ttyS0 uart none
modprobe lirc_serial
setserial /dev/ttyS0 uart 16550A

/usr/local/sbin/lircd --device=/dev/ttyS0

echo "lircd gestartet"
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Fsck failed. Please repair manually and reboot. jginger SUSE / openSUSE 4 10-23-2005 01:44 PM
dhclient works only manually?? djlinux Linux - Networking 1 06-20-2005 05:09 AM
Lirc not working after reboot Basta Linux - General 0 06-13-2004 03:53 AM
Samba- works if you manually enter ip Frank_Drebin Linux - Networking 11 04-26-2004 03:02 PM
activate services manually 2047 Linux - Networking 3 09-12-2001 01:32 PM

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

All times are GMT -5. The time now is 08:30 PM.

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