From owner-freebsd-bugs Mon Apr 10 10: 0:15 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 71AEA37B9A4 for ; Mon, 10 Apr 2000 10:00:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA97368; Mon, 10 Apr 2000 10:00:05 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from mail.cellport.com (mail.cellport.com [205.240.1.197]) by hub.freebsd.org (Postfix) with ESMTP id 3982037BB9D for ; Mon, 10 Apr 2000 09:56:22 -0700 (PDT) (envelope-from durian@cellport.com) Received: from lostwax.cellport.com (lostwax.cellport.com [10.10.11.3]) by mail.cellport.com (8.9.3/8.9.3) with ESMTP id JAA94624 for ; Mon, 10 Apr 2000 09:56:10 -0700 (MST) Received: (from durian@localhost) by lostwax.cellport.com (8.9.3/8.9.3) id KAA01079; Mon, 10 Apr 2000 10:56:10 -0600 (MDT) (envelope-from durian@mail-i.cellport.com) Message-Id: <200004101656.KAA01079@lostwax.cellport.com> Date: Mon, 10 Apr 2000 10:56:10 -0600 (MDT) From: Mike Durian Reply-To: durian@cellport.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: kern/17907: low audio record levels Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 17907 >Category: kern >Synopsis: Audio record levels are too low >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Mon Apr 10 10:00:04 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Mike Durian >Release: FreeBSD 4.0-STABLE i386 >Organization: CellPort >Environment: lostwax [~] > cat /dev/sndstat FreeBSD Audio Driver (newpcm) Mar 31 2000 17:44:02 Installed devices: pcm0: at io 0x534 irq 5 drq 1:0 (1p/1r channels duplex) lostwax [~] > mixer Mixer synth is currently set to 0:0 Mixer pcm is currently set to 100:100 Mixer speaker is currently set to 100:100 Mixer line is currently set to 100:100 Mixer mic is currently set to 100:100 Mixer cd is currently set to 75:75 Mixer mix is currently set to 0:0 Mixer igain is currently set to 100:100 Copyright (c) 1992-2000 The FreeBSD Project. Copyright (c) 1982, 1986, 1989, 1991, 1993 The Regents of the University of California. All rights reserved. FreeBSD 4.0-STABLE #1: Fri Mar 31 17:47:19 MST 2000 root@lostwax.cellport.com:/usr/obj/usr/src/sys/LOSTWAX Timecounter "i8254" frequency 1193182 Hz CPU: Pentium II/Pentium II Xeon/Celeron (451.02-MHz 686-class CPU) Origin = "GenuineIntel" Id = 0x652 Stepping = 2 Features=0x183f9ff real memory = 134152192 (131008K bytes) avail memory = 127074304 (124096K bytes) Preloaded elf kernel "kernel" at 0xc034f000. Pentium Pro MTRR support enabled md0: Malloc disk npx0: on motherboard npx0: INT 16 interface pcib0: on motherboard pci0: on pcib0 pcib1: at device 1.0 on pci0 pci1: on pcib1 pci1: at 0.0 isab0: at device 7.0 on pci0 isa0: on isab0 atapci0: port 0x10a0-0x10af at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: port 0x1080-0x109f irq 9 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 chip1: port 0x2180-0x218f at device 7.3 on pci0 xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0x1000-0x107f mem 0xf4000000-0xf400007f irq 11 at device 16.0 on pci0 xl0: Ethernet address: 00:00:39:a1:0a:0e miibus0: on xl0 xlphy0: <3Com internal media interface> on miibus0 xlphy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto xl0: supplying EUI64: 00:00:39:ff:fe:a1:0a:0e fdc0: 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 atkbdc0: at port 0x60,0x64 on isa0 atkbd0: irq 1 on atkbdc0 psm0: irq 12 on atkbdc0 psm0: model Generic PS/2 mouse, device ID 0 vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 sc0: on isa0 sc0: VGA <16 virtual consoles, flags=0x200> 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: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode ppc0: FIFO with 16/16/8 bytes threshold ppi0: on ppbus0 lpt0: on ppbus0 lpt0: Interrupt-driven port plip0: on ppbus0 pca0 at port 0x40 on isa0 pcm0: at port 0x534-0x537,0x388-0x38b,0x220-0x22f irq 5 drq 1,0 on isa0 unknown0: on isa0 unknown1: at port 0x120-0x127 on isa0 ad0: 8063MB [16383/16/63] at ata0-master using UDMA33 acd0: CDROM at ata1-master using PIO4 Mounting root from ufs:/dev/ad0s3a >Description: I get very low levels when I try to record audio. When I try to record with 16 bit samples (at 8000Hz), most of my samples are < 0x00ff. When I record 8 bit samples my values are +-1. I practically have to put my mouth on the mic to get any sort of deflection. It's almost like we using the MSB for the LSB. >How-To-Repeat: Buy a crappy Toshiba Equium 7100S with a built-in sound chip and give it a try. >Fix: I have no fix. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message