[mythtv-users] Lirc_serial + Fedora core 2

Brian Rumple brumple at VALUBOND.COM
Wed Aug 4 12:34:10 EDT 2004


I added mine to the "start)" case in /etc/rc.d/init.d/lirc

case "$1" in
  start)
        echo -n "Starting Infrared Remote Control: "
        setserial /dev/ttyS1 uart none
        modprobe lirc_serial
        daemon lircd
        daemon lircmd
        echo
        touch /var/lock/subsys/lirc



 

-----Original Message-----
From: mythtv-users-bounces at mythtv.org
[mailto:mythtv-users-bounces at mythtv.org] On Behalf Of Dex West
Sent: Wednesday, August 04, 2004 12:20 PM
To: Discussion about mythtv
Subject: Re: [mythtv-users] Lirc_serial + Fedora core 2


--- Jarod Wilson <jcw at wilsonet.com> wrote:

> On Aug 3, 2004, at 16:48, Dex West wrote:
> 
> > --- Josh Burks <jburks at mktinsights.com> wrote:
> >>
> >> Dex West wrote:
> >>> Yes it works fine when I'm logged in as root, but what I'm trying 
> >>> to do is create a script
> >> that
> >>> will run in the Autostart folder that will startup Lirc and IVTV 
> >>> on startup and I don't plain
> >> on
> >>> having my system booted with root user.
> >>
> >> Isn't this what modules.conf is for (on a RedHat based system, like
> >> Fedora) and a /etc/init.d startup script?
> >>
> > So does that mean I can edit the lircd script to add setserial 
> > commands and modprobe commands to the startup section?
> 
> Sure, why not? It isn't technically the cleanest thing around, but it 
> can be done. I had to do that at one point in the past. Ugly hack, but

> it works.
> 
> --
> Jarod C. Wilson, RHCE
> jcw at wilsonet.com
> 
> Got a question? Read this first...
>      http://catb.org/~esr/faqs/smart-questions.html
> MythTV, Fedora Core & ATrpms documentation:
>      http://wilsonet.com/mythtv/
> MythTV Searchable Mailing List Archive
>      http://www.gossamer-threads.com/lists/mythtv/
> 

> ATTACHMENT part 1.2 application/pgp-signature x-mac-type=70674453; 
> name=PGP.sig _______________________________________________
> mythtv-users mailing list
> mythtv-users at mythtv.org
> http://mythtv.org/cgi-bin/mailman/listinfo/mythtv-users
> 
Can someone give me the "proper" way to get this working?  I always try
to go the suggested route first.  What I need is at start:

setserial /dev/ttyS0 uart none
modprobe lirc_serial

I asked earlier this could be done in the modprobe.conf file, but didn't
get any answers.

Thanks


		
__________________________________
Do you Yahoo!?
Read only the mail you want - Yahoo! Mail SpamGuard.
http://promotions.yahoo.com/new_mail 


More information about the mythtv-users mailing list