I'm on 12.04LTS. I have an external USB HD cam that I run as default (preferably). To do this, after every reboot I have to run
sudo su -c 'echo "0" > /sys/bus/usb/devices/1-1.4/bConfigurationValue'
(1-1.4 is my laptop cam) This disables my laptop cam.
Then in GUVCview I get:
Which is easily fixed by simply unplugging, and plugging the external cam's usb into port. Then my external cam works great,and is my default selection, and the only one listed in devices under GUVCview, and is marked as default in Multimedia selector.
Everytime I reboot Ubuntu, I have to go through this little process. Not a terrible problem, but is there a way to make my 1-1.4 value stay at "0" ?
EDIT:
EDIT 2:
Open Terminal
cd /etc
sudo nano rc.local
Edit File by placing command Before " Exit 0"
Press CTRL - X
Y to save
!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
echo "0" > /sys/bus/usb/devices/1-1.4/bConfigurationValue
exit 0
rc.local
- you don't just make it executable :-) – Wilf Jan 10 '14 at 22:24