Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Feb 2009 17:04:47 +0100
From:      Hans Petter Selasky <hselasky@c2i.net>
To:        freebsd-current@freebsd.org, Andrew Thompson <thompsa@freebsd.org>
Subject:   USB2 + kdb support (UMASS disk dump + USB keyboard)
Message-ID:  <200902171704.48860.hselasky@c2i.net>

next in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200902171704.48860.hselasky>