Bug 1624 - Mic not working with built-in VIA VT1708S sound card
Summary: Mic not working with built-in VIA VT1708S sound card
Status: RESOLVED FIXED
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: x86_64 Linux
Priority: Normal normal
Target Milestone: ---
Assignee: Colin Guthrie
QA Contact:
URL:
Whiteboard:
Keywords: UPSTREAM
Depends on:
Blocks:
 
Reported: 2011-06-06 00:35 CEST by Egor Suldin
Modified: 2012-07-12 12:45 CEST (History)
11 users (show)

See Also:
Source RPM: alsa-utils
CVE:
Status comment:


Attachments
alsamixer settings (117.07 KB, image/png)
2011-06-12 12:26 CEST, Andre Baer
Details
alsamixer experiment, not working (42.22 KB, image/png)
2011-06-21 19:45 CEST, Franz Holzinger
Details
Output of amixer -c0 > /tmp/amixer.txt (3.25 KB, text/plain)
2011-09-13 17:21 CEST, Grigory Maksaev
Details

Description Egor Suldin 2011-06-06 00:35:36 CEST
Description of problem:

I have an Asus P7P55D-E LX motherboard with a VIA VT1708S built-in sound card. Audio output work fine, but I can't get the mic to work in Mageia 1.
Egor Suldin 2011-06-06 00:36:36 CEST

CC: (none) => rd3tap

Comment 1 Franz Holzinger 2011-06-11 16:51:29 CEST
The same problem here since the update to Mageia 1.
There sound recorder is not any more available.

00:1b.0 Audio device: Intel Corporation 82801I (ICH9 Family) HD Audio Controller (rev 03)
	Subsystem: Hewlett-Packard Company Device 30db
	Flags: bus master, fast devsel, latency 0, IRQ 47
	Memory at d8820000 (64-bit, non-prefetchable) [size=16K]
	Capabilities: <access denied>
	Kernel driver in use: HDA Intel
	Kernel modules: snd-hda-intel

CC: (none) => flink

Comment 2 Andre Baer 2011-06-12 12:26:09 CEST
Created attachment 553 [details]
alsamixer settings
Comment 3 Andre Baer 2011-06-12 12:28:39 CEST
Playing around with the alsamixer was helpfull and my mic is now working with skype. The screenshot shows my alsamixer settings. The volume can be changed with the pulseaudiomixer (and the alsamixer) if the mic works :)

CC: (none) => solaris_x84

Comment 4 Franz Holzinger 2011-06-14 20:27:43 CEST
When I call 'alsamixer', then a card called 'PulseAudio' is selected which only has a master to set and nothing else. I must manually press F6 to select the sound card. But it seems that it is not possible to store the sound card.
And Skype only shows the 'PulseAudio' to select and not the name of the sound card. Still no micro working.
Comment 5 Andre Baer 2011-06-15 19:40:17 CEST
Ah ok sry. Thats right.
You have to choose your soundcard with F6 and then press F5 to see all
your playback and capture devices.

If you have done this you can play with the volume and options
like INDEPENDENT (I don't know what this option will do but switching it on or off let my headphones work or not), INPUTSOURCE, INTERNAL.. and so on.

On the pulseaudiomixer you can try to switch the analog stereo duplex to analog stereo playback and back to analaog stereo duplex
==> sometimes I have to do this to get my heaphones working (sometimes I only have to unmute the sound on the KDE mixer)
And you can choose the mic on pulseaudio.

The programs like skype see only pulseaudio but that is correct.

The alsamixer won't store the settings on my fedora install so i had to setup the devices after every reboot but on mageia it works if I qiut alsamixer.

It might be not very trivial but after trying it for an hour with many options and volumesettings my mic works.

Try a testcall with skype after setting an option or volume.

If you get a loud feedback (independs on your louspeaker volume)
while playing with alsamixer your setting was not totally bad.
 
So that is all I can tell you about the settings to get the mic working.
I hope this is a little bit helpfull
Comment 6 Andre Baer 2011-06-15 20:02:48 CEST
Dont't forget to set the mute/unmute option with the "m" key.
Comment 7 Jan Merta 2011-06-18 22:15:24 CEST
I also have Ati Azalia (VIA VT1708S) and my mic isn't working too. I tried to switch options in alsamixer, but it didn't helped. I can hear the sound from the mic if I unmute mic in playback, but I don't get input to applications.

CC: (none) => lunruj

Comment 8 Franz Holzinger 2011-06-21 19:45:00 CEST
Created attachment 599 [details]
alsamixer experiment, not working

I have no idea what else I should activate.
Comment 9 Ahmad Samir 2011-07-09 12:51:35 CEST
@Jan: please, attach /tmp/amixer.txt after runnign:
amixer -c0 > /tmp/amixer.txt

@Franz, from the screenshot you attached, both Mic and "Dock Mic" are muted, to unmute them, select them using the arrow keys, then press M.
Marcello Anni 2011-07-13 17:19:36 CEST

CC: (none) => marcello.anni

Matthieu Paret 2011-07-14 10:58:02 CEST

CC: (none) => matt.paret

Comment 10 Franz Holzinger 2011-08-18 20:51:59 CEST
@Ahmand: Thank you. I have typed 'alsamixer', the F6 to select the sound card.
Then I moved with TAB to View F4 (Capture). Then I set the Doc Mic Boost and Internal Mic Boost to the highest levels. Then I pressed M.
Now the micro works under Skype.  :-)
Comment 11 Grigory Maksaev 2011-09-13 17:21:00 CEST
Created attachment 787 [details]
Output of amixer -c0 > /tmp/amixer.txt

amixer -c0 > /tmp/amixer.txt
Comment 12 Grigory Maksaev 2011-09-13 17:24:47 CEST
Same thins here, same VIA audio chip. Mageia 1 64bit, no Pulse, just ALSA.
Sound output is OK, but no input at all - Skype, Sound recorder, etc. Just silence or humming noise. All the channels seem to be detected correctly by ALSA, nothing is muted, capture is active.

CC: (none) => schlecht

Comment 13 Samuel Verschelde 2011-10-01 15:29:24 CEST
Colin, can you help on this bug?

CC: (none) => mageia, stormi

Comment 14 Grigory Maksaev 2011-10-01 23:05:03 CEST
I found out that the similar bug was reported for Mandriva and probably some other distros and the remedy reportedly was just to mute Smart 5.1 in audio settings.
I do not have Smart 5.1 available via KMix, but it is in alsamixer window. However, for some reason it was ON all the time and I couldn't mute it (M command didn't work for it).
But somehow I made it work, but I have no idea what exactly happened. I just switched there and back gstreamer and xine backends in sound settings, rebooted and was able to mute Smart 5.1 in alsamixer. Now with Smart 5.1 muted, the microphone is OK.
Comment 15 Colin Guthrie 2011-10-02 11:48:58 CEST
Out of interest, does running "alsactrl init 0" set the Smart 5.1 on or off?

You can test with:
 amixer -c0 get "Smart 5.1"

So please do e.g.
 1. amixer -c0 set "Smart 5.1" on
 2. alsactrl init 0
 3. amixer -c0 get "Smart 5.1"
 4. Note the result.
 5. amixer -c0 set "Smart 5.1" off
 6. alsactrl init 0
 7. amixer -c0 get "Smart 5.1"
 8. Note the restult.

This will test whether or not alsactrl init sets the Smart 5.1 at all or just leaves it as it is.
Comment 16 Grigory Maksaev 2011-10-04 18:21:55 CEST
When I try to run "alsactrl init 0" I get a message that bash can't find this command.
Apart from that, if it is interesting for you:

$ amixer -c0 set "Smart 5.1" on
Simple mixer control 'Smart 5.1',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]

$ amixer -c0 set "Smart 5.1" off
Simple mixer control 'Smart 5.1',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]

The alsa - related packages I have installed in the system:

alsa-plugins-doc
alsa-utils
java-1.6.0-sun-alsa
lib64alsa-oss0
lib64alsa-plugins
lib64alsa2
libalsa-data
(all x86_64)

lib64alsa-plugins
lib64alsa2
(i586)

Alsa-tools and alsaconf are not installed.
Comment 17 Colin Guthrie 2011-10-04 19:01:03 CEST
(In reply to comment #16)
> When I try to run "alsactrl init 0" I get a message that bash can't find this
> command.

D'oh! Typo on my part :( It's "alsactl" (no r) Sorry!
Comment 18 Grigory Maksaev 2011-10-04 19:24:17 CEST
(In reply to comment #17)
> D'oh! Typo on my part :( It's "alsactl" (no r) Sorry!
Actually, it doesn't work either, I thought that I was wrong:

$ alsactl init 0
bash: alsactl: command not found
Comment 19 Grigory Maksaev 2011-10-04 19:29:19 CEST
(In reply to comment #17)
> D'oh! Typo on my part :( It's "alsactl" (no r) Sorry!
Actually, it doesn't work either, I thought that I was wrong:

$ alsactl init 0
bash: alsactl: command not found
Comment 20 Grigory Maksaev 2011-10-04 19:38:22 CEST
I am sorry! Forgot about root...:-(
So here it goes:

# amixer -c0 set "Smart 5.1" on
Simple mixer control 'Smart 5.1',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]

# alsactl init 0
Found hardware: "HDA-Intel" "VIA VT1708S" "HDA:11060397,10431111,00100000" "0x1111" "0x1043"
Hardware is initialized using a generic method

# amixer -c0 get "Smart 5.1"
Simple mixer control 'Smart 5.1',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [on]

# amixer -c0 set "Smart 5.1" off
Simple mixer control 'Smart 5.1',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]

# alsactl init 0
Found hardware: "HDA-Intel" "VIA VT1708S" "HDA:11060397,10431111,00100000" "0x1111" "0x1043"
Hardware is initialized using a generic method

# amixer -c0 get "Smart 5.1"
Simple mixer control 'Smart 5.1',0
  Capabilities: pswitch pswitch-joined penum
  Playback channels: Mono
  Mono: Playback [off]

So it doesn't seem to change anything.
Comment 21 Colin Guthrie 2011-10-04 20:11:02 CEST
(In reply to comment #20)
> I am sorry! Forgot about root...:-(

Ah sorry, my bad too. I have /sbin and /usr/sbin in my user's path so I forget when some tools are normally reserved for admins. In actual fact the command can be run fine as a normal user, but it's typically only used in "admin like" scenarios.


> So here it goes:
>  ... snip ....
> So it doesn't seem to change anything.

Indeed. I guess I'll have to ask about how best to set it upstream. Thanks for the tests.
Comment 22 Marja Van Waes 2011-12-04 17:11:24 CET
(In reply to comment #21)

> 
> Indeed. I guess I'll have to ask about how best to set it upstream. Thanks for
> the tests.

@ Colin

What happened since then? 

I put alsa-utils in the RPM Package: field, is that correct?

CC: (none) => marja11
Source RPM: (none) => alsa-utils

Comment 23 Jerrold Heyman 2011-12-06 20:04:46 CET
What am I missing on the x64 install that would cause "Smart 5.1" to not be recognized?

[jerry@unix ~]$ sudo alsactl init 0
Found hardware: "HDA-Intel" "Realtek ALC889" "HDA:10ec0889,1458a102,00100004" "0x1458" "0xa102"
Hardware is initialized using a generic method
[jerry@unix ~]$ sudo amixer -c0 set "Smart 5.1" on
amixer: Unable to find simple control 'Smart 5.1',0

I've tried all the various commands, but cannot get the mic to work at all :-(

When running Mandriva 2010.1 on the same hw, no issues.

CC: (none) => heymanj

Comment 24 Colin Guthrie 2011-12-06 20:26:13 CET
(In reply to comment #23)
> What am I missing on the x64 install that would cause "Smart 5.1" to not be
> recognized?


If you are sure this is the same issue, then please provide the output of "amixer -c0". It shows you all the mixer kcontrols known.

> [jerry@unix ~]$ sudo alsactl init 0
> Found hardware: "HDA-Intel" "Realtek ALC889" "HDA:10ec0889,1458a102,00100004"
> "0x1458" "0xa102"
> Hardware is initialized using a generic method

Technically you do not need sudo here... just the full path to alsactl.

> [jerry@unix ~]$ sudo amixer -c0 set "Smart 5.1" on
> amixer: Unable to find simple control 'Smart 5.1',0

No need for sudo here.


This could indicate a kernel regression. You should look to try and set the model manually in a modprobe.d file (options snd-hda-intel model=foo). There should be information available via google about how to specify the model manually. If you find the model that brings your Smart 5.1 control back, and things work as you expect, then you should then send your pci'ids of the h/w in question (listed above) and the model that works best for you to the alsa-devel mailing list so that the quirk can be included in the upstream code.

That said, please make sure that the removal of Smart 5.1 is not intentional. P
Comment 25 Marja Van Waes 2012-01-26 20:33:50 CET
(In reply to comment #22)
> (In reply to comment #21)
> 
> > 
> > Indeed. I guess I'll have to ask about how best to set it upstream. Thanks for
> > the tests.
> 
> @ Colin
> 
> What happened since then? 
> 
> I put alsa-utils in the RPM Package: field, is that correct?

@ Colin

Assigning to you, you'll assign back if I'm wrong :) In that case: please explain

Keywords: (none) => UPSTREAM
Assignee: bugsquad => mageia

Comment 26 Jerrold Heyman 2012-01-26 23:50:50 CET
Microphone works if I use the front two jacks (mic/speaker) on the case.  Microphone not recognized on the rear (where there are six jacks)  ATX connector.
Comment 27 Colin Guthrie 2012-03-07 13:06:21 CET
Are any of you able to test latest Cauldron on this h/w? There is a new kernel 3.3 and new alsa-utils that fixes several initialisation problems.

Ideally calling "alsactl -c0 init" should give a working system.
Comment 28 Jan Merta 2012-07-12 12:26:23 CEST
Mic works fine for me on Mageia 2
Comment 29 Colin Guthrie 2012-07-12 12:45:22 CEST
Great. Thanks for updating us. As you say you've got the same HW as the original reporter I think we should close this bug.

@Egor: As reporter if your experience differs, please do reopen!!

It's not something that will likely be fixed *in* MGA1 but such is life, everyone surely wants to use MGA2 now anyway :p

Status: NEW => RESOLVED
Resolution: (none) => FIXED


Note You need to log in before you can comment on or make changes to this bug.