From: bugtrack@alsa-project.org Subject: [ALSA - driver 0000453]: it is impossible to select spdif as capture source Date: Wed, 8 Sep 2004 17:55:04 +0200 (CEST) Sender: alsa-devel-admin@lists.sourceforge.net Message-ID: <20040908155504.0AE8B13001@server.perex-int.cz> Content-Type: text/plain; charset=iso-8859-1 Return-path: Received: from mail.perex.cz (gate.perex.cz [82.113.61.162]) by alsa.alsa-project.org (ALSA's E-mail Delivery System) with ESMTP id 8A91A2CE for ; Wed, 8 Sep 2004 17:55:06 +0200 (MEST) Errors-To: alsa-devel-admin@lists.sourceforge.net List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , List-Archive: To: alsa-devel@alsa-project.org List-Id: alsa-devel@alsa-project.org A BUGNOTE has been added to this bug. ====================================================================== https://bugtrack.alsa-project.org/alsa-bug/bug_view_page.php?bug_id=0000453 ====================================================================== Reported By: Andrew Assigned To: ====================================================================== Project: ALSA - driver Bug ID: 453 Category: PCI - ice1724 Reproducibility: always Severity: major Priority: normal Status: new Distribution: Kernel Version: ====================================================================== Date Submitted: 08-18-2004 13:16 CEST Last Modified: 09-08-2004 17:55 CEST ====================================================================== Summary: it is impossible to select spdif as capture source Description: There are no anything spdif-input-related among capture source enumeration. ====================================================================== ---------------------------------------------------------------------- tiwai - 08-25-2004 19:55 CEST ---------------------------------------------------------------------- Did you use 'iec958' pcm? % arecord -Diec958 -fdat foo.wav ---------------------------------------------------------------------- Andrew - 08-25-2004 23:47 CEST ---------------------------------------------------------------------- A dat fromat doesn't work: "Sample format non available" I have tried arecord -Diec958 -fs32_LE -r48000 -c2 -d600 foo.wav Format/rate are accepted, but the resulted file is empty. I use aureon 7.1. While filing the isuue, I have thought about capture selecting via mixer Capture Source control. Does this (others?) control influence to shown above command working? ---------------------------------------------------------------------- tiwai - 08-27-2004 19:39 CEST ---------------------------------------------------------------------- You can use'plug:iec958' for 16bit conversion. "Capture Source" shouldn't affect the digital input. It might be a wrong CS8415 initialization sequence in the driver... ---------------------------------------------------------------------- Andrew - 09-07-2004 10:33 CEST ---------------------------------------------------------------------- I have tried with plug:iec958 with the same silent file. Is there any way to be sure spdif input is receiving some signal? ---------------------------------------------------------------------- tiwai - 09-08-2004 17:16 CEST ---------------------------------------------------------------------- Could you elaborate more? Is the DMA working? Or did you get the short-cut output? Is it all zero or any signals in the output? Also, as I wrote, the CS8415 init sequence might be wrong. Compare the CS8415 init data in aureon.c with the datasheet whether it's correct for your setting. ---------------------------------------------------------------------- Andrew - 09-08-2004 17:55 CEST ---------------------------------------------------------------------- Takashi, You think I'm more clever than I am :-) OK, the aim is simple: to be able to record from FM tuner. Last one is an "onboard" tuner of AV receiver. Last one is the only source I can try as source with spdif output. All this is the reason of my last question about a way to be sure spdif input is receiving some signal: my sound card is the only device I can use to receive something via spdif. All my attempts of capturing from spdif input lead to silent wav file. I will be happy to answer to your question about DMA and init data, but I don't understand these things. I see, the issue is not of high priority, so I'm ready to wait for the moment you will find a minute to clarify starting point(s) for my next attempts to bugnote in more informative manner :-) Bug History Date Modified Username Field Change ====================================================================== 08-18-04 13:16 Andrew New Bug 08-25-04 19:55 tiwai Bugnote Added: 0001625 08-25-04 23:47 Andrew Bugnote Added: 0001628 08-27-04 19:39 tiwai Bugnote Added: 0001648 09-07-04 10:33 Andrew Bugnote Added: 0001706 09-08-04 17:16 tiwai Bugnote Added: 0001734 09-08-04 17:55 Andrew Bugnote Added: 0001737 ====================================================================== ------------------------------------------------------- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click