Date: Wed, 13 Jan 1999 12:34:46 +0900 From: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp> To: tom@geotec.net (Tom Jackson) Cc: FreeBSD Current <freebsd-current@FreeBSD.ORG>, yokota@zodiac.mech.utsunomiya-u.ac.jp Subject: Re: New Con Driver Panics using PCVT Message-ID: <199901130334.MAA17186@zodiac.mech.utsunomiya-u.ac.jp> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
>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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901130334.MAA17186>