> Error msg: "could not initialize camera"
>> USB is working fine
The following should get you going...
Make sure you have hotplug installed, then, as root, run:
/usr/lib/libgphoto2/print-usb-usermap >
/etc/hotplug/usb/usbcam.usermap
Place the following in the file /etc/hotplug/usb/usbcam
------- start /etc/hotplug/usb/usbcam
#!/bin/bash
GROUP=camera
if [ "${ACTION}" = "add" ] && [ -f "${DEVICE}" ]
then
chmod o-rwx "${DEVICE}"
chgrp "${GROUP}" "${DEVICE}"
chmod g+rw "${DEVICE}"
fi
------- end /etc/hotplug/usb/usbcam
chmod 755 /etc/hotplug/usb/usbcam
Then, place the following in /etc/hotplug/usb.usermap:
------- start /etc/hotplug/usb.usermap
usb module usbcam
------- end /etc/hotplug/usb.usermap
Finally, add users who're allowed to use digital cameras
on you system to the group camera.
Voila!
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!