On Tue, 7 May 2002 10:47, ..tom wrote:
> Sorry, I was actually meaning to send this to linux-usb-devel in the
> first place.
No problem. I just kept it private because it was sent only to me.

> So, does not having exactly one endpoint exclude a device from being
> Boot Protocol compliant? I see how it won't be accepted by the
> usbmouse.c code, but I can't find that stated anywhere in the HID spec.
> In fact, in 4.4 of the spec, it says:
>
> <quote>
> The Interrupt Out pipe is optional. If a device declares an Interrupt
> Out endpoint then Output reports are transmitted by the host to the
> device through the Interrupt Out endpoint. If no Interrupt Out endpoint
> is declared then Output reports are transmitted to a device through the
> Control endpoint, using Set_Report(Output)
> requests.
> </quote>
>
> This seems to indicate that HIDBP should only be concerned about finding
> an interrupt in endpoint, and not worrying about how many endpoints
> there are in total, right? Looks like the bNumEndpoints != 1 was a
> shortcut taken to avoid any further analysis if it doesn't look like "a
> normal" mouse.
I don't think that it is mandatory that bNumEndpoints == 1. I looked at the 
BP example in the back of my old HID 1.0 spec, and it just uses 0x1 as an 
_example_ value.
The tests probably date back to Linus' original code :)

> Of course, the boot protocol support may just as well be dropped
> sometime soon, IMHO. I don't see a reason for boot protocol anymore as
> the full HID solution is there and workable.

That makes at least two of us. Unfortunately neither of those two is the 
Linux USB Maintainer, and he wants to keep it for reasons he has expressed 
before (refer archives). 

Essentially it becomes a tradeoff between confusing users and wasting time on 
telling users why the option called HID is better than the option called 
MOUSE; vs saving space in embedded systems and on boot floppies.

I just keep plugging away at it, and fielding all-too-frequent user questions.

Brad

_______________________________________________________________

Have big pipes? SourceForge.net is looking for download mirrors. We supply
the hardware. You get the recognition. Email Us: [EMAIL PROTECTED]
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to