Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Dec 2000 21:10:03 -0800 (PST)
From:      Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: i386/23681: keyboard is not working when the laptop is docked 
Message-ID:  <200012210510.eBL5A3v59812@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR i386/23681; it has been noted by GNATS.

From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
To: "Claude LeFrancois (LMC)" <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: 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: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
 >atkbd0: <AT Keyboard> 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




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