Subject: port-i386/4529: ViBRA16CL pnp joystick doesn't match/attach
To: None <>
From: None <>
List: netbsd-bugs
Date: 11/18/1997 02:04:36
>Number:         4529
>Category:       port-i386
>Synopsis:       ViBRA16CL pnp joystick doesn't match/attach
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    gnats-admin (GNATS administrator)
>State:          open
>Class:          change-request
>Submitter-Id:   net
>Arrival-Date:   Mon Nov 17 23:20:01 1997
>Originator:     Carl S. Shapiro
>Release:        -current as of November 18, 1997
System: NetBSD 1.3_ALPHA NetBSD 1.3_ALPHA (DAIKON) #0: Tue Nov 18 01:37:58 EST 1997 i386

	plug'n'play isa joystick driver doesn't match/attach my "Creative
	ViBRA16CL PnP Game".
	Boot NetBSD on your average Micronics W6-Li (with the onboard
	audio manufacturing option) and observe the following:


isapnp0: <Creative ViBRA16CL PnP, CTL7002, , Game> port 0x200/8 not configured

	Apply the following patch:

*** /sys/arch/i386/isa/joy_isapnp.c	Sat Nov  1 10:02:14 1997
--- /var/obj/sys/arch/i386/isa/joy_isapnp.c	Tue Nov 18 01:37:16 1997
*** 64,69 ****
--- 64,70 ----
  	struct isapnp_attach_args *ipa = aux;
  	if (strcmp(ipa->ipa_devcompat, "PNPB02F") &&
+ 	    strcmp(ipa->ipa_devlogic, "CTL7002") &&
  	    strcmp(ipa->ipa_devlogic, "ESS0001") &&
  	    strcmp(ipa->ipa_devlogic, "OPT0001"))
  		return (0);

Works just fine as seen below:


joy0 at isapnp0 port 0x200/8
joy0: Creative ViBRA16CL PnP Game
joy0: joystick not connected

(much better)