From mboxrd@z Thu Jan 1 00:00:00 1970 From: bugtrack@alsa-project.org Subject: [ALSA - liboss 0001164]: aoss + skype: volume_adjust: SOUND_MIXER_WRITE_IGAIN failed: Invalid argument Date: Wed, 22 Jun 2005 01:48:06 +0200 Message-ID: <9d56def4af33bdddea57b747b663fbd8@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 [82.113.61.162]) by alsa.jcu.cz (ALSA's E-mail Delivery System) with ESMTP id 3A0981F6 for ; Wed, 22 Jun 2005 01:48:06 +0200 (MEST) 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 The following issue has been set as DUPLICATE OF issue 0001096. ====================================================================== ====================================================================== Reported By: sst4 Assigned To: ====================================================================== Project: ALSA - liboss Issue ID: 1164 Category: Reproducibility: always Severity: major Priority: normal Status: new ====================================================================== Date Submitted: 06-07-2005 00:33 CEST Last Modified: 06-22-2005 01:48 CEST ====================================================================== Summary: aoss + skype: volume_adjust: SOUND_MIXER_WRITE_IGAIN failed: Invalid argument Description: I've tried 'skype' with my M-Audio Revolution 7.1. Soon (probably in a second) after this command line: aoss skype & the terminal window gets filled with volume_adjust: SOUND_MIXER_WRITE_IGAIN failed: Invalid argument messages, and I do not hear anything in 'skype' connecting to their automated 'echo123' service. The message is not quite clear, and I believe it shouldn't flood the screen. I mean, the code should first check capabilities of the card and its configuration and issue the message once. What is IGAIN in the message above ? Input gain ? That is, capture gain ? ====================================================================== Relationships ID Summary ---------------------------------------------------------------------- duplicate of 0001096 no capture with M-Audio Revolution 7.1 ====================================================================== ---------------------------------------------------------------------- tiwai - 06-08-05 14:50 ---------------------------------------------------------------------- Could you try the attached patch? ---------------------------------------------------------------------- tiwai - 06-08-05 14:53 ---------------------------------------------------------------------- With revo 7.1, this might not work, too, since revo has really no "Capture Volume" (corresponding to IGAIN in OSS). If so, it must be a bug of Skype. Skype must check DEVMASK before reading IGAIN. ---------------------------------------------------------------------- sst4 - 06-12-05 19:35 ---------------------------------------------------------------------- Takashi, thanks for you reply. I do not think it's that much of a bug in Skype. I think it's hard to find a soundcard which doesn't have input gain control under Windows. And I believe that the card should have, and it's possible to do, input gain control - please see https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1187 . Aslo, I'm repeating what I've said in the issue above: " *** I still have no capture with my Revolution 7.1 (issue 0001096) *** . Since I'm not getting it work, I've been trying to use ALSA utilities ('amixer', 'alsamixer', 'aoss') - "trial and error" approach - to make it work, and have found other problems on the way. Resolution of these other problem, including introduction of gain control, will not solve my main problem - lack of capture. I would appreciate getting an answer to the question in https://bugtrack.alsa-project.org/alsa-bug/view.php [^]?id=1096 : " Maybe my previous question does not contain enough details. Here is the rephrased question: Running 'amixer' with this command line amixer cget numid= , where