Help! I've done a search on the archives to see if this has been previously
addressed, but found nothing. Likewise Google. Unfortunately, I don't know
enough to tell if I just searched poorly, or if there's nothing out there.
Problem: I cannot unmount my camera, change the memory stick and remount.
Freshly compiled 2.4.20 kernel, with the usbcore, usb-uhci, and usb-storage
modules loaded, as well as sd_mod and scsi_mod, and usbdevfs mounted at
/proc/bus/usb.
Camera is a Sony DSC P5, which the docs I've found tell me works fine as a
USB mass storage device.
Connect the camera, turn it on, and mount using "mount -t
msdos /dev/sda1 /mnt/camera"--everything works fine, I can read and write the
memory stick to my heart's content.
Unmount using "umount /mnt/camera" and replace the memory stick with the next
one I need to read. Type "mount -t /msdos /dev/sda1 /mnt/camera" and get the
following error:
mount: wrong fs type, bad option, bad superblock on /dev/sda1,
or too many mounted file systems
Playing around, (more like bashing around), I discovered that IF I unload and
then reload the usb-storage module each time I remove a memory stick, it
works, i.e.
umount /mnt/camera
<remove and replace stick>
rmmod usb-storage
insmod usb-storage
mount /mnt/camera
This is rather frustrating to say the least, as I hate having to pull up a
terminal and su to root to diddle the modules ...
Any suggestions for (a) a way to have this happen automatically, or (b) a way
to fix it?
Extract from /proc/bus/usb/devices
T: Bus=01 Lev=01 Prnt=01 Port=01 Cnt=01 Dev#= 7 Spd=12 MxCh= 0
D: Ver= 1.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS= 8 #Cfgs= 1
P: Vendor=054c ProdID=0010 Rev= 3.28
S: Manufacturer=Sony
S: Product=Sony DSC
C:* #Ifs= 1 Cfg#= 1 Atr=40 MxPwr= 2mA
I: If#= 0 Alt= 0 #EPs= 3 Cls=08(stor.) Sub=ff Prot=01 Driver=usb-storage
E: Ad=01(O) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=82(I) Atr=02(Bulk) MxPS= 64 Ivl=0ms
E: Ad=83(I) Atr=03(Int.) MxPS= 8 Ivl=255ms
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users