Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 Jun 2003 17:30:12 -0700
From:      Gary Schenk <gwschenk@socal.rr.com>
To:        Scott Mitchell <scott+freebsd@fishballoon.org>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Changing to a PS/2 keyboard after install
Message-ID:  <200306101730.12411.gwschenk@socal.rr.com>
In-Reply-To: <20030610123403.GA59337@tuatara.fishballoon.org>
References:  <Sea1-F74udzxxfYXFrw000251e5@hotmail.com> <200306092208.59854.gwschenk@socal.rr.com> <20030610123403.GA59337@tuatara.fishballoon.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 10 June 2003 05:34 am, Scott Mitchell wrote:

> Are you making any changes in UserConfig?  Or is it just the act of
> going in there that gets the keyboard working?  I guess that
> UserConfig uses the BIOS to get at the keyboard, and it's only after
> the atkbd driver tries to take over that things go bad...

Actually, I haven't had to make any changes in UserConfig since changing 
it the first time. The edit is always there.

<snip>

> Your kernel config looked fine, should be no problems there.

<snip>

> Well, it certainly found the keyboard on this boot.  Do you see any
>
> messages like these if you boot up without UserConfig:
> > atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
> > atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
> > kbd0 at atkbd0

Here is dmesg after booting without UserConfig:

Copyright (c) 1992-2002 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
	The Regents of the University of California. All rights reserved.
FreeBSD 4.7-RELEASE #6: Mon Jun  9 16:47:15 PDT 2003
    root@fuzz.socal.rr.com:/usr/src/sys/compile/FUZZ
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (598.48-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
  
Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
real memory  = 134205440 (131060K bytes)
config> di atkbd0
config> di sn0
config> di lnc0
config> di ie0
config> di fe0
config> di cs0
config> q
avail memory = 125300736 (122364K bytes)
Preloaded elf kernel "kernel" at 0xc051b000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc051b09c.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 6 entries at 0xc00f0b00
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib2: <VIA 82C598MVP (Apollo MVP3) PCI-PCI (AGP) bridge> at device 1.0 
on pci0
pci1: <PCI bus> on pcib2
pci1: <ATI model 5144 graphics accelerator> at 0.0 irq 11
isab0: <VIA 82C596B PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 82C596 ATA66 controller> port 0xb800-0xb80f at device 7.1 
on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <VIA 83C572 USB controller> port 0xb400-0xb41f irq 5 at device 
7.2 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhid0: Microsoft SideWinder Precision 2 Joystick, rev 1.10/1.08, addr 2, 
iclass 3/0
pci0: <unknown card> (vendor=0x1106, dev=0x3050) at 7.3
rl0: <Accton MPX 5030/5038 10/100BaseTX> port 0xb000-0xb0ff mem 
0xd6800000-0xd68000ff irq 10 at device 10.0 on pci0
rl0: Ethernet address: 00:10:b5:44:13:da
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
pcm0: <Creative EMU10K1> port 0xa800-0xa81f irq 11 at device 12.0 on 
pci0
pcib1: <Host to PCI bridge> on motherboard
pci2: <PCI bus> on pcib1
orm0: <Option ROM> at iomem 0xc0000-0xcafff on isa0
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on 
isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on 
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: IEEE1284 device found /NIBBLE/ECP
Probing for PnP devices on ppbus0:
ppbus0: <hp deskjet 6122> PRINTER MLC,PCL,PML,DW-PCL,DYN,DESKJET
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 28629MB <QUANTUM FIREBALLlct10 30> [58168/16/63] at ata0-master 
UDMA66
acd0: CD-RW <CR-4804TE> at ata1-master PIO3
acd1: DVD-ROM <SAMSUNG DVD-ROM SD-608> at ata1-slave PIO4
Mounting root from ufs:/dev/ad0s2a


It does not look like that it is seeing the keyboard. Doesn't the 0x01 
flag force keyboard detection?

<snip>

> What version of FreeBSD are you using?  It may be worth upgrading to
> -STABLE if you're on a 4.x RELEASE.

4.7-RELEASE. The thought of upgrading terrifies me. I can't even figure 
out how to switch keyboards! :-)

I'm waiting for 5.1-RELEASE to be available on CD.
Gary






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200306101730.12411.gwschenk>