From nobody@FreeBSD.ORG  Sun Nov  5 03:10:18 2000
Return-Path: <nobody@FreeBSD.ORG>
Received: by hub.freebsd.org (Postfix, from userid 32767)
	id 83F0D37B4CF; Sun,  5 Nov 2000 03:10:18 -0800 (PST)
Message-Id: <20001105111018.83F0D37B4CF@hub.freebsd.org>
Date: Sun,  5 Nov 2000 03:10:18 -0800 (PST)
From: myke@fks.bt
Sender: nobody@FreeBSD.ORG
To: freebsd-gnats-submit@FreeBSD.org
Subject: Incorrect PnP ID for ALS120 game/joystick port (trivial fix)
X-Send-Pr-Version: www-1.0

>Number:         22617
>Category:       kern
>Synopsis:       Incorrect PnP ID for ALS120 game/joystick port (trivial fix)
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    murray
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Nov 05 03:20:00 PST 2000
>Closed-Date:    Fri Aug 31 22:59:32 PDT 2001
>Last-Modified:  Fri Aug 31 22:59:52 PDT 2001
>Originator:     Mike Holling
>Release:        4.1.1-RELEASE
>Organization:
>Environment:
FreeBSD av.fks.lan 4.1.1-RELEASE FreeBSD 4.1.1-RELEASE #4: Sun Oct 29 20:28:32 MST 2000     myke@av.fks.lan:/usr/src/sys/compile/AV  i386

>Description:
The PnP ID for the ALS120 game port is incorrect in the joystick driver, it is
the same as the ALS110.

>How-To-Repeat:
Try to attach the joystick device on a system with an ALS120, it won't be
detected.

>Fix:
*** joy.c.orig  Sun Oct 29 20:39:40 2000
--- joy.c       Sun Nov  5 03:53:45 2000
***************
*** 102,108 ****
      {0x0100630e, "CSC0001 PnP Joystick"},     /* CSC0001 */
      {0x0101630e, "CSC0101 PnP Joystick"},     /* CSC0101 */
      {0x01100002, "ALS0110 PnP Joystick"},     /* @P@1001 */
!     {0x01100002, "ALS0120 PnP Joystick"},     /* @P@2001 */
      {0x01007316, "ESS0001 PnP Joystick"},     /* ESS0001 */
      {0x2fb0d041, "Generic PnP Joystick"},     /* PNPb02f */
      {0x2200a865, "YMH0022 PnP Joystick"},     /* YMH0022 */
--- 102,108 ----
      {0x0100630e, "CSC0001 PnP Joystick"},     /* CSC0001 */
      {0x0101630e, "CSC0101 PnP Joystick"},     /* CSC0101 */
      {0x01100002, "ALS0110 PnP Joystick"},     /* @P@1001 */
!     {0x01200002, "ALS0120 PnP Joystick"},     /* @P@2001 */
      {0x01007316, "ESS0001 PnP Joystick"},     /* ESS0001 */
      {0x2fb0d041, "Generic PnP Joystick"},     /* PNPb02f */
      {0x2200a865, "YMH0022 PnP Joystick"},     /* YMH0022 */




>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->analyzed 
State-Changed-By: murray 
State-Changed-When: Fri Aug 31 14:41:19 PDT 2001 
State-Changed-Why:  
Fix has been applied to -CURRENT, thanks!  I'll try to get this into 
FreeBSD 4.4. 


Responsible-Changed-From-To: freebsd-bugs->murray 
Responsible-Changed-By: murray 
Responsible-Changed-When: Fri Aug 31 14:41:19 PDT 2001 
Responsible-Changed-Why:  
My MFC reminder. 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22617 
State-Changed-From-To: analyzed->closed 
State-Changed-By: murray 
State-Changed-When: Fri Aug 31 22:59:32 PDT 2001 
State-Changed-Why:  
Fix has been applied to -STABLE.  It will be present in FreeBSD 4.4. 
Thanks! 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=22617 
>Unformatted:
