From: bugtrack@alsa-project.org Subject: [ALSA - driver 0001724]: au88x0 PCM configuration problem - buffer_size constraint Date: Tue, 31 Jan 2006 15:59:28 +0100 Message-ID: <5ed569ef4c718f4b6a66a1178fc8e685@bugtrack.alsa-project.org> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Return-path: Received: from bugtrack.alsa-project.org (gate.perex.cz [85.132.177.35]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 72EEA157 for ; Tue, 31 Jan 2006 15:59:28 +0100 (MET) Sender: alsa-devel-admin@lists.sourceforge.net 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 NOTE has been added to this issue. ====================================================================== ====================================================================== Reported By: Raymond Assigned To: mjander ====================================================================== Project: ALSA - driver Issue ID: 1724 Category: PCI - au88x0 Reproducibility: always Severity: block Priority: normal Status: assigned Distribution: Kernel Version: ====================================================================== Date Submitted: 01-07-2006 05:10 CET Last Modified: 01-31-2006 15:59 CET ====================================================================== Summary: au88x0 PCM configuration problem - buffer_size constraint Description: /cvs/alsa-lib/test/pcm_min ALSA lib pcm.c:7127:(snd_pcm_set_params) Unable to set buffer time (latency) 500000 for PLAYBACK: Invalid argument Playback open error: Invalid argument sound card is au8830, the au88x0 driver only accept period size in power of 2. ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- related to 0001766 jackd : ALSA: cannot set period size to... ====================================================================== ---------------------------------------------------------------------- Raymond - 01-31-06 11:06 ---------------------------------------------------------------------- There are a number of bugs in snd_vortex_playback_hw_adb 1) capture channels is 2 https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1766 2) Turtle Beach Montego II (au8830) has stereo codec STAC9721, rear channels seem to use I2S on the daugther card, other au8830 have quad codec. 3) SQ1500 (au8810) SuperQuad , other au8810 have stereo codec /* hardware definition */ static struct snd_pcm_hardware snd_vortex_playback_hw_adb = { .info = (SNDRV_PCM_INFO_MMAP | /* SNDRV_PCM_INFO_RESUME | */ SNDRV_PCM_INFO_PAUSE | SNDRV_PCM_INFO_INTERLEAVED | SNDRV_PCM_INFO_MMAP_VALID), .formats = SNDRV_PCM_FMTBIT_S16_LE | SNDRV_PCM_FMTBIT_U8 | SNDRV_PCM_FMTBIT_MU_LAW | SNDRV_PCM_FMTBIT_A_LAW, .rates = SNDRV_PCM_RATE_CONTINUOUS, .rate_min = 5000, .rate_max = 48000, .channels_min = 1, #ifdef CHIP_AU8830 .channels_max = 4, #else .channels_max = 2, #endif .buffer_bytes_max = 0x10000, .period_bytes_min = 0x1, .period_bytes_max = 0x1000, .periods_min = 2, .periods_max = 32, }; ---------------------------------------------------------------------- Raymond - 01-31-06 15:59 ---------------------------------------------------------------------- Your workaround to snd_pcm_set_params() in CVS do not work. http://cvs.sourceforge.net/viewcvs.py/alsa/alsa-lib/src/pcm/pcm.c?r1=1.319&r2=1.320 alsa/cvs/alsa-lib/test/pcm_min ALSA lib pcm.c:7148:(snd_pcm_set_params) Segmentation fault Issue History Date Modified Username Field Change ====================================================================== 01-07-06 05:10 Raymond New Issue 01-09-06 15:19 Raymond Note Added: 0007537 01-19-06 15:04 Raymond Note Deleted: 0007537 01-19-06 15:36 Raymond Note Added: 0007721 01-28-06 07:58 Raymond Note Added: 0007828 01-28-06 07:58 Raymond Note Deleted: 0007721 01-30-06 18:46 Raymond Note Added: 0007840 01-31-06 03:15 Raymond Note Added: 0007844 01-31-06 06:41 Raymond Note Edited: 0007840 01-31-06 07:03 Raymond Note Edited: 0007840 01-31-06 07:08 Raymond Note Edited: 0007840 01-31-06 07:11 Raymond Note Edited: 0007840 01-31-06 08:31 Raymond Note Edited: 0007840 01-31-06 09:48 Raymond Note Edited: 0007844 01-31-06 10:19 perex Note Added: 0007845 01-31-06 10:26 perex Note Added: 0007847 01-31-06 10:26 perex Note Edited: 0007847 01-31-06 10:48 perex Project ALSA - lib => ALSA - driver 01-31-06 10:49 perex Category 0_general => PCI - au88x0 01-31-06 10:49 perex Summary simple PCM helper function => au88x0 PCM configuration problem - buffer_size constraint 01-31-06 11:06 Raymond Note Added: 0007848 01-31-06 13:48 perex Status new => assigned 01-31-06 13:48 perex Assigned To => mjander 01-31-06 13:49 perex Relationship added related to 0001766 01-31-06 15:59 Raymond Note Added: 0007852 ====================================================================== ------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642