From: Mike K. <mik...@vx...> - 2009-03-03 19:05:14
|
Sounds right to me. Many dev versions do NOT come with init scripts installed by default...usually there is a 'samples' or 'contrib' directory in /usr/share/doc which 'fills the gap'. Just change script to parameterize the lircd location and you're good to go most likely. mike Kristian Lippert wrote: > Hi Lircs :-) > I belive I found the problem and have a fix for it [Ubuntu 8.10]: > The /etc/init.d/lirc file contains a direct link to lircd in > /usr/sbin/lircd > But my shell references /usr/local/sbin/lircd because I have a > developmenent version of lirc installed. > Changing this in the /etc/init.d/lirc file changes fixes this. > > What is the right thing to do? > > Best Regards, > Kristian Lippert > > ------------------------------------------------------------------------ > From: kri...@ho... > To: lir...@li... > Subject: Please Help: /etc/init.d/lirc fails but sudo lircd -d > /dev/ttyUSB0 works > Date: Tue, 3 Mar 2009 01:03:59 +0100 > > Hi > I have my own tira-code-based remote (B&O Beo4 on a custom future > techs USB dongle). > > When starting the lircd daemon with "sudo /etc/init.d/lirc start" it is ok > Then running irw makes the daemon disappear. > > When running "sudo lircd -d /dev/ttyUSB0" irw works fine and returns > the expected. > > I actually have "Elisa" (www.fluendo.com <http://www.fluendo.com/>) up > and running using lirc and my Beo4 remote (its great!) > > The hardware.conf file has all the REMOTE variables set to "", except > REMOTE_DRIVER = "tira" (I crashed the network on the machine so I do > not have the real conf-file here - sorry) > > > Which of the other variables should point to "/dev/ttyUSB0" ? > Should I mention "/dev/lircd" anywhere? > > I tried different combinations, but could not seem to make it work. > > Does the "sudo /etc/init.d/lirc start" run in another context than > "sudo lircd -d /dev/ttyUSB0" ? > > Best Regards, > Kristian Lippert > > ------------------------------------------------------------------------ > Invite your mail contacts to join your friends list with Windows Live > Spaces. It's easy! Try it! > <http://spaces.live.com/spacesapi.aspx?wx_action=create&wx_url=/friends.aspx&mkt=en-us> > ------------------------------------------------------------------------ > Get news, entertainment and everything you care about at Live.com. > Check it out! <http://www.live.com/getstarted.aspx%20> > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------------ > Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA > -OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise > -Strategies to boost innovation and cut costs with open source participation > -Receive a $600 discount off the registration fee with the source code: SFAD > http://p.sf.net/sfu/XcvMzF8H |