From owner-freebsd-bugs Wed Dec 22 12: 0:10 1999 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 82BF61556F for ; Wed, 22 Dec 1999 12:00:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id MAA33643; Wed, 22 Dec 1999 12:00:03 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from caspian.plutotech.com (caspian.plutotech.com [206.168.67.80]) by hub.freebsd.org (Postfix) with ESMTP id A733F154DB for ; Wed, 22 Dec 1999 11:54:46 -0800 (PST) (envelope-from gibbs@caspian.plutotech.com) Received: (from gibbs@localhost) by caspian.plutotech.com (8.9.3/8.9.1) id MAA00631; Wed, 22 Dec 1999 12:54:55 -0700 (MST) (envelope-from gibbs) Message-Id: <199912221954.MAA00631@caspian.plutotech.com> Date: Wed, 22 Dec 1999 12:54:55 -0700 (MST) From: "Justin T. Gibbs" Reply-To: gibbs@FreeBSD.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/15633: Joy driver fails to attach to CS joystick port on TP770X Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 15633 >Category: kern >Synopsis: Joy driver fails to attach to CS joystick port on TP770X >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Wed Dec 22 12:00:02 PST 1999 >Closed-Date: >Last-Modified: >Originator: Justin T. Gibbs >Release: FreeBSD 4.0-CURRENT i386 >Organization: >Environment: Thinkpad 770X with CS4610/CS4239 combo. This probably applies to the TP660 as well. >Description: The TP uses CSC01XX instead of CSC00XX for all of its CSC PnP Ids. One piece of CS documentation seemed to indicate that this byte was ignored by their software as they expected the vendor to change it for their own MB. Perhaps we need to add a mask field into the PnP info tables so we can generically deal with this. >How-To-Repeat: Attempt to configure the joy driver on a Thinkpad 770X. >Fix: ==== //depot/FreeBSD-current/src/sys/isa/joy.c#3 - /usr/src/sys/isa/joy.c ==== *** /tmp/tmp.315.34 Wed Dec 22 12:43:22 1999 --- /usr/src/sys/isa/joy.c Wed Dec 22 12:36:47 1999 *************** *** 99,104 **** --- 99,105 ---- devclass_t joy_devclass; static struct isa_pnp_id joy_ids[] = { + {0x0101630e, "CSC0001 PnP Joystick"}, /* CSC0001 */ {0x0100630e, "CSC0001 PnP Joystick"}, /* CSC0001 */ {0x01100002, "ALS0110 PnP Joystick"}, /* @P@1001 */ {0x01100002, "ALS0120 PnP Joystick"}, /* @P@2001 */ >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message