From: bugtrack@alsa-project.org Subject: [ALSA - driver 0001590]: Not able to record with c46xx on IBM T20 Date: Tue, 22 Nov 2005 21:22:45 +0100 Message-ID: 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 0E8981B8 for ; Tue, 22 Nov 2005 21:22:45 +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: mayouan Assigned To: ====================================================================== Project: ALSA - driver Issue ID: 1590 Category: PCI - cs46xx Reproducibility: N/A Severity: minor Priority: normal Status: new Distribution: Debian Kernel Version: 2.6.14-3 ====================================================================== Date Submitted: 11-22-2005 20:35 CET Last Modified: 11-22-2005 21:22 CET ====================================================================== Summary: Not able to record with c46xx on IBM T20 Description: Hi. I am not able to record with my T20 and alsa cs46xx driver. Playback works fine, the alsa mixer works as expected and i can hear the sound from the mic in the speakers. But when i try to record does the recording program outputs an empty file (exept for a tiny wave-header). Most programs does not give any error message. Ecasound gives me a message when stoping the recording: Warning: DBC_ENSURE failed - "is_running() == false", eca-control-base.cpp, 276.- Accordinng to Kai Vehmanen does this mean that alsa does not release the lock on the soundcard when user is aborting. That is likely the case. Trying to record with Ardour leavs the computer not responding at all. I can not find anything in my error-logs telling that alsa have loaded correctly nor does alsaconf give me any error messages. ====================================================================== ---------------------------------------------------------------------- mayouan - 11-22-05 21:14 ---------------------------------------------------------------------- asound.state: state.CS46xx { control.1 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Master Playback Switch' value true } control.2 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 63' iface MIXER name 'Master Playback Volume' value.0 49 value.1 49 } control.3 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Headphone Playback Switch' value true } control.4 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'Headphone Playback Volume' value.0 23 value.1 23 } control.5 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Master Mono Playback Switch' value false } control.6 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 31' iface MIXER name 'Master Mono Playback Volume' value 26 } control.7 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'PC Speaker Playback Switch' value true } control.8 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 15' iface MIXER name 'PC Speaker Playback Volume' value 10 } control.9 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Phone Playback Switch' value false } control.10 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 31' iface MIXER name 'Phone Playback Volume' value 16 } control.11 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Mic Playback Switch' value true } control.12 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 31' iface MIXER name 'Mic Playback Volume' value 21 } control.13 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Mic Boost (+20dB)' value true } control.14 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Line Playback Switch' value true } control.15 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'Line Playback Volume' value.0 26 value.1 27 } control.16 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'CD Playback Switch' value true } control.17 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'CD Playback Volume' value.0 26 value.1 26 } control.18 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Video Playback Switch' value false } control.19 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'Video Playback Volume' value.0 12 value.1 9 } control.20 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Aux Playback Switch' value true } control.21 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'Aux Playback Volume' value.0 24 value.1 24 } control.22 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'PCM Playback Switch' value true } control.23 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 31' iface MIXER name 'PCM Playback Volume' value.0 28 value.1 28 } control.24 { comment.access 'read write' comment.type ENUMERATED comment.count 2 comment.item.0 Mic comment.item.1 CD comment.item.2 Video comment.item.3 Aux comment.item.4 Line comment.item.5 Mix comment.item.6 'Mix Mono' comment.item.7 Phone iface MIXER name 'Capture Source' value.0 CD value.1 CD } control.25 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'Capture Switch' value true } control.26 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 15' iface MIXER name 'Capture Volume' value.0 14 value.1 14 } control.27 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name '3D Control - Switch' value true } control.28 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 Mix comment.item.1 Mic iface MIXER name 'Mono Output Select' value Mix } control.29 { comment.access 'read write' comment.type ENUMERATED comment.count 1 comment.item.0 Mic1 comment.item.1 Mic2 iface MIXER name 'Mic Select' value Mic1 } control.30 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 15' iface MIXER name '3D Control - Center' value 12 } control.31 { comment.access 'read write' comment.type INTEGER comment.count 1 comment.range '0 - 15' iface MIXER name '3D Control - Depth' value 12 } control.32 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Con Mask' value '0fff000f00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.33 { comment.access read comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Pro Mask' value cf00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 } control.34 { comment.access 'read write' comment.type IEC958 comment.count 1 iface MIXER name 'IEC958 Playback Default' value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.35 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Playback Switch' value true } control.36 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'External Amplifier' value true } control.37 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 32767' iface MIXER name 'DAC Volume' value.0 29490 value.1 29490 } control.38 { comment.access 'read write' comment.type INTEGER comment.count 2 comment.range '0 - 32767' iface MIXER name 'ADC Volume' value.0 32767 value.1 31456 } control.39 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'ADC Capture Switch' value false } control.40 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'DAC Capture Switch' value false } control.41 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Output Switch' value true } control.42 { comment.access 'read write' comment.type BOOLEAN comment.count 1 iface MIXER name 'IEC958 Input Switch' value true } control.43 { comment.access 'read write' comment.type IEC958 comment.count 1 iface PCM device 2 name 'IEC958 Playback Default' value '0000000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } control.44 { comment.access read comment.type IEC958 comment.count 1 iface PCM device 2 name 'IEC958 Playback Mask' value ffff00ff00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000 } control.45 { comment.access 'read write' comment.type IEC958 comment.count 1 iface PCM device 2 name 'IEC958 Playback PCM Stream' value '0082000200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000' } } ---------------------------------------------------------------------- rlrevell - 11-22-05 21:22 ---------------------------------------------------------------------- Wrong mixer settings. You have "Capture Source" set to CD which is wrong - set it to "Mic". Also you have "ADC Capture Switch" disabled, it needs to be enabled. Issue History Date Modified Username Field Change ====================================================================== 11-22-05 20:35 mayouan New Issue 11-22-05 20:35 mayouan Distribution => Debian 11-22-05 20:35 mayouan Kernel Version => 2.6.14-3 11-22-05 21:02 mayouan Note Added: 0006797 11-22-05 21:14 mayouan Note Added: 0006798 11-22-05 21:22 rlrevell Note Added: 0006799 ====================================================================== ------------------------------------------------------- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today Register for a JBoss Training Course. Free Certification Exam for All Training Attendees Through End of 2005. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click