On Sat, 4 Dec 2004, Dietrich Foethke wrote:

> Hello,
> 
> it took a while, but finally I tried to fix the problem with the two 
> methods you told me. Here's the results:
> 
> As reported before, doing
> 
> echo 'Sony:DSC - F505:0x80400' >/proc/scsi/device_info
> 
> works fine for both, 2.6.8 and 2.6.9 kernels,

That's a good start.

> BUT only if the kernel option
> CONFIG_USB_STORAGE_RW_DETECT is not set! If this option is set, mounting 
> the camera fails with the same errors described before.

That's why RW_DETECT was left as a configuration option, so that people 
could turn it off if they have buggy devices.  Although perhaps making 
it a module parameter instead would be a better approach...

How did you realize that the RW_DETECT setting was causing a problem?

> Furthermore there's a problem with the "haldaemon" that's started by 
> default on Fedora Core 3 systems. If the deamon is running when I plug in 
> the camera, the system freezes completely. There's nothing I could do but 
> to reboot the machine.

Can you capture the system log (maybe by using a serial console) so that 
we can see what usb-storage debugging says just before the system freezes?

Also, I don't know what "haldaemon" is or what it does.  Can you explain?

> I couldn't apply the kernel patch directly, because the versions of 
> the files in the 2.6.9 kernel seem to be different from the ones that you 
> used to create the patch.
> So I edited the files manually, and it worked fine!

Okay, it's good to know that the patch does have the same effect as the 
echo to /proc/scsi/device_info.

> Nevertheless I had the 
> same problems that I had with the echo version: 
> "CONFIG_USB_STORAGE_RW_DETECT" has to be switched of and the "haldaemon" 
> must not be running!
> 
> Thanks again!
> Greetings,
> Dietrich

Alan Stern



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-users

Reply via email to