NetBSD-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

re: kern/53599: Can't enter ddb using USB keyboard because console

>  Martin Husemann wrote:
>  >  Try
>  >  	userconf=disable pcbkc*
>  >  
>  >  in your /boot.cfg.
>  I think you mean pckbc*, not pcbkc*.
>  But that doesn't work, either: with "userconf=disable pckbc*" in
>  boot.cfg, the dmesg shows
>    [130] pckbc* disabled
>  but pckbc0 attaches anyway:
>    pckbc0 at isa0 port 0x60-0x64 
>    pckbd0 at pckbc0 (kbd slot) 
>    pckbc0: using irq 1 for kbd slot 
>    wskbd0 at pckbd0: console keyboard, using wsdisplay0
>  If I add the two lines
>    userconf=disable pckbc0
>    userconf=disable pckbc*
>  no pckbc attaches, but I still get the "HP Virtual Keyboard" as
>  wskbd0:

yes - the "pckbc*" is a literal match here.  it matches the
configuration "pckbc*", which itself is able to attach to
any instance, but it doesn't stop the literal pckbc0 at isa
that is in GENERIC.  so, this is entirely "as designed".

the base problem - i wonder if we can have a wsconcstl or
wsconscfg based method (ioctl) to enable console/ddb.  then
we can at least have a simple method to enable this while
not actually affecting security.


Home | Main Index | Thread Index | Old Index