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.
If it is a mass storage device the kernel should be mounting it on /dev/sda or /dev/sda1 . What does dmesg say?
With camera plugged in and powered on what does ' /sbin/fdisk -l ' output say
See, that's where I thought it should mount it. But no...see below
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
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
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.
This might work as well ' cat /proc/scsi/map '. This may not exist.
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.
|All times are GMT -5. The time now is 12:24 PM.|