Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 30 Oct 2000 23:03:49 +0100 (CET)
From:      Robert Eckardt <Robert.Eckardt@aranea.de>
To:        hackers@freebsd.org
Subject:   No 16bit mode with newpcm for Soundblaster Creative Vibra 16C
Message-ID:  <200010302203.XAA01037@aranea.de>

next in thread | raw e-mail | index | archive | help
Hi all,

a week ago I asked this already on -questions but got no reply.
Therefore I pick -hackers as a more appropriate forum.

During my holidays I found the time (after a broken VCR and some crashed
hard disks) to work on video and sound recording on my new PC (details
below).
However, while /dev/dsp works fine for 8bit /dev/dspW doesn't work for
16bit at all. 16bit mode gives some cracks and beeps, nothing more, as can
be seen from the following hexdumps:

22:54 axion: /big/re-work/video 141% hd dsp.cat | head 
0000000: 7E 7E 7E 7E  7F 7F 7F 7E  7E 7F 7F 80  80 7F 80 80   ~~~~...~~.......
0000010: 81 80 7F 7E  7E 7F 7F 7E  7F 7F 7F 7F  7E 7E 7E 80   ...~~..~....~~~.
0000020: 81 81 7F 7F  7F 7F 7E 7E  7D 7E 7E 7E  7F 7E 7F 7F   ......~~}~~~.~..
0000030: 7F 7F 80 7F  7F 7F 7E 80  7F 80 80 7F  7F 7F 7E 7F   ......~.......~.
0000040: 80 80 80 7F  7E 7E 7E 7E  7F 7F 7F 7E  7E 7E 7F 80   ....~~~~...~~~..
0000050: 80 7E 7D 7E  7F 7F 7E 7E  7E 7F 7F 7F  7F 7E 7F 80   .~}~..~~~....~..
0000060: 80 7F 7E 7E  7F 7F 80 7F  7E 7D 7E 7E  7F 80 7F 7E   ..~~....~}~~...~
0000070: 7E 7F 7F 7E  7D 7D 7E 7E  7E 7E 7E 7E  7E 7E 7E 7E   ~..~}}~~~~~~~~~~
0000080: 7D 7D 7D 7E  7E 7E 7E 7F  7F 7F 7E 7F  7F 7F 7F 7F   }}}~~~~...~.....
0000090: 7F 7E 7E 7E  7E 7F 7F 80  7F 7F 7F 7F  7F 7F 7F 7F   .~~~~...........
22:54 axion: /big/re-work/video 141% hd dspW.cat | head
0000000: 00 00 00 00  08 00 01 00  00 00 00 00  00 00 00 00   ................
0000010: 00 00 00 00  F8 AF 05 18  A4 0E 05 18  B4 0D 05 18   ....ø¯..¤...´...
0000020: 50 0E 05 18  00 0E 05 18  00 00 00 00  00 00 00 00   P...............
0000030: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
*
0000050: 00 00 00 00  00 00 00 00  00 00 00 00  0A 00 02 00   ................
0000060: 00 00 00 00  00 00 00 00  00 00 00 00  50 B0 05 18   ............P°..
0000070: A4 0E 05 18  B4 0D 05 18  50 0E 05 18  00 0E 05 18   ¤...´...P.......
0000080: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
0000090: 00 00 00 00  00 00 00 00  00 00 00 00  00 80 00 80   ................

Some time ago I recorded the following interesting data from /dev/dspW:
0000000: 00 00 00 00  00 00 00 00  00 00 00 00  10 82 09 08   ................
0000010: 00 80 00 80  00 80 00 80  00 80 00 80  10 02 09 88   ................
0000020: 00 20 0A 08  FF FF FF FF  05 00 00 00  00 00 00 00   . ..ÿÿÿÿ........
0000030: 3C 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   <...............
0000040: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
0000050: 40 28 23 29  72 65 63 5F  73 65 71 2E  63 09 38 2E   @(#)rec_seq.c.8.
0000060: 33 20 28 42  65 72 6B 65  6C 65 79 29  20 37 2F 31   3 (Berkeley) 7/1
0000070: 34 2F 39 34  00 00 00 00  5F 68 61 73  68 58 58 58   4/94...._hashXXX
0000080: 58 58 58 00  FF FF FF FF  00 00 00 00  FF FF FF FF   XXX.ÿÿÿÿ....ÿÿÿÿ
0000090: 00 00 00 00  00 00 00 00  00 00 00 00  00 00 00 00   ................
(I didn't know that speech recognition for source code works that well. :-)

I compiled a kernel with debugging (DEB) for newpcm enabled (it surely hasn't
been tested on 4.1 before) and did the following commands:
    43  2:26    mixer ; mixer recsrc
    44  2:27    mixer mic 100
    45  2:27    cat /dev/dsp > dsp.cat
    46  2:27    cat > /dev/dsp < dsp.cat
    47  2:27    cat /dev/dspW > dspW.cat
    48  2:27    cat > /dev/dspW < dspW.cat

2:33 axion: /big/re-work/video 0% cat /dev/sndstat 
FreeBSD Audio Driver (newpcm) Oct 23 2000 02:19:35
Installed devices:
pcm0: <SB DSP 4.13> at io 0x220 irq 5 drq 1:5 (1p/1r channels duplex)

A beautified dmesg-output is appended below.


I hope, some kind soul can tell me what I can try to get 16bit sound working
again.

Regards,
Robert


8<---8<---8<-------------------------------------------------------------------
Oct 23 02:25:38 axion /kernel: ...
: Copyright (c) 1992-2000 The FreeBSD Project.
: Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
: The Regents of the University of California. All rights reserved.
: FreeBSD 4.1-RELEASE #1: Mon Oct 23 02:19:35 CEST 2000
: root@axion:/usr/src/sys/compile/AXION2
: Timecounter "i8254"  frequency 1193182 Hz
: CPU: Pentium III/Pentium III Xeon/Celeron (751.71-MHz 686-class CPU)
: Origin = "GenuineIntel"  Id = 0x681  Stepping = 1
: Features=0x383f9ff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,XMM>
: real memory  = 268419072 (262128K bytes)
: avail memory = 256987136 (250964K bytes)
: Preloaded elf kernel "kernel" at 0xc03f2000.
: VESA: v2.0, 16384k memory, flags:0x1, mode table:0xc00c6974 (c0006974)
: VESA: Matrox Graphics Inc.
: ccd0-3: Concatenated disk drivers
: Pentium Pro MTRR support enabled
: npx0: <math processor> on motherboard
: npx0: INT 16 interface
: apm0: <APM BIOS> on motherboard
: apm: found APM BIOS v1.2, connected at v1.2
: pcib0: <Intel 82443BX (440 BX) host to PCI bridge> on motherboard
: pci0: <PCI bus> on pcib0
: pcib1: <Intel 82443BX (440 BX) PCI-PCI (AGP) bridge> at device 1.0 on pci0
: pci1: <PCI bus> on pcib1
: pci1: <Matrox MGA G400 AGP graphics accelerator> at 0.0 irq 9
: isab0: <Intel 82371AB PCI to ISA bridge> at device 4.0 on pci0
: isa0: <ISA bus> on isab0
: atapci0: <Intel PIIX4 ATA33 controller> port 0xd800-0xd80f at device 4.1 on pci0
: ata0: at 0x1f0 irq 14 on atapci0
: ata1: at 0x170 irq 15 on atapci0
: uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xd400-0xd41f irq 10 at device 4.2 on pci0
: usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
: usb0: USB revision 1.0
: uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
: uhub0: 2 ports with 2 removable, self powered
: uhub0: port 1 power on failed, IOERROR
: uhub0: port 2 power on failed, IOERROR
: uhub1: ALCOR Generic USB Hub, class 9/0, rev 1.10/1.00, addr 2
: uhub1: 4 ports with 4 removable, self powered
: intpm0: <Intel 82371AB Power management controller> port 0xe800-0xe80f irq 9 at device 4.3 on pci0
: intpm0: I/O mapped e800
: intpm0: intr IRQ 9 enabled revision 0
: smbus0: <System Management Bus> on intsmb0
: smb0: <SMBus general purpose I/O> on smbus0
: intpm0: PM I/O mapped e400 
: de0: <Digital 21040 Ethernet> port 0xd000-0xd07f mem 0xe1000000-0xe100007f irq 10 at device 9.0 on pci0
: de0: Cogent 21040 [10Mb/s] pass 2.4
: de0: address 00:00:92:b6:0d:0f
: bktr0: <BrookTree 848A> mem 0xe3000000-0xe3000fff irq 10 at device 10.0 on pci0
: iicbb0: <I2C generic bit-banging driver> on bti2c0
: iicbus0: <Philips I2C bus> on iicbb0 master-only
: smbus1: <System Management Bus> on bti2c0
: smb1: <SMBus general purpose I/O> on smbus1
: bktr0: Hauppauge Model 60104 A1VM
: bktr0: Detected a MSP3400C-C6 at 0x80
: Hauppauge WinCast/TV, Philips PAL I tuner, msp3400c stereo.
: ahc0: <Adaptec 2940 SCSI adapter> port 0xb800-0xb8ff mem 0xe0800000-0xe0800fff irq 11 at device 11.0 on pci0
: ahc0: aic7870 Single Channel A, SCSI Id=7, 16/255 SCBs
: isa0: unexpected small tag 0
Oct 23 02:25:38 axion last message repeated 6 times
: isa0: unexpected small tag 1
: atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
: atkbd0: <AT Keyboard> irq 1 on atkbdc0
: psm0: <PS/2 Mouse> irq 12 on atkbdc0
: psm0: model Generic PS/2 mouse, device ID 0
: vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
: sc0: <System console> on isa0
: sc0: VGA <12 virtual consoles, flags=0x200>
: fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
: fdc0: FIFO enabled, 8 bytes threshold
: fd0: <1440-KB 3.5" drive> on fdc0 drive 0
: sio0 at port 0x3f8-0x3ff irq 4 flags 0x20010 on isa0
: sio0: type ST16650A
: sio1 at port 0x2f8-0x2ff irq 3 flags 0x20000 on isa0
: sio1: type ST16650A
: pca0 at port 0x40 on isa0
: joy0 at port 0x201 on isa0
: ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
: ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
: ppc0: FIFO with 16/16/9 bytes threshold
: ppbus0: IEEE1284 device found /NIBBLE/ECP
: Probing for PnP devices on ppbus0:
: ppbus0: <Hewlett-Packard HP LaserJet 1100.1.1> PRINTER MLC,PCL,PJL
: ppi0: <Parallel I/O> on ppbus0
: lpt0: <Printer> on ppbus0
: lpt0: Interrupt-driven port
: plip0: <PLIP network interface> on ppbus0
: sbc1: <Creative ViBRA16C> at port 0x220-0x22f irq 5 drq 1,5 on isa0
: sbc1: setting card to irq 5, drq 1, 5
: pcm0: <SB DSP 4.13> on sbc1
: ch_bits dev 0 ch 0 val 75 old 0xc0 r 48 p 0 bit 5 off 3
: ch_bits dev 0 ch 1 val 75 old 0xc0 r 49 p 0 bit 5 off 3
: ch_bits dev 1 ch 0 val 50 old 0x80 r 70 p 0 bit 4 off 4
: ch_bits dev 1 ch 1 val 50 old 0x80 r 71 p 0 bit 4 off 4
: ch_bits dev 2 ch 0 val 50 old 0x80 r 68 p 0 bit 4 off 4
: ch_bits dev 2 ch 1 val 50 old 0x80 r 69 p 0 bit 4 off 4
: ch_bits dev 3 ch 0 val 75 old 0xc0 r 52 p 0 bit 5 off 3
: ch_bits dev 3 ch 1 val 75 old 0xc0 r 53 p 0 bit 5 off 3
: ch_bits dev 4 ch 0 val 75 old 0xc0 r 50 p 0 bit 5 off 3
: ch_bits dev 4 ch 1 val 75 old 0xc0 r 51 p 0 bit 5 off 3
: ch_bits dev 5 ch 0 val 75 old 0xa0 r 59 p 0 bit 2 off 6
: ch_bits dev 6 ch 0 val 75 old 0x00 r 56 p 0 bit 5 off 3
: ch_bits dev 6 ch 1 val 75 old 0x00 r 57 p 0 bit 5 off 3
: ch_bits dev 7 ch 0 val 0 old 0x00 r 58 p 0 bit 5 off 3
: ch_bits dev 8 ch 0 val 75 old 0x00 r 54 p 0 bit 5 off 3
: ch_bits dev 8 ch 1 val 75 old 0x00 r 55 p 0 bit 5 off 3
: unknown: <Audin> can't assign resources
: unknown0: <Audin> on isa0
: unknown: <Game> can't assign resources
: ad0: 14649MB <IBM-DTLA-307015> [29765/16/63] at ata0-master using UDMA33
: ad1: 14664MB <IBM-DJNA-351520> [29795/16/63] at ata0-slave using UDMA33
: ad2: 14649MB <IBM-DTLA-307015> [29765/16/63] at ata1-master using UDMA33
: Waiting 5 seconds for SCSI devices to settle
: de0: enabling 10baseT port
: Mounting root from ufs:/dev/ad0s2a
: vinum: loaded
: vinum: reading configuration from /dev/ad2s2g
: vinum: updating configuration from /dev/ad2s2f
: vinum: updating configuration from /dev/ad0s2g
: vinum: updating configuration from /dev/ad0s2f
: cd0 at ahc0 bus 0 target 4 lun 0
: cd0: <TOSHIBA CD-ROM XM-3801TA 0207> Removable CD-ROM SCSI-2 device 
: cd0: 10.000MB/s transfers (10.000MHz, offset 8)
: cd0: cd present [329507 x 2048 byte records]
Oct 23 02:25:39 axion mountd[135]: can't change attributes for /cdrom1
Oct 23 02:25:39 axion mountd[135]: bad exports list line /cdrom1
Oct 23 02:25:39 axion lpd[183]: restarted
: /dev/vmmon: Module vmmon: registered with major=200 minor=0 tag=$Name: build-438 $
: /dev/vmmon: Module vmmon: initialized
: vmnet1: not multicast capable, IPv6 not enabled
: cd1 at ahc0 bus 0 target 5 lun 0
: cd1: <YAMAHA CRW4416S 1.0e> Removable CD-ROM SCSI-2 device 
: cd1: 8.333MB/s transfers (8.333MHz, offset 15)
: cd1: cd present [328409 x 2048 byte records]
Oct 23 02:26:00 axion su: roberte to root on /dev/ttyp4

: open snd0 subdev 0 flags 0x00000003 mode 0x00002000
: close snd0 subdev 0
: open snd0 subdev 0 flags 0x00000003 mode 0x00002000
: close snd0 subdev 0
: open snd0 subdev 0 flags 0x00000003 mode 0x00002000
: ch_bits dev 7 ch 0 val 100 old 0x00 r 58 p 0 bit 5 off 3
: close snd0 subdev 0

: open snd0 subdev 3 flags 0x00000001 mode 0x00002000
: read snd0 subdev 3 flag 0x00020000
: rdintr: start dl 0, rp:rl 0:0, fp:fl 0:8192
: buf 0x0xc11a8f40 ISA DMA started
: rdintr: start dl 2048, rp:rl 1968:80, fp:fl 2048:8112
: rdintr: start dl 2048, rp:rl 4052:44, fp:fl 4096:8148
: rdintr: start dl 2048, rp:rl 6132:12, fp:fl 6144:8180
: rdintr: start dl 2048, rp:rl 8132:60, fp:fl 0:8132
: read snd0 subdev 3 flag 0x00030000
: rdintr: start dl 2048, rp:rl 2020:28, fp:fl 2048:8164
: rdintr: start dl 2048, rp:rl 4020:76, fp:fl 4096:8116
: rdintr: start dl 2048, rp:rl 6100:44, fp:fl 6144:8148
: rdintr: start dl 2048, rp:rl 8180:12, fp:fl 0:8180
: read snd0 subdev 3 flag 0x00040000
: rdintr: start dl 2048, rp:rl 1988:60, fp:fl 2048:8132
: rdintr: start dl 2048, rp:rl 4072:24, fp:fl 4096:8168
: rdintr: start dl 2048, rp:rl 6072:72, fp:fl 6144:8120
: rdintr: start dl 2048, rp:rl 8152:40, fp:fl 0:8152
: read snd0 subdev 3 flag 0x00050000
: rdintr: start dl 2048, rp:rl 2040:8, fp:fl 2048:8184
: rdintr: start dl 2048, rp:rl 4040:56, fp:fl 4096:8136
: close snd0 subdev 3
: buf 0x0xc11a8f40 ISA DMA stopped

: open snd0 subdev 3 flags 0x00000402 mode 0x00002000
: default ioctl chan0 fn 0x402c7413 fail
: default ioctl chan0 fn 0x402c7413 fail
: write snd0 subdev 3 flag 0x00020001
: buf 0x0xc118a040 ISA DMA started
: write snd0 subdev 3 flag 0x00030001
: write snd0 subdev 3 flag 0x00040001
: write snd0 subdev 3 flag 0x00050001
: write snd0 subdev 3 flag 0x00060001
: write snd0 subdev 3 flag 0x00070001
: write snd0 subdev 3 flag 0x00080001
: write snd0 subdev 3 flag 0x00090001
: write snd0 subdev 3 flag 0x000a0001
: write snd0 subdev 3 flag 0x000b0001
: write snd0 subdev 3 flag 0x000c0001
: write snd0 subdev 3 flag 0x000d0001
: write snd0 subdev 3 flag 0x000e0001
: write snd0 subdev 3 flag 0x000f0001
: write snd0 subdev 3 flag 0x00100001
: write snd0 subdev 3 flag 0x00110001
: write snd0 subdev 3 flag 0x00120001
: write snd0 subdev 3 flag 0x00130001
: write snd0 subdev 3 flag 0x00140001
: write snd0 subdev 3 flag 0x00150001
: write snd0 subdev 3 flag 0x00160001
: write snd0 subdev 3 flag 0x00170001
: write snd0 subdev 3 flag 0x00180001
: write snd0 subdev 3 flag 0x00190001
: close snd0 subdev 3
: chn_flush c->flags 0x00001030
: chn_flush: now rl = 6144, fl = 2048
Oct 23 02:27:20 axion last message repeated 31 times
: chn_flush: now rl = 6140, fl = 2052
: chn_flush: now rl = 4092, fl = 4100
: near underflow (2044 < 2048), 6148
: chn_flush: now rl = 2040, fl = 6152
: OUCH!(2) rl -4(2040) delta 2044 bufsize 8192 hwptr 4 rp 4(6152)
: near underflow (-4 < 2048), 8196
: OUCH!(3) rl -8(-4) delta 4 bufsize 8192 hwptr 8 rp 8(4)
: chn_flush: now rl = -8, fl = 8200
: buf 0x0xc118a040 ISA DMA stopped
: OUCH!(4) rl -8192(-8) delta 8184 bufsize 8192 hwptr 0 rp 0(8)

: open snd0 subdev 5 flags 0x00000001 mode 0x00002000
: read snd0 subdev 5 flag 0x00020000
: rdintr: start dl 0, rp:rl 0:0, fp:fl 0:8192
: buf 0x0xc11a8f40 ISA DMA started
: rdintr: start dl 2048, rp:rl 1916:132, fp:fl 2048:8060
: rdintr: start dl 2048, rp:rl 3996:100, fp:fl 4096:8092
: rdintr: start dl 2048, rp:rl 6076:68, fp:fl 6144:8124
: rdintr: start dl 2048, rp:rl 8156:36, fp:fl 0:8156
: read snd0 subdev 5 flag 0x00030000
: rdintr: start dl 2048, rp:rl 2044:4, fp:fl 2048:8188
: rdintr: start dl 2048, rp:rl 3968:128, fp:fl 4096:8064
: rdintr: start dl 2048, rp:rl 6048:96, fp:fl 6144:8096
: rdintr: start dl 2048, rp:rl 8128:64, fp:fl 0:8128
: read snd0 subdev 5 flag 0x00040000
: rdintr: start dl 2048, rp:rl 2016:32, fp:fl 2048:8160
: rdintr: start dl 2048, rp:rl 3936:160, fp:fl 4096:8032
: rdintr: start dl 2048, rp:rl 6016:128, fp:fl 6144:8064
: rdintr: start dl 2048, rp:rl 8096:96, fp:fl 0:8096
: read snd0 subdev 5 flag 0x00050000
: rdintr: start dl 2048, rp:rl 1984:64, fp:fl 2048:8128
: rdintr: start dl 2048, rp:rl 4068:28, fp:fl 4096:8164
: rdintr: start dl 2048, rp:rl 5988:156, fp:fl 6144:8036
: rdintr: start dl 2048, rp:rl 8068:124, fp:fl 0:8068
: read snd0 subdev 5 flag 0x00060000
: rdintr: start dl 2048, rp:rl 1956:92, fp:fl 2048:8100
: rdintr: start dl 2048, rp:rl 4036:60, fp:fl 4096:8132
: rdintr: start dl 2048, rp:rl 6116:28, fp:fl 6144:8164
: rdintr: start dl 2048, rp:rl 8036:156, fp:fl 0:8036
: read snd0 subdev 5 flag 0x00070000
: rdintr: start dl 2048, rp:rl 1924:124, fp:fl 2048:8068
: rdintr: start dl 2048, rp:rl 4008:88, fp:fl 4096:8104
: rdintr: start dl 2048, rp:rl 6088:56, fp:fl 6144:8136
: rdintr: start dl 2048, rp:rl 8168:24, fp:fl 0:8168
: read snd0 subdev 5 flag 0x00080000
: close snd0 subdev 5
: rdintr: start dl 2048, rp:rl 1096:952, fp:fl 2048:7240
: buf 0x0xc11a8f40 ISA DMA stopped
: buf 0x0xc11a8f40 ISA DMA stopped

: open snd0 subdev 5 flags 0x00000402 mode 0x00002000
: default ioctl chan0 fn 0x402c7413 fail
: default ioctl chan0 fn 0x402c7413 fail
: write snd0 subdev 5 flag 0x00020001
: underflow, flags 0x00001012 rp 0 rl 1024
: write snd0 subdev 5 flag 0x00030001
: buf 0x0xc118a040 ISA DMA started
: write snd0 subdev 5 flag 0x00040001
: write snd0 subdev 5 flag 0x00050001
: write snd0 subdev 5 flag 0x00060001
: write snd0 subdev 5 flag 0x00070001
: write snd0 subdev 5 flag 0x00080001
: write snd0 subdev 5 flag 0x00090001
: write snd0 subdev 5 flag 0x000a0001
: write snd0 subdev 5 flag 0x000b0001
: write snd0 subdev 5 flag 0x000c0001
: write snd0 subdev 5 flag 0x000d0001
: write snd0 subdev 5 flag 0x000e0001
: write snd0 subdev 5 flag 0x000f0001
: write snd0 subdev 5 flag 0x00100001
: write snd0 subdev 5 flag 0x00110001
: write snd0 subdev 5 flag 0x00120001
: write snd0 subdev 5 flag 0x00130001
: write snd0 subdev 5 flag 0x00140001
: write snd0 subdev 5 flag 0x00150001
: write snd0 subdev 5 flag 0x00160001
: write snd0 subdev 5 flag 0x00170001
: write snd0 subdev 5 flag 0x00180001
: write snd0 subdev 5 flag 0x00190001
: write snd0 subdev 5 flag 0x001a0001
: write snd0 subdev 5 flag 0x001b0001
: write snd0 subdev 5 flag 0x001c0001
: write snd0 subdev 5 flag 0x001d0001
: write snd0 subdev 5 flag 0x001e0001
: write snd0 subdev 5 flag 0x001f0001
: write snd0 subdev 5 flag 0x00200001
: write snd0 subdev 5 flag 0x00210001
: write snd0 subdev 5 flag 0x00220001
: write snd0 subdev 5 flag 0x00230001
: write snd0 subdev 5 flag 0x00240001
: write snd0 subdev 5 flag 0x00250001
: write snd0 subdev 5 flag 0x00260001
: write snd0 subdev 5 flag 0x00270001
: write snd0 subdev 5 flag 0x00280001
: write snd0 subdev 5 flag 0x00290001
: write snd0 subdev 5 flag 0x002a0001
: write snd0 subdev 5 flag 0x002b0001
: write snd0 subdev 5 flag 0x002c0001
: write snd0 subdev 5 flag 0x002d0001
: write snd0 subdev 5 flag 0x002e0001
: write snd0 subdev 5 flag 0x002f0001
: write snd0 subdev 5 flag 0x00300001
: write snd0 subdev 5 flag 0x00310001
: close snd0 subdev 5
: chn_flush c->flags 0x00001030
: chn_flush: now rl = 6540, fl = 1652
: chn_flush: now rl = 7796, fl = 396
: chn_flush: now rl = 6272, fl = 1920
: chn_flush: now rl = 7668, fl = 524
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 7700, fl = 492
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 7732, fl = 460
: chn_flush: now rl = 6272, fl = 1920
: chn_flush: now rl = 7604, fl = 588
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 7636, fl = 556
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 7668, fl = 524
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 7700, fl = 492
: chn_flush: now rl = 6108, fl = 2084
: chn_flush: now rl = 7736, fl = 456
: chn_flush: now rl = 6272, fl = 1920
: chn_flush: now rl = 7608, fl = 584
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 7640, fl = 552
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 7672, fl = 520
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 7704, fl = 488
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 7736, fl = 456
: chn_flush: now rl = 6272, fl = 1920
: chn_flush: now rl = 7608, fl = 584
: chn_flush: now rl = 6108, fl = 2084
: chn_flush: now rl = 7644, fl = 548
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 7676, fl = 516
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 7708, fl = 484
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 7740, fl = 452
: chn_flush: now rl = 6272, fl = 1920
: chn_flush: now rl = 7612, fl = 580
: chn_flush: now rl = 6112, fl = 2080
: chn_flush: now rl = 6144, fl = 2048
: chn_flush: now rl = 4612, fl = 3580
: chn_flush: now rl = 4096, fl = 4096
: chn_flush: now rl = 2532, fl = 5660
: chn_flush: now rl = 2048, fl = 6144
: chn_flush: now rl = 448, fl = 7744
: near underflow (0 < 2048), 8192
: OUCH!(5) rl -4(0) delta 4 bufsize 8192 hwptr 4 rp 4(0)
: chn_flush: now rl = -4, fl = 8196
: buf 0x0xc118a040 ISA DMA stopped
: OUCH!(6) rl -8192(-4) delta 8188 bufsize 8192 hwptr 0 rp 0(4)

8<---8<---8<-------------------------------------------------------------------
The audio part from my kernel config file:
#
# Audio drivers: `snd', `sb', `pas', `gus', `pca'
#
# options BROKEN_BUS_CLOCK      #PAS-16 isn't working and OPTI chipset

# The newpcm driver (use INSTEAD of snd0 and all VOXWARE drivers!).
# Note that motherboard sound devices may require options PNPBIOS.
#
# Supported cards include:
# Creative SoundBlaster ISA PnP/non-PnP
# Supports ESS and Avance ISA chips as well.
# Gravis UltraSound ISA PnP/non-PnP
# Crystal Semiconductor CS461x/428x PCI
# Neomagic 256AV (ac97)
# Most of the more common ISA/PnP sb/mss/ess compatable cards.

# For non-pnp sound cards with no bridge drivers only:
#device         pcm0 at isa? irq 5 drq 1 flags 0x0
#
# For PnP/PCI sound cards
device          pcm
device          sbc0    at isa? port 0x220 irq 5 drq 1 flags 0x15

# Not controlled by `snd'
device          pca0 at isa? port IO_TIMER1



-- 
    Dr. Robert Eckardt          Robert.Eckardt@Robert-Eckardt.de


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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200010302203.XAA01037>