X-Git-Url: https://git.piment-noir.org/?a=blobdiff_plain;f=support%2Fcec-flash-device.sh;h=10715cb93c0b36213f861d55edaf07a912daa695;hb=63a0b02bd5b8432353e9848468d3b0cf64012c93;hp=9443b9744542bc8a57ee953987550ce5225edb23;hpb=9c5f0a426c2f30265ba0ebb57750186c1dcf2c07;p=deb_libcec.git diff --git a/support/cec-flash-device.sh b/support/cec-flash-device.sh index 9443b97..10715cb 100755 --- a/support/cec-flash-device.sh +++ b/support/cec-flash-device.sh @@ -26,7 +26,7 @@ _enter_bootloader() echo "Instructing the CEC adapter to enter bootloader mode" cec_adapter=`lsusb | grep "2548:1001" | wc -l` if [ $cec_adapter -gt 0 ]; then - echo "bl" | cec-client -s -d 2 + echo "bl" | cec-client --bootloader echo "Waiting for the device to reinitialise" sleep 5 fi @@ -44,6 +44,7 @@ _flash() cat << EOB Flash '$file' onto the CEC adapter +DISCONNECT THE HDMI CABLES BEFORE STARTING AND DO NOT POWER OFF OR DISCONNECT THE DEVICE WHILE THIS OPERATION IS IN PROGRESS!