#496: lircd does not get startet (wrong parameters?)
------------------------------------+---------------------------------------
 Reporter:  [EMAIL PROTECTED]  |        Owner:  [EMAIL PROTECTED]
     Type:  defect                  |       Status:  closed                    
 Priority:  high                    |    Milestone:                            
Component:  Problems with Debian    |      Version:  unspecified               
 Severity:  normal                  |   Resolution:  invalid                   
 Keywords:                          |  
------------------------------------+---------------------------------------
Changes (by ismaell):

  * status:  new => closed
  * resolution:  => invalid


Old description:

> Hi, my first bug-report, I hope it's at least a bit of use...
>
> My System: Debian etch
> , initng 0.5.4-1
> , lirc 0.7.1pre2-2
> , Pinnacle Systems IR control attached to serial port
>

> #ngstart daemon/lircd
> ... startet lircd but after a short time lircd ended, leaving this in
> syslog:
>
> 00:04:52 localhost lircd 0.7.1pre2[25052]: lircd(any) ready
> 00:04:52 localhost InitNG: Service daemon/lircd is up.
> 00:04:57 localhost lircd 0.7.1pre2[25052]: accepted new client on
> /dev/lircd
> 00:04:57 localhost lircd 0.7.1pre2[25052]: could not get file information
> for
> /dev/lirc/0
> 00:04:57 localhost lircd 0.7.1pre2[25052]: default_init(): No such file
> or directory
> 00:04:57 localhost lircd 0.7.1pre2[25052]: caught signal
> 00:04:57 localhost InitNG: Service daemon/lircd has been stopped.
>

>
> #init.d/lirc start
>
> ... worked fine, so I echoed its parameters for lirc to a file...
>
> # cat args.txt
> --driver=pinsys --device=/dev/ttyS0
>
> ... and put these into daemon/lircd.i line 4:
>
> #cat lircd.i
> daemon daemon/lircd {
>         need = system/bootmisc system/modules;
>         use = system/discover system/coldplug system/static-modules;
>         exec daemon = /usr/sbin/lircd --driver=pinsys --device=/dev/ttyS0
> -P
> /var/run/lircd.pid;
>         pid_file = /var/run/lircd.pid;
>         forks;
> }
>

> This works for me, although it is probably not the best way to go...

New description:

 Hi, my first bug-report, I hope it's at least a bit of use...
 My System: Debian etch
 , initng 0.5.4-1
 , lirc 0.7.1pre2-2
 , Pinnacle Systems IR control attached to serial port
 #ngstart daemon/lircd
 ... startet lircd but after a short time lircd ended, leaving this in
 syslog:
 00:04:52 localhost lircd 0.7.1pre2[25052]: lircd(any) ready
 00:04:52 localhost InitNG: Service daemon/lircd is up.
 00:04:57 localhost lircd 0.7.1pre2[25052]: accepted new client on
 /dev/lircd
 00:04:57 localhost lircd 0.7.1pre2[25052]: could not get file information
 for
 /dev/lirc/0
 00:04:57 localhost lircd 0.7.1pre2[25052]: default_init(): No such file or
 directory
 00:04:57 localhost lircd 0.7.1pre2[25052]: caught signal
 00:04:57 localhost InitNG: Service daemon/lircd has been stopped.
 #init.d/lirc start
 ... worked fine, so I echoed its parameters for lirc to a file...
 # cat args.txt
 --driver=pinsys --device=/dev/ttyS0
 ... and put these into daemon/lircd.i line 4:
 #cat lircd.i
 daemon daemon/lircd {
         need = system/bootmisc system/modules;
         use = system/discover system/coldplug system/static-modules;
         exec daemon = /usr/sbin/lircd --driver=pinsys --device=/dev/ttyS0
 -P
 /var/run/lircd.pid;
         pid_file = /var/run/lircd.pid;
         forks;
 }
 This works for me, although it is probably not the best way to go...

--

-- 
Ticket URL: </ticket/496#comment:5>
InitNG <>
The Next Generation InitSystem
-- 
_______________________________________________
Initng mailing list
[email protected]
http://jw.dyndns.org/mailman/listinfo/initng

Reply via email to