LinuxQuestions.org
Latest LQ Deal: Linux Power User Bundle
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 01-28-2009, 07:07 AM   #1
lidbjork
LQ Newbie
 
Registered: Jan 2009
Location: Uppsala, Sweden
Distribution: Ubuntu and Debian
Posts: 5

Rep: Reputation: 0
Unhappy Can't use digital camera as normal user


I'm using Slackware 12.2 and gphoto2 to fetch my photos from my Canon digital camera.

Previuosly, when I had Slack 11, the thing went through hotplug, but now it's HAL.

Problem is, it works like a charm when I'm root. I plug in and turn on the camera, then just "gphoto2 -P" and I've got my pics. But as my normal user, it gives an error.

I've searched the web and gphoto2's docs are the closest I've come to an explanation, which say a lot, really...

Any help greatly appreciated!
 
Old 01-28-2009, 07:14 AM   #2
gegechris99
Member
 
Registered: Oct 2005
Location: France
Distribution: Slackware 14.2 64bit
Posts: 915
Blog Entries: 5

Rep: Reputation: 145Reputation: 145
Hello,

To which groups does your user belong to?

Make sure that he's in group "plugdev" to be able to access removable media.

Use the following command to add the group to your user:

Code:
gpasswd -a user_name plugdev
 
Old 01-28-2009, 10:43 AM   #3
ErV
Senior Member
 
Registered: Mar 2007
Location: Russia
Distribution: Slackware 12.2
Posts: 1,202
Blog Entries: 3

Rep: Reputation: 62
Quote:
Originally Posted by lidbjork View Post
I'm using Slackware 12.2 and gphoto2 to fetch my photos from my Canon digital camera.

Previuosly, when I had Slack 11, the thing went through hotplug, but now it's HAL.

Problem is, it works like a charm when I'm root. I plug in and turn on the camera, then just "gphoto2 -P" and I've got my pics. But as my normal user, it gives an error.

I've searched the web and gphoto2's docs are the closest I've come to an explanation, which say a lot, really...

Any help greatly appreciated!
You need to add udev rules for your camera so correct permissions will be set when you plug in camera.
Process is explained here:
http://www.gphoto.org/doc/manual/permissions-usb.html
 
Old 01-29-2009, 06:06 AM   #4
lidbjork
LQ Newbie
 
Registered: Jan 2009
Location: Uppsala, Sweden
Distribution: Ubuntu and Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by ErV View Post
You need to add udev rules for your camera so correct permissions will be set when you plug in camera.
Process is explained here:
http://www.gphoto.org/doc/manual/permissions-usb.html
That's the exact gphoto2 docs (sorry I should have linked) that I was referring to. I can't for my life get anything out of them. To me, they're merely telling me what the setup already looks like in Feodora Core. When I check my (Slackware) system I find that I already got those scripts except the last one mentioned in the doc, so I added it but never found the line calling it, and that's where I am now.

Then I tried as root and thought it should be just fixing some (normal) permissions.

Anyway, I'm not at my Linux box right now, so I can't reply better than this for the moment. Will take care of it soon. Thanks for the replies.
 
Old 01-29-2009, 12:30 PM   #5
lidbjork
LQ Newbie
 
Registered: Jan 2009
Location: Uppsala, Sweden
Distribution: Ubuntu and Debian
Posts: 5

Original Poster
Rep: Reputation: 0
Quote:
Originally Posted by gegechris99 View Post
Hello,

To which groups does your user belong to?

Make sure that he's in group "plugdev" to be able to access removable media.

Use the following command to add the group to your user:

Code:
gpasswd -a user_name plugdev
God bless its pointed little head, it works! Thanks!
I know I tried to add my user in the /etc/group file, but I don't know if that made it, or if it was the gpasswd command. Anyhow, I knew it should be easy.
 
  


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
MEPISlite digital camera not recognized as normal user toneill Linux - Hardware 3 07-27-2007 07:46 AM
Allowing a user to mount a digital camera sunman Slackware 7 12-09-2006 09:40 PM
digital Camera not shows up on non-user desktop hitesh_linux Linux - General 7 02-29-2004 08:52 AM
accessing digital camera as user, bennythepitbull Slackware 1 11-04-2003 03:29 AM
Digital Camera Software for an non-root user gboutwel Linux - Software 2 06-29-2002 01:12 AM

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

All times are GMT -5. The time now is 03:44 PM.

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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration