From owner-freebsd-current Tue Jan 12 19:33:11 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id TAA02013 for freebsd-current-outgoing; Tue, 12 Jan 1999 19:33:11 -0800 (PST) (envelope-from owner-freebsd-current@FreeBSD.ORG) Received: from outmail.utsunomiya-u.ac.jp (outmail.utsunomiya-u.ac.jp [160.12.196.3]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id TAA01958 for ; Tue, 12 Jan 1999 19:33:02 -0800 (PST) (envelope-from yokota@zodiac.mech.utsunomiya-u.ac.jp) Received: from zodiac.mech.utsunomiya-u.ac.jp (IDENT:kfoZDsfKDPD3VJZ3k3yFl7YSu7aZPwPo@zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by outmail.utsunomiya-u.ac.jp (8.9.1/8.9.1) with ESMTP id MAA10828; Wed, 13 Jan 1999 12:32:20 +0900 (JST) Received: from zodiac.mech.utsunomiya-u.ac.jp (zodiac.mech.utsunomiya-u.ac.jp [160.12.42.1]) by zodiac.mech.utsunomiya-u.ac.jp (8.7.6+2.6Wbeta7/3.4W/zodiac-May96) with ESMTP id MAA17186; Wed, 13 Jan 1999 12:34:47 +0900 (JST) Message-Id: <199901130334.MAA17186@zodiac.mech.utsunomiya-u.ac.jp> To: tom@geotec.net (Tom Jackson) cc: FreeBSD Current , yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: New Con Driver Panics using PCVT In-reply-to: Your message of "Tue, 12 Jan 1999 20:07:03 CST." <19990112200703.A8670@peeper.TOJ.org> References: <19990112160006.A5715@slim.TOJ.org> <199901130125.KAA14199@zodiac.mech.utsunomiya-u.ac.jp> <19990112200703.A8670@peeper.TOJ.org> Date: Wed, 13 Jan 1999 12:34:46 +0900 From: Kazutaka YOKOTA Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >Fair enough. On another box, a Thinkpad (360Cs) the sc0 driver doesn't >appear to work. I changed the flags from 0x10 to 0x04 then back to 0x10 >(since LINT still shows 0x10) but can't get proper keyboard function. >Wish I could be of more help. The new flag 0x04 is for atkbd. Not for sc anymore. Make sure the flag is set to atkbd. That much said, there appear to be a bug in the keyboard driver! Please apply the following patch to /sys/dev/kbd/atkbd.c and see if it works. As for LINT still listing obsoleted flags, they will be deleted. Thank you for spotting. Kazu Index: atkbd.c =================================================================== RCS file: /src/CVS/src/sys/dev/kbd/atkbd.c,v retrieving revision 1.1 diff -u -r1.1 atkbd.c --- atkbd.c 1999/01/09 02:44:49 1.1 +++ atkbd.c 1999/01/13 03:31:24 @@ -375,7 +375,7 @@ /* initialize it */ kbdc = ((atkbd_state_t *)kbd->kb_data)->kbdc; - if (!(flags & KB_CONF_PROBE_ONLY) && !KBD_IS_PROBED(kbd)) { + if (!(flags & KB_CONF_PROBE_ONLY) && !KBD_IS_INITIALIZED(kbd)) { if (KBD_HAS_DEVICE(kbd) && init_keyboard(kbdc, &kbd->kb_type, flags) && (flags & KB_CONF_FAIL_IF_NO_KBD)) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message