Subject: port-i386/4950: Terratec EWS64 ISA PNP gameport support
To: None <gnats-bugs@gnats.netbsd.org>
From: Rene Hexel <rh@idle.trapdoor.vip.at>
List: netbsd-bugs
Date: 02/07/1998 14:29:09
>Number:         4950
>Category:       port-i386
>Synopsis:       Terratec EWS64 ISA PNP gameport support
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sat Feb  7 05:35:03 1998
>Last-Modified:
>Originator:     Rene Hexel
>Organization:
>Release:        NetBSD-1.3
>Environment:
System: NetBSD idle 1.3 NetBSD 1.3 (IDLE) #12: Thu Feb 5 19:24:31 CET 1998 rh@idle:/usr/src/sys/arch/i386/compile/IDLE i386


>Description:
The NetBSD-1.3 kernel does not support the plug&play gameport adapter
on the Terratec EWS64XL sound card.

>How-To-Repeat:
Install a TerraTec EWS64XL sound card and try to activate the joy0 device on
a custom kernel using

joy*    at isapnp?                      # Game ports (usually on audio cards)


>Fix:
>From the root directory or /usr/src apply the following patch
to /usr/src/sys/arch/i386/isa/joy_isapnp.c:

*** sys/arch/i386/isa/joy_isapnp.c.orig	Wed Nov 26 14:39:58 1997
--- sys/arch/i386/isa/joy_isapnp.c	Thu Feb  5 19:24:14 1998
***************
*** 64,69 ****
--- 64,70 ----
  	struct isapnp_attach_args *ipa = aux;
  
  	if (strcmp(ipa->ipa_devcompat, "PNPB02F") && /* generic */
+  	    strcmp(ipa->ipa_devlogic, "CSCA801") && /* Terratec EWS64XL */
   	    strcmp(ipa->ipa_devlogic, "CTL7002") && /* Creative Vibra16CL */
  	    strcmp(ipa->ipa_devlogic, "ESS0001") && /* ESS1868 */
  	    strcmp(ipa->ipa_devlogic, "OPT0001") && /* OPTi Audio 16 */
>Audit-Trail:
>Unformatted: