[mythtvnz] Pulse eight hdmi cec adapter

Mark markk at kc.net.nz
Thu Jul 25 09:07:11 BST 2013


Here's an updated /etc/init/libcec-daemon.conf upstart script for
starting libcec-daemon on reboot or when the pulse eight adapter is
plugged in.

 
{code}

description     "Run hdmi cec libcec-daemon"

start on (usb-device-added ID_VENDOR_ID=2548)

## Ensure we run for each of the above events
#instance $UPSTART_EVENTS

stop on (usb-device-removed ID_VENDOR_ID=2548)

# if you want it to automatically restart if it crashes, leave the next
line in
respawn

script
#echo "`env`" >> /tmp/job-A.log
sleep 15s
/home/markk/sandbox/libcec-daemon/libcec-daemon -q -a
end script

{code}




More information about the mythtvnz mailing list