From owner-freebsd-multimedia Sun Apr 4 20: 1: 5 1999 Delivered-To: freebsd-multimedia@freebsd.org Received: from mail.HiWAAY.net (fly.HiWAAY.net [208.147.154.56]) by hub.freebsd.org (Postfix) with ESMTP id 9FA6F14D1D for ; Sun, 4 Apr 1999 20:00:59 -0700 (PDT) (envelope-from dkelly@nospam.hiwaay.net) Received: from nospam.hiwaay.net (tnt8-216-180-14-36.dialup.HiWAAY.net [216.180.14.36]) by mail.HiWAAY.net (8.9.1a/8.9.0) with ESMTP id VAA21693; Sun, 4 Apr 1999 21:58:59 -0500 (CDT) Received: from nospam.hiwaay.net (nospam.hiwaay.net [127.0.0.1]) by nospam.hiwaay.net (8.9.2/8.9.2) with ESMTP id VAA00828; Sun, 4 Apr 1999 21:36:05 -0500 (CDT) (envelope-from dkelly@nospam.hiwaay.net) Message-Id: <199904050236.VAA00828@nospam.hiwaay.net> X-Mailer: exmh version 2.0.2 2/24/98 To: Motonori Shindo Cc: luigi@labinfo.iet.unipi.it, freebsd-multimedia@FreeBSD.ORG From: David Kelly Subject: Re: Luigi's driver, AOpen AW37, and me. In-reply-to: Message from Motonori Shindo of "Mon, 05 Apr 1999 00:44:05 +0900." <19990405004405U.mshindo@ascend.co.jp> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Sun, 04 Apr 1999 21:36:05 -0500 Sender: owner-freebsd-multimedia@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org Motonori Shindo writes: > Hi, > > I've just bought an AOpen's AW37Pro(CS4235). I wished I could have > bought a CS4326/4327-based card but this was the only card I could > find that seemed to be closest to CS4236/4237. :-) > > The card is detected by the kernel and it plays a sound but with > tremendous amount of noise. This would be exactly the same as what > David is experiencing. Is there any progress as to fix this problem? > Given this situation, what is most likely the cause of this problem? > It would be great if anyone gives me a hint so that I can start > tracking down the problem by reading a data sheet of CS4235. Believe others have reported the -Pro worked. I have the not-Pro. The Pro uses the CS4237 while mine uses a CX4235-XQ3 EP (this is the first time I bothered to read the exact numbers off the chip). The reason I was able just now to read the numbers directly off the chip is the AOpen card is out, a $14 Yamaha 714 card is in, and FreeBSD now makes recognizable noises. But when not making those noises it cranks out static from internal noises in the cheap card and computer power supply. Have cleaned up things here so I don't have my printed copies of the Crystal Semiconductor manuals handy where my notes are. Suspected several things. One is a calibration proceedure spec'ed by CS. At first I thought the PCM driver didn't implement it. Then I found code resembling what was spec'ed, almost. I don't believe it was doing what the CS book said needed done even if it was really trying to calibrate rather then the quickie no-calibrate initialization. I hacked in a replacement, which did no good either. Another thing I worried about is whether bytes were being written in the right order. Or the CODEC on the card was not initialized correctly. Didn't seem to matter much if files were pushed thru /dev/audio or /dev/dsp, they both sounded the same. Don't remember if I had a mic to try "cat < /dev/audio > /dev/audio". With that in mind my next planned attack was to take a signal generator and capture a known sine and square wave input, and examine the raw data captured. Also to output known sine and square wave output and view on my DSO. For several reasons, never got around to it. Not the least of the reasons is this place is too much of a mess to get the DSO and signal generators near the computer. -- David Kelly N4HHE, dkelly@nospam.hiwaay.net ===================================================================== The human mind ordinarily operates at only ten percent of its capacity -- the rest is overhead for the operating system. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-multimedia" in the body of the message