You are not logged in.

#1 2016-11-08 02:16:21

guilouv
Member
Registered: 2011-12-07
Posts: 33

[Pulseaudio] Microphone from the webcam is not working on Vaio S

Hi All !

After years using Arch I'm facing a dumb issue: my webcam's microphone is not working.

I just installed Arch on my brand new Vaio S (VJS131X0211B) and everything went well except this microphone issue. I installed pulseaudio for the first time in my life because I plan to use the bluetooth so maybe I made a mistake at that point.

I followed the instructions from the wiki to install pulseaudio and using ponymix I switched the source to my microphone (confirmed with the output of arecord -l). I then tried to record something with arecord -d 5 /tmp/test.wav but when I listened to the file I only heard background noise. I solved the issue by resampling the sound as described in the wiki and I also added the Echo/Noise cancellation option.
Now when I listen to new record I have no sound at all. Of course, I checked that all my channels are unmute and I put their volume to the max.

Ideas?
Thanks.

PS: I also have a jack plug but I don't think it can mess anything up because I only have one sound card (a classic Intel HD Audio). Also the output is working since I can listen to any other sound on my computer.

Last edited by guilouv (2016-11-08 02:17:33)

Offline

#2 2016-11-08 08:59:55

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

arecord utilizes the ALSA API and whatever you attempt to do there doesn't necessarily reflect how the devices are set up in pulseaudio. Post

pacmd list-cards
pacmd list-sources
pacmd list-source-outputs #While recording something

in [ code ] tags, there's a good chance that the echo-cancel-module you loaded has defaulted to the wrong source, see here for configuration options: module-echo-cancel you will likely want to at least set the source_master correctly. But if you provide those outputs I requested I can help you with diagnosing this further

Offline

#3 2016-11-08 13:11:21

guilouv
Member
Registered: 2011-12-07
Posts: 33

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

I don't have my laptop with me right now, I will give you the output of the commands tonight. I did not know the last one that should help me.

I was using arecord -l as a "confirmation" of my pulseaudio setup. Actually I do all my sound configuration through ponymix (same thing as pacmd).
Since I am using pulseaudio, is there any other "better" command than arecord to use to record a sound?

Thanks for your help.

Offline

#4 2016-11-08 16:47:29

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

arecord -l queries ALSA devices, it doesn't reflect pulse's usage of them. At most aplay -L could be used to verify that you have a "default" PCM which points to pulseaudio via the ALSA plugin. If that is the case, arecord can be used for recording and can be manipulated using the usual pulseaudio tools (e.g. pavucontrol) for more specialized control pulseaudio provides the parec utility which allows some more fine grained control and use of pulse's features (e.g. only record the output from a specific application without other potential interfering sounds). but to properly use parec you will have to refer to the info from the pacmd commands.

Offline

#5 2016-11-08 17:07:29

guilouv
Member
Registered: 2011-12-07
Posts: 33

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

I never used pulseaudio before and only use it now because alsa does not manage the bluetooth. I have so much to learn about pulseaudio...
I understand that alsa and pulseaudio are not the same thing and their tools cannot be used to verify the input/output used by the other. I was just using arecord -l to list the output in addition to ponymix list and make sure I did not miss any before configuring pulseaudio using ponymix. That's just my useless paranoid verification ^^

I will come back to you with all the outputs tonight.

Offline

#6 2016-11-08 21:20:01

guilouv
Member
Registered: 2011-12-07
Posts: 33

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

Here are the outputs:

pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1f.3>
	driver: <module-alsa-card.c>
	owner module: 28
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xd1320000 irq 131"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d70"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Built-in Audio"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Analog Stereo Input (priority 60, available: unknown)
		output:analog-stereo: Analog Stereo Output (priority 6000, available: unknown)
		output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6060, available: unknown)
		output:hdmi-stereo: Digital Stereo (HDMI) Output (priority 5400, available: unknown)
		output:hdmi-stereo+input:analog-stereo: Digital Stereo (HDMI) Output + Analog Stereo Input (priority 5460, available: unknown)
		output:hdmi-surround: Digital Surround 5.1 (HDMI) Output (priority 300, available: unknown)
		output:hdmi-surround+input:analog-stereo: Digital Surround 5.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-surround71: Digital Surround 7.1 (HDMI) Output (priority 300, available: unknown)
		output:hdmi-surround71+input:analog-stereo: Digital Surround 7.1 (HDMI) Output + Analog Stereo Input (priority 360, available: unknown)
		output:hdmi-stereo-extra1: Digital Stereo (HDMI 2) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra1+input:analog-stereo: Digital Stereo (HDMI 2) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra1: Digital Surround 5.1 (HDMI 2) Output (priority 100, available: unknown)
		output:hdmi-surround-extra1+input:analog-stereo: Digital Surround 5.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra1: Digital Surround 7.1 (HDMI 2) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra1+input:analog-stereo: Digital Surround 7.1 (HDMI 2) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-stereo-extra2: Digital Stereo (HDMI 3) Output (priority 5200, available: unknown)
		output:hdmi-stereo-extra2+input:analog-stereo: Digital Stereo (HDMI 3) Output + Analog Stereo Input (priority 5260, available: unknown)
		output:hdmi-surround-extra2: Digital Surround 5.1 (HDMI 3) Output (priority 100, available: unknown)
		output:hdmi-surround-extra2+input:analog-stereo: Digital Surround 5.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
		output:hdmi-surround71-extra2: Digital Surround 7.1 (HDMI 3) Output (priority 100, available: unknown)
		output:hdmi-surround71-extra2+input:analog-stereo: Digital Surround 7.1 (HDMI 3) Output + Analog Stereo Input (priority 160, available: unknown)
		off: Off (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1f.3.analog-stereo/#3: Built-in Audio Analog Stereo
	sources:
		alsa_output.pci-0000_00_1f.3.analog-stereo.monitor/#5: Monitor of Built-in Audio Analog Stereo
		alsa_input.pci-0000_00_1f.3.analog-stereo/#6: Built-in Audio Analog Stereo
	ports:
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
		hdmi-output-0: HDMI / DisplayPort (priority 5900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-1: HDMI / DisplayPort 2 (priority 5800, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
		hdmi-output-2: HDMI / DisplayPort 3 (priority 5700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "video-display"
pacmd list-sources
7 source(s) available.
    index: 0
	name: <alsa_output.hw_0_3.monitor>
	driver: <module-alsa-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1000
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	monitor_of: 0
	module: 0
	properties:
		device.description = "Monitor of Built-in Audio"
		device.class = "monitor"
		device.icon_name = "audio-input-microphone"
    index: 1
	name: <alsa_input.hw_0_0>
	driver: <module-alsa-source.c>
	flags: HARDWARE DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9950
	volume: front-left: 21845 /  100% / 0.00 dB,   front-right: 21845 /  100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	module: 1
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC233 Analog"
		alsa.id = "ALC233 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xd1320000 irq 131"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d70"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "hw:0,0"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "192000"
		device.access_mode = "mmap+timer"
		device.description = "Built-in Audio"
		device.icon_name = "audio-input-microphone-pci"
  * index: 2
	name: <alsa_input.hw_0_0.echo-cancel>
	driver: <module-echo-cancel.c>
	flags: HW_MUTE_CTRL LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1000
	volume: mono: 21845 /  100%
	        balance 0.00
	base volume: 65536 / 100%
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: float32le 1ch 32000Hz
	channel map: mono
	             Mono
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	module: 2
	properties:
		device.master_device = "alsa_input.hw_0_0"
		device.class = "filter"
		device.intended_roles = "phone"
		device.description = "Built-in Audio (echo cancelled with Built-in Audio)"
		device.icon_name = "audio-input-microphone"
    index: 3
	name: <alsa_output.hw_0_3.echo-cancel.monitor>
	driver: <module-echo-cancel.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1000
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: float32le 1ch 32000Hz
	channel map: mono
	             Mono
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	monitor_of: 1
	module: 2
	properties:
		device.description = "Monitor of Built-in Audio (echo cancelled with Built-in Audio)"
		device.class = "monitor"
		device.icon_name = "audio-input-microphone"
    index: 4
	name: <rtp.monitor>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 1000
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 1 KiB
	sample spec: s16be 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 7.26 ms; range is 0.50 .. 2000.00 ms
	monitor_of: 2
	module: 15
	properties:
		device.description = "Monitor of RTP Multicast"
		device.class = "monitor"
		device.icon_name = "audio-input-microphone"
    index: 5
	name: <alsa_output.pci-0000_00_1f.3.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY 
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1950
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	fixed latency: 100.00 ms
	monitor_of: 3
	card: 0 <alsa_card.pci-0000_00_1f.3>
	module: 28
	properties:
		device.description = "Monitor of Built-in Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xd1320000 irq 131"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d70"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
    index: 6
	name: <alsa_input.pci-0000_00_1f.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9959
	volume: front-left: 65540 / 100% / 0.00 dB,   front-right: 65540 / 100% / 0.00 dB
	        balance 0.00
	base volume: 5206 /   8% / -66.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	fixed latency: 100.00 ms
	card: 0 <alsa_card.pci-0000_00_1f.3>
	module: 28
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC233 Analog"
		alsa.id = "ALC233 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xd1320000 irq 131"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d70"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "19200"
		device.buffering.fragment_size = "4800"
		device.access_mode = "mmap"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC233"
		alsa.components = "HDA:10ec0233,1d190600,00100003 HDA:80862809,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-mic>
pacmd list-source-outputs #while recording
2 source output(s) available.
    index: 0
	driver: <module-echo-cancel.c>
	flags: 
	state: RUNNING
	source: 1 <alsa_input.hw_0_0>
	volume: mono: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: n/a
	sample spec: float32le 1ch 32000Hz
	channel map: mono
	             Mono
	resample method: speex-float-1
	owner module: 2
	properties:
		media.name = "Echo-Cancel Source Stream"
		media.role = "filter"
		module-stream-restore.id = "source-output-by-media-role:filter"
    index: 3
	driver: <protocol-native.c>
	flags: 
	state: RUNNING
	source: 2 <alsa_input.hw_0_0.echo-cancel>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: n/a
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: speex-float-1
	owner module: 13
	client: 60 <parec>
	properties:
		application.name = "parec"
		media.name = "/tmp/sound.wav"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "31"
		application.process.id = "2351"
		application.process.user = "guis"
		application.process.host = "GuiS"
		application.process.binary = "pacat"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "776cb44ea1c040ca9d0f3573069e9c8e"
		application.process.session_id = "c1"
		module-stream-restore.id = "source-output-by-application-name:parec"

Last edited by guilouv (2016-11-09 16:57:08)

Offline

#7 2016-11-09 15:13:59

guilouv
Member
Registered: 2011-12-07
Posts: 33

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

Is that useful?
With my limited knowledge I do not see anything wrong in these outputs. It seems to me that the active source is the one used to record my sound but I cannot hear any sound from my recorded file. What am I missing?

Offline

#8 2016-11-10 21:01:47

guilouv
Member
Registered: 2011-12-07
Posts: 33

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

Apparently this does not help sad sad sad
It's really bad and frustrating because this microphone issue is the only one I have and it's really annoying to not be able to communicate with my friends.

Last edited by guilouv (2016-11-10 21:02:02)

Offline

#9 2016-11-10 21:56:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

The channel map is somewhat weird, the name as well, see my link for additional configuration (and imho you should first make sure that the not echo cancelled input works, did you try that because you noticed many background noises or just "because"?) the actual microphone source is ls alsa_input.pci-0000_00_1f.3.analog-stereo so switch the microphone sink to that to check if it works. (or use

pacmd set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo
pacmd move-source-output $SOURCEINDEX alsa_input.pci-0000_00_1f.3.analog-stereo # replace $SOURCEINDEX with the index of whatever you attempt to record from from pacmd list-source-outputs

I will try to set up a echo-cancel module tonight or tomorrow on my rig and get back to you if I find something more, could you post your /etc/pulse/default.pa so that we can check your current configuration?

Last edited by V1del (2016-11-10 21:58:49)

Offline

#10 2016-11-11 00:56:24

guilouv
Member
Registered: 2011-12-07
Posts: 33

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

Thanks for coming back. I tried the echo canceled in the first place because of background noises as I said but now I removed it to "simplify" things.
Why the channel map and name are weird? I did not do anything to change that and the laptop is brand new. What did you see that is not expected? I never used pulseaudio before so I'm completely lost.

I tried your commands and recorded a sound but the file is still "empty" (only background noise). I will not have time to go deeper this week-end but I will come back early next week. In the meantime here is my default.pa (moved to my home directory as suggested in the wiki):

#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.fail

load-module module-alsa-sink device=hw:0,3

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
load-module module-udev-detect tsched=0
#load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

### Make some devices default
#set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo
#set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo

I did not change anything except loading the module for my HDMI output (load-module module-alsa-sink device=hw:0,3).

Offline

#11 2016-11-11 08:29:27

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

There we have the culprit of the weird name, you manually load an alsa-sink  (AND the echo cancel module acted on the HDMI output which definitely is not going to work). There's really not much reason to do that, pulse creates the correct devices with the udev load automatically, remove that line (except if that does allow you to play back something via speakers and hdmi simultaneously and that was your reason for loading it, you could also keep it). Also tsched=0 is a misguided "fix" in most cases necessary to work around broken drivers, most of the issues with that have been fixed long ago, there's really no need to use that with a well supported realtek card. After having done these changes, can you repost the

pacmd list-sources
pacmd list-source-outputs

and the exact commands you are attempting to use to record something? One thing we might want to try, is if the jack input is misdetected is to use

pacmd set-source-port  alsa_input.pci-0000_00_1f.3.analog-stereo analog-input-internal-mic

to force it to use the other jack, maybe the default detection is flaky here.

Last edited by V1del (2016-11-11 08:39:22)

Offline

#12 2016-11-14 22:03:05

guilouv
Member
Registered: 2011-12-07
Posts: 33

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

Thanks for helping. I manually loaded an alsa-sink because, if not, my HDMI output is not recognized as shown with the new outputs with this default.pa:

#!/usr/bin/pulseaudio -nF
#
# This file is part of PulseAudio.
#
# PulseAudio is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published by
# the Free Software Foundation; either version 2 of the License, or
# (at your option) any later version.
#
# PulseAudio is distributed in the hope that it will be useful, but
# WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public License
# along with PulseAudio; if not, see <http://www.gnu.org/licenses/>.

# This startup script is used only if PulseAudio is started per-user
# (i.e. not in system mode)

.fail

#load-module module-alsa-sink device=hw:0,3
#load-module module-alsa-source device=hw:0,0
#set-source-volume 1 300000
### Enable Echo/Noise-Cancelation
#load-module module-echo-cancel

### Automatically restore the volume of streams and devices
load-module module-device-restore
load-module module-stream-restore
load-module module-card-restore

### Automatically augment property information from .desktop files
### stored in /usr/share/application
load-module module-augment-properties

### Should be after module-*-restore but before module-*-detect
load-module module-switch-on-port-available

### Load audio drivers statically
### (it's probably better to not load these drivers manually, but instead
### use module-udev-detect -- see below -- for doing this automatically)
#load-module module-alsa-sink
#load-module module-alsa-source device=hw:1,0
#load-module module-oss device="/dev/dsp" sink_name=output source_name=input
#load-module module-oss-mmap device="/dev/dsp" sink_name=output source_name=input
#load-module module-null-sink
#load-module module-pipe-sink

### Automatically load driver modules depending on the hardware available
.ifexists module-udev-detect.so
#load-module module-udev-detect tsched=0
load-module module-udev-detect
.else
### Use the static hardware detection module (for systems that lack udev support)
load-module module-detect
.endif

### Automatically connect sink and source if JACK server is present
.ifexists module-jackdbus-detect.so
.nofail
load-module module-jackdbus-detect channels=2
.fail
.endif

### Automatically load driver modules for Bluetooth hardware
.ifexists module-bluetooth-policy.so
load-module module-bluetooth-policy
.endif

.ifexists module-bluetooth-discover.so
load-module module-bluetooth-discover
.endif

### Load several protocols
.ifexists module-esound-protocol-unix.so
load-module module-esound-protocol-unix
.endif
load-module module-native-protocol-unix

### Network access (may be configured with paprefs, so leave this commented
### here if you plan to use paprefs)
#load-module module-esound-protocol-tcp
#load-module module-native-protocol-tcp
#load-module module-zeroconf-publish

### Load the RTP receiver module (also configured via paprefs, see above)
#load-module module-rtp-recv

### Load the RTP sender module (also configured via paprefs, see above)
#load-module module-null-sink sink_name=rtp format=s16be channels=2 rate=44100 sink_properties="device.description='RTP Multicast Sink'"
#load-module module-rtp-send source=rtp.monitor

### Load additional modules from GConf settings. This can be configured with the paprefs tool.
### Please keep in mind that the modules configured by paprefs might conflict with manually
### loaded modules.
.ifexists module-gconf.so
.nofail
load-module module-gconf
.fail
.endif

### Automatically restore the default sink/source when changed by the user
### during runtime
### NOTE: This should be loaded as early as possible so that subsequent modules
### that look up the default sink/source get the right value
load-module module-default-device-restore

### Automatically move streams to the default sink if the sink they are
### connected to dies, similar for sources
load-module module-rescue-streams

### Make sure we always have a sink around, even if it is a null sink.
load-module module-always-sink

### Honour intended role device property
load-module module-intended-roles

### Automatically suspend sinks/sources that become idle for too long
load-module module-suspend-on-idle

### If autoexit on idle is enabled we want to make sure we only quit
### when no local session needs us anymore.
.ifexists module-console-kit.so
load-module module-console-kit
.endif
.ifexists module-systemd-login.so
load-module module-systemd-login
.endif

### Enable positioned event sounds
load-module module-position-event-sounds

### Cork music/video streams when a phone stream is active
load-module module-role-cork

### Modules to allow autoloading of filters (such as echo cancellation)
### on demand. module-filter-heuristics tries to determine what filters
### make sense, and module-filter-apply does the heavy-lifting of
### loading modules and rerouting streams.
load-module module-filter-heuristics
load-module module-filter-apply

### Make some devices default
set-default-sink alsa_output.pci-0000_00_1f.3.analog-stereo 
set-default-source alsa_input.pci-0000_00_1f.3.analog-stereo
pacmd list-sources
3 source(s) available.
    index: 0
	name: <alsa_output.pci-0000_00_1f.3.analog-stereo.monitor>
	driver: <module-alsa-card.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 1950
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	monitor_of: 0
	card: 0 <alsa_card.pci-0000_00_1f.3>
	module: 6
	properties:
		device.description = "Monitor of Built-in Audio Analog Stereo"
		device.class = "monitor"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xd1320000 irq 131"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d70"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "0"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
  * index: 1
	name: <alsa_input.pci-0000_00_1f.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9959
	volume: front-left: 65540 / 100% / 0.00 dB,   front-right: 65540 / 100% / 0.00 dB
	        balance 0.00
	base volume: 5206 /   8% / -66.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 0 KiB
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	card: 0 <alsa_card.pci-0000_00_1f.3>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC233 Analog"
		alsa.id = "ALC233 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xd1320000 irq 131"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d70"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "192000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC233"
		alsa.components = "HDA:10ec0233,1d190600,00100003 HDA:80862809,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-input-internal-mic: Internal Microphone (priority 8900, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-input-microphone"
		analog-input-mic: Microphone (priority 8700, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-input-microphone"
	active port: <analog-input-internal-mic>
    index: 2
	name: <rtp.monitor>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: RUNNING
	suspend cause: 
	priority: 1000
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max rewind: 1 KiB
	sample spec: s16be 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 7.26 ms; range is 0.50 .. 2000.00 ms
	monitor_of: 1
	module: 13
	properties:
		device.description = "Monitor of RTP Multicast"
		device.class = "monitor"
		device.icon_name = "audio-input-microphone"
pacmd list-source-outputs
2 source output(s) available.
    index: 0
	driver: <module-rtp-send.c>
	flags: 
	state: RUNNING
	source: 2 <rtp.monitor>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 2.70 ms
	requested latency: 7.26 ms
	sample spec: s16be 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: (null)
	owner module: 14
	properties:
		media.name = "RTP Monitor Stream"
		rtp.source = "0.0.0.0"
		rtp.destination = "224.0.0.56"
		rtp.mtu = "1280"
		rtp.port = "46302"
		rtp.ttl = "1"
		module-stream-restore.id = "source-output-by-media-name:RTP Monitor Stream"
    index: 6
	driver: <protocol-native.c>
	flags: 
	state: RUNNING
	source: 1 <alsa_input.pci-0000_00_1f.3.analog-stereo>
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	muted: no
	current latency: 0.00 ms
	requested latency: n/a
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	resample method: speex-float-1
	owner module: 11
	client: 27 <parecord>
	properties:
		media.format = "WAV (Microsoft)"
		application.name = "parecord"
		media.name = "/tmp/sound.wav"
		native-protocol.peer = "UNIX socket client"
		native-protocol.version = "31"
		application.process.id = "1536"
		application.process.user = "guis"
		application.process.host = "GuiS"
		application.process.binary = "pacat"
		application.language = "en_US.UTF-8"
		window.x11.display = ":0"
		application.process.machine_id = "776cb44ea1c040ca9d0f3573069e9c8e"
		application.process.session_id = "c1"
		module-stream-restore.id = "source-output-by-application-name:parecord"

I used the arecord -d 4 /tmp/sound.wav or parecord /tmp/sound.wav command to record the sound and I only have a background noise.
After pacmd set-source-port  alsa_input.pci-0000_00_1f.3.analog-stereo analog-input-internal-mic and a new record I (maybe) have less background noise but that is it.

I am so bad with this configuration...

PS: the alsamixer screenshot if it can help.

Last edited by guilouv (2016-11-14 22:16:25)

Offline

#13 2016-11-14 23:36:56

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

Lower your capture volume in pavucontrol, it might overdrive and not really be necessary to be that high. You don't want your HDMI to be a source (a recording device), sinks (an output device) can be queried with

pacmd list-sinks

Last edited by V1del (2016-11-14 23:37:42)

Offline

#14 2016-11-15 02:08:47

guilouv
Member
Registered: 2011-12-07
Posts: 33

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

Sorry, you're right. I added my HDMI as a sink and in the same post I'm talking about sources... I slept 3 hours last night so I get confused.
My HDMI is not listed as a sink and that is why I manually loaded it as a sink:

pacmd list-sinks
2 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1f.3.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: SUSPENDED
	suspend cause: IDLE 
	priority: 9959
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 63677 /  97% / -0.75 dB
	        balance -0.03
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 0.00 ms
	max request: 0 KiB
	max rewind: 0 KiB
	monitor source: 0
	sample spec: s16le 2ch 48000Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 0
	configured latency: 0.00 ms; range is 0.50 .. 2000.00 ms
	card: 0 <alsa_card.pci-0000_00_1f.3>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "ALC233 Analog"
		alsa.id = "ALC233 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel PCH"
		alsa.long_card_name = "HDA Intel PCH at 0xd1320000 irq 131"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1f.3"
		sysfs.path = "/devices/pci0000:00/0000:00:1f.3/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "9d70"
		device.product.name = "Sunrise Point-LP HD Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "384000"
		device.buffering.fragment_size = "192000"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Realtek ALC233"
		alsa.components = "HDA:10ec0233,1d190600,00100003 HDA:80862809,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Speakers (priority 10000, latency offset 0 usec, available: unknown)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-speaker>
    index: 1
	name: <rtp>
	driver: <module-null-sink.c>
	flags: DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: 
	priority: 1000
	volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB
	        balance 0.00
	base volume: 65536 / 100% / 0.00 dB
	volume steps: 65537
	muted: no
	current latency: 6.26 ms
	max request: 1 KiB
	max rewind: 1 KiB
	monitor source: 2
	sample spec: s16be 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 0
	linked by: 1
	configured latency: 7.26 ms; range is 0.50 .. 2000.00 ms
	module: 13
	properties:
		device.description = "RTP Multicast"
		device.class = "abstract"
		device.bus = "network"
		device.icon_name = "network-server"

I tried with different capture levels between 20% and 70% but nothing changed...

I noticed that my internal microphone state is "unplugged" whatever I'm doing through pacmd...
http://pix.toile-libre.org/upload/origi … 179477.png

EDIT:
I don't know if it can help but I can get rid of the "unplugged" state of the internal microphone if I put this in my /etc/modprobe.d/snd-hda-intel.conf

options snd-hda-intel model=laptop-amic

But it does not change anything to my recording tests. The issue remains.

Last edited by guilouv (2016-11-15 19:24:53)

Offline

#15 2016-11-17 16:09:11

guilouv
Member
Registered: 2011-12-07
Posts: 33

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

No more ideas?

Offline

#16 2016-11-17 16:49:43

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

There are 4 mic controls present in your alsamixer screenshot, have you played around with reduced values for all of them? I don't think pulse's control will manipulate those "internal mic boosts" you have to do that in alsamixer yourself.

Offline

#17 2016-11-17 17:37:04

guilouv
Member
Registered: 2011-12-07
Posts: 33

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

I did and pulseaudio is actually changing their level. I am desperate.

Last edited by guilouv (2016-11-17 17:41:24)

Offline

#18 2016-11-17 18:33:54

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 21,738

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

Now I'm running out of options as well let's go a bit deeper, anything in

dmesg
journalctl --user-unit=pulseaudio

? You might want to see if it is a driver issue with the kernel and try linux-lts for example

Another thing, you mentioned you had changed the sample rate, what did you change it to and does it work if you reflect those changes in parec?

Last edited by V1del (2016-11-17 18:36:13)

Offline

#19 2016-11-17 20:55:37

guilouv
Member
Registered: 2011-12-07
Posts: 33

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

I removed the change made to the sample rate. I first made it to "correct" the static noise.
Here are the outputs:

dmesg
[    1.763506] snd_hda_intel 0000:00:1f.3: enabling device (0000 -> 0002)
[    1.866935] snd_hda_intel 0000:00:1f.3: bound 0000:00:02.0 (ops i915_audio_component_bind_ops [i915])
[    3.295785] snd_hda_codec_realtek hdaudioC0D0: autoconfig for ALC233: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:speaker
[    3.295789] snd_hda_codec_realtek hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.295793] snd_hda_codec_realtek hdaudioC0D0:    hp_outs=1 (0x21/0x0/0x0/0x0/0x0)
[    3.295795] snd_hda_codec_realtek hdaudioC0D0:    mono: mono_out=0x0
[    3.295797] snd_hda_codec_realtek hdaudioC0D0:    inputs:
[    3.295801] snd_hda_codec_realtek hdaudioC0D0:      Mic=0x18
[    3.295804] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x19
[    3.295806] snd_hda_codec_realtek hdaudioC0D0:      Internal Mic=0x12
journalctl --user-unit=pulseaudio
Nov 17 09:00:51 GuiS systemd[526]: Starting Sound Service...
Nov 17 09:00:52 GuiS pulseaudio[828]: W: [pulseaudio] sink.c: Default and alternate sample rates are the same.
Nov 17 09:00:52 GuiS pulseaudio[828]: W: [pulseaudio] source.c: Default and alternate sample rates are the same.
Nov 17 09:00:52 GuiS pulseaudio[828]: E: [pulseaudio] main.c: Sink alsa_output.pci-0000_00_1f.3.analog-stereo  does not exist.
Nov 17 09:00:52 GuiS systemd[526]: Started Sound Service.

I do not really understand the error "Sink alsa_output.pci-0000_00_1f.3.analog-stereo". I can hear sound and this output is listed and used as shown with the pacmd list-sinks command.

Offline

#20 2016-11-24 18:37:08

guilouv
Member
Registered: 2011-12-07
Posts: 33

Re: [Pulseaudio] Microphone from the webcam is not working on Vaio S

Just tried with an external mic and everything is working... But my external mic is recognized as the internal mic in pavucontrol.
So maybe the real issue is that my internal mic is not recognized as it should be. Any idea how to correct this?

Offline

Board footer

Powered by FluxBB