Bug 23520

Summary: [sound] sb0 old style audio support in 4.2-RELEASE broken!
Product: Base System Reporter: lars.koeller <Lars.Koeller>
Component: kernAssignee: freebsd-multimedia (Nobody) <multimedia>
Status: Closed FIXED    
Severity: Affects Only Me CC: lkoeller
Priority: Normal    
Version: 4.2-RELEASE   
Hardware: Any   
OS: Any   

Description lars.koeller 2000-12-13 13:10:00 UTC
	So far the pcm (new audio driver) support isn't as complete as the old
        style, which should be supported in the transitition phase as staed in
	the documentation!

	I switch from a 3.5-STABLE system to a 4.2-RELEASE without hardware
	modifications!

Fix: 

Don't know!
How-To-Repeat: 
	The configuration, which worked on my 3.5-STABLE system since months
	is the following (transfered to the new device style):

device		snd
device		sb0	at isa? port 0x220 irq 5 drq 1
device		sbxvi0	at isa? irq? drq 5
device		opl0	at isa? port 0x388
device		sbmidi0	at isa? port 0x330
device		awe0	at isa? port 0x620

	This compiles without any trouble only the migration hint to the
	pcm driver is mentioned. Alas the pcm support lacks midi and sound font
	support so far. During startup the kernel reports an error:

	sb_reset_dsp failed

	which comes from the file

	/sys/i386/isa/sound/sb_dsp.c

	After this no kind of sound support is available!
Comment 1 iedowse freebsd_committer freebsd_triage 2001-11-18 17:28:00 UTC
State Changed
From-To: open->feedback


Does this problem still occur with more recent releases?
Comment 2 lkoeller 2001-12-01 16:12:06 UTC
>
>Does this problem still occur with more recent releases?
>
>http://www.FreeBSD.org/cgi/query-pr.cgi?pr=3D23520
>

Here is are the updated informations of the problem:


  With new style snd config:

    device		pcm
    device		sbc

  or lodable kernel modules

    snd_sb16_load=3D"YES"             # Sound Blaster 16/awe32/awe64 isa

  in /boot/loader.conf I get during =

boot:

    sbc0: <Creative SB16/SB32> at port
0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0
    pcm0: <SB16 DSP 4.13> on sbc0


    cat /dev/sndstat
    FreeBSD Audio Driver (newpcm) Oct  7 2001 20:22:35
    Installed devices:
    pcm0: <SB16 DSP 4.13> at io 0x220 irq 5 drq 1:5 (1p/1r/0v channels
duplex)


-------------------------------------------------------------------------=



  Until 4.2-RELEASE (Dez 2000) the following config works very well
  and gives far more complese sound support!

    device		snd
    device		sb0	at isa? port 0x220 irq 5 drq 1
    device		sbxvi0	at isa? irq? drq 5
    device		opl0	at isa? port 0x388
    device		sbmidi0	at isa? port 0x330
    device		awe0	at isa? port 0x620

  up to 4.2 i get only:

    sb_reset_dsp failed
    sb_reset_dsp failed
    awe0 at port 0x620 on isa0
    AWE32: not detected
    awe0: driver is using old-style compatability shims

    cat /dev/sndstat
    cat: /dev/sndstat: Device not configured


Best regards

Lars

-- =

Lars K=F6ller
E-Mail: lkoeller@cc.fh-lippe.de (LKoeller@FreeBSD.ORG)
PGP-key: http://www.pgp.net/pgpnet/www-key.html
-------- FreeBSD, was sonst? ---- http://www.de.freebsd.org --------
Comment 3 iedowse freebsd_committer freebsd_triage 2002-01-13 18:12:16 UTC
State Changed
From-To: feedback->open


Apparently still a problem.
Comment 4 Kris Kennaway freebsd_committer freebsd_triage 2003-07-13 05:51:51 UTC
Responsible Changed
From-To: freebsd-bugs->sound

Over to sound maintainers
Comment 5 Alexander Leidinger freebsd_committer freebsd_triage 2005-09-11 12:48:04 UTC
State Changed
From-To: open->closed

Doesn't apply to the recent sound system anymore.