> I've just tried Erik's usbd with a 2003 iMac keyboard:
> 
> usbotg: ep6.0 error intr 00000402
> usbotg: ep6.0 error intr 00000402
> usbotg: ep6.0 error intr 00000402
> usbotg: ep6.0 error intr 00000402
> usbotg: ep6.0 error intr 00000402
> usbotg: ep6.0 error intr 00000402
> usbotg: ep6.0 error intr 00000402
> usbotg: ep6.0 error intr 00000402
> /boot/usbd: loaddevconf: bug: out of configurations in device
> 
> 00000402 is Data Toggle Error + Channel Halted.
> 
> Erik, have you maybe changed something in the bcm kernel usb driver too
> which makes it work for you?

well, not directly.  later today, i will haul out my keyboard, retest and
post the results with whatever numbers are on the back of the kbd.

the only salient difference i see is that Spawndelay=250 rather than
100 in usbd.  i didn't have a specific reason for leaving it at 250
but since connecting is in human time scales, 100ms seemed
shorter than necessary to seem snappy.  could that be it?

also, according to the linux kernel, we should not be looking for
configurations on anything that's not a hub.  i have't looked into
this further than confirming that usb/kb calls startdevs -> opendev
-> loaddevconf.

(speaking of which, is the configuration error on the hub in the
keyboard, or the keyboard device itself?)

if you'd like, i can put up the kernel i'm using, which takes root
from the net.  i can do that later today.  i want to make sure to
copy it off the tested machine.

- erik

Reply via email to