On Sat, 4 Dec 2004, Alan Stern wrote:
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?
By accident: I used the Fedora kernel sources and modified them. In Fedora, the RW_DETECT setting is on by default. When I started searching what could be wrong with the camera I read the comment about this feature in the kernel docs and switched it off - just to be sure - but it didn't help.
Then I wrote to you and the camera worked fine with the echo to /proc/scsi/device_info. But later I recompiled the kernel for other reasons and forgot to switch RW_DETECT off - and the camera stopped working, even with the echo. That's how I realized that this was important.
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?
Unfortunately not, I've already tried. The system seems to freeze immediately. There's nothing in the syslogs apart from the message that a new USB device was detected.
Also, I don't know what "haldaemon" is or what it does. Can you explain?
I don't know much about it. I saw it the first time on FC3. I realized that it exists because it was creating entries for cdrom and floppy in
"/etc/fstab" automatically, on demand. That's also how I guessed that this could be the thing that freezes my machine when I plug in the camera, which proved to be correct. The corresponding rpm-package doesn't even contain a man page, but I found this url:
http://www.freedesktop.org/Software/hal
Dietrich
-------------------------------------------------------
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
