Assuming its a webcam on a usb cable??
create a script that you place on the desktop.
put uvcvideo into your /etc/modprobe.d/ (some blacklist filename)
copy and paste the following into a text file...change bin/sh to /bin/bash or dash or whatever you normally use if /bin/sh is not on your system...put into a code box merely to highlight it
# a file to run with root powers
/sbin/modprobe uvcvideo quirks=2
name file webcam, move it to /home/yourname/Desktop
open a terminal
$ cd /home/yourname/Desktop
su (or sux)(to get root powers)
chmod + x webcam
chown root webcam
IF you are on a sudo system change above to
sudo chmod + x webcam
2) put in webcam...run script it MUST ask for root password
Then test your software.
3) If that worked? then you automate with the creation of an udev rule...I do not have an inbuilt webcam so not sure if udev rule will work for those types but it could be worth a try if you feel up to it?