Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2001 19:40:27 -0500
From:      anarcat <anarcat@tao.ca>
To:        cg@freebsd.org, questions@freebsd.org
Subject:   Status of AWE64 support (kern/21173, kern/21438)
Message-ID:  <20010313194027.D11554@dojo>

next in thread | raw e-mail | index | archive | help

--zS7rBR6csb6tI2e1
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Hi!

I wanted to know the state of the pcm driver regarding the AWE64 sound
card. At least there is no panic anymore:

anarcat@shall [anarcat]$ rec -w -r 44100 file.wav
Send break (control-c) to end recording
^CTerminated

I had to kill the process from outside and still had:

pcm0: record overrun, dumping 88876 bytes

messages..=20

What is odd is that other tools do not necessarly have the same behavior
as sox. Ecasound (audio/ecasound port) for example, records fine. Try:

ecasound -c -i:/dev/dsp -o:test.wav

and then type "run". It will record audio in a 16 bit 44100 Hz file.
Though I'm not sure it's not undersampled or something at the kernel
level. How can I tell if the sound was really recorded in 16/44100?

Does anyone know if the same happens under a Sound blaster 16C?

Here is my dmesg, and thank you for any help:

Copyright (c) 1992-2001 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.3-BETA #1: Fri Mar  9 08:37:33 EST 2001
    root@shall.anarcat.yi.org:/usr/obj/usr/src/sys/SHALL
Timecounter "i8254"  frequency 1193182 Hz
CPU: Pentium/P55C (167.05-MHz 586-class CPU)
  Origin =3D "GenuineIntel"  Id =3D 0x543  Stepping =3D 3
  Features=3D0x8001bf<FPU,VME,DE,PSE,TSC,MSR,MCE,CX8,MMX>
real memory  =3D 33554432 (32768K bytes)
config> dis sio2
config> q
avail memory =3D 29335552 (28648K bytes)
Preloaded elf kernel "kernel" at 0xc036a000.
Preloaded userconfig_script "/boot/kernel.conf" at 0xc036a09c.
Intel Pentium detected, installing workaround for F00F bug
md0: Malloc disk
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
isab0: <Intel 82371AB PCI to ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 ATA33 controller> port 0xf000-0xf00f at device 7.1
on pci0
ata0: at 0x1f0 irq 14 on atapci0
pci0: <Intel 82371AB/EB (PIIX4) USB controller> at 7.2 irq 11
chip1: <Intel 82371AB Power management controller> port 0x5000-0x500f at
device 7.3 on pci0
pci0: <ATI Mach64-GU graphics accelerator> at 9.0
ahc0: <Adaptec 2930CU SCSI adapter> port 0x6400-0x64ff mem
0xe1001000-0xe1001fff irq 10 at device 10.0 on pci0
aic7860: Single Channel A, SCSI Id=3D7, 3/255 SCBs
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0x6a00-0x6aff mem
0xe1002000-0xe10020ff irq 9 at device 11.0 on pci0
vr0: Ethernet address: 00:50:ba:64:e3:6a
miibus0: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus0
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
isa0: too many dependant configs (8)
isa0: unexpected small tag 14
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on
isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=3D0x300>
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on
isa0
fdc0: FIFO enabled, 8 bytes threshold
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode
ppi0: <Parallel I/O> on ppbus0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
pca0 at port 0x40 on isa0
joy0 at port 0x201 on isa0
sbc0: <Creative SB AWE64> at port 0x220-0x22f,0x330-0x331,0x388-0x38b
irq 5 drq 1,5 on isa0
pcm0: <SB16 DSP 4.16> on sbc0
joy1: <Generic PnP Joystick> at port 0x208-0x20f on isa0
ad0: 29311MB <Maxtor 53073H4> [59554/16/63] at ata0-master UDMA33
Waiting 2 seconds for SCSI devices to settle
Mounting root from ufs:/dev/ad0s2a
cd0 at ahc0 bus 0 target 3 lun 0
cd0: <YAMAHA CRW8424S 1.0d> Removable CD-ROM SCSI-2 device=20
cd0: 20.000MB/s transfers (20.000MHz, offset 15)
cd0: cd present [232222 x 2048 byte records]
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0x6900-0x691f irq
11 at device 7.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
pcm0: record overrun, dumping 88324 bytes
=2E..

A.


--zS7rBR6csb6tI2e1
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.0 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjquvfoACgkQ7uV99pHLOSLpSQCgu/7T0raliVwQ5T62bp1QJP/P
MwgAnRu98ck3TV5FRo0rJiKzTYybX0/5
=5QT/
-----END PGP SIGNATURE-----

--zS7rBR6csb6tI2e1--

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?20010313194027.D11554>