On Thu, Dec 19, 2002 at 11:14:43AM +0100, Lars T?uber wrote:
> i have the same problem. when i connect a usb-cf-reader to the bus and 
> afterwards a digital kamera - the partitiontable isn't read again. so 
> the first read on a partition that wasn't present on the cf fails on the 
> kamera the first time.
> 
> this seems to be a bug, but i'm not skilled enough to fix it.
> maybe there is someone out ther who can?

On line 1376 (in fop_relatidate_scsidisk()) in drivers/scsi/sd.c, change
the second parameter of the call to revalidate_scsidisk() from a 0 to a
1. Then rebuild the kernel modules (or the kernel, if you have SCSI disk
support built statically into your kernel).

-- 
Derrik Pates
[EMAIL PROTECTED]
[EMAIL PROTECTED]


-------------------------------------------------------
This SF.NET email is sponsored by: Geek Gift Procrastinating?
Get the perfect geek gift now!  Before the Holidays pass you by.
T H I N K G E E K . C O M      http://www.thinkgeek.com/sf/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to