From nobody@FreeBSD.org Tue Dec 19 22:08:31 2000 Return-Path: Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 6E79C37B400 for ; Tue, 19 Dec 2000 22:08:31 -0800 (PST) Received: (from nobody@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBK68Vu59435; Tue, 19 Dec 2000 22:08:31 -0800 (PST) (envelope-from nobody) Message-Id: <200012200608.eBK68Vu59435@freefall.freebsd.org> Date: Tue, 19 Dec 2000 22:08:31 -0800 (PST) From: lmcclef@lmc.ericsson.se Sender: nobody@FreeBSD.org To: freebsd-gnats-submit@FreeBSD.org Subject: keyboard is not working when the laptop is docked X-Send-Pr-Version: www-1.0 >Number: 23681 >Category: i386 >Synopsis: keyboard is not working when the laptop is docked >Confidential: no >Severity: critical >Priority: medium >Responsible: freebsd-bugs >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Dec 19 22:10:01 PST 2000 >Closed-Date: Thu Nov 15 11:28:42 PST 2001 >Last-Modified: Thu Nov 15 11:44:35 PST 2001 >Originator: Claude Lefrancois >Release: 4.2-RELEASE >Organization: Ericsson Research Canada >Environment: FreeBSD lmcpc118634.pc 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Tue Dec 19 18:40:58 EST 2000 root@lmcpc118634.pc:/usr/src/sys/compile/LMC i386 >Description: Hello, I have installed FreeBSD 4.2 on a Compaq Armada 7400. When the computer is undocked, the whole system is working fine. But, If I dock it, the keyboard attached to the docking station is not working at all. The dmesg command shows me the following lines: atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 device_probe_and_attach: atkbd0 attach returned 6 Any ideas ? Thanks. >How-To-Repeat: Simply dock the laptop !!! >Fix: >Release-Note: >Audit-Trail: From: Kazutaka YOKOTA To: lmcclef@lmc.ericsson.se Cc: freebsd-gnats-submit@FreeBSD.org, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: i386/23681: keyboard is not working when the laptop is docked Date: Wed, 20 Dec 2000 15:22:48 +0900 >>Number: 23681 >>Category: i386 >>Synopsis: keyboard is not working when the laptop is docked >>Confidential: no >>Severity: critical >>Priority: medium >>Responsible: freebsd-bugs >>State: open [...] >>Release: 4.2-RELEASE >>Organization: >Ericsson Research Canada >>Environment: >FreeBSD lmcpc118634.pc 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Tue Dec 19 18:40:58 > EST 2000 root@lmcpc118634.pc:/usr/src/sys/compile/LMC i386 >>Description: >Hello, > >I have installed FreeBSD 4.2 on a Compaq Armada 7400. When the computer >is undocked, the whole system is working fine. But, If I dock it, the >keyboard attached to the docking station is not working at all. The >dmesg command shows me the following lines: > >atkbdc0: at port 0x60,0x64 on isa0 >atkbd0: flags 0x1 irq 1 on atkbdc0 >device_probe_and_attach: atkbd0 attach returned 6 > >Any ideas ? Never seen this error before ;-< Would you give "boot -v" at the loader prompt when booting the docked system, and send me the dmesg's output? It should give us some more information. Kazu From: "Claude LeFrancois (LMC)" To: Kazutaka YOKOTA Cc: freebsd-gnats-submit@FreeBSD.ORG, "Claude LeFrancois (LMC)" Subject: Re: i386/23681: keyboard is not working when the laptop is docked Date: Wed, 20 Dec 2000 16:05:34 -0500 This is a multi-part message in MIME format. --------------FF420AAA91FDF812D5C57B72 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello, I send you the output of dmesg. If this can help you, I have found something new. I can move the mouse pointer on the screen in X-Windows but if I press a key on the keyboard, the mouse pointer stops for few (2-3) seconds and re-start to move again. Thanks for your help, Claude. Kazutaka YOKOTA wrote: > >>Number: 23681 > >>Category: i386 > >>Synopsis: keyboard is not working when the laptop is docked > >>Confidential: no > >>Severity: critical > >>Priority: medium > >>Responsible: freebsd-bugs > >>State: open > [...] > >>Release: 4.2-RELEASE > >>Organization: > >Ericsson Research Canada > >>Environment: > >FreeBSD lmcpc118634.pc 4.2-RELEASE FreeBSD 4.2-RELEASE #0: Tue Dec 19 18:40:58 > > EST 2000 root@lmcpc118634.pc:/usr/src/sys/compile/LMC i386 > >>Description: > >Hello, > > > >I have installed FreeBSD 4.2 on a Compaq Armada 7400. When the computer > >is undocked, the whole system is working fine. But, If I dock it, the > >keyboard attached to the docking station is not working at all. The > >dmesg command shows me the following lines: > > > >atkbdc0: at port 0x60,0x64 on isa0 > >atkbd0: flags 0x1 irq 1 on atkbdc0 > >device_probe_and_attach: atkbd0 attach returned 6 > > > >Any ideas ? > > Never seen this error before ;-< > > Would you give "boot -v" at the loader prompt when booting the docked > system, and send me the dmesg's output? It should give us some more > information. > > Kazu --------------FF420AAA91FDF812D5C57B72 Content-Type: text/plain; charset=us-ascii; name="FreeBSD.dmesg" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="FreeBSD.dmesg" Copyright (c) 1992-2000 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.2-RELEASE #0: Tue Dec 19 18:40:58 EST 2000 root@lmcpc118634.pc:/usr/src/sys/compile/LMC Calibrating clock(s) ... TSC clock: 266707402 Hz, i8254 clock: 1193322 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium II/Pentium II Xeon/Celeron (266.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x650 Stepping = 0 Features=0x183f9ff real memory = 134176768 (131032K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00499000 - 0x07fedfff, 129323008 bytes (31573 pages) avail memory = 126046208 (123092K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fa000 bios32: Entry = 0xf0000 (c00f0000) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x474 pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f0000:4ef2 Rev = 1.0 pnpbios: Event flag at fe2f6 pnpbios: OEM ID b9b0110e Other BIOS signatures found: ACPI: 000ffed0 Preloaded elf kernel "kernel" at 0xc0480000. Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x80000060 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=ae6c0e11) npx0: on motherboard npx0: INT 16 interface pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=ae6c0e11) pcib0: on motherboard found-> vendor=0x0e11, dev=0xae6c, revid=0x01 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 50000000, size 28 map[14]: type 1, range 32, base 44000000, size 12 found-> vendor=0x0e11, dev=0xae6c, revid=0x01 class=06-04-00, hdrtype=0x01, mfdev=1 subordinatebus=1 secondarybus=1 found-> vendor=0x0e11, dev=0xae35, revid=0x10 class=02-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 00001010, size 4 map[14]: type 1, range 32, base 44100000, size 4 found-> vendor=0x104c, dev=0xac16, revid=0x02 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=2 secondarybus=2 intpin=a, irq=11 map[10]: type 1, range 32, base 7fffe000, size 12 found-> vendor=0x104c, dev=0xac16, revid=0x02 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=3 secondarybus=3 intpin=a, irq=11 map[10]: type 1, range 32, base 7ffff000, size 12 found-> vendor=0x0e11, dev=0xae69, revid=0x03 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x0e11, dev=0xae33, revid=0x01 class=01-01-ea, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[10]: type 1, range 32, base 00000000, size 3 map[14]: type 1, range 32, base 00000000, size 2 map[18]: type 1, range 32, base 00000000, size 3 map[1c]: type 1, range 32, base 00000000, size 2 map[20]: type 1, range 32, base 00001000, size 4 found-> vendor=0x0e11, dev=0xa0f8, revid=0x11 class=0c-03-10, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 44080000, size 12 found-> vendor=0x0e11, dev=0xae2b, revid=0x04 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x0e11, dev=0xae33, revid=0x03 class=01-01-da, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[10]: type 1, range 32, base 00000000, size 3 map[14]: type 1, range 32, base 00000000, size 2 map[18]: type 1, range 32, base 00000000, size 3 map[1c]: type 1, range 32, base 00000000, size 2 map[20]: type 1, range 32, base 00001020, size 4 pci0: on pcib0 pcib1: at device 0.1 on pci0 found-> vendor=0x5333, dev=0x8c01, revid=0x06 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 40000000, size 26 pci1: on pcib1 pci1: (vendor=0x5333, dev=0x8c01) at 0.0 tl0: port 0x1010-0x101f mem 0x44100000-0x4410000f irq 11 at device 10.0 on pci0 tl0: Ethernet address: 00:08:c7:37:22:f7 miibus0: on tl0 tlphy0: on miibus0 tlphy0: 10base2/BNC, 10base5/AUI, 10baseT, 10baseT-FDX, auto bpf: tl0 attached pcic-pci0: mem 0x7fffe000-0x7fffefff irq 11 at device 12.0 on pci0 pcic-pci0: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] pcic-pci0: Legacy address set to 0x3e0 PCI Config space: 00: ac16104c 02100003 06070002 00824208 10: 7fffe000 020000a0 00020200 00000000 20: 00000000 00000000 00000000 00000000 30: 00000000 00000000 00000000 03c0010b 40: b0480e11 000003e1 00000000 00000000 50: 00000000 00000000 00000000 00000000 60: 00000000 00000000 00000000 00000000 70: 00000000 00000000 00000000 00000000 80: 20449060 00000080 01898181 00000000 90: 60640280 00000000 00000000 00000000 Cardbus Socket registers: 00: 00000006: 00000000: 30000410: 00000000: 10: 00000000: 00000000: 00000000: 00000000: ExCa registers: 00: 84 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 pcic-pci1: mem 0x7ffff000-0x7fffffff irq 11 at device 12.1 on pci0 pcic-pci1: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] PCI Config space: 00: ac16104c 02100003 06070002 00824208 10: 7ffff000 020000a0 00030300 00000000 20: 00000000 00000000 00000000 00000000 30: 00000000 00000000 00000000 03c0010b 40: b0480e11 000003e1 00000000 00000000 50: 00000000 00000000 00000000 00000000 60: 00000000 00000000 00000000 00000000 70: 00000000 00000000 00000000 00000000 80: 20449060 00000080 01898181 00000000 90: 60640280 00000000 00000000 00000000 Cardbus Socket registers: 00: 00000000: 00000000: 30000006: 00000000: 10: 00000000: 00000000: 00000000: 00000000: ExCa registers: 00: 84 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 isab0: at device 14.0 on pci0 isa0: on isab0 atapci0: port 0x1000-0x100f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 14.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1000 ata0: mask=03 status0=50 status1=00 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI probe a=00 b=00 ata0-slave: ATAPI probe a=14 b=eb ata0: mask=03 status0=50 status1=00 ata0-master: ATA probe a=01 b=a5 ata0: devices=09 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1008 ata1: mask=00 status0=ff status1=ff ata1: probe allocation failed ohci0: mem 0x44080000-0x44080fff irq 11 at device 14.2 on pci0 ohci0: (New OHCI DeviceId=0xa0f80e11) using shared irq11. usb0: OHCI version 1.0 usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isab1: at device 15.0 on pci0 atapci1: port 0x1020-0x102f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 15.1 on pci0 ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number ata2: probe allocation failed ata3: iobase=0x0170 altiobase=0x0376 bmaddr=0x1028 ata3: mask=00 status0=ff status1=ff ata3: probe allocation failed eisa0: on motherboard mainboard0: on eisa0 slot 0 ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices fdc0: 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 ata4 failed to probe at port 0x1f0 irq 14 on isa0 ata5: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000 ata5: mask=00 status0=ff status1=ff ata5: probe allocation failed ata5 failed to probe at port 0x170-0x177,0x376 irq 15 on isa0 adv0 failed to probe at port 0x330 on isa0 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x330 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x334 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x230 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x234 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x130 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x134 bt0 failed to probe at port 0x134-0x137 on isa0 aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0 failed to probe at port 0x134-0x137 on isa0 aic0 failed to probe at port 0x140-0x15f on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:ffffffff kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00fa kbdc: DIAGNOSE status:0055 kbdc: TEST_KBD_PORT status:0000 atkbd: failed to reset the keyboard. device_probe_and_attach: atkbd0 attach returned 6 psm0: current command byte:0065 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fa kbdc: RESET_AUX status:00aa kbdc: RESET_AUX ID:0000 psm: status 00 02 64 psm: status 90 03 3c psm: status 90 03 3c psm: status 90 03 3c psm: data 08 00 00 psm: status 00 00 28 psm: status 00 02 64 psm: data 08 00 00 psm: status 00 02 64 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 3 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 06 e0 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:ffffffff kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00fa kbdc: DIAGNOSE status:0055 kbdc: TEST_KBD_PORT status:0000 atkbd: failed to reset the keyboard. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) pcic0: at port 0x3e0 iomem 0xd0000 on isa0 pcic0: Polling mode stat is 4c stat is 0 pccard0: on pcic0 pccard1: on pcic0 pcic1: not probed (disabled) sio0: irq maps: 0x41 0x51 0x41 0x41 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0x200 sio1: irq maps: 0x41 0x241 0x41 0x41 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: not probed (disabled) sio3: not probed (disabled) ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: EPP SPP ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode plip0: on ppbus0 bpf: lp0 attached lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 fe0 failed to probe at port 0x300-0x31f on isa0 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0 cs0 failed to probe at port 0x300 on isa0 sn0 failed to probe at port 0x300 irq 10 on isa0 sbc0: at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0 pcm0: on sbc0 pcm0: ESS1879 detected, newspeed pcm: setmap 8000, 1000; 0xc7b5e000 -> 8000 pcm: setmap 9000, 1000; 0xc7b5f000 -> 9000 isa_probe_children: probing PnP devices BIOS Geometries: 0:022aef3f 0..554=555 cylinders, 0..239=240 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: faith0 attached bpf: gif0 attached bpf: gif1 attached bpf: gif2 attached bpf: gif3 attached bpf: lo0 attached bpf: ppp0 attached new masks: bio 684840, tty 6310b8, net 6718b8 bpf: sl0 attached Creating DISK ad0 Creating DISK wd0 ad0: ATA-4 disk at ata0-master ad0: 4108MB (8415225 sectors), 8905 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, BIOSDMA ad0: piomode=4 dmamode=2 udmamode=2 cblid=0 ad0: 4108MB [8905/15/63] at ata0-master BIOSDMA ata0-slave: piomode=4 dmamode=2 udmamode=-1 dmaflag=1 ata0-slave: success setting PIO4 on generic chip acd0: CDROM drive at ata0 as slave acd0: read 1722KB/s (4037KB/s), 256KB buffer, PIO4 acd0: Reads: CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked Mounting root from ufs:/dev/ad0s1a pccard: card inserted, slot 0 Slot 0 chg = 0x4 ad0s1: type 0xa5, start 30240, end = 8406719, size 8376480 : OK ad0s3: type 0x12, start 63, end = 30239, size 30177 : OK start_init: trying /sbin/init splash: image decoder found: fade_saver Linux-ELF exec handler installed pcic: I/O win 0 flags 17 240-24f pcic: I/O win 0 flags 7 240-24f ep0: <3Com Etherlink III 3C589> at port 0x240-0x24f irq 10 slot 0 on pccard0 pcic: I/O win 0 flags 17 240-24f ep0: Ethernet address 00:10:5a:8a:cb:e4 bpf: ep0 attached --------------FF420AAA91FDF812D5C57B72-- From: Kazutaka YOKOTA To: "Claude LeFrancois (LMC)" Cc: freebsd-gnats-submit@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: i386/23681: keyboard is not working when the laptop is docked Date: Thu, 21 Dec 2000 14:13:53 +0900 Hi, >Hello, > >I send you the output of dmesg. If this can help you, I have found something n >ew. >I can move the mouse pointer on the screen in X-Windows but if I press a key o >n >the keyboard, the mouse pointer stops for few (2-3) seconds and re-start to mo >ve >again. > >Thanks for your help, > >Claude. > [...] >atkbdc0: at port 0x60,0x64 on isa0 >atkbd0: flags 0x1 irq 1 on atkbdc0 >atkbd: the current kbd controller command byte 0065 >atkbd: keyboard ID 0x41ab (2) >kbdc: RESET_KBD return code:ffffffff ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >kbdc: RESET_KBD return code:00fa >kbdc: RESET_KBD status:00fa ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >kbdc: DIAGNOSE status:0055 >kbdc: TEST_KBD_PORT status:0000 >atkbd: failed to reset the keyboard. >device_probe_and_attach: atkbd0 attach returned 6 [...] Hmm, would you apply the following patch to /sys/dev/kbd/atkbd.c, rebuild the kernel and boot it with "boot -v"? BTW, what brand and model of the keyboard do you use on this docking station? Kazu Index: atkbdc.c =================================================================== RCS file: /src/CVS/src/sys/dev/kbd/atkbdc.c,v retrieving revision 1.5.2.1 diff -u -r1.5.2.1 atkbdc.c --- atkbdc.c 2000/03/31 12:51:56 1.5.2.1 +++ atkbdc.c 2000/12/21 01:59:07 @@ -834,6 +834,8 @@ if (!write_kbd_command(p, KBDC_RESET_KBD)) continue; emptyq(&kbdcp(p)->kbd); + /* some keyboard takes a long time to respond... */ + DELAY(KBD_RESETDELAY*1000); c = read_controller_data(p); if (verbose || bootverbose) log(LOG_DEBUG, "kbdc: RESET_KBD return code:%04x\n", c); From: "Claude LeFrancois (LMC)" To: Kazutaka YOKOTA Cc: freebsd-gnats-submit@FreeBSD.ORG, "Claude LeFrancois (LMC)" Subject: Re: i386/23681: keyboard is not working when the laptop is docked Date: Fri, 22 Dec 2000 17:48:31 -0500 This is a multi-part message in MIME format. --------------FC79870ACAFDC84FFD502CD5 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hello Kazu, I have applied your patch, recompiled and installed the kernel. Unfortunately, this new kernel doesn't seem to fix the problem. I had similar kernel messages. I send them to you as an attachment to this message. The keyboard is a 104 key PS/2 Compaq keyboard. There is no model number on it. Only FCC ID and compliance logos can be seen on the keyboard. I have the Compaq spare part number (269513-001) and some other strings without any references (RT235BTW, DOMESTIC 166516-006 and 123754-201 A). I have tested successfully another 104 key PS/2 keyboard. This one has a model number: KB-9956. It is working properly with the docking station. In the kernel messages I send you, you can see a boot sequence with the keyboard driver loaded properly. I have tested the not working keyboard with a Windows and a Linux computers. It is working with these systems. I guess the keyboard is not the problem... Maybe the keyboard controller ? Thanks for your help, Claude. Claude Lefrancois Ericsson Research Canada lmcclef@lmc.ericsson.se Kazutaka YOKOTA wrote: > Hi, > > >Hello, > > > >I send you the output of dmesg. If this can help you, I have found something n > >ew. > >I can move the mouse pointer on the screen in X-Windows but if I press a key o > >n > >the keyboard, the mouse pointer stops for few (2-3) seconds and re-start to mo > >ve > >again. > > > >Thanks for your help, > > > >Claude. > > > > [...] > >atkbdc0: at port 0x60,0x64 on isa0 > >atkbd0: flags 0x1 irq 1 on atkbdc0 > >atkbd: the current kbd controller command byte 0065 > >atkbd: keyboard ID 0x41ab (2) > >kbdc: RESET_KBD return code:ffffffff > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >kbdc: RESET_KBD return code:00fa > >kbdc: RESET_KBD status:00fa > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > >kbdc: DIAGNOSE status:0055 > >kbdc: TEST_KBD_PORT status:0000 > >atkbd: failed to reset the keyboard. > >device_probe_and_attach: atkbd0 attach returned 6 > [...] > > Hmm, would you apply the following patch to /sys/dev/kbd/atkbd.c, > rebuild the kernel and boot it with "boot -v"? > > BTW, what brand and model of the keyboard do you use on this docking > station? > > Kazu > > Index: atkbdc.c > > RCS file: /src/CVS/src/sys/dev/kbd/atkbdc.c,v > retrieving revision 1.5.2.1 > diff -u -r1.5.2.1 atkbdc.c > --- atkbdc.c 2000/03/31 12:51:56 1.5.2.1 > +++ atkbdc.c 2000/12/21 01:59:07 > @@ -834,6 +834,8 @@ > if (!write_kbd_command(p, KBDC_RESET_KBD)) > continue; > emptyq(&kbdcp(p)->kbd); > + /* some keyboard takes a long time to respond... */ > + DELAY(KBD_RESETDELAY*1000); > c = read_controller_data(p); > if (verbose || bootverbose) > log(LOG_DEBUG, "kbdc: RESET_KBD return code:%04x\n", c); --------------FC79870ACAFDC84FFD502CD5 Content-Type: text/plain; charset=us-ascii; name="FreeBSD-dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="FreeBSD-dmesg.txt" Copyright (c) 1992-2000 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.2-RELEASE #1: Thu Dec 21 20:15:08 EST 2000 root@lmcpc118634.pc:/usr/src/sys/compile/LMC Calibrating clock(s) ... TSC clock: 266706126 Hz, i8254 clock: 1193316 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium II/Pentium II Xeon/Celeron (266.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x650 Stepping = 0 Features=0x183f9ff real memory = 134176768 (131032K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00499000 - 0x07fedfff, 129323008 bytes (31573 pages) avail memory = 126046208 (123092K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fa000 bios32: Entry = 0xf0000 (c00f0000) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x474 pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f0000:4ef2 Rev = 1.0 pnpbios: Event flag at fe2f6 pnpbios: OEM ID b9b0110e Other BIOS signatures found: ACPI: 000ffed0 Preloaded elf kernel "kernel" at 0xc0480000. Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x80000060 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=ae6c0e11) npx0: on motherboard npx0: INT 16 interface pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=ae6c0e11) pcib0: on motherboard found-> vendor=0x0e11, dev=0xae6c, revid=0x01 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 50000000, size 28 map[14]: type 1, range 32, base 44000000, size 12 found-> vendor=0x0e11, dev=0xae6c, revid=0x01 class=06-04-00, hdrtype=0x01, mfdev=1 subordinatebus=1 secondarybus=1 found-> vendor=0x0e11, dev=0xae35, revid=0x10 class=02-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 00001010, size 4 map[14]: type 1, range 32, base 44100000, size 4 found-> vendor=0x104c, dev=0xac16, revid=0x02 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=2 secondarybus=2 intpin=a, irq=11 map[10]: type 1, range 32, base 7fffe000, size 12 found-> vendor=0x104c, dev=0xac16, revid=0x02 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=3 secondarybus=3 intpin=a, irq=11 map[10]: type 1, range 32, base 7ffff000, size 12 found-> vendor=0x0e11, dev=0xae69, revid=0x03 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x0e11, dev=0xae33, revid=0x01 class=01-01-ea, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[10]: type 1, range 32, base 00000000, size 3 map[14]: type 1, range 32, base 00000000, size 2 map[18]: type 1, range 32, base 00000000, size 3 map[1c]: type 1, range 32, base 00000000, size 2 map[20]: type 1, range 32, base 00001000, size 4 found-> vendor=0x0e11, dev=0xa0f8, revid=0x11 class=0c-03-10, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 44080000, size 12 found-> vendor=0x0e11, dev=0xae2b, revid=0x04 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x0e11, dev=0xae33, revid=0x03 class=01-01-da, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[10]: type 1, range 32, base 00000000, size 3 map[14]: type 1, range 32, base 00000000, size 2 map[18]: type 1, range 32, base 00000000, size 3 map[1c]: type 1, range 32, base 00000000, size 2 map[20]: type 1, range 32, base 00001020, size 4 pci0: on pcib0 pcib1: at device 0.1 on pci0 found-> vendor=0x5333, dev=0x8c01, revid=0x06 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 40000000, size 26 pci1: on pcib1 pci1: (vendor=0x5333, dev=0x8c01) at 0.0 tl0: port 0x1010-0x101f mem 0x44100000-0x4410000f irq 11 at device 10.0 on pci0 tl0: Ethernet address: 00:08:c7:37:22:f7 miibus0: on tl0 tlphy0: on miibus0 tlphy0: 10base2/BNC, 10base5/AUI, 10baseT, 10baseT-FDX, auto bpf: tl0 attached pcic-pci0: mem 0x7fffe000-0x7fffefff irq 11 at device 12.0 on pci0 pcic-pci0: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] pcic-pci0: Legacy address set to 0x3e0 PCI Config space: 00: ac16104c 02100003 06070002 00824208 10: 7fffe000 020000a0 00020200 00000000 20: 00000000 00000000 00000000 00000000 30: 00000000 00000000 00000000 03c0010b 40: b0480e11 000003e1 00000000 00000000 50: 00000000 00000000 00000000 00000000 60: 00000000 00000000 00000000 00000000 70: 00000000 00000000 00000000 00000000 80: 20449060 00000080 01898181 00000000 90: 60640280 00000000 00000000 00000000 Cardbus Socket registers: 00: 00000006: 00000000: 30000410: 00000000: 10: 00000000: 00000000: 00000000: 00000000: ExCa registers: 00: 84 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 pcic-pci1: mem 0x7ffff000-0x7fffffff irq 11 at device 12.1 on pci0 pcic-pci1: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] PCI Config space: 00: ac16104c 02100003 06070002 00824208 10: 7ffff000 020000a0 00030300 00000000 20: 00000000 00000000 00000000 00000000 30: 00000000 00000000 00000000 03c0010b 40: b0480e11 000003e1 00000000 00000000 50: 00000000 00000000 00000000 00000000 60: 00000000 00000000 00000000 00000000 70: 00000000 00000000 00000000 00000000 80: 20449060 00000080 01898181 00000000 90: 60640280 00000000 00000000 00000000 Cardbus Socket registers: 00: 00000000: 00000000: 30000006: 00000000: 10: 00000000: 00000000: 00000000: 00000000: ExCa registers: 00: 84 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 isab0: at device 14.0 on pci0 isa0: on isab0 atapci0: port 0x1000-0x100f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 14.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1000 ata0: mask=03 status0=50 status1=00 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI probe a=00 b=00 ata0-slave: ATAPI probe a=14 b=eb ata0: mask=03 status0=50 status1=00 ata0-master: ATA probe a=01 b=a5 ata0: devices=09 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1008 ata1: mask=00 status0=ff status1=ff ata1: probe allocation failed ohci0: mem 0x44080000-0x44080fff irq 11 at device 14.2 on pci0 ohci0: (New OHCI DeviceId=0xa0f80e11) using shared irq11. usb0: OHCI version 1.0 usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isab1: at device 15.0 on pci0 atapci1: port 0x1020-0x102f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 15.1 on pci0 ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number ata2: probe allocation failed ata3: iobase=0x0170 altiobase=0x0376 bmaddr=0x1028 ata3: mask=00 status0=ff status1=ff ata3: probe allocation failed eisa0: on motherboard mainboard0: on eisa0 slot 0 ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices fdc0: 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 ata4 failed to probe at port 0x1f0 irq 14 on isa0 ata5: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000 ata5: mask=00 status0=ff status1=ff ata5: probe allocation failed ata5 failed to probe at port 0x170-0x177,0x376 irq 15 on isa0 adv0 failed to probe at port 0x330 on isa0 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x330 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x334 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x230 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x234 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x130 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x134 bt0 failed to probe at port 0x134-0x137 on isa0 aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0 failed to probe at port 0x134-0x137 on isa0 aic0 failed to probe at port 0x140-0x15f on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00aa kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 psm0: current command byte:0065 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fa kbdc: RESET_AUX status:00aa kbdc: RESET_AUX ID:0000 psm: status 00 02 64 psm: status 90 03 3c psm: status 90 03 3c psm: status 90 03 3c psm: data 08 00 00 psm: status 00 00 28 psm: status 00 02 64 psm: data 08 00 00 psm: status 00 02 64 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 3 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) pcic0: at port 0x3e0 iomem 0xd0000 on isa0 pcic0: Polling mode stat is 4c stat is 0 pccard0: on pcic0 pccard1: on pcic0 pcic1: not probed (disabled) sio0: irq maps: 0x41 0x51 0x41 0x41 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0x200 sio1: irq maps: 0x41 0x241 0x41 0x41 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: not probed (disabled) sio3: not probed (disabled) ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: EPP SPP ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode plip0: on ppbus0 bpf: lp0 attached lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 fe0 failed to probe at port 0x300-0x31f on isa0 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0 cs0 failed to probe at port 0x300 on isa0 sn0 failed to probe at port 0x300 irq 10 on isa0 sbc0: at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0 pcm0: on sbc0 pcm0: ESS1879 detected, newspeed pcm: setmap 8000, 1000; 0xc7b5e000 -> 8000 pcm: setmap 9000, 1000; 0xc7b5f000 -> 9000 isa_probe_children: probing PnP devices BIOS Geometries: 0:022aef3f 0..554=555 cylinders, 0..239=240 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: faith0 attached bpf: gif0 attached bpf: gif1 attached bpf: gif2 attached bpf: gif3 attached bpf: lo0 attached bpf: ppp0 attached new masks: bio 684840, tty 6310ba, net 6718ba bpf: sl0 attached Creating DISK ad0 Creating DISK wd0 ad0: ATA-4 disk at ata0-master ad0: 4108MB (8415225 sectors), 8905 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, BIOSDMA ad0: piomode=4 dmamode=2 udmamode=2 cblid=0 ad0: 4108MB [8905/15/63] at ata0-master BIOSDMA ata0-slave: piomode=4 dmamode=2 udmamode=-1 dmaflag=1 ata0-slave: success setting PIO4 on generic chip acd0: CDROM drive at ata0 as slave acd0: read 1722KB/s (4037KB/s), 256KB buffer, PIO4 acd0: Reads: CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked Mounting root from ufs:/dev/ad0s1a pccard: card inserted, slot 0 Slot 0 chg = 0x4 ad0s1: type 0xa5, start 30240, end = 8406719, size 8376480 : OK ad0s3: type 0x12, start 63, end = 30239, size 30177 : OK start_init: trying /sbin/init pcic: I/O win 0 flags 17 240-24f pcic: I/O win 0 flags 7 240-24f ep0: <3Com Etherlink III 3C589> at port 0x240-0x24f irq 10 slot 0 on pccard0 pcic: I/O win 0 flags 17 240-24f ep0: Ethernet address 00:10:5a:8a:cb:e4 bpf: ep0 attached splash: image decoder found: fade_saver Linux-ELF exec handler installed Waiting (max 60 seconds) for system process `bufdaemon' to stop...stopped Waiting (max 60 seconds) for system process `syncer' to stop...stopped syncing disks... 4 4 4 4 done Uptime: 1d1h46m21s Rebooting... Copyright (c) 1992-2000 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.2-RELEASE #1: Thu Dec 21 20:15:08 EST 2000 root@lmcpc118634.pc:/usr/src/sys/compile/LMC Calibrating clock(s) ... TSC clock: 266706966 Hz, i8254 clock: 1193319 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium II/Pentium II Xeon/Celeron (266.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x650 Stepping = 0 Features=0x183f9ff real memory = 134176768 (131032K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00499000 - 0x07fedfff, 129323008 bytes (31573 pages) avail memory = 126046208 (123092K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fa000 bios32: Entry = 0xf0000 (c00f0000) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x474 pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f0000:4ef2 Rev = 1.0 pnpbios: Event flag at fe2f6 pnpbios: OEM ID b9b0110e Other BIOS signatures found: ACPI: 000ffed0 Preloaded elf kernel "kernel" at 0xc0480000. Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x80000060 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=ae6c0e11) npx0: on motherboard npx0: INT 16 interface pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=ae6c0e11) pcib0: on motherboard found-> vendor=0x0e11, dev=0xae6c, revid=0x01 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 50000000, size 28 map[14]: type 1, range 32, base 44000000, size 12 found-> vendor=0x0e11, dev=0xae6c, revid=0x01 class=06-04-00, hdrtype=0x01, mfdev=1 subordinatebus=1 secondarybus=1 found-> vendor=0x0e11, dev=0xae35, revid=0x10 class=02-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 00001010, size 4 map[14]: type 1, range 32, base 44100000, size 4 found-> vendor=0x104c, dev=0xac16, revid=0x02 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=2 secondarybus=2 intpin=a, irq=11 map[10]: type 1, range 32, base 7fffe000, size 12 found-> vendor=0x104c, dev=0xac16, revid=0x02 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=3 secondarybus=3 intpin=a, irq=11 map[10]: type 1, range 32, base 7ffff000, size 12 found-> vendor=0x0e11, dev=0xae69, revid=0x03 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x0e11, dev=0xae33, revid=0x01 class=01-01-ea, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[10]: type 1, range 32, base 00000000, size 3 map[14]: type 1, range 32, base 00000000, size 2 map[18]: type 1, range 32, base 00000000, size 3 map[1c]: type 1, range 32, base 00000000, size 2 map[20]: type 1, range 32, base 00001000, size 4 found-> vendor=0x0e11, dev=0xa0f8, revid=0x11 class=0c-03-10, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 44080000, size 12 found-> vendor=0x0e11, dev=0xae2b, revid=0x04 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x0e11, dev=0xae33, revid=0x03 class=01-01-da, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[10]: type 1, range 32, base 00000000, size 3 map[14]: type 1, range 32, base 00000000, size 2 map[18]: type 1, range 32, base 00000000, size 3 map[1c]: type 1, range 32, base 00000000, size 2 map[20]: type 1, range 32, base 00001020, size 4 pci0: on pcib0 pcib1: at device 0.1 on pci0 found-> vendor=0x5333, dev=0x8c01, revid=0x06 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 40000000, size 26 pci1: on pcib1 pci1: (vendor=0x5333, dev=0x8c01) at 0.0 tl0: port 0x1010-0x101f mem 0x44100000-0x4410000f irq 11 at device 10.0 on pci0 tl0: Ethernet address: 00:08:c7:37:22:f7 miibus0: on tl0 tlphy0: on miibus0 tlphy0: 10base2/BNC, 10base5/AUI, 10baseT, 10baseT-FDX, auto bpf: tl0 attached pcic-pci0: mem 0x7fffe000-0x7fffefff irq 11 at device 12.0 on pci0 pcic-pci0: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] pcic-pci0: Legacy address set to 0x3e0 PCI Config space: 00: ac16104c 02100003 06070002 00824208 10: 7fffe000 020000a0 00020200 00000000 20: 00000000 00000000 00000000 00000000 30: 00000000 00000000 00000000 03c0010b 40: b0480e11 000003e1 00000000 00000000 50: 00000000 00000000 00000000 00000000 60: 00000000 00000000 00000000 00000000 70: 00000000 00000000 00000000 00000000 80: 20449060 00000080 01898181 00000000 90: 60640280 00000000 00000000 00000000 Cardbus Socket registers: 00: 00000006: 00000000: 30000410: 00000000: 10: 00000000: 00000000: 00000000: 00000000: ExCa registers: 00: 84 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 pcic-pci1: mem 0x7ffff000-0x7fffffff irq 11 at device 12.1 on pci0 pcic-pci1: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] PCI Config space: 00: ac16104c 02100003 06070002 00824208 10: 7ffff000 020000a0 00030300 00000000 20: 00000000 00000000 00000000 00000000 30: 00000000 00000000 00000000 03c0010b 40: b0480e11 000003e1 00000000 00000000 50: 00000000 00000000 00000000 00000000 60: 00000000 00000000 00000000 00000000 70: 00000000 00000000 00000000 00000000 80: 20449060 00000080 01898181 00000000 90: 60640280 00000000 00000000 00000000 Cardbus Socket registers: 00: 00000000: 00000000: 30000006: 00000000: 10: 00000000: 00000000: 00000000: 00000000: ExCa registers: 00: 84 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 isab0: at device 14.0 on pci0 isa0: on isab0 atapci0: port 0x1000-0x100f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 14.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1000 ata0: mask=03 status0=50 status1=00 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI probe a=00 b=00 ata0-slave: ATAPI probe a=14 b=eb ata0: mask=03 status0=50 status1=00 ata0-master: ATA probe a=01 b=a5 ata0: devices=09 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1008 ata1: mask=00 status0=ff status1=ff ata1: probe allocation failed ohci0: mem 0x44080000-0x44080fff irq 11 at device 14.2 on pci0 ohci0: (New OHCI DeviceId=0xa0f80e11) using shared irq11. usb0: OHCI version 1.0 usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isab1: at device 15.0 on pci0 atapci1: port 0x1020-0x102f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 15.1 on pci0 ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number ata2: probe allocation failed ata3: iobase=0x0170 altiobase=0x0376 bmaddr=0x1028 ata3: mask=00 status0=ff status1=ff ata3: probe allocation failed eisa0: on motherboard mainboard0: on eisa0 slot 0 ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices fdc0: 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 ata4 failed to probe at port 0x1f0 irq 14 on isa0 ata5: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000 ata5: mask=00 status0=ff status1=ff ata5: probe allocation failed ata5 failed to probe at port 0x170-0x177,0x376 irq 15 on isa0 adv0 failed to probe at port 0x330 on isa0 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x330 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x334 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x230 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x234 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x130 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x134 bt0 failed to probe at port 0x134-0x137 on isa0 aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0 failed to probe at port 0x134-0x137 on isa0 aic0 failed to probe at port 0x140-0x15f on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:ffffffff kbdc: RESET_KBD return code:ffffffff kbdc: RESET_KBD return code:00fa kbdc: RESET_KBD status:00fa kbdc: DIAGNOSE status:0055 kbdc: TEST_KBD_PORT status:0000 atkbd: failed to reset the keyboard. device_probe_and_attach: atkbd0 attach returned 6 psm0: current command byte:0065 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fa kbdc: RESET_AUX status:00aa kbdc: RESET_AUX ID:0000 psm: status 00 02 64 psm: status 90 03 3c psm: status 90 03 3c psm: status 90 03 3c psm: data 08 00 00 psm: status 00 00 28 psm: status 00 02 64 psm: data 08 00 00 psm: status 00 02 64 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 3 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 07 80 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbdc: RESET_KBD return code:ffffffff kbdc: RESET_KBD return code:ffffffff kbdc: RESET_KBD return code:ffffffff kbdc: DIAGNOSE status:0055 kbdc: TEST_KBD_PORT status:0000 atkbd: failed to reset the keyboard. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) pcic0: at port 0x3e0 iomem 0xd0000 on isa0 pcic0: Polling mode stat is 4c stat is 0 pccard0: on pcic0 pccard1: on pcic0 pcic1: not probed (disabled) sio0: irq maps: 0x41 0x51 0x41 0x41 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0x200 sio1: irq maps: 0x41 0x241 0x41 0x41 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: not probed (disabled) sio3: not probed (disabled) ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: EPP SPP ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode plip0: on ppbus0 bpf: lp0 attached lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 fe0 failed to probe at port 0x300-0x31f on isa0 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0 cs0 failed to probe at port 0x300 on isa0 sn0 failed to probe at port 0x300 irq 10 on isa0 sbc0: at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0 pcm0: on sbc0 pcm0: ESS1879 detected, newspeed pcm: setmap 8000, 1000; 0xc7b5e000 -> 8000 pcm: setmap 9000, 1000; 0xc7b5f000 -> 9000 isa_probe_children: probing PnP devices BIOS Geometries: 0:022aef3f 0..554=555 cylinders, 0..239=240 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: faith0 attached bpf: gif0 attached bpf: gif1 attached bpf: gif2 attached bpf: gif3 attached bpf: lo0 attached bpf: ppp0 attached new masks: bio 684840, tty 6310b8, net 6718b8 bpf: sl0 attached Creating DISK ad0 Creating DISK wd0 ad0: ATA-4 disk at ata0-master ad0: 4108MB (8415225 sectors), 8905 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, BIOSDMA ad0: piomode=4 dmamode=2 udmamode=2 cblid=0 ad0: 4108MB [8905/15/63] at ata0-master BIOSDMA ata0-slave: piomode=4 dmamode=2 udmamode=-1 dmaflag=1 ata0-slave: success setting PIO4 on generic chip acd0: CDROM drive at ata0 as slave acd0: read 1722KB/s (4037KB/s), 256KB buffer, PIO4 acd0: Reads: CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked Mounting root from ufs:/dev/ad0s1a pccard: card inserted, slot 0 Slot 0 chg = 0x4 ad0s1: type 0xa5, start 30240, end = 8406719, size 8376480 : OK ad0s3: type 0x12, start 63, end = 30239, size 30177 : OK start_init: trying /sbin/init pcic: I/O win 0 flags 17 240-24f pcic: I/O win 0 flags 7 240-24f ep0: <3Com Etherlink III 3C589> at port 0x240-0x24f irq 10 slot 0 on pccard0 pcic: I/O win 0 flags 17 240-24f ep0: Ethernet address 00:10:5a:8a:cb:e4 bpf: ep0 attached splash: image decoder found: fade_saver Linux-ELF exec handler installed --------------FC79870ACAFDC84FFD502CD5-- From: Kazutaka YOKOTA To: "Claude LeFrancois (LMC)" Cc: freebsd-gnats-submit@FreeBSD.ORG, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: i386/23681: keyboard is not working when the laptop is docked Date: Sun, 24 Dec 2000 16:08:05 +0900 Hi, >I have applied your patch, recompiled and installed the kernel. Unfortunately, >this new kernel doesn't seem to fix the problem. I had similar kernel messages >. I >send them to you as an attachment to this message. You provided two copies of demsg output. In the first one, the AT keyboard seems to be working. Is this when you run the system without the docking station? In the second dmesg output the AT keyboard failed to reset. Ok. Another suggestion. Set the flags 0x3 to atkbd in you kernel configuration file: device atkbd0 at atkbdc? irq 1 flags 0x3 This will avoid resetting the keyboard when the kernel starts. >The keyboard is a 104 key PS/2 Compaq keyboard. There is no model number on it >. >Only FCC ID and compliance logos can be seen on the keyboard. I have the Compa >q >spare part number (269513-001) and some other strings without any references >(RT235BTW, DOMESTIC 166516-006 and 123754-201 A). > >I have tested successfully another 104 key PS/2 keyboard. This one has a model >number: KB-9956. It is working properly with the docking station. In the kerne >l >messages I send you, you can see a boot sequence with the keyboard driver load >ed >properly. > >I have tested the not working keyboard with a Windows and a Linux computers. I >t is >working with these systems. I guess the keyboard is not the problem... Maybe t >he >keyboard controller ? Um, well, sort of, perhaps. Our kernel may be having difficulty in communicating with the keyboard via the docking station. The keyboard controller in the notebook computers sometimes have slightly different features and exhibit different behavior than the keyboard controller on the normal mothorboard... >Thanks for your help, > >Claude. [...] >Copyright (c) 1992-2000 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.2-RELEASE #1: Thu Dec 21 20:15:08 EST 2000 > root@lmcpc118634.pc:/usr/src/sys/compile/LMC >Calibrating clock(s) ... TSC clock: 266706126 Hz, i8254 clock: 1193316 Hz >CLK_USE_I8254_CALIBRATION not specified - using default frequency [...] >atkbdc0: at port 0x60,0x64 on isa0 >atkbd0: flags 0x1 irq 1 on atkbdc0 >atkbd: the current kbd controller command byte 0065 >atkbd: keyboard ID 0x41ab (2) >kbdc: RESET_KBD return code:00fa >kbdc: RESET_KBD status:00aa >kbd0 at atkbd0 >kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 [...] This looks good. >syncing disks... 4 4 4 4 >done >Uptime: 1d1h46m21s >Rebooting... >Copyright (c) 1992-2000 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.2-RELEASE #1: Thu Dec 21 20:15:08 EST 2000 > root@lmcpc118634.pc:/usr/src/sys/compile/LMC >Calibrating clock(s) ... TSC clock: 266706966 Hz, i8254 clock: 1193319 Hz >CLK_USE_I8254_CALIBRATION not specified - using default frequency >Timecounter "i8254" frequency 1193182 Hz [...] >atkbdc0: at port 0x60,0x64 on isa0 >atkbd0: flags 0x1 irq 1 on atkbdc0 >atkbd: the current kbd controller command byte 0065 >atkbd: keyboard ID 0x41ab (2) >kbdc: RESET_KBD return code:ffffffff >kbdc: RESET_KBD return code:ffffffff >kbdc: RESET_KBD return code:00fa >kbdc: RESET_KBD status:00fa >kbdc: DIAGNOSE status:0055 >kbdc: TEST_KBD_PORT status:0000 >atkbd: failed to reset the keyboard. >device_probe_and_attach: atkbd0 attach returned 6 [...] This is bad ;-< Kazu From: "Claude LeFrancois (LMC)" To: Kazutaka YOKOTA Cc: freebsd-gnats-submit@FreeBSD.ORG, "Claude LeFrancois (LMC)" Subject: Re: i386/23681: keyboard is not working when the laptop is docked Date: Tue, 02 Jan 2001 16:51:38 -0500 This is a multi-part message in MIME format. --------------CF9D36FF15137DE2C658B599 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Kazutaka YOKOTA wrote: > Hi, > Hello Kasu, > > >I have applied your patch, recompiled and installed the kernel. Unfortunately, > >this new kernel doesn't seem to fix the problem. I had similar kernel messages > >. I > >send them to you as an attachment to this message. > > You provided two copies of demsg output. In the first one, the AT keyboard > seems to be working. Is this when you run the system without the docking > station? > Both dmesg outputs come from the laptop running with the docking station. The first one comes from the second keyboard (KB-9956, which is working fine) and the second one comes from the keyboard that gives me problems. > > In the second dmesg output the AT keyboard failed to reset. > > Ok. Another suggestion. Set the flags 0x3 to atkbd in you kernel > configuration file: > > device atkbd0 at atkbdc? irq 1 flags 0x3 > > This will avoid resetting the keyboard when the kernel starts. > This setting brings my "bad" keyboard to work !!! See the attachment. > > >The keyboard is a 104 key PS/2 Compaq keyboard. There is no model number on it > >. > >Only FCC ID and compliance logos can be seen on the keyboard. I have the Compa > >q > >spare part number (269513-001) and some other strings without any references > >(RT235BTW, DOMESTIC 166516-006 and 123754-201 A). > > > >I have tested successfully another 104 key PS/2 keyboard. This one has a model > >number: KB-9956. It is working properly with the docking station. In the kerne > >l > >messages I send you, you can see a boot sequence with the keyboard driver load > >ed > >properly. > > > >I have tested the not working keyboard with a Windows and a Linux computers. I > >t is > >working with these systems. I guess the keyboard is not the problem... Maybe t > >he > >keyboard controller ? > > Um, well, sort of, perhaps. Our kernel may be having difficulty > in communicating with the keyboard via the docking station. The keyboard > controller in the notebook computers sometimes have slightly different > features and exhibit different behavior than the keyboard controller > on the normal mothorboard... > > >Thanks for your help, > > > >Claude. > [...] > > >Copyright (c) 1992-2000 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.2-RELEASE #1: Thu Dec 21 20:15:08 EST 2000 > > root@lmcpc118634.pc:/usr/src/sys/compile/LMC > >Calibrating clock(s) ... TSC clock: 266706126 Hz, i8254 clock: 1193316 Hz > >CLK_USE_I8254_CALIBRATION not specified - using default frequency > [...] > > >atkbdc0: at port 0x60,0x64 on isa0 > >atkbd0: flags 0x1 irq 1 on atkbdc0 > >atkbd: the current kbd controller command byte 0065 > >atkbd: keyboard ID 0x41ab (2) > >kbdc: RESET_KBD return code:00fa > >kbdc: RESET_KBD status:00aa > >kbd0 at atkbd0 > >kbd0: atkbd0, AT 101/102 (2), config:0x1, flags:0x3d0000 > [...] > > This looks good. > > >syncing disks... 4 4 4 4 > >done > >Uptime: 1d1h46m21s > >Rebooting... > >Copyright (c) 1992-2000 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.2-RELEASE #1: Thu Dec 21 20:15:08 EST 2000 > > root@lmcpc118634.pc:/usr/src/sys/compile/LMC > >Calibrating clock(s) ... TSC clock: 266706966 Hz, i8254 clock: 1193319 Hz > >CLK_USE_I8254_CALIBRATION not specified - using default frequency > >Timecounter "i8254" frequency 1193182 Hz > [...] > > >atkbdc0: at port 0x60,0x64 on isa0 > >atkbd0: flags 0x1 irq 1 on atkbdc0 > >atkbd: the current kbd controller command byte 0065 > >atkbd: keyboard ID 0x41ab (2) > >kbdc: RESET_KBD return code:ffffffff > >kbdc: RESET_KBD return code:ffffffff > >kbdc: RESET_KBD return code:00fa > >kbdc: RESET_KBD status:00fa > >kbdc: DIAGNOSE status:0055 > >kbdc: TEST_KBD_PORT status:0000 > >atkbd: failed to reset the keyboard. > >device_probe_and_attach: atkbd0 attach returned 6 > [...] > > This is bad ;-< > > Kazu Thanks again for your help !!! Claude. Claude Lefrancois Ericsson Research Canada lmcclef@lmc.ericsson.se --------------CF9D36FF15137DE2C658B599 Content-Type: text/plain; charset=us-ascii; name="freebsd-dmesg.txt" Content-Transfer-Encoding: 7bit Content-Disposition: inline; filename="freebsd-dmesg.txt" Copyright (c) 1992-2000 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.2-RELEASE #0: Tue Jan 2 18:44:09 EST 2001 root@lmcpc118634.pc:/usr/src/sys/compile/LMC-TEST Calibrating clock(s) ... TSC clock: 266706614 Hz, i8254 clock: 1193318 Hz CLK_USE_I8254_CALIBRATION not specified - using default frequency Timecounter "i8254" frequency 1193182 Hz CLK_USE_TSC_CALIBRATION not specified - using old calibration method CPU: Pentium II/Pentium II Xeon/Celeron (266.68-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x650 Stepping = 0 Features=0x183f9ff real memory = 134176768 (131032K bytes) Physical memory chunk(s): 0x00001000 - 0x0009efff, 647168 bytes (158 pages) 0x00499000 - 0x07fedfff, 129323008 bytes (31573 pages) avail memory = 126046208 (123092K bytes) bios32: Found BIOS32 Service Directory header at 0xc00fa000 bios32: Entry = 0xf0000 (c00f0000) Rev = 0 Len = 1 pcibios: PCI BIOS entry at 0x474 pnpbios: Found PnP BIOS data at 0xc00fe2d0 pnpbios: Entry = f0000:4ef2 Rev = 1.0 pnpbios: Event flag at fe2f6 pnpbios: OEM ID b9b0110e Other BIOS signatures found: ACPI: 000ffed0 Preloaded elf kernel "kernel" at 0xc0480000. Pentium Pro MTRR support enabled md0: Malloc disk Creating DISK md0 Math emulator present pci_open(1): mode 1 addr port (0x0cf8) is 0x80000060 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=ae6c0e11) npx0: on motherboard npx0: INT 16 interface pci_open(1): mode 1 addr port (0x0cf8) is 0x00000000 pci_open(1a): mode1res=0x80000000 (0x80000000) pci_cfgcheck: device 0 [class=060000] [hdr=80] is there (id=ae6c0e11) pcib0: on motherboard found-> vendor=0x0e11, dev=0xae6c, revid=0x01 class=06-00-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 50000000, size 28 map[14]: type 1, range 32, base 44000000, size 12 found-> vendor=0x0e11, dev=0xae6c, revid=0x01 class=06-04-00, hdrtype=0x01, mfdev=1 subordinatebus=1 secondarybus=1 found-> vendor=0x0e11, dev=0xae35, revid=0x10 class=02-80-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 00001010, size 4 map[14]: type 1, range 32, base 44100000, size 4 found-> vendor=0x104c, dev=0xac16, revid=0x02 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=2 secondarybus=2 intpin=a, irq=11 map[10]: type 1, range 32, base 7fffe000, size 12 found-> vendor=0x104c, dev=0xac16, revid=0x02 class=06-07-00, hdrtype=0x02, mfdev=1 subordinatebus=3 secondarybus=3 intpin=a, irq=11 map[10]: type 1, range 32, base 7ffff000, size 12 found-> vendor=0x0e11, dev=0xae69, revid=0x03 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x0e11, dev=0xae33, revid=0x01 class=01-01-ea, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[10]: type 1, range 32, base 00000000, size 3 map[14]: type 1, range 32, base 00000000, size 2 map[18]: type 1, range 32, base 00000000, size 3 map[1c]: type 1, range 32, base 00000000, size 2 map[20]: type 1, range 32, base 00001000, size 4 found-> vendor=0x0e11, dev=0xa0f8, revid=0x11 class=0c-03-10, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=11 map[10]: type 1, range 32, base 44080000, size 12 found-> vendor=0x0e11, dev=0xae2b, revid=0x04 class=06-01-00, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 found-> vendor=0x0e11, dev=0xae33, revid=0x03 class=01-01-da, hdrtype=0x00, mfdev=1 subordinatebus=0 secondarybus=0 intpin=a, irq=0 map[10]: type 1, range 32, base 00000000, size 3 map[14]: type 1, range 32, base 00000000, size 2 map[18]: type 1, range 32, base 00000000, size 3 map[1c]: type 1, range 32, base 00000000, size 2 map[20]: type 1, range 32, base 00001020, size 4 pci0: on pcib0 pcib1: at device 0.1 on pci0 found-> vendor=0x5333, dev=0x8c01, revid=0x06 class=03-00-00, hdrtype=0x00, mfdev=0 subordinatebus=0 secondarybus=0 map[10]: type 1, range 32, base 40000000, size 26 pci1: on pcib1 pci1: (vendor=0x5333, dev=0x8c01) at 0.0 tl0: port 0x1010-0x101f mem 0x44100000-0x4410000f irq 11 at device 10.0 on pci0 tl0: Ethernet address: 00:08:c7:37:22:f7 miibus0: on tl0 tlphy0: on miibus0 tlphy0: 10base2/BNC, 10base5/AUI, 10baseT, 10baseT-FDX, auto bpf: tl0 attached pcic-pci0: mem 0x7fffe000-0x7fffefff irq 11 at device 12.0 on pci0 pcic-pci0: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] pcic-pci0: Legacy address set to 0x3e0 PCI Config space: 00: ac16104c 02100003 06070002 00824208 10: 7fffe000 020000a0 00020200 00000000 20: 00000000 00000000 00000000 00000000 30: 00000000 00000000 00000000 03c0010b 40: b0480e11 000003e1 00000000 00000000 50: 00000000 00000000 00000000 00000000 60: 00000000 00000000 00000000 00000000 70: 00000000 00000000 00000000 00000000 80: 20449060 00000080 01898181 00000000 90: 60640280 00000000 00000000 00000000 Cardbus Socket registers: 00: 00000006: 00000000: 30000410: 00000000: 10: 00000000: 00000000: 00000000: 00000000: ExCa registers: 00: 84 0c 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 pcic-pci1: mem 0x7ffff000-0x7fffffff irq 11 at device 12.1 on pci0 pcic-pci1: TI12XX PCI Config Reg: [speaker enable][pwr save][CSC serial isa irq] PCI Config space: 00: ac16104c 02100003 06070002 00824208 10: 7ffff000 020000a0 00030300 00000000 20: 00000000 00000000 00000000 00000000 30: 00000000 00000000 00000000 03c0010b 40: b0480e11 000003e1 00000000 00000000 50: 00000000 00000000 00000000 00000000 60: 00000000 00000000 00000000 00000000 70: 00000000 00000000 00000000 00000000 80: 20449060 00000080 01898181 00000000 90: 60640280 00000000 00000000 00000000 Cardbus Socket registers: 00: 00000000: 00000000: 30000006: 00000000: 10: 00000000: 00000000: 00000000: 00000000: ExCa registers: 00: 84 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 10: 00 00 00 00 00 00 c0 00 00 00 00 00 00 00 00 00 20: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 30: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 isab0: at device 14.0 on pci0 isa0: on isab0 atapci0: port 0x1000-0x100f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 14.1 on pci0 ata0: iobase=0x01f0 altiobase=0x03f6 bmaddr=0x1000 ata0: mask=03 status0=50 status1=00 ata0: mask=03 ostat0=50 ostat2=00 ata0-master: ATAPI probe a=00 b=00 ata0-slave: ATAPI probe a=14 b=eb ata0: mask=03 status0=50 status1=00 ata0-master: ATA probe a=01 b=a5 ata0: devices=09 ata0: at 0x1f0 irq 14 on atapci0 ata1: iobase=0x0170 altiobase=0x0376 bmaddr=0x1008 ata1: mask=00 status0=ff status1=ff ata1: probe allocation failed ohci0: mem 0x44080000-0x44080fff irq 11 at device 14.2 on pci0 ohci0: (New OHCI DeviceId=0xa0f80e11) using shared irq11. usb0: OHCI version 1.0 usb0: SMM does not respond, resetting usb0: on ohci0 usb0: USB revision 1.0 uhub0: (unknown) OHCI root hub, class 9/0, rev 1.00/1.00, addr 1 uhub0: 2 ports with 2 removable, self powered isab1: at device 15.0 on pci0 atapci1: port 0x1020-0x102f,0-0x3,0-0x7,0-0x3,0-0x7 irq 0 at device 15.1 on pci0 ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number ata2: probe allocation failed ata3: iobase=0x0170 altiobase=0x0376 bmaddr=0x1028 ata3: mask=00 status0=ff status1=ff ata3: probe allocation failed eisa0: on motherboard mainboard0: on eisa0 slot 0 ata-: ata0 exists, using next available unit number ata-: ata1 exists, using next available unit number Trying Read_Port at 203 Trying Read_Port at 243 Trying Read_Port at 283 Trying Read_Port at 2c3 Trying Read_Port at 303 Trying Read_Port at 343 Trying Read_Port at 383 Trying Read_Port at 3c3 isa_probe_children: disabling PnP devices isa_probe_children: probing non-PnP devices fdc0: 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 ata4 failed to probe at port 0x1f0 irq 14 on isa0 ata5: iobase=0x0170 altiobase=0x0376 bmaddr=0x0000 ata5: mask=00 status0=ff status1=ff ata5: probe allocation failed ata5 failed to probe at port 0x170-0x177,0x376 irq 15 on isa0 adv0 failed to probe at port 0x330 on isa0 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x330 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x334 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x230 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x234 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x130 bt0: Failed Status Reg Test - ff bt_isa_probe: Probe failed at 0x134 bt0 failed to probe at port 0x134-0x137 on isa0 aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0: status reg test failed ff aha0 failed to probe at port 0x134-0x137 on isa0 aic0 failed to probe at port 0x140-0x15f on isa0 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x3 irq 1 on atkbdc0 atkbd: the current kbd controller command byte 0065 atkbd: keyboard ID 0x41ab (2) kbd0 at atkbd0 kbd0: atkbd0, AT 101/102 (2), config:0x3, flags:0x3d0000 psm0: current command byte:0065 kbdc: TEST_AUX_PORT status:0000 kbdc: RESET_AUX return code:00fa kbdc: RESET_AUX status:00aa kbdc: RESET_AUX ID:0000 psm: status 00 02 64 psm: status 90 03 3c psm: status 90 03 3c psm: status 90 03 3c psm: data 08 00 00 psm: status 00 00 28 psm: status 00 02 64 psm: data 08 00 00 psm: status 00 02 64 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0-00, 3 buttons psm0: config:00000000, flags:00000000, packet size:3 psm0: syncmask:c0, syncbits:00 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 fb0: vga0, vga, type:VGA (5), flags:0x7007f fb0: port:0x3c0-0x3df, crtc:0x3d4, mem:0xa0000 0x20000 fb0: init mode:24, bios mode:3, current mode:24 fb0: window:0xc00b8000 size:32k gran:32k, buf:0 size:32k VGA parameters upon power-up 50 18 10 00 00 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 06 e0 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff VGA parameters in BIOS for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff EGA/VGA parameters to be used for mode 24 50 18 10 00 10 00 03 00 02 67 5f 4f 50 82 55 81 bf 1f 00 4f 0d 0e 00 00 00 00 9c 8e 8f 28 1f 96 b9 a3 ff 00 01 02 03 04 05 14 07 38 39 3a 3b 3c 3d 3e 3f 0c 00 0f 08 00 00 00 00 00 10 0e 00 ff sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> sc0: fb0, kbd0, terminal emulator: sc (syscons terminal) pcic0: at port 0x3e0 iomem 0xd0000 on isa0 pcic0: Polling mode stat is 4c stat is 0 pccard0: on pcic0 pccard1: on pcic0 pcic1: not probed (disabled) sio0: irq maps: 0x41 0x51 0x41 0x41 sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0 sio0: type 16550A sio1: configured irq 3 not in bitmap of probed irqs 0x200 sio1: irq maps: 0x41 0x241 0x41 0x41 sio1 at port 0x2f8-0x2ff irq 3 on isa0 sio1: type 16550A sio2: not probed (disabled) sio3: not probed (disabled) ppc0: parallel port found at 0x378 ppc0: using extended I/O port range ppc0: EPP SPP ppc0: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode plip0: on ppbus0 bpf: lp0 attached lpt0: on ppbus0 lpt0: Interrupt-driven port ppi0: on ppbus0 ed0 failed to probe at port 0x280-0x29f iomem 0xd8000 irq 10 on isa0 fe0 failed to probe at port 0x300-0x31f on isa0 ie0 failed to probe at port 0x300 iomem 0xd0000 irq 10 on isa0 lnc0 failed to probe at port 0x280 irq 10 drq 0 on isa0 cs0 failed to probe at port 0x300 on isa0 sn0 failed to probe at port 0x300 irq 10 on isa0 sbc0: at port 0x220-0x22f irq 5 drq 1 flags 0x15 on isa0 pcm0: on sbc0 pcm0: ESS1879 detected, newspeed pcm: setmap 8000, 1000; 0xc7b5e000 -> 8000 pcm: setmap 9000, 1000; 0xc7b5f000 -> 9000 isa_probe_children: probing PnP devices BIOS Geometries: 0:022aef3f 0..554=555 cylinders, 0..239=240 heads, 1..63=63 sectors 0 accounted for Device configuration finished. bpf: faith0 attached bpf: gif0 attached bpf: gif1 attached bpf: gif2 attached bpf: gif3 attached bpf: lo0 attached bpf: ppp0 attached new masks: bio 684840, tty 6310ba, net 6718ba bpf: sl0 attached Creating DISK ad0 Creating DISK wd0 ad0: ATA-4 disk at ata0-master ad0: 4108MB (8415225 sectors), 8905 cyls, 15 heads, 63 S/T, 512 B/S ad0: 16 secs/int, 1 depth queue, BIOSDMA ad0: piomode=4 dmamode=2 udmamode=2 cblid=0 ad0: 4108MB [8905/15/63] at ata0-master BIOSDMA ata0-slave: piomode=4 dmamode=2 udmamode=-1 dmaflag=1 ata0-slave: success setting PIO4 on generic chip acd0: CDROM drive at ata0 as slave acd0: read 1722KB/s (4037KB/s), 256KB buffer, PIO4 acd0: Reads: CD-DA acd0: Audio: play, 256 volume levels acd0: Mechanism: ejectable tray acd0: Medium: no/blank disc inside, unlocked Mounting root from ufs:/dev/ad0s1a pccard: card inserted, slot 0 Slot 0 chg = 0x4 ad0s1: type 0xa5, start 30240, end = 8406719, size 8376480 : OK ad0s3: type 0x12, start 63, end = 30239, size 30177 : OK start_init: trying /sbin/init pcic: I/O win 0 flags 17 240-24f pcic: I/O win 0 flags 7 240-24f ep0: <3Com Etherlink III 3C589> at port 0x240-0x24f irq 10 slot 0 on pccard0 pcic: I/O win 0 flags 17 240-24f ep0: Ethernet address 00:10:5a:8a:cb:e4 bpf: ep0 attached splash: image decoder found: fade_saver Linux-ELF exec handler installed --------------CF9D36FF15137DE2C658B599-- State-Changed-From-To: open->closed State-Changed-By: asmodai State-Changed-When: Thu Nov 15 11:28:42 PST 2001 State-Changed-Why: Documented the flag in CURRENT and STABLE. http://www.FreeBSD.org/cgi/query-pr.cgi?pr=23681 >Unformatted: