[Nut-upsdev] support for newer mustek powermust model 06da:0003

Arjen de Korte nut+devel at de-korte.org
Mon Nov 26 18:04:00 UTC 2007


> The old mustek works for me with agiler driver in nut 2.2.0 that does
>
> for (i = 0; i < AGILER_REPORT_COUNT; i++) {
>         len = usb->get_interrupt(udev, (unsigned char *) buf + i *
> AGILER_REPORT_SIZE, AGILER_REPORT_SIZE, AGILER_TIMEOUT);
> ...
>
> Has somebody actually reported that the old mustek works with agiler
> driver in svn head that does not have the for-loop?

Yes. It's a while back, but we have reports that it works without
splitting everything in 8-byte chunks.

>> with that one. What the reason is that we need to split up everything in
>> 8-byte chunks, is something I still don't understand. Probably a buggy
>> USB
>> implementation in the Phoenixtec Power Co implementation that chokes if
>> the data is read too quickly.
>
> Possibly, until Poehonixtec Power Co comments we can only guess ;-)

Which most likely means, we'll keep guessing forever...

Best regards, Arjen




More information about the Nut-upsdev mailing list