Bug 15943
Summary: | Xonar D1 front panel microphone cannot be activated | ||
---|---|---|---|
Product: | Drivers | Reporter: | Peter (phercek) |
Component: | Sound(ALSA) | Assignee: | Jaroslav Kysela (perex) |
Status: | CLOSED CODE_FIX | ||
Severity: | normal | CC: | clemens, florian, rjw |
Priority: | P1 | ||
Hardware: | All | ||
OS: | Linux | ||
Kernel Version: | 2.6.33.3 | Subsystem: | |
Regression: | Yes | Bisected commit-id: | |
Bug Depends on: | |||
Bug Blocks: | 14885 | ||
Attachments: |
alsa-info output from the vanilla 2.6.33.3 (mic not working)
alsa-info output, vanilla 2.6.33.3 with sound/pci/oxygen @ 362bc24d6746bcd49bb4853fc5aa7d4c728b3f9e (last working) set FMIC2MIC bit |
Description
Peter
2010-05-08 18:17:14 UTC
Created attachment 26284 [details]
alsa-info output from the vanilla 2.6.33.3 (mic not working)
Created attachment 26285 [details]
alsa-info output, vanilla 2.6.33.3 with sound/pci/oxygen @ 362bc24d6746bcd49bb4853fc5aa7d4c728b3f9e (last working)
Thank you for finding the offending commit. I'll look into this. Created attachment 26334 [details]
set FMIC2MIC bit
Please try the patch.
I tried the patch against vanilla 2.6.33.3. The difference is that now both front and back panel microphones are active regardless of "Front Pannel" switch in alsamixer. This is not the same behavior as the one before virtuoso.c split (when the switch controlled both output and microphone). Not being able to have only the front mic or only the back mic active does not seem good since the unused one can add noise. Although I did not notice any significant noise differences. I would say the patch makes it different but not fixed. Either the front panel switch should switch both microphone and output (as it worked before the split) or there should be two switches in alsamixer - one for microphone and the other one for output. Or maybe even three switches: backMic activate, frontMic activate, output front/back switch; since it looks like both front and back microphone can be active at the same time. Even before the split, the driver never changed the FMIC2MIC bit after initialization, so both microphone inputs must always have been active. It probably depends on something else too. Something I do not know about. I'm using 2.6.33.3 with sound/pci/oxygen @ 362bc24d6746bcd49bb4853fc5aa7d4c728b3f9e (just before the split) now and when I deactivate "Front Panel" switch in alsamixer then gnome-sound-recorder does not record anything from front panel microphone. But the fact that gnome-sound-recorder's level indicator is changing while recording supports what you are saying. The sound card detects activity of the front panel microphone but mutes it later so nothing is recorded ... or maybe gnome-sound-recorder or alsa mutes it. And this muting does not happen at 2.6.33.3 with your patch applied. Maybe some other added feature makes gnome-sound-recorder or alsa or whatever behave differently. My knowledge of linux sound system is very user level at best :-) Thanks for helping with this ... even if it stays as it is now with your patch as it is. Definitely better with the patch. Fixed in 2.6.34 by commit 6a45f7822544c54a2cf070d84f4e85f2fb32ec02 Author: Clemens Ladisch <clemens@ladisch.de> Date: Tue May 11 16:34:39 2010 +0200 ALSA: virtuoso: fix Xonar D1/DX front panel microphone |