From owner-freebsd-hackers Mon Nov 27 21:16:59 2000 Delivered-To: freebsd-hackers@freebsd.org Received: from hand.dotat.at (sfo-gw.covalent.net [207.44.198.62]) by hub.freebsd.org (Postfix) with ESMTP id F403537B4C5 for ; Mon, 27 Nov 2000 21:16:56 -0800 (PST) Received: from fanf by hand.dotat.at with local (Exim 3.15 #3) id 140d84-000DeP-00 for hackers@FreeBSD.org; Tue, 28 Nov 2000 05:16:32 +0000 From: Tony Finch To: hackers@FreeBSD.org Subject: psm and PNPBIOS Message-Id: Date: Tue, 28 Nov 2000 05:16:32 +0000 Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG I recently got a new machine (DELL Optiplex GX110) which seems to work fine with FreeBSD, except for a small niggle: If I include "options PNPBIOS" in the kernel config the mouse doesn't probe properly, however it works fine on my DELL Latitude CPx laptop. The problem seems to be because of the order in which the devices are listed by the PnP BIOS: on the Latitude, the keyboard controller PNP0303 comes before the PS/2 mouse PNP0f13, so things get probed in an order which works. On the Optiplex, the mouse is listed before the keyboard in the BIOS, so the "unknown PNP device" grabs irq 12 leaving psm unable to allocate its resources. There seems to be some "notyet" code in psm.c which looks relevant, but enabling it with the patch below doesn't do the trick. I guess this is because at the time the probe runs the atkbdc hasn't probed yet so isn't there to attach to. Is there an easy way to fix this? Tony. -- f.a.n.finch dot@dotat.at fanf@covalent.net Chad for President! To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message