Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Dec 1999 12:54:55 -0700 (MST)
From:      "Justin T. Gibbs" <gibbs@FreeBSD.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/15633: Joy driver fails to attach to CS joystick port on TP770X
Message-ID:  <199912221954.MAA00631@caspian.plutotech.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199912221954.MAA00631>