On Wed, 25 Aug 2004, Thom "wolvie" Andrade wrote: > i'm got some problem using de usb-storage module on 2.6.X kernels. > > while trying to mount the device (a panasonic dmc-lc 33 camera > identified as a Vendor: MATSHITA Model: DMC-LC33 by the usb-storage > driver) it returns me "No media found"
This seems to be a problem with all the DMC-LCx cameras. They don't handle the SCSI "Allow Medium Removal" command correctly. You can fix this in either of two ways. First, you can edit your kernel source by hand and rebuild the SCSI driver. The file you need to change is drivers/scsi/scsi_devinfo.c. In that file you will find a long list of device entries, including a couple marked MATSHITA and DMC-LC5 or DMC-LC40. Either change one of those lines, or add a new line of your own, that says DMC-LC33. Alternatively, you can take an equivalent action at runtime without changing the kernel at all. Some time after the scsi_mod module is loaded, but before you plug in your camera, do this (as root): echo 'MATSHITA:DMC-LC33:0x80400' >/proc/scsi/device_info Alan Stern ------------------------------------------------------- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 _______________________________________________ [EMAIL PROTECTED] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users