Georg Acher wrote:
> > Apr 19 19:11:37 veiron kernel: usb-uhci-debug.h: Len=00 e3 SPD IOC
> > Stalled Babble
> Aaah... Babble. So the camera wants to send more data than the host
> requests. This seems to be a problem of the camera itself. Only one byte
> is requested, but the camera tries to send more. There are a few other
> devices that exhibit this behavior.
Well, scanner.c isn't written exactly for the canon camera,
I haven't thought of which way is best to access the S10/S20 camera:
using devio, an own driver (like dcxxx) or some patches to scanner.c
> > E: Ad=83(I) Atr=03(Int.) MxPS= 64 Ivl= 96ms
> ^^
> The scanner driver asks for one byte, but the endpoint size is 64. Maybe the
> camera likes not other requestsize. For a very quick and dirty hack
> you can try to increase the request size in scanner.c to 64 (about line 731):
WELL DONE!, It worked perfectly (2593175 transfered in 7 seconds
(362kb/s)), however:
> FILL_INT_URB(&scn->scn_irq, dev,
> usb_rcvintpipe(dev, have_intr),
> &scn->button,endpoint[(int)have_intr].wMaxPacketSize,
>irq_scanner, scn,
> // endpoint[(int)have_intr].bInterval);
> 250);
In scanner.c this is the way it finds out "have_intr":
(!have_intr && IS_EP_INTR(endpoint[ep_cnt])) {
ep_cnt++;
have_intr = ep_cnt;
This way have_intr was +1 too much in my "dirty hack" so i took
endpoint[(int)have_intr-1] instead.
Is this a "bug" in scanner.c or am I just using a variable in a way it
wasn't ment?
> > However I tried the "alternative" driver uhci.c, and it works with no
> > problem, not even the "delay" exist when I try to shutdown the camera:
> <...>
> > I'll be very happy if anyone can help me finding out why my camera
> > dislike the usb-uhci driver, where do I start?
>
> I'm 99% certain that uhci.o also has this problem, but simply doesn't print
> the error message.
I haven't tested it but they way the problem was solved I am sure you
are right.
Happy vaccation!
Mikael Nystr�m
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]