Matthias Andree wrote:
David Brownell <[EMAIL PROTECTED]> writes:


Matthias Andree wrote:

What I think I'll do is wrap up Alan's more-correct patch with
a minor locking update that's been in my queue for some time,
and ask you to test the combined patch.

And here it is.


Although it appears to contain Alan's patch, it doesn't quite work. It's
OK as long as I don't run a scanner application software and usbmodules
(old version) at the same time. If I run usbmodules during xsane, I'm
getting

usb 3-2: control timeout on ep0in
usbfs: USBDEVFS_CONTROL failed cmd usbmodules dev 2 rqt 128 rq 6 len 18 ret -110

Actually a control timeout by itself is not a problem. I think usbfs probably shouldn't print such messages.

And the usbutils code needs to be a LOT smarter about
descriptor fetching ... it's evidently giving up after
that fault, rather than retrying.


If I then try an application again, it won't work...


As I recall, there were two bugs there.  One was a "usbfs broken"
bug, which this patch should resolve.


Is the state I can get my scanner in 'resolve'd?

There was more than one state that needed to be resolved, as I recall ... sounds like one of them was, you didn't mention the loud noise and threat of physical damage due to head seek.


The other was a "khubd broken" problem, to be resolved by reverting a
patch.  You'd be needing both patches to have gphoto2 behave, but I
think this one alone might be enough to shut the scanner up.


Is the khubd patch somewhere on the web?

It was re-posted this morning as:


http://marc.theaimsgroup.com/?l=linux-usb-devel&m=108016447231291&w=2





-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to