LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 08-27-2005, 08:45 AM   #1
edmundo_ba
Member
 
Registered: Jun 2004
Location: Buenos Aires
Distribution: kubuntu 20.04, Slackware64 14.2
Posts: 43

Rep: Reputation: 15
Permissions accessing USB Digital Camera


I use (better said, I want to use) Digikam to download pictures from a Canon Digital Camera via USB.

It works great with root. For any other user (luser), digikam can't connect with the camera. So it has to be a problem with USB devices access rights.

Help?

Ed
 
Old 08-27-2005, 08:58 AM   #2
SlackerLX
Senior Member
 
Registered: Dec 2004
Location: Herzliyya, Israel
Distribution: SuSE 10.1; Testing Distros
Posts: 1,832

Rep: Reputation: 47
chmod 777 /dev/xxx
chmod 666 /dev/xxx - slightly danderous for security reasons
 
Old 08-27-2005, 09:29 AM   #3
objorkum
Member
 
Registered: Aug 2003
Location: Norway
Distribution: Slackware 10.0
Posts: 231

Rep: Reputation: 30
Well, often it is better to become a member of a group than chmodding.

Where in /dev is your cam?

Check dmesg when connecting to it

Then to a:

ls -l /dev/xxx

And post it here
 
Old 08-27-2005, 10:05 AM   #4
shepper
Member
 
Registered: Mar 2003
Location: Dry, Dusty and Conservative
Distribution: OpenBSD, Debian Wheezy/Jessie
Posts: 449

Rep: Reputation: 33
Setting USB permissions in Gphoto2

Edit: Slackware does not include PAM so I make a camera group and add myself to it. Then I use the usbcam.group script per the above directions.

Last edited by shepper; 08-27-2005 at 10:10 AM.
 
Old 08-27-2005, 12:29 PM   #5
fcaraballo
Member
 
Registered: Feb 2004
Location: WA
Distribution: Slackware
Posts: 230

Rep: Reputation: 31
Create a group called 'camera' and add your user to it.
Then do the following:
Code:
/usr/lib/libgphoto2/print-usb-usermap > /etc/hotplug/usb/usbcam.usermap
and make the owner of usbcam.usermap your user.
Code:
cp /usr/doc/libgphoto2/linux-hotplug/usbcam.group /etc/hotplug/usb/usbcam
and make usbcam executable.
DigiKam should now work for your user.

MagicMan

Last edited by fcaraballo; 08-27-2005 at 12:37 PM.
 
Old 11-01-2005, 01:29 PM   #6
vipnox
LQ Newbie
 
Registered: Jun 2005
Posts: 2

Rep: Reputation: 0
ups - wrong quote.

Last edited by vipnox; 11-01-2005 at 01:32 PM.
 
Old 11-01-2005, 01:32 PM   #7
vipnox
LQ Newbie
 
Registered: Jun 2005
Posts: 2

Rep: Reputation: 0
Quote:
Originally posted by shepper
Setting USB permissions in Gphoto2

Edit: Slackware does not include PAM so I make a camera group and add myself to it. Then I use the usbcam.group script per the above directions.


tnx man! you gave a link to a great guide.
there are practically 3 or 4 commands for all to work. really nice.


tnx again.

HF
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
USB digital camera cragwolf Slackware 15 02-26-2005 02:00 PM
USB Digital Camera CatSC Linux - Hardware 4 01-27-2004 01:49 AM
accessing digital camera as user, bennythepitbull Slackware 1 11-04-2003 02:29 AM
usb digital camera frankprogramer Linux - General 7 07-13-2003 07:28 PM
digital camera on usb richard22 Linux - General 2 08-07-2002 04:19 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 09:27 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration