Subject: kern/20582: esm sound driver does not properly reset at reboot or resume
To: None <>
From: Andrew Brown <>
List: netbsd-bugs
Date: 03/04/2003 20:55:52
>Number:         20582
>Category:       kern
>Synopsis:       esm sound driver does not properly reset at reboot or resume
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    kern-bug-people
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Tue Mar 04 17:56:00 PST 2003
>Originator:     TheMan
>Release:        1.6P (current as ~6am 2003/03/01 utc)
System: NetBSD this 1.6P NetBSD 1.6P (THAT) #168: Sat Mar  1 01:21:04 EST 2003     andrew@this:/usr/src/sys/arch/i386/compile/THAT i386
esm0 at pci0 dev 12 function 0: vendor 0x125d product 0x1978 (rev. 0x10)
esm0: interrupting at irq 11
esm0: SigmaTel STAC9721/23 codec; 18 bit DAC, 18 bit ADC, SigmaTel 3D


	it used to be the case that the esm in my (toshiba portege
	7200) laptop would only work if the power cord was plugged in.
	now it seems only to work if i boot the machine with the power
	cord plugged in and don't suspend/resume.  once resumed, the
	laptop's speaker will only emit a clicking noise about four
	times per second.  i expected that it wasn't registering a
	powerhook properly, but it seems to do that, so i have no idea
	what the problem is.

	as if that wasn't weird enough, just now the laptop crashed
	while i was playing something, and after rebooting, the last
	quarter second of sound that had been playing (approximate
	guess) was apparently still in a buffer, and was looping.  i
	had to powercycle the machine to make it stop.


	boot laptop
	mpg123 ...
	(listen to music)
	wake up laptop
	mpg123 ...
	(admire expensive metronome)


	no idea.