Re: ddb can't use USB keyboard?

From: Hans Petter Selasky <hselasky_at_c2i.net>
Date: Tue, 7 Apr 2009 08:58:26 +0200
Hi,

The polling error is just there to inform you that USB polling is not 
supported:


void
usb2_do_poll(struct usb2_xfer **ppxfer, uint16_t max)
{
        static uint8_t once = 0;
        /* polling is currently not supported */
        if (!once) {
                once = 1;
                printf("usb2_do_poll: USB polling is "
                    "not supported!\n");
        }
}

The biggest problem getting polling working is that USB is now multithreaded. 
But I don't rule out that we could have some special mechanism to get one of 
the system USB keyboards up in DDB.

Secondly, ukbd is Giant locked, and actually DDB calls into the keyboard 
routines without locking Giant, and that will not work with USB.

--HPS
Received on Tue Apr 07 2009 - 04:56:44 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:45 UTC