Re: USB Camera and SCSI Mass Storage device

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Here is the sequence for my Fuji FinePix1300:

[root@ganesha /]# mount -t vfat /dev/sda /mnt/camera
mount: wrong fs type, bad option, bad superblock on /dev/sda,
       or too many mounted file systems

Ok, I knew that one <g>.  Now let's try...

[root@ganesha /]# mount -t vfat /dev/sda1 /mnt/camera
[root@ganesha /]# ls /mnt/camera
dcim  Palm  PiBackupDir
[root@ganesha /]# ls /mnt/camera/dcim/100_fuji/
dscf0284.jpg  dscf0285.jpg
[root@ganesha /]# cp /mnt/camera/dcim/100_fuji/*.jpg /home/bret
[root@ganesha /]# umount /mnt/camera
[root@ganesha /]#

Note: The "film" is a SmartMedia card, which I use for other purposes as
well, backing up my Handspring Visor, etc., so there are extraneous
directories on the card.  The one that the camera creates to put
pictures into is the "dcim/100_fuji" directory path - that's where the
.jpg files are.  It's created when the camera initializes the SmartMedia
card, and it's a FAT file system, and I believe for that reason it
requires you address the particular partition, rather than the device
(sda1 vs. sda).  If that doesn't apply to other devices, I'll be
interested to hear.

I'm running Redhat 8, did the same with Redhat 7.3.  Redhat's
automatic-hardware-detection-on-boot gizmo rewrites the fstab file each
time.  I haven't done a lot of investigating of this yet - maybe there's
a way to keep it from deleting the camera entry if the camera isn't
plugged in on bootup.  Anyone?

I've skimmed this thread, hopefully this is useful info, if not good
fortune with your camera.

Cheers,
Bret

On Sun, 2003-02-02 at 22:34, Dan Devine wrote:
>  
> OK, tried that....all devices /dev/sda --> /dev/sdd return with "mount:
> /dev/sd? is not a valid block device"...
> 
> I've also read through the PDF
> 
> http://www.omniflashproducts.com/downloads/OmniFlash/Linux/LinuxMountingInstructions.PDF
> 
> 
> Attached devices:
> Host: scsi0 Channel: 00 Id: 00 Lun: 00
>   Vendor: FUJIFILM Model: USB-DRIVEUNIT    Rev: 1.00
>   Type:   Direct-Access                    ANSI SCSI revision: 02
> Host: scsi1 Channel: 00 Id: 00 Lun: 00
>   Vendor: ASUS     Model: CRW-4816A        Rev: 1.0
>   Type:   CD-ROM                           ANSI SCSI revision: 02
> Host: scsi2 Channel: 00 Id: 00 Lun: 00
>   Vendor:          Model:                  Rev:
>   Type:   <NULL>                ANSI SCSI revision: ffffffff
> 
> 
> It's there....how do I get to it?
> 
> 
> Thanks,
> 
> DD
> 
> 
> On Sun, 2003-02-02 at 19:10, HakanTerzioglu wrote:
> 
> >  
> > Hi,
> > Your camera , as a mass-storage device, is  a emulated SCSI device for
> > Linux, so if you look at your logs you can see which drive it is
> > bounded to, and so you can mount that drive and reach your photos.
> > For mine ( a cheap digital camera costed me 100$) it is /dev/sdb,
> > cause i have a scsi disk at /dev/sda. I mount usb cam like :
> > mount /dev/sdb /mnt/camera
> > and it just works. (My cam is not supported by gtkam either by the
> > way)
> > Be careful not to give something like /dev/sdb1 sdb2 or so, you have
> > to give only the device not a partiton.
> >  
> > Generally digi cams have fat fs inside the internal memory so it wont
> > be a problem for Psyche to mount it with its default kernel.
> >  
> > YOu can examine the logs to see the usb mass storage like ;
> > dmesg|grep usb
> >  
> >  
> > Cheers;
> > hakan.
> > 
> >         ----- Original Message ----- 
> >         From: Dan Devine
> >         To: RedHat 8.0 mailing list
> >         Sent: Monday, February 03, 2003 3:53 AM
> >         Subject: Re: USB Camera and SCSI Mass Storage device
> >         
> >         Thanks for the help Stephen,
> >         
> >         here's what I'm seeing right now (directory/contents)...
> >         
> >         /proc/scsi
> >         ide-scsi  scsi  usb-storage-0  usb-storage-1
> >         
> >         Also, I got the following.........
> >         /proc/bus/usb
> >         001  002  003  devices  drivers
> >         
> >         I can see how /dev/scd0    (scsi disk 0)... get's mapped to
> >         /dev/cdrom.  I just had to redo that with "ln -s /dev/scd0
> >         /dev/cdrom" since I first posted on the list.
> >         
> >         Where is the USB device?  I've successfully mounted /dev/scd1
> >         with the addition of this line to the /etc/fstab
> >         /dev/scd1 /camera usbfs defaults 0 0
> >         
> >         
> >         when examining the mount, I get the following directory......
> >         /camera
> >         001  002  003  devices  drivers
> >         
> >         I've read the devices file and have found the entry for the
> >         camera, but I'm unable to actually get any of the data or even
> >         find a "drive" where I could see the files.....
> >         
> >         What am I doing wrong?
> >         
> >         
> >         Thanks,
> >         Dan
> >         
> >         
> >         
> >         I've also tried to map 
> >         
> >         -- 
> >         Dan Devine <dannyboy259@attbi.com> 
> 
> -- 
> Dan Devine <dannyboy259@attbi.com>
> 




-- 
Psyche-list mailing list
Psyche-list@redhat.com
https://listman.redhat.com/mailman/listinfo/psyche-list

[Index of Archives]     [Fedora General Discussion]     [Red Hat General Discussion]     [Centos]     [Kernel]     [Red Hat Install]     [Red Hat Watch]     [Red Hat Development]     [Red Hat 9]     [Gimp]     [Yosemite News]

  Powered by Linux