SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I have had digikam working fine in slackware 10.2 using 2.4 and my compiled 2.6 kernel.
Now using 11.0 with the 2.6-smp kernel I can only see my digital camera with root.
With the usbcam script in /etc/hotplug/usb/ there is supposed to be a file created in /proc/bus/usb/001/ with the right permissions. The file appears as owner root, group wheel which is not wha I need.
I might be doing something wrong but is it possible that there is a hotplug error with this kernel?
Look in /etc/rc.d/rc.udev where usbfs is mounted and change the devgid to something besides 10.
Code:
# Mount usbfs:
if ! grep -wq usbfs /proc/mounts ; then
if [ -d /proc/bus/usb ]; then
mount usbfs -t usbfs /proc/bus/usb -o devgid=10,devmode=0664
fi
fi
This is what mine looks like. Also you could just add your user to the wheel group.
rignes suggests that due to an update to current where hotplug is not run when using a 2.6.x kernel in conjuntion with udev his digital camera stopped working in digikam. This might make sense. Perhaps hotplug is not running so the usbcam script is not run and permissions are set. TAquaredF had a solution which I shall try tonight.
Thanks all.
I tried /usr/lib/libgphoto2/print-camera-list udev-rules > camera.rules and put that in rc.udev
The file in /proc/bus/usb was created with the right group but it still did not work.
I tried Rauol's advise and added
SYSFS{idVendor}=="04a9", SYSFS{idProduct}=="3058", GROUP="users"
to 10-udev.rules and it's working!
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.