Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Mar 2000 17:57:04 -0600
From:      "Travis Leuthauser" <travis@winconx.com>
To:        <freebsd-questions@freebsd.org>
Subject:   OnBoard Sound
Message-ID:  <05ea01bf9391$28389100$20503cd0@travis>

next in thread | raw e-mail | index | archive | help
I am running FreeBSD 3.4-RELEASE on an AMD K6 300.  I am using a Matsonic
5025S with OnBoard sound.  I am having problems getting the sound working
properly.  Throughout playing, I can hear the sound, but it's very jumpy.
I'm relatively new to setting up sound.  Any suggestions would be greatly
appreciated.

Thanks,
    Travis Leuthauser

Exact Errors:
These errors come up as soon as I execute the play command
server# play test.wav
Mar 21 17:51:11 server /kernel: dsp stereo: 2 is invalid, assuming 1
Mar 21 17:51:11 server /kernel: dsp stereo: 2 is invalid, assuming 1

These errors come up just as the wav file finishes playing
Mar 21 17:51:47 server /kernel: timeout flushing dbuf_out, chan 3 cnt
0xfffd6dc0 flags 0x00000141
Mar 21 17:51:47 server /kernel: timeout flushing dbuf_out, chan 3 cnt
0xfffd6dc0 flags 0x00000141

relevant line from /boot/kernel.conf
pnp 1 0 os enable port0 0x530 irq0 10 drq0 3

relevant lines from kernel config
device pcm0 at isa? port 0x530 tty irq 10 drq 3 flags 0x15

dmesg output:
pcm0 at 0x530 irq 10 drq 3 flags 0x9115 on isa
mss_attach <mss>0 at 0x530 irq 10 dma 3:5 flags 0x9115

pnpinfo output:
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID CMI0001 (0x0100a90d), Serial Number 0x01000100
PnP Version 1.0, Vendor Version 0
Device Description: CMI8330. Audio Adapter

Logical Device ID: @@@0001 0x01000000 #0
TAG Start DF
Good Configuration
    I/O Range 0x530 .. 0x530, alignment 0x1, len 0x8
        [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x8
        [16-bit addr]
    IRQ: 11  - only one type (true/edge)
    DMA: channel(s) 0
        8-bit, not a bus master, count by byte, , Compatibility mode
TAG Start DF
Acceptable Configuration
    I/O Range 0x530 .. 0x530, alignment 0x1, len 0x8
        [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x8
        [16-bit addr]
    IRQ: 5 7 9 10 11 12  - only one type (true/edge)
    DMA: channel(s) 0 1 3
        8-bit, not a bus master, count by byte, , Compatibility mode
TAG Start DF
Acceptable Configuration
    I/O Range 0xe80 .. 0xf40, alignment 0xc0, len 0x8
        [16-bit addr]
    I/O Range 0x388 .. 0x3f8, alignment 0x10, len 0x8
        [16-bit addr]
    IRQ: 5 7 9 10 11 12  - only one type (true/edge)
    DMA: channel(s) 0 1 3
        8-bit, not a bus master, count by byte, , Compatibility mode
TAG End DF

Logical Device ID: @H@0001 0x01000001 #1
TAG Start DF
Good Configuration
    I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2
        [16-bit addr]
    IRQ: 9  - only one type (true/edge)
TAG Start DF
Acceptable Configuration
    I/O Range 0x300 .. 0x330, alignment 0x10, len 0x2
        [16-bit addr]
    IRQ: 5 7 9 10 11 12  - only one type (true/edge)
server# pnpinfo | more
Checking for Plug-n-Play devices...

Card assigned CSN #1
Vendor ID CMI0001 (0x0100a90d), Serial Number 0x01000100
PnP Version 1.0, Vendor Version 0
Device Description: CMI8330. Audio Adapter

Logical Device ID: @@@0001 0x01000000 #0
TAG Start DF
Good Configuration
    I/O Range 0x530 .. 0x530, alignment 0x1, len 0x8
        [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x8
        [16-bit addr]
    IRQ: 11  - only one type (true/edge)
    DMA: channel(s) 0
        8-bit, not a bus master, count by byte, , Compatibility mode
TAG Start DF
Acceptable Configuration
    I/O Range 0x530 .. 0x530, alignment 0x1, len 0x8
        [16-bit addr]
    I/O Range 0x388 .. 0x388, alignment 0x1, len 0x8
        [16-bit addr]
    IRQ: 5 7 9 10 11 12  - only one type (true/edge)
    DMA: channel(s) 0 1 3
        8-bit, not a bus master, count by byte, , Compatibility mode
TAG Start DF
Acceptable Configuration
    I/O Range 0xe80 .. 0xf40, alignment 0xc0, len 0x8
        [16-bit addr]
    I/O Range 0x388 .. 0x3f8, alignment 0x10, len 0x8
        [16-bit addr]
    IRQ: 5 7 9 10 11 12  - only one type (true/edge)
    DMA: channel(s) 0 1 3
        8-bit, not a bus master, count by byte, , Compatibility mode
TAG End DF

Logical Device ID: @H@0001 0x01000001 #1
TAG Start DF
Good Configuration
    I/O Range 0x330 .. 0x330, alignment 0x1, len 0x2
        [16-bit addr]
    IRQ: 9  - only one type (true/edge)
TAG Start DF
Acceptable Configuration
    I/O Range 0x300 .. 0x330, alignment 0x10, len 0x2
        [16-bit addr]
    IRQ: 5 7 9 10 11 12  - only one type (true/edge)
TAG End DF

Logical Device ID: @P@0001 0x01000002 #2
TAG Start DF
Good Configuration
    I/O Range 0x200 .. 0x200, alignment 0x1, len 0x8
        [16-bit addr]
TAG Start DF
Acceptable Configuration
    I/O Range 0x200 .. 0xfe0, alignment 0x10, len 0x8
        [16-bit addr]
TAG End DF

Logical Device ID: @X@0001 0x01000003 #3
TAG Start DF
Good Configuration
    I/O Range 0x220 .. 0x220, alignment 0x1, len 0x10
        [16-bit addr]
    IRQ: 5  - only one type (true/edge)
    DMA: channel(s) 1
        8-bit, not a bus master, count by byte, , Compatibility mode
    DMA: channel(s) 5
        16-bit, not a bus master, , count by word, Compatibility mode
TAG Start DF
Acceptable Configuration
    I/O Range 0x220 .. 0x240, alignment 0x20, len 0x10
        [16-bit addr]
    IRQ: 5 7 9 10  - only one type (true/edge)
    DMA: channel(s) 0 1 3
        8-bit, not a bus master, count by byte, , Compatibility mode
    DMA: channel(s) 5 7
        16-bit, not a bus master, , count by word, Compatibility mode
TAG Start DF
Acceptable Configuration
    I/O Range 0x220 .. 0x280, alignment 0x20, len 0x10
        [16-bit addr]
    IRQ: 5 7 9 10 11 12  - only one type (true/edge)
    DMA: channel(s) 0 1 3
        8-bit, not a bus master, count by byte, , Compatibility mode
    DMA: channel(s) 5 7
        16-bit, not a bus master, , count by word, Compatibility mode
TAG End DF
End Tag

Successfully got 50 resources, 4 logical fdevs
-- card select # 0x0001

CSN CMI0001 (0x0100a90d), Serial Number 0x01000100

Logical device #0
IO:  0x0530 0x0388 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 10 0
DMA 3 0
IO range check 0x00 activate 0x01

Logical device #1
IO:  0x0330 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 9 0
DMA 0 0
IO range check 0x00 activate 0x01

Logical device #2
IO:  0x0200 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 0 0
DMA 0 0
IO range check 0x00 activate 0x01

Logical device #3
IO:  0x0220 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000 0x0000
IRQ 5 0
DMA 1 5
IO range check 0x00 activate 0x01



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?05ea01bf9391$28389100$20503cd0>