USB2 + kdb support (UMASS disk dump + USB keyboard)

Hans Petter Selasky hselasky at c2i.net
Tue Feb 17 08:02:29 PST 2009


Hi,

With USB1 it was possible to use the USB keyboard in the debugger. With USB2 
this is also possible, but not as long as the keyboard driver is using Giant.

Currently USB2 supports a special mode called polling mode, which is going to 
be removed, because even on a micro embedded system polling mode is not 
useful, which was my thought keeping this behaviour.

Instead I want to enforce normal running mode where USB and timer callbacks 
are handled like normal when in the kernel debugger.

Question:

When the CPU is in the debugger and is asking for USB devices to be polled, is 
there a way to get the USB threads running again so that callbacks can be 
handled?

--HPS


More information about the freebsd-current mailing list