LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 12-25-2004, 03:09 PM   #1
labced501
LQ Newbie
 
Registered: Sep 2004
Location: Gator Town, FL
Distribution: Mandrake
Posts: 8

Rep: Reputation: 0
USB Mass Storage Device Cameras


Just recently got a new camer (Olympus C-5060) which should work as a USB mass-storage device. I've tried to plug it in to my Madrake 10.1 computer. Kernel knows its there, but sees it at /dev/sg0. So my question is how do you mount an sg device? I can provide more info if necessary.
 
Old 12-25-2004, 04:25 PM   #2
Andrew Benton
Senior Member
 
Registered: Aug 2003
Location: Birkenhead/Britain
Distribution: Linux From Scratch
Posts: 2,073

Rep: Reputation: 64
If it is a mass storage device the kernel should be mounting it on /dev/sda or /dev/sda1 . What does dmesg say?
 
Old 12-25-2004, 04:49 PM   #3
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
With camera plugged in and powered on what does ' /sbin/fdisk -l ' output say

Brian1
 
Old 12-25-2004, 04:58 PM   #4
labced501
LQ Newbie
 
Registered: Sep 2004
Location: Gator Town, FL
Distribution: Mandrake
Posts: 8

Original Poster
Rep: Reputation: 0
See, that's where I thought it should mount it. But no...see below

dmesg:

usb 1-1: new full speed USB device using address 2
SCSI subsystem initialized
Initializing USB Mass Storage driver...
scsi0 : SCSI emulation for USB Mass Storage devices
Vendor: OLYMPUS Model: C5060WZ Rev: 1.00
Type: Direct-Access ANSI SCSI revision: 02
USB Mass Storage device found at 2
usbcore: registered new driver usb-storage
USB Mass Storage support registered.
...
Attached scsi generic sg0 at scsi0, channel 0, id 0, lun 0, type 0
usb 1-1: USB disconnect, address 2

fdisk -l

Disk /dev/hda: 18.1 GB, 18141806592 bytes
16 heads, 63 sectors/track, 35152 cylinders
Units = cylinders of 1008 * 512 = 516096 bytes

Device Boot Start End Blocks Id System
/dev/hda1 * 1 12190 6143728+ 83 Linux
/dev/hda2 12191 35152 11572848 5 Extended
/dev/hda5 12191 13205 511528+ 82 Linux swap
/dev/hda6 13206 35152 11061256+ 83 Linux
 
Old 12-25-2004, 05:50 PM   #5
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
Ok it must be some sort of raw device. Lets see the output of ' cat /proc/scsi/scsi '
Theres a program called sg_map that might give some info you need. Not for sure where you can find it if not installed.

Here is a guess as to the mount point. Use no partition identity
mount -t vfat /dev/sda /mnt/camera

Of course you need a directory called /mnt/camera to mount to. You can mount it to anything you like as well.

Brian1
 
Old 12-25-2004, 05:53 PM   #6
Brian1
Guru
 
Registered: Jan 2003
Location: Seymour, Indiana
Distribution: Distribution: RHEL 5 with Pieces of this and that. Kernel 2.6.23.1, KDE 3.5.8 and KDE 4.0 beta, Plu
Posts: 5,700

Rep: Reputation: 61
This might work as well ' cat /proc/scsi/map '. This may not exist.

Brian1
 
Old 12-25-2004, 06:01 PM   #7
labced501
LQ Newbie
 
Registered: Sep 2004
Location: Gator Town, FL
Distribution: Mandrake
Posts: 8

Original Poster
Rep: Reputation: 0
Stupid as this is gonna sound...I just looked at my kernel config, and while I did have usb device enabled, for some reason I had disabled scsi disk support. so i'm gona try and recompile with that module and see if that's my problem, which it probably is. ya know, its funny how you read through all the posts and say "of course I've done that" so you make your own post. And then you think "...well maybe I should check" and you end up being the stupid one.

Thanks y'all. I'll post again to letcha know the results.
 
  


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
Mass storage device USB xeebeeeeeee Linux - Hardware 10 02-13-2008 12:11 PM
USB Mass storage Device purefan Linux - Hardware 15 06-06-2005 01:56 PM
usb - mass storage device d1l2w3 Mandriva 7 01-10-2005 10:10 PM
USB Mass Storage Device ebasi Linux - Hardware 2 12-23-2004 02:06 PM
Usb mass storage device laguna Linux - Hardware 4 08-12-2002 02:16 AM


All times are GMT -5. The time now is 01:24 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration