On Tue, Feb 27, 2007 at 01:26:50PM +0000, sof bo wrote:
> Hi,
> 
> I've got now a openBSD kernel with USB
> I would like to see all debug
> (printf in code)
> I compile with option USB_debug but i have not get more
> message
> 
> what have I to do?

Quite a few parts of the kernel seem to follow the pattern of, for
instance, src/sys/dev/usb/umass.c:

#ifdef UMASS_DEBUG
int umassdebug = 0;

/* ... */
#endif

Unless I am mistaken, you'd have to use ddb to set umassdebug after
compiling with UMASS_DEBUG (which may or may not be set if USB_DEBUG is
set).

                Joachim

Reply via email to