Date: Thu, 16 Jul 2009 10:43:26 +0200 (CEST) From: Alexander Best <alexbestms@math.uni-muenster.de> To: <freebsd-usb@freebsd.org> Subject: kernel debugger and usb keyboard Message-ID: <permail-20090716084326f0889e8400000313-a_best01@message-id.uni-muenster.de>
next in thread | raw e-mail | index | archive | help
if i understood it correctly the reason a usb keyboard cannot be used in the kernel debugger after a panic is that we can't be sure the panic didn't happen inside the usb stack so the whole usb stack is discarded at a panic. maybe this would be a solution: modern bioses support an option called legcy usb keyboard support. the way i understood it is that the bios grabs usb keyboard events and uses them to emulate an AT keyboard. that way e.g. a bootloader can the used with a usb keyboard although there's no usb stack or whatever in the bootloader. when the kernel boots the usb stack takes control over the usb keyboard and the bios keyboard legacy support gets disabled. couldn't we revert to this stage after a panic occurs? letting the bios take control over the usb keyboard again and emulate an AT keyboard? alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?permail-20090716084326f0889e8400000313-a_best01>
