LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
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 12-21-2005, 10:58 AM   #1
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Rep: Reputation: 231Reputation: 231Reputation: 231
Digital camera problem


Hello,

I'm running into a problem mounting my Canon digicam on Slackware 10.2. I downloaded and installed digikam with all of the dependencies. The program works fine. When I click on auto-detect camera, it finds the camera. But, when I try to connect to it, it fails. Now, if I try doing using the program as root, it works just fine. It connects to the camera and all. Now, my question is, is there a way that I can find out where Slackware is installing the camera, like /dev/xxx or something else? I have tried, but have not been successful. I have already search around the forums and tried some of those suggestions, but it didn't work. Anyone has any idea? Thanks!
 
Old 12-21-2005, 11:04 AM   #2
sweetnsourbkr
Member
 
Registered: Aug 2005
Location: Bay
Distribution: Zenwalk, OpenBSD, Slackware
Posts: 167

Rep: Reputation: 30
Just a shot in the dark, but if it's a USB connection, it'll usually mount the USB storage device under one of the SCSI devices, /dev/sdXX.
 
Old 12-21-2005, 11:12 AM   #3
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Yes, it is a USB connection. I have tried mounting /dev/sda /dev/sda1, etc...; and all I get is not a valid block device. I just can't figure out where root is mounting it to.
 
Old 12-21-2005, 11:41 AM   #4
quip
Member
 
Registered: Jun 2003
Distribution: Slackware
Posts: 100

Rep: Reputation: 15
Well, while root has it mounted, you could look at your /etc/mtab file. However, if root can mount it but a user can't, then you need to modify your hotplug script. Take a look at
http://www.gphoto.org/doc/manual/permissions-usb.html and see if that helps you. Specifically, your usbcam script must properly change the permissions for you.
 
Old 12-21-2005, 11:42 AM   #5
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by quip
Well, while root has it mounted, you could look at your /etc/mtab file. However, if root can mount it but a user can't, then you need to modify your hotplug script. Take a look at
http://www.gphoto.org/doc/manual/permissions-usb.html and see if that helps you. Specifically, your usbcam script must properly change the permissions for you.

Thanks, I'll give that a try when I get home.
 
Old 12-21-2005, 11:43 AM   #6
psheldon
LQ Newbie
 
Registered: Sep 2003
Location: South Africa
Distribution: RH 8 + Slackware 10.0
Posts: 6

Rep: Reputation: 0
Depends what you are trying to do, get to your video or still pics on the memory card
I use fire wire for video MUCH better than usb.
For pics, I use USB,I found this on another forum forgot where.

My Sony Camcorder "mount -t vfat /dev/sda1 /mnt/camera"
My panasonic "mount -t msdos /dev/sda1 /mnt/camera"

That "/mnt/camera" is a directory "camera" in "/mnt" :-)

Notice that the file type for the Panasonic and Sony is different. I took a guess after I got the Sony working and found that I get the same error as you when I plug in the Panasonic, changed the filetype and voila!
regards
peter
 
Old 12-21-2005, 11:56 AM   #7
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by psheldon
Depends what you are trying to do, get to your video or still pics on the memory card
I use fire wire for video MUCH better than usb.
For pics, I use USB,I found this on another forum forgot where.

My Sony Camcorder "mount -t vfat /dev/sda1 /mnt/camera"
My panasonic "mount -t msdos /dev/sda1 /mnt/camera"

That "/mnt/camera" is a directory "camera" in "/mnt" :-)

Notice that the file type for the Panasonic and Sony is different. I took a guess after I got the Sony working and found that I get the same error as you when I plug in the Panasonic, changed the filetype and voila!
regards
peter
I haven't tried the msdos file type. I'm just trying to access the camera to download the pictures.
 
Old 12-21-2005, 06:23 PM   #8
Franklin
Senior Member
 
Registered: Oct 2002
Distribution: Slackware
Posts: 1,348

Rep: Reputation: 217Reputation: 217Reputation: 217
As stated above, the info you need is here:

http://www.gphoto.org/doc/manual/permissions-usb.html

I have a Canon Powershot A95 and following the instructions listed above worked fine.

The main points boil down to these:

host:~# /usr/lib/libgphoto2/print-usb-usermap > /etc/hotplug/usb/usbcam.usermap

I then used the usbcam.user script, changed root to steve, and pasted that file in the /etc/hotplug/usb directory after chaining the name to usbcam and overwriting the existing file. After rebooting all worked fine. The directions are pretty good.

Good luck.

I should mention that you need to install libgphoto2 if you have not allready.
 
Old 12-22-2005, 10:59 AM   #9
stormtracknole
Senior Member
 
Registered: Aug 2005
Distribution: Slackware, RHEL
Posts: 1,259

Original Poster
Rep: Reputation: 231Reputation: 231Reputation: 231
Quote:
Originally Posted by Franklin
As stated above, the info you need is here:

http://www.gphoto.org/doc/manual/permissions-usb.html

I have a Canon Powershot A95 and following the instructions listed above worked fine.

The main points boil down to these:

host:~# /usr/lib/libgphoto2/print-usb-usermap > /etc/hotplug/usb/usbcam.usermap

I then used the usbcam.user script, changed root to steve, and pasted that file in the /etc/hotplug/usb directory after chaining the name to usbcam and overwriting the existing file. After rebooting all worked fine. The directions are pretty good.

Good luck.

I should mention that you need to install libgphoto2 if you have not allready.
Thanks...that worked! I appreciate the help!
 
  


Reply



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
Another problem with USB digital camera krajzega Linux - Hardware 0 04-12-2004 05:51 AM
Digital Camera problem yoto Linux - Hardware 1 11-30-2003 05:10 PM
USB Digital Camera Problem bernd_meyer56 Red Hat 5 11-15-2003 08:51 PM
what the problem with my digital camera jeson_515 Linux - Hardware 0 07-30-2003 09:48 PM
Digital camera access problem ojoj Linux - Hardware 2 07-13-2003 05:18 AM

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

All times are GMT -5. The time now is 10:03 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