kern/57487: [patch] 4.8-R mss sound after resume fix

jabrown at jabrown at
Wed Oct 1 21:50:10 PDT 2003

>Number:         57487
>Category:       kern
>Synopsis:       Sound stops working on my Thinkpad 560X after suspend/resume
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Oct 01 21:50:08 PDT 2003
>Originator:     Jeff Brown
>Release:        FreeBSD 4.8-RELEASE i386
Just me

IBM Thinkpad 560X

4.8-RELEASE kernel, modified from GENERIC to include "options PNPBIOS" and
"device pcm" (as well as other stuff).

/kernel: pcm0: [CS423x] at port 0x530-0x537,0x388-0x38b,0x220-0x233 irq 5
drq 1,0 on isa0

(Note: I changed the greater/less-than signs to braces in the previous


After playing audio, suspending and resuming the machine, future 
attempts to play audio result in:

/kernel: pcm0:play:0: play interrupt timeout, channel dead


mpg321 ~/my.mp3
apm -z
(resume system)
mpg321 ~/my.mp3


Apply this patch.  It may not be the elegant way, it may break other MSS 
devices, but it's really simple and works on my 560X:

--- dev/sound/isa/mss.c.orig	Wed Oct  1 21:24:03 2003
+++ dev/sound/isa/mss.c	Wed Oct  1 21:24:42 2003
@@ -1816,6 +1816,7 @@
     			conf_wr(mss, i, mss->opl_indexed_regs[i]);
+	mss_init(mss, dev);
     	return 0;


More information about the freebsd-bugs mailing list