Re: USB Camera and SCSI Mass Storage device

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

 



i have to hot plug my camera and usb disk key if they are plugged in on
boot up they get the same id as my burner.  but it seems from what you
put earlier  i think /dev/sdb1 should have mounted your camera.  my
camera( a Olympus c-4000) puts all the images in a directory structure
of 100olymp/ so perhaps  the 100 200 300 directories earlier contained
your images?

Dennis

 On Mon, 2003-02-03 at 16:54, Dan Devine wrote:
> OK,
> 
> I've tried the suggested removal of "hdd=ide-scsi" from
> /etc/grub.conf.  The CDROM still functions and ALL devices have been
> removed from /proc/scsi/scsi.  Below is a snip of what it reads now...
> 
> Host: scsi1 Channel: 00 Id: 00 Lun: 00
>   Vendor:          Model:                  Rev:
>   Type:   <NULL>                ANSI SCSI revision: ffffffff
> 
> 
> When attempting to mount any /dev/sdxx device, I get the familiar "not
> a block device" message
> 
> 
> After returning the /etc/grub.conf back to it's original state, the
> cd-rom is now visable as a scsi device, but not the camera (as shown
> below).
> 
> in the /proc/scsi directory, there are listings for usb-storage-0 and
> usb-storage-1..they've always been there....
> 
> 
> Any other ideas?
> 
> Thanks
> Dan D
> 
> 
> On Sun, 2003-02-02 at 20:22, Stephen Carville wrote: 
> > On Sunday 02 February 2003 08:12 pm, HakanTerzioglu wrote:
> > > Seems like the scsi emulated ide-cd and your cam is trying to get 
> > the same scsi id.
> > > Please try with out the ide scsi support for your cdrom. i mean 
> > remove the word "hdc=ide-scsi" from /etc/grub.conf ( the line starts 
> > with kernel /boot....) If you are using GRUB as boot loader. (the 
> > default)
> > > Then reboot the machine and check what happens..
> > 
> > Maybe not.  From the position in /proc/scsi/scsi it could be /dev/sg0.  
> > At least it works that way wth scsi tape changer controllers
> > 
> > >  
> > >   -- Original Message -- 
> > >   From: Dan Devine 
> > >   To: RedHat 8.0 mailing list 
> > >   Sent: Monday, February 03, 2003 5:34 AM
> > >   Subject: Re: USB Camera and SCSI Mass Storage device
> > > 
> > > 
> > >   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>  
> > > 
> > > 
-- 
Dennis Gilmore <dennis@dgilmore.net>

Attachment: signature.asc
Description: This is a digitally signed message part


[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