How to power off Kinect from software
I have a Kinect connected to the onboard Linux-based PC on my robot. However, in many scenarios I am not using the Kinect, so I would like to be able to turn it off from command line to save power.
I tried the following:
echo '1-1' > /sys/bus/usb/drivers/usb/unbind
This works, in the sense that the power light of the Kinect goes off for a moment, and the USB device is removed. However, the Kinect gets redetected within a second - re-enabling it.
Following results in the same behaviour:
echo '1' > /sys/bus/usb/devices/1-1/remove
Note that I am using a 3.4 kernel, and following does not work:
echo '0' > /sys/bus/usb/devices/1-1/power/autosuspend_delay_ms"
echo 'auto' > /sys/bus/usb/devices/1-1/power/control"
Is there a way to disable the Kinect from software?
Thank you!