LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-06-2005, 07:48 AM   #1
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Rep: Reputation: 30
How do I mount my camera?


I'm using Slackware -current with kernel 2.6.13. I have a Minolta DiMage G400 digital camera that I wish to use in Linux. The camera seems to be detected by the kernel when I plug the USB cable in:

From dmesg
Quote:
usb 1-1: new full speed USB device using uhci_hcd and address 6
scsi3 : SCSI emulation for USB Mass Storage devices
usb-storage: device found at 6
usb-storage: waiting for device to settle before scanning
Vendor: MINOLTA Model: DiMAGE G400 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 00
usb-storage: device scan complete
But how do I mount it so I can download the pics using digikam or gtkam? I tried running 'mount -t usbfs /dev/sda1 /mnt/camera', and digikam will display a few files, but they are all blank so I take it I am not mounting the camera when I type that? Any idea what device I should be mounting?
 
Old 09-06-2005, 08:09 AM   #2
akudewan
Member
 
Registered: Apr 2004
Location: India
Distribution: Ubuntu
Posts: 364

Rep: Reputation: 31
I use a program called "gtkam". You could try it out, makes things much easier.

http://www.gphoto.org/proj/gtkam/
 
Old 09-06-2005, 08:23 AM   #3
T2F
LQ Newbie
 
Registered: Sep 2003
Location: "The South Coast of Texas"
Distribution: slackware
Posts: 12

Rep: Reputation: 0
Your camera is not supported by libgphoto2, the backend for digikam & gtkam. See:

http://gphoto.org/proj/libgphoto2/support.php

for details.
Since it is being detected as a usb-storage device, after dmesg has finished, as root run:

fdisk -l /dev/sda

Pay particular attention to the 'system' column. Use that filesystem when you mount sda1 (or whatever it is). Then you can use any filemanager to manage your pictures.
Regards,
Bill
 
Old 09-06-2005, 08:38 AM   #4
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Original Poster
Rep: Reputation: 30
I'm not even sure the camera is at sda1. When I ran 'fdisk -l /dev/sda1' it didn't list anything. Is there some way to tell what the camera is listed as in the /dev directory? (eg. /dev/sda?? /dev/sda1?? etc.)

I was under the impression that, using digikam, I could select 'USB Mass Storage' in the 'camera configuration' section, and then type in the camera mount path (eg. /mnt/camera), and it would let me download any pics off the camera.

Last edited by jspaceman; 09-06-2005 at 08:42 AM.
 
Old 09-06-2005, 08:47 AM   #5
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
It should be fdisk -l /dev/sda not sda1

by the way, are you sure the fs type should be usbfs? Try vfat.
 
Old 09-06-2005, 08:51 AM   #6
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Original Poster
Rep: Reputation: 30
Quote:
Originally posted by gbonvehi
It should be fdisk -l /dev/sda not sda1

by the way, are you sure the fs type should be usbfs? Try vfat.
I tried both 'fdisk -l /dev/sda' and fdisk -l /dev/sda1', and both of them didn't return anything.

When I try 'mount -t vfat /dev/sda /mnt/camera' I get

Quote:
mount: /dev/sda is not a valid block device
 
Old 09-06-2005, 09:06 AM   #7
T2F
LQ Newbie
 
Registered: Sep 2003
Location: "The South Coast of Texas"
Distribution: slackware
Posts: 12

Rep: Reputation: 0
mounting camera

As root, run

fdisk -l

(leave off the device). This will show the partitions on all your drives & allow you to see what device your camera is on. Then proceed as above.
Regards,
Bill

Last edited by T2F; 09-06-2005 at 09:08 AM.
 
Old 09-06-2005, 09:27 AM   #8
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Original Poster
Rep: Reputation: 30
'fdisk -l' gives me:

Code:
Device Boot      Start         End      Blocks   Id  System
/dev/hdc1   *       17500       59543    21189703+   c  W95 FAT32 (LBA)
/dev/hdc2               1       16223     8176360+  83  Linux
/dev/hdc3           16224       17499      643104    5  Extended
/dev/hdc5           16224       17499      643072+  82  Linux swap
Nothing there about my camera. I'm beginning to think that I might have to recompile my kernel to add in SCSI support, as this page and this page seem to suggest. According to the first URL the Minolta DiMage G400 can be used with the 'USB Mass Storage' driver. And Linuxquestions' own Hardware Compatibility List has an entry for the DiMage G400.
 
Old 09-06-2005, 10:18 AM   #9
T2F
LQ Newbie
 
Registered: Sep 2003
Location: "The South Coast of Texas"
Distribution: slackware
Posts: 12

Rep: Reputation: 0
You're right. The Digikam docs have good info for getting it to work. I don't use the usb-storage & didn't realize that Digikam would do that. My bad. Good luck.
Regards,
Bill
 
Old 09-06-2005, 10:59 AM   #10
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
Quote:
Originally posted by jspaceman
When I try 'mount -t vfat /dev/sda /mnt/camera' I get
Try: mount -t vfat /dev/sda1 /mnt/camera
 
Old 09-07-2005, 04:06 AM   #11
jspaceman
Member
 
Registered: Dec 2000
Location: Toronto, Canaduhhhh
Distribution: Slackware -current, OpenBSD 3.8-stable
Posts: 178

Original Poster
Rep: Reputation: 30
Sho nuff' recompiling my kernel with SCSI support (as per these instructions) allows me to access the camera as a USB storage device and download pics off of it. I can't change the camera's settings, or anything like that; but that's OK as I understand the Minolta DiMage G400 isn't supported in that way and can only be accessed as a USB storage device.

So 'mount -t vfat /dev/sda1 /mnt/camera' works now.

Last edited by jspaceman; 09-07-2005 at 04:07 AM.
 
Old 09-07-2005, 07:13 AM   #12
T2F
LQ Newbie
 
Registered: Sep 2003
Location: "The South Coast of Texas"
Distribution: slackware
Posts: 12

Rep: Reputation: 0
Good. I'm glad you got it working.
Regards,
Bill
 
  


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
mount digital camera? Okie Slackware 10 06-25-2005 11:15 AM
USB Camera Will Only Mount Once Glock Shooter Linux - Hardware 9 02-05-2005 08:26 AM
can mount mount digital camera but gphoto can't detect it luxitan Linux - Hardware 1 11-13-2004 05:16 AM
Camera won't mount Temjin Linux - Hardware 7 10-31-2004 05:14 AM
camera mount barrynewt Linux - General 1 01-07-2003 11:59 AM

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

All times are GMT -5. The time now is 02:41 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
Open Source Consulting | Domain Registration