Hi, Following is a patch to linux usb driver code for Minolta Dimage 7 camera. This camera uses usb mass-storage driver in bulk mode. Currently, under 2.4.17, when we initiate the USB connection from the camera, linux seems to detect it and proper entries appear under /proc/bus/usb/devices and /proc/scsi/scsi. But if you try to mount the drive as "mount -o rw -t vfat /dev/sda1 /mnt/camera", the camera disconnects saying "USB session terminated".
The following patch fixes the problem, and I was able to read/write image files to and from the camera mounted at /mnt/camera. One problem remains: once you have mounted the camera, if you try to shutdown the computer all goes well it it says "Unmounting local file systems" and remains stuck there for 2-3 minutes and then cribs about usb.c interrupt device not responding and a couple of scsi warnings. After that the computer properly shuts down. I have observed this behavior with the SDDR-31 usb compact flash adaptor, which interestingly uses the same mode (bulk transport) and "flags" (US_FL_START_STOP). Anyway, here goes the patch. Regards, Kedar. 267,272d266 < UNUSUAL_DEV( 0x0686, 0x4006, 0x0001, 0x0001, < "Minolta", < "Dimage 7", < US_SC_SCSI, US_PR_BULK, NULL, < US_FL_START_STOP ), < _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
