Review your favorite Linux distribution.
Go Back > Forums > Linux Forums > Linux - Hardware
User Name
Linux - Hardware This forum is for Hardware issues.
Having trouble installing a piece of hardware? Want to know if that peripheral is compatible with Linux?


  Search this Thread
Old 03-21-2004, 06:01 PM   #1
Registered: Aug 2003
Location: Glasgow, Scotland
Distribution: Slackware 14.0, Debian 7.0
Posts: 60

Rep: Reputation: 22
help needed to get my digital camera pictures

I've been trying to get pictures off my digital camera this weekend and so far have had no luck so thought i would ask here.
I have done a search on the forums for items related to this and have tried a lot of the suggestions put forward but still have had no success.

My camera is an Olympus C-150 (present so no chance to choose a linux compatible one).
OS is Slackware 9.1.

I have usb-storage, scsi stuff etc in my kernel.

I installed the sg3_utils and used sg_scan and sg_map as has been suggested in other threads.

connecting the camera i get:

dmesg -

hub.c: new USB device 00:08.0-1, assigned address 2
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: OLYMPUS Model: C150,D390 Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
WARNING: USB Mass Storage data integrity not assured
USB Mass Storage device found at 2

sg_scan -

/dev/sg0: scsi0 channel=0 id=0 lun=0 [em] type=0

and sg_map -

# Note: the devfs pseudo file system is present

I have tried mounting /dev/sg0 but get the not valid block device message.

I cant get gphoto2 to install for some reason (still looking into this)

As you can see the camera is being detected (correctly?) as a mass storage device but i cant seem to access /dev/sg0

Any ideas anyone has would be useful.

cheers phunkymunky
Old 03-21-2004, 08:48 PM   #2
LQ Addict
Registered: Dec 2001
Location: Brooklyn, NY
Distribution: *NIX
Posts: 3,704

Rep: Reputation: 56
try /dev/sda*
substitute * for 0...4
Old 03-22-2004, 01:28 PM   #3
Registered: Aug 2003
Location: Glasgow, Scotland
Distribution: Slackware 14.0, Debian 7.0
Posts: 60

Original Poster
Rep: Reputation: 22
if i use sda0 i get the message

special device /dev/sda0 does not exist.

do i need to create it?
Old 03-23-2004, 04:26 AM   #4
Senior Member
Registered: Aug 2003
Location: Sydney
Distribution: debian
Posts: 1,495

Rep: Reputation: 48
This camera is reported to work 'out of the box' at:

so I suspect something wrong with your kernel/usb setup. If I plug in a CF card reader, dmesg tells me it is SCSI device /dev/sdb (kernel 2.6.3). I can't remember if older kernels give this information. Try mounting /dev/sda1 or /dev/sdb1. You don't need to create any devices. Here is everything in my kernel config file matching USB or SCSI (minus a few irrelevant bits). Also some of this is for a SATA disk.

Old 03-23-2004, 08:26 AM   #5
Senior Member
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 12.04/14.04, Scientific Linux 6.3/6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,799

Rep: Reputation: 157Reputation: 157
Check to see if the camera is capable of switching between PTP and USB Mass Storage modes. If you can't use gphoto2, then make sure the camera is set to USB Mass Storage. Make sure the camera is powered to access it, of course.
Old 03-23-2004, 02:44 PM   #6
Registered: Aug 2003
Location: Glasgow, Scotland
Distribution: Slackware 14.0, Debian 7.0
Posts: 60

Original Poster
Rep: Reputation: 22
i have no idea about PTP or mass storage..the documentation is crap doesnt tell me anything useful like that (how can i find out?). I am assuming that the fact that the dmesg text from my first post ends with "USB Mass Storage device found at 2" that it is a mass storage device. Could be wrong tho

maroonbaboon - had a look at that site (your link didnt work) and cant see any mention of my camera. Ive been there before as well.

Your help is most appreciated.

Old 03-23-2004, 06:13 PM   #7
Andrew Benton
Senior Member
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
Your dmesg seems to suggest the kernel sees the camera as /dev/scsi0
If that node doesn't exist you may need to use mknod to make it. As root try
mknod /dev/scsi0 c 81 0
then make a suitable folder like /mnt/camera and
mount /dev/scsi0 /mnt/camera
If you can mount it you may be able to copy the data out of it without any extra programs. I couldn't get Gphoto to work but
mv /mnt/mp3/dcim/100nikon/*.jpg /home/andy/tmp
gets the photos out of my Nikon Coolpix 2500 (I know it say's mp3 - it's easist for me to mount it in the same place as the mp3 player, the kernel sees them all as /dev/sda1)


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
loading pictures from digital camera fakie_flip Linux - Hardware 3 11-06-2005 01:58 AM
Digital Camera (NOW!!!!) DropSig Linux - Hardware 1 09-13-2004 12:25 AM
Digital Camera help needed FunkyBunny Linux - Hardware 3 06-19-2003 05:31 PM
Digital camera NSKL Linux - Hardware 2 09-13-2002 01:58 PM
Digital Camera Mike Blick Linux - Hardware 1 05-28-2002 01:08 PM > Forums > Linux Forums > Linux - Hardware

All times are GMT -5. The time now is 08:30 PM.

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