On Sun, Dec 30, 2001 at 10:55:19AM +0100, [EMAIL PROTECTED] wrote:
> On Sun, 30 Dec 2001, Nick Craig-Wood wrote:
> 
> > I'm sure this is a known problem - does anyone know how to go about
> > fixing it?
> 
> Please go to the syslog and check whether usb-storage computes identical
> UUIDs for both devices.

Do you mean the GUID as visible in /proc/scsi/usb-storage-0/0?  If so
then yes they are identical.

# cat /proc/scsi/usb-storage-0/0
   Host scsi0: usb-storage
       Vendor: Sony
      Product: MSAC-US1
Serial Number: None
     Protocol: Uniform Floppy Interface (UFI)
    Transport: Control/Bulk
         GUID: 054c002d0000000000000000
     Attached: 1

I just found a sequence of events which does work, namely doing the
eject after changing the media.

# # 64 MB stick in drive
# cat /proc/partitions | grep sda
   8     0      63424 sda
   8     1      63340 sda1
# # Remove 64 MB stick, insert 4 MB stick
# cat /proc/partitions | grep sda
   8     0      63424 sda
   8     1      63340 sda1
# eject /dev/sda
# cat /proc/partitions | grep sda
   8     0       3952 sda
   8     1       3922 sda1

If you do the eject before changing the media then it doesn't work

# # 64 MB stick in slot
# cat /proc/partitions | grep sda
   8     0      63424 sda
   8     1      63340 sda1
# eject /dev/sda
# # Remove 64MB stick, insert 4 MB stick
# cat /proc/partitions | grep sda
   8     0      63424 sda
   8     1      63340 sda1

However if you do another eject now...

# eject /dev/sda
# cat /proc/partitions | grep sda
   8     0       3952 sda
   8     1       3922 sda1

-- 
Nick Craig-Wood
[EMAIL PROTECTED]

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to