Subject: kern/16032: pss(4) audio driver is broken
To: None <gnats-bugs@gnats.netbsd.org>
From: None <itohy@netbsd.org>
List: netbsd-bugs
Date: 03/24/2002 19:25:25
>Number:         16032
>Category:       kern
>Synopsis:       pss(4) audio driver is broken
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Sun Mar 24 02:26:00 PST 2002
>Closed-Date:
>Last-Modified:
>Originator:     ITOH Yasufumi
>Release:        1.5.3_RC1
>Organization:
>Environment:
System: NetBSD pino.my.domain 1.5.3_RC1 NetBSD 1.5.3_RC1 (PINOTEST) #4: Sun Mar 24 16:59:38 JST 2002 itohy@pino.my.domain:/usr/tmp/1.5/src/sys/arch/i386/compile/PINOTEST i386
Architecture: i386
Machine: i386

>Description:
	The pss(4) of 1.5 branch does in/out without bus_space_map(),
	which causes problems to other (already attached) devices.

	The pss(4) of -current does not compile.

>How-To-Repeat:
	0. I have a PC with "ym at pnpbios" device, and no other audio devices.
	1. create 1.5.3_RC1 kernel with ym, pss, and related drivers,
	2. boot the kernel on the PC,
	3. "midiplay -x" should play sample sound on opl device of ym,
	   but actually silence,
	4. playback wave (it works),
	5. "midiplay -x" now works.

>Fix:
	It should be rewritten with bus_space_* functions.
	I don't have a pss device, however.

	workaround: comment out "pss at isa" and "sp at pss" lines
		from config files.

>Release-Note:
>Audit-Trail:
>Unformatted: