Subject: kern/5993: ESS1869 seems to prefer sb driver
To: None <gnats-bugs@gnats.netbsd.org>
From: None <ronald@chersonese.com>
List: netbsd-bugs
Date: 08/20/1998 10:25:24
>Number:         5993
>Category:       kern
>Synopsis:       ESS1869 audio breaks with ess driver, seems okay with sb driver
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    kern-bug-people (Kernel Bug People)
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Aug 19 19:35:00 1998
>Last-Modified:
>Originator:     Ronald Khoo
>Organization:
	At Home
>Release:        19980820
>Environment:
	
System: NetBSD 1.3G NetBSD 1.3G (LEEK) #0: Thu Aug 20 09:31:07 MYT 1998 ronald@leek.chersonese.com:/usr/src/sys/arch/i386/compile/LEEK i386


>Description:
	Using the GENERIC kernel, the ESS1869 hardware is attached by
	the ess driver.  When I
		# cat spacemusic.au > /dev/audio
	it plays the sound, goes click, repeats, ad infinitum.

Here's the applicable part of the dmesg output:
-- before workaround: --
isapnp0: read port 0x203
isapnp0: <ESS ES1869 Plug and Play AudioD, ESS0006, , > port 0x800/8 not configured
ess0 at isapnp0 port 0x220/16,0x388/4,0x330/2 irq 5 drq 1,0
ess0: ESS Technology ES1887 [version 0x688b]
audio0 at ess0
joy0 at isapnp0 port 0x201/1
joy0: ESS ES1869 Plug and Play AudioD 
joy0: joystick not connected
isapnp0: <ESS ES1869 Plug and Play AudioD, ESS0002, , > port 0x168/8,0x36e/2 irq 11 not configured
-- after workaround: --
isapnp0: read port 0x203
isapnp0: <ESS ES1869 Plug and Play AudioD, ESS0006, , > port 0x800/8 not configured
sb1 at isapnp0 port 0x220/16,0x388/4,0x330/2 irq 5 drq 1,0
sb1: ESS ES1869 Plug and Play AudioD : dsp v3.01
midi1 at sb1: <SB MIDI UART>
audio0 at sb1
opl0 at sb1: model OPL3
midi2 at opl0: <Yamaha OPL3>
joy0 at isapnp0 port 0x201/1
joy0: ESS ES1869 Plug and Play AudioD 
joy0: joystick not connected
isapnp0: <ESS ES1869 Plug and Play AudioD, ESS0002, , > port 0x168/8,0x36e/2 irq 11 not configured
--cut here--
>How-To-Repeat:
	# cat spacemusic.au > /dev/audio
>Fix:
	I don't know anything about sound hardware, so no fix :-)

	The workaround is to change the line in isapnpdevs
		devlogic ess ESS1869 ESS1869
	to
		devlogic sb ESS1869 ESS1869
	(and rebuild)

	to force the use of the sb driver instead, which seems to work.
	This also gives me the OPL3 midi support, although it does
	sound quite as bad as documented :-)

>Audit-Trail:
>Unformatted: