LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware
User Name
Password
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?

Notices


Reply
  Search this Thread
Old 03-21-2004, 06:01 PM   #1
phunkymunky
Member
 
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
/dev/sg0

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
neo77777
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
phunkymunky
Member
 
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
maroonbaboon
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:

http://www.qbik.ch/usb/devices/showdev.php?id=2000

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.

CONFIG_BLK_DEV_IDESCSI=y
CONFIG_SCSI=y
CONFIG_SCSI_PROC_FS=y
CONFIG_SCSI_REPORT_LUNS=y
CONFIG_SCSI_SATA=y
CONFIG_SCSI_ATA_PIIX=y
CONFIG_SCSI_IZIP_EPP16=y
CONFIG_SCSI_QLA2XXX=y
CONFIG_USB=y
CONFIG_USB_DEVICEFS=y
CONFIG_USB_EHCI_HCD=y
CONFIG_USB_OHCI_HCD=y
CONFIG_USB_UHCI_HCD=y
CONFIG_USB_PRINTER=y
CONFIG_USB_STORAGE=y
CONFIG_USB_STORAGE_DATAFAB=y
CONFIG_USB_STORAGE_DPCM=y
CONFIG_USB_STORAGE_SDDR09=y
CONFIG_USB_STORAGE_SDDR55=y
CONFIG_USB_STORAGE_JUMPSHOT=y
CONFIG_USB_HID=y
CONFIG_USB_HIDINPUT=y
CONFIG_USB_HIDDEV=y
CONFIG_USB_SERIAL_GENERIC=y
CONFIG_USB_EZUSB=y
 
Old 03-23-2004, 08:26 AM   #5
JaseP
Senior Member
 
Registered: Jun 2002
Location: Eastern PA, USA
Distribution: K/Ubuntu 18.04-14.04, Scientific Linux 6.3-6.4, Android-x86, Pretty much all distros at one point...
Posts: 1,802

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
phunkymunky
Member
 
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.

phunkymunky
 
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)
 
  


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
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

LinuxQuestions.org > Forums > Linux Forums > Linux - Hardware

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