Changing to a PS/2 keyboard after install

Gary Schenk gwschenk at socal.rr.com
Sun Jun 8 12:26:42 PDT 2003


FreeBSD fuzz.socal.rr.com 4.7-RELEASE FreeBSD 4.7-RELEASE #3: Sun Jun  8 
11:47:48 PDT 2003     root at fuzz.socal.rr.com:/usr/src/sys/compile/FUZZ  
i386

I installed FreeBSD on this machine which came with a USB keyboard and 
mouse. The keyboard has problems, and for various reasons, I'd like to 
replace it with a PS/2 keyboard. Only problem is I can't figure out how 
to do it.

Getting a PS/2 mouse running was easy through sysinstall.

Just plugging in the new keyboard did not work. After searching the web 
and mailing lists, I  thought that recompiling the kernel with  the 
following lines would work:

# atkbdc0 controls both the keyboard and the PS/2 mouse
device		atkbdc0	at isa? port IO_KBD
device		atkbd0	at atkbdc? irq 1  # flags 0x1
device		psm0	at atkbdc? irq 12

I commented out the flag 0x1 and recompiled and rebooted. That did not 
work either.

As of now the only way I can see to get the PS/2 keyboard working is to 
reinstall. That seems like overkill. Does anyone have any ideas?

Thanks
Gary Schenk


More information about the freebsd-questions mailing list