Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Jul 2009 12:02:36 -0700
From:      Marcel Moolenaar <xcllnt@mac.com>
To:        Alexander Best <alexbestms@math.uni-muenster.de>
Cc:        freebsd-usb@freebsd.org
Subject:   Re: kernel debugger and usb keyboard
Message-ID:  <101CF937-0378-4F27-9A9C-7B23FB9BAD71@mac.com>
In-Reply-To: <permail-20090716084326f0889e8400000313-a_best01@message-id.uni-muenster.de>
References:  <permail-20090716084326f0889e8400000313-a_best01@message-id.uni-muenster.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On Jul 16, 2009, at 1:43 AM, Alexander Best wrote:
> 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?

This obviously doesn't apply to hardware that isn't PC hardware.
The USB stack is generic code and you cannot assume some PC BIOS
is there to handle things.

FYI,

-- 
Marcel Moolenaar
xcllnt@mac.com






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?101CF937-0378-4F27-9A9C-7B23FB9BAD71>