On Thu, 28 Aug 2003, Uberto Barbini wrote:

> I applied but... now doesn't work neither usb-key nor CF-reader.
> 
> First I patched the kernel 2.6.0-test4, I had to do manually because
> something bcd stuff was yet there, and I double-checked everything.
> 
> Then I compiled the kernel with oldconfig and I rebooted.
> Then I loaded uhci-hcd and ehci-hcd and I inserted CFreader but it
> wasn't detected rightly and usb hanged off, I had to reset, beacause
> it didn't shutdown.
> Then I tried with usb-key with same result (no sda1 and usb out of
> order).
> Finally I rebooted with previous kernel (test3) I inserted CFreader
> and I copied all the logs.
> 
> I attached logs (both messages and debug).

I read the debug logs -- they clearly show the problem with the MODE-SENSE 
command.  Too bad you didn't show 2.6.0-test3 with the usb-key, but never 
mind.

I think that patch I sent you before is on the right track, though.  Try 
doing this:  Find the line in the patch where it says

+               len = data.header_length + data.block_descriptor_length + 4;

and change that 4 to a 12.  Basically that means asking for the normal 
length of the page instead just the minimum that we need.  Try running 
with that and send the debug logs -- no need for the messages.  I think it 
won't make things any worse; the CF reader should still work.  But whether 
it will help the usb-key... who knows?

Alan Stern



-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to