I think I confused you a bit with my story. If I want to take out the
card, I have to turn off the camera. Then I remove the card, and plug it
back in. Now it is the same device that connects, it's only the size of
the disk that is different.

Here's an example, first mounting, then ejecting the camera:

[EMAIL PROTECTED] root]$ mount -v /mnt/camera
mount: you didn't specify a filesystem type for /dev/sda1
       I will try all types mentioned in /etc/filesystems or
/proc/filesystems
Trying vfat
/dev/sda1 on /mnt/camera type vfat (rw,nosuid,nodev)
[EMAIL PROTECTED] root]$ eject -v /mnt/camera
eject: device name is `/mnt/camera'
eject: expanded name is `/mnt/camera'
eject: `/dev/sda1' is mounted at `/mnt/camera'
eject: unmounting `/dev/sda1'
eject: `/dev/sda1' is a multipartition device
eject: trying to eject `/dev/sda1' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/sda1' using SCSI commands
eject: SCSI eject failed
eject: trying to eject `/dev/sda1' using floppy eject command
eject: floppy eject command failed
eject: trying to eject `/dev/sda1' using tape offline command
eject: tape offline command failed
eject: unable to eject, last error: Invalid argument

So I think 'eject' is not part of the problem.

Greetings,

Jan Fabry

On Tue, 2003-03-18 at 19:08, Stephen J. Gowdy wrote:
> After doing the 'eject /dev/sda', and removing the card, did you see the 
> different sizes?
> 
> On Tue, 18 Mar 2003, Jan Fabry wrote:
> 
> > When I issue the command 'eject sda' or 'eject sda1', I get the message
> > that it was an invalid argument. Adding /dev/ or the -s option doesn't
> > help. And yes, it is sda[1], I can mount it from there.
> > 
> > Other reports of using USB cameras under Linux (with the "USB Mass
> > Storage" interface) are never talking about ejecting, only unmounting.
> > And since I haven't even mounted it yet, that is not even needed for me.
> > 
> > Greetings,
> > 
> > Jan Fabry
> > 
> > On Tue, 2003-03-18 at 18:19, Stephen J. Gowdy wrote:
> > > You need to "eject" the device if the media changes (which it sounds like
> > > it effectively does for this device).
> > > > 
> > > > On Tue, 2003-03-18 at 17:24, Stephen J. Gowdy wrote:
> > > > > I believe this is intentional incase you plug your device back in again.
> > > > > 
> > > > > On Tue, 18 Mar 2003, Jan Fabry wrote:
> > > > > > 
> > > > > > However, nothing happens when I disconnect the camera. I get a message
> > > > > > in /var/log/messages, but the device is still listed in /proc/scsi/scsi,
> > > > > > and I can get information about it in /proc/scsi/usb-storage-0/1. The
> > > > > > module also stays in memory.
> > > > > > 
> > > > 
> > 




-------------------------------------------------------
This SF.net email is sponsored by: Does your code think in ink? 
You could win a Tablet PC. Get a free Tablet PC hat just for playing. 
What are you waiting for?
http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to