From owner-freebsd-bugs Wed Dec 20 21:10: 7 2000 From owner-freebsd-bugs@FreeBSD.ORG Wed Dec 20 21:10:03 2000 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 4122437B400 for ; Wed, 20 Dec 2000 21:10:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.1/8.11.1) id eBL5A3v59812; Wed, 20 Dec 2000 21:10:03 -0800 (PST) (envelope-from gnats) Date: Wed, 20 Dec 2000 21:10:03 -0800 (PST) Message-Id: <200012210510.eBL5A3v59812@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Kazutaka YOKOTA Subject: Re: i386/23681: keyboard is not working when the laptop is docked Reply-To: Kazutaka YOKOTA Sender: gnats@FreeBSD.org Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org The following reply was made to PR i386/23681; it has been noted by GNATS. 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); To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message