View unanswered posts    View active topics

All times are UTC - 6 hours





Post new topic Reply to topic  [ 17 posts ] 
Go to page Previous  1, 2

Print view Previous topic   Next topic  
Author Message
Search for:
 Post subject:
PostPosted: Fri Dec 29, 2006 5:10 pm 
Offline
Joined: Tue Sep 26, 2006 9:35 am
Posts: 85
Yes, the only diffs were the ones I added.

mythtv@mythbox:~$ diff /etc/init.d/lirc /usr/local/share/knoppmyth/remotes/mceusb2/etc/init.d/lirc
79,84d78
<
< if [ ! -e /dev/lirc ]; then
< echo "Creating link /dev/lirc0 -> /dev/lirc"
< ln -s /dev/lirc0 /dev/lirc
< fi
<


Top
 Profile  
 
 Post subject:
PostPosted: Fri Dec 29, 2006 5:57 pm 
Offline
Joined: Thu Mar 25, 2004 11:00 am
Posts: 9551
Location: Arlington, MA
It might be worth grabbing the standard one off of the CD image and seeing if it works better. From my reading of the diffs it should be more reliable than the stale mceusb2 one.
Code:
root@black2:~# diff /etc/init.d/lirc /usr/local/share/knoppmyth/remotes/mceusb2/etc/init.d/lirc | more
26,32d25
<
<       if test -x /sbin/udevsettle
<       then
<               if ! /sbin/udevsettle; then
<                 echo "timeout waiting for devices to be ready"
<               fi
<       fi
38,51d30
<
<     ## Try to find an lirc device.
<     ## udev uses /dev/lirc0
<     ## static dev uses /dev/lirc
<     ## devfs uses /dev/lirc/0
<     if [ -z "$DEVICE" ]; then
<       for dev in /dev/lirc0 /dev/lirc /dev/lirc/0; do
<               if [ -c $dev ]; then
<                               DEVICE="$dev"
<                               break
<                       fi
<               done
<       fi
<
52a32,35
>               if [ -d /dev/lirc ] && [ "$DEVICE" = "/dev/lirc" ];then
>                       #new device names
>                       DEVICE="/dev/lirc/0"
>               fi
100c83
<       start-stop-daemon --start --quiet --exec /usr/sbin/lircd -- $LIRCD_ARGS \
---
>       start-stop-daemon --start --quiet --exec /usr/sbin/lircd \


Top
 Profile  
 

Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 17 posts ] 
Go to page Previous  1, 2



All times are UTC - 6 hours




Who is online

Users browsing this forum: No registered users and 11 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group

Theme Created By ceyhansuyu