From owner-freebsd-stable Thu Sep 28 11: 3:43 2000 Delivered-To: freebsd-stable@freebsd.org Received: from yertle.kciLink.com (yertle.kciLink.com [205.252.34.9]) by hub.freebsd.org (Postfix) with ESMTP id 5E6A737B423 for ; Thu, 28 Sep 2000 11:02:18 -0700 (PDT) Received: from onceler.kciLink.com (onceler.kciLink.com [205.252.34.3]) by yertle.kciLink.com (Postfix) with ESMTP id B04162E443 for ; Thu, 28 Sep 2000 14:02:07 -0400 (EDT) Received: (from khera@localhost) by onceler.kciLink.com (8.11.0/8.11.0) id e8SI27S92989; Thu, 28 Sep 2000 14:02:07 -0400 (EDT) (envelope-from khera) From: Vivek Khera MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <14803.34719.547451.130094@onceler.kciLink.com> Date: Thu, 28 Sep 2000 14:02:07 -0400 (EDT) To: stable@freebsd.org Subject: syscons mouse with NO_SC_* options X-Mailer: VM 6.72 under 21.1 (patch 11) "Carlsbad Caverns" XEmacs Lucid Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I was tweaking a server kernel the other day, and eventually noticed that the system mouse did not work on the console. So I tried the same tweaks on my workstation, and noticed that the sysmouse went away as well. However, it continued to work under X on my workstation (configured to use sysmouse with moused). What I discovered is this: If you specify VGA_NO_FONT_LOADING, the console mouse fails to work without any warnings. If you specify SC_NO_FONT_LOADING but leave out VGA_NO_FONT_LOADING, the kernel hangs just after setting rndcontol values (just prior to loading linux emulation) and reboots after about 5 seconds. No panic messages are printed. After reboot (to kernel.old), the keyboard doesn't work under X except for CTRL-ALT-DEL. After second reboot all is well. If you specify both of the above, the console mouse fails to work without any notice as well. So, if you want to specify VGA_NO_FONT_LOADING and SC_NO_FONT_LOADING, you *must* specify SC_ALT_MOUSE_IMAGE to have a console mouse with cut/paste. None of this is documented in the syscons or vga man pages. The other SC_NO_* and VGA_NO_* options didn't seem to have any affects other than those documented. I'm filing a PR about this documentation omission, but I wanted to confirm the lockups I observe above. Anyone else seen them? -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Vivek Khera, Ph.D. Khera Communications, Inc. Internet: khera@kciLink.com Rockville, MD +1-301-545-6996 GPG & MIME spoken here http://www.khera.org/~vivek/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message