> this is a WORKAROUND. a proper fix would be something > like allowing ORDWR in usbopen if that is indeed the problem.
No, endpoints are unidirectional by design; in the usb spec there are no read/write endpoints. The confusing thing in the spec is that two different endpoints can have the same endpoint number - they are distinguished by direction. So what looks like a read/write endpoint number 1 is really two separate endpoints, input ep 1 and output ep 1. The current Plan 9 usb architecture perpetuates the confusion by referring to them both with one name epN.1, but you still have to open them both independently.