From owner-freebsd-multimedia Sat Dec 15 16:44:49 2001 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail7.nc.rr.com (fe7.southeast.rr.com [24.93.67.54]) by hub.freebsd.org (Postfix) with ESMTP id 0A14237B405 for ; Sat, 15 Dec 2001 16:44:47 -0800 (PST) Received: from stealth.cary.dummynet ([66.26.231.240]) by mail7.nc.rr.com with Microsoft SMTPSVC(5.5.1877.687.68); Sat, 15 Dec 2001 19:23:43 -0500 Received: (from rhh@localhost) by stealth.cary.dummynet (8.11.4/8.11.4) id fBG0NrE07549; Sat, 15 Dec 2001 19:23:53 -0500 (EST) (envelope-from aa8vb@nc.rr.com) X-Authentication-Warning: stealth.cary.dummynet: rhh set sender to aa8vb@nc.rr.com using -f Date: Sat, 15 Dec 2001 19:23:52 -0500 From: Randall Hopper To: "David C. Myers" Cc: freebsd-multimedia@FreeBSD.ORG Subject: Re: " no sound from CMedia 8738 " Message-ID: <20011215192352.A7372@nc.rr.com> References: <200112151643.fBFGhqw83715@mule.aciri.org> <1008445643.320.2.camel@marburg.aedifice.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <1008445643.320.2.camel@marburg.aedifice.net>; from myers@aedifice.net on Sat, Dec 15, 2001 at 11:47:22AM -0800 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org David C. Myers: |None of these scenarios work. In each case, the behavior is the same: |mpg123 appears to be playing the file, but no sound comes out. | |you can specify a non-existent audio device (like /dev/blah or |something), and mpg123 doesn't complain at all. It still appears to be |playing the file. From a truss log, I never see it opening /dev/audio. |Instead, it's loading a lot of ESD-related stuff. So maybe that's not a |good test... ... |On the other hand, I can do something like this: 'cat > |/dev/audio', and static does come out of the speakers. Same with |/dev/dsp. Well, I don't know what is wrong there, but just as a data point my CMedia 8738 works pretty well with FreeBSD 4.3-stable circa June '01. The only dsp-out problem I have with it is that once and a while with xmms, I get small "skips" in the audio. It's not frequent, but occassionally it's like the driver overwrites the DMA buffer before it's finished playing it. > dmesg | grep -i cmedia pcm0: port 0xa400-0xa4ff irq 10 at device 5.0 on pci0 I have this in my kernel config: device pcm0 device sbc0 at isa? port 0x220 irq 5 drq 1 flags 0x15 device pca0 at isa? port IO_TIMER1 Since /dev/audio seems to be somewhat functional there, this should be a good test to see how well it actually works: mpg123 -s SomeSong.mp3 | \ sox -t raw -s -r 44100 -w -c 2 - -t raw -U -b -c 1 -r 8012 /dev/audio Randall -- Randall Hopper aa8vb@nc.rr.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message