Mic not working on guest Ubuntu 12.04.1 64 bit

Discussions about using Linux guests in VirtualBox.
Post Reply
jlanza
Posts: 6
Joined: 12. Dec 2012, 09:52

Mic not working on guest Ubuntu 12.04.1 64 bit

Post by jlanza »

Hi,

I'm virtualizing an ubuntu installation using Virtual Box. Sound playing is working correctly, but when I tried to record, nothing happens. As host, I'm using win7 and Vbox 4.2.4

Code: Select all

$ lspci| grep audio
00:05.0 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 01)
When clicking on Sound Settings -> Input, I got:

Code: Select all

Video Built-in Audio
Analog input Built-in Audio
Line In Built-in Audio
Microphone 1 Built-in Audio
Microphone 2 Built-in Audio
I've checked both Microphones but the input level is always blank.

I have tried also recording

Code: Select all

arecord -vv -d 4 /tmp/test-mic.wav && aplay /tmp/test-mic.wav
But the output file has no sound in it.

Besides, I've tried with alsamixer, but don't know if I did correct:
1) F4 capture
2) I have LR Caputre in MIC and Capture, but in Mic there is no column with the level. It is only displayed on Capture.

After modifying anything I run alsactl store and then open again the Sound setting to check if micro works, with no luck.

Any idea is more than welcome.
TA
jlanza
Posts: 6
Joined: 12. Dec 2012, 09:52

Re: Mic not working on guest Ubuntu 12.04.1 64 bit

Post by jlanza »

I've tried with VMWare Player and it works pefectly. So the problem is something in Virtual Box. Any idea?
bduhbya
Posts: 2
Joined: 13. Feb 2013, 19:29

Re: Mic not working on guest Ubuntu 12.04.1 64 bit

Post by bduhbya »

I am seeing the same issue. Fedora 18/17 and Ubuntu 12.10 (all 32 bit installs) are unable to capture audio.

VMWare Player with same guests is able to capture no problems

Used 'alsamixer' to verify capture gain is maxed out.

$ arecord -l
**** List of CAPTURE Hardware Devices ****
card 0: I82801AAICH [Intel 82801AA-ICH], device 0: Intel ICH [Intel 82801AA-ICH]
Subdevices: 1/1
Subdevice #0: subdevice #0
card 0: I82801AAICH [Intel 82801AA-ICH], device 1: Intel ICH - MIC ADC [Intel 82801AA-ICH - MIC ADC]
Subdevices: 1/1
Subdevice #0: subdevice #0

$ arecord -L
null
Discard all samples (playback) or generate zero samples (capture)
pulse
PulseAudio Sound Server
sysdefault:CARD=I82801AAICH
Intel 82801AA-ICH, Intel 82801AA-ICH
Default Audio Device
front:CARD=I82801AAICH,DEV=0
Intel 82801AA-ICH, Intel 82801AA-ICH
Front speakers
surround40:CARD=I82801AAICH,DEV=0
Intel 82801AA-ICH, Intel 82801AA-ICH
4.0 Surround output to Front and Rear speakers
surround41:CARD=I82801AAICH,DEV=0
Intel 82801AA-ICH, Intel 82801AA-ICH
4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=I82801AAICH,DEV=0
Intel 82801AA-ICH, Intel 82801AA-ICH
5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=I82801AAICH,DEV=0
Intel 82801AA-ICH, Intel 82801AA-ICH
5.1 Surround output to Front, Center, Rear and Subwoofer speakers
iec958:CARD=I82801AAICH,DEV=0
Intel 82801AA-ICH, Intel 82801AA-ICH
IEC958 (S/PDIF) Digital Audio Output

Attempted capture with 'arecord -t wav -c 2 - f S16_LE -d 5 -Dhw:0,1 -r 8000 8000_capt.wav' and with 'hw:0,0' (the default anyway) and no success. The wav files are all empty.

dmesg does not show anything useful related to audio problems. In Fedora 18, I do have to run "alsactl init" before audio render works.

I am using the latest VBox software. Any ides would be great.
jlanza
Posts: 6
Joined: 12. Dec 2012, 09:52

Re: Mic not working on guest Ubuntu 12.04.1 64 bit

Post by jlanza »

I did so many test. It works on linux/linux or at least in my case.

However I needed it in win7 so I finally uses Vbox with vmdk and whenever the mic is needed I start up using VmWare.
bduhbya
Posts: 2
Joined: 13. Feb 2013, 19:29

Re: Mic not working on guest Ubuntu 12.04.1 64 bit

Post by bduhbya »

Interestingly enough, Ubuntu 11_10 with the Intel HD driver (not ICH AC 97) works for both capture and playback. But Intel HD for the other guests results in no sound whatsoever.
Post Reply