From owner-freebsd-questions Tue Mar 13 16:40:42 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dojo.tao.ca (tao.ca [198.96.117.188]) by hub.freebsd.org (Postfix) with ESMTP id 2A7E337B71C; Tue, 13 Mar 2001 16:40:28 -0800 (PST) (envelope-from anarcat@tao.ca) Received: by dojo.tao.ca (Postfix, from local user) id 6ED604E76; Tue, 13 Mar 2001 19:40:27 -0500 (EST) Date: Tue, 13 Mar 2001 19:40:27 -0500 From: anarcat To: cg@freebsd.org, questions@freebsd.org Subject: Status of AWE64 support (kern/21173, kern/21438) Message-ID: <20010313194027.D11554@dojo> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-md5; protocol="application/pgp-signature"; boundary="zS7rBR6csb6tI2e1" Content-Disposition: inline User-Agent: Mutt/1.2.5i X-Uptime: 7:33pm up 38 days, 21:19, 15 users, load average: 0.47, 0.54, 0.38 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG --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 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: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0xf000-0xf00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 pci0: at 7.2 irq 11 chip1: port 0x5000-0x500f at device 7.3 on pci0 pci0: at 9.0 ahc0: 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: port 0x6a00-0x6aff mem 0xe1002000-0xe10020ff irq 9 at device 11.0 on pci0 vr0: Ethernet address: 00:50:ba:64:e3:6a miibus0: on vr0 ukphy0: on miibus0 ukphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto isa0: too many dependant configs (8) isa0: unexpected small tag 14 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: flags 0x1 irq 1 on atkbdc0 kbd0 at atkbd0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=3D0x300> fdc0: 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: at port 0x378-0x37f irq 7 on isa0 ppc0: Generic chipset (EPP/NIBBLE) in COMPATIBLE mode ppi0: on ppbus0 plip0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port pca0 at port 0x40 on isa0 joy0 at port 0x201 on isa0 sbc0: at port 0x220-0x22f,0x330-0x331,0x388-0x38b irq 5 drq 1,5 on isa0 pcm0: on sbc0 joy1: at port 0x208-0x20f on isa0 ad0: 29311MB [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: 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: port 0x6900-0x691f irq 11 at device 7.2 on pci0 usb0: 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