If I plug in a usb keyboard during boot, would I get to use
it? If so, how does it get accessed? If I plug in a usb
disk, can I use it as the root filesystem? If so, what kind
of root spec would I need to use?
Tim Newsham | www.thenewsh.com/~newsham | thenewsh.blogspot.com
yes. you don't need to anything. usdb starts kb which
attaches to kbin.
- erik
i forgot to mention that low-speed only devices with
intel chipsets tend to lock the machine up hard unless
you disable legacy usb emulation in bios.
- erik
I'd like to get debug output (usbdebug=2) for a machine hang.
last bit of output
uhci 0xc400 setting run to 1
uhci 0xc400 cmd 0x1 sts 0x0
uhci init: cmd 0x1 sts 0x0 sof 0x50 flb 0x5a000 frno 0x0 psc0 psc1 0x80
i added some debugging to determine that one actually finishes
the routine and returns to usbinit in devusb.c. on my screen
i see hub 0, 1, 2, 3, 6 on my screen. there's some stuff that's
scrolled off.
it appears to be hanging on a context switch or in an interrupt.
perhaps even an smi interrupt.
- erik