You are not logged in.

#1 2020-07-29 15:33:10

Artyom
Member
Registered: 2017-03-27
Posts: 15

[PulseAudio/ALSA] Headphones always deteced / configuration reset

Hi,

I'm currently working on a HP ProBook 6450b and here are all the issues with the audio configuration:
1 - The system seems to always think headphones are connected even if it's not the case, muting the speaker.
2 - I force the unmute on the speaker with alsamixer, level the db and disabling the auto-mute, this work.
3 - Even if i use: sudo alsactl store, the speaker is always reset to 0 and muted on reboot.

Here are some debug informations:

$ aplay -l
**** Liste des Périphériques Matériels PLAYBACK ****
carte 0: MID [HDA Intel MID], périphérique 0: 92HD75B3X5 Analog [92HD75B3X5 Analog]
  Sous-périphériques: 0/1
  Sous-périphérique #0: subdevice #0
carte 0: MID [HDA Intel MID], périphérique 3: HDMI 0 [HDMI 0]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: MID [HDA Intel MID], périphérique 7: HDMI 1 [HDMI 1]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0
carte 0: MID [HDA Intel MID], périphérique 8: HDMI 2 [HDMI 2]
  Sous-périphériques: 1/1
  Sous-périphérique #0: subdevice #0

$ lspci -nnk -s 00:1b.0 # the only lspci audio device # 
00:1b.0 Audio device [0403]: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio [8086:3b56] (rev 05)
	Subsystem: Hewlett-Packard Company Device [103c:146d]
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

$ sudo systemctl status alsa-restore
● alsa-restore.service - Save/Restore Sound Card State
     Loaded: loaded (/usr/lib/systemd/system/alsa-restore.service; static; vendor preset: disabled)
     Active: active (exited) since Wed 2020-07-29 14:35:09 CEST; 2h 47min ago
   Main PID: 339 (code=exited, status=0/SUCCESS)
      Tasks: 0 (limit: 4446)
     Memory: 0B
     CGroup: /system.slice/alsa-restore.service

juil. 29 14:35:08 LAPT-ARCH-GNDE-2 systemd[1]: Starting Save/Restore Sound Card State...
juil. 29 14:35:09 LAPT-ARCH-GNDE-2 systemd[1]: Finished Save/Restore Sound Card State.

$ sudo systemctl status alsa-state
● alsa-state.service - Manage Sound Card State (restore and store)
     Loaded: loaded (/usr/lib/systemd/system/alsa-state.service; static; vendor preset: disabled)
     Active: inactive (dead)
  Condition: start condition failed at Wed 2020-07-29 14:35:08 CEST; 2h 47min ago

$ alsactl store
alsactl: state_lock:125: file /var/lib/alsa/asound.state lock error: File exists

$ sudo alsactl store
## no error or output ##

What I have already tried:
1 - Disabling this option in pulseaudio configuration:

load-module module-device-restore

2 - Add used user to the audio group

I stay at your disposition if you need any more information.

What a want to accomplish is to have the speaker used by default if no heaphones are pluged in and make this configuration persistent on reboot.

Thanks!

Offline

#2 2020-07-29 19:37:28

V1del
Forum Moderator
Registered: 2012-10-16
Posts: 10,137

Re: [PulseAudio/ALSA] Headphones always deteced / configuration reset

What's your

pacmd list-cards
pacmd list-sinks
amixer -c0

during working and not working? FWIW disabling device-restore most likely has the opposite effect of what you want as that will ensure that the device is always brought up in the "incorrect" state without pulse doing corrective measures, adding to the audio group will also not fix incorrect hw initialization state and does potentially have other repercussions.

Last edited by V1del (2020-07-29 19:38:07)

Offline

#3 2020-07-30 13:32:30

Artyom
Member
Registered: 2017-03-27
Posts: 15

Re: [PulseAudio/ALSA] Headphones always deteced / configuration reset

Hera are the results on a reboot after reverting the cited changes:

$ pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel MID"
		alsa.long_card_name = "HDA Intel MID at 0xd4820000 irq 32"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3b56"
		device.product.name = "5 Series/3400 Series Chipset High Definition Audio"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Audio interne"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Entrée Stéréo analogique (priority 65, available: unknown)
		output:analog-stereo: Sortie Stéréo analogique (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Duplex stéréo analogique (priority 6565, available: unknown)
		output:analog-surround-40: Sortie Surround analogique 4.0 (priority 1200, available: no)
		output:analog-surround-40+input:analog-stereo: Sortie Surround analogique 4.0 + Entrée Stéréo analogique (priority 1265, available: no)
		output:hdmi-stereo: Sortie Digital Stereo (HDMI) (priority 5900, available: no)
		output:hdmi-stereo+input:analog-stereo: Sortie Digital Stereo (HDMI) + Entrée Stéréo analogique (priority 5965, available: no)
		output:hdmi-surround: Sortie Digital Surround 5.1 (HDMI) (priority 800, available: no)
		output:hdmi-surround+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI) + Entrée Stéréo analogique (priority 865, available: no)
		output:hdmi-surround71: Sortie Digital Surround 7.1 (HDMI) (priority 800, available: no)
		output:hdmi-surround71+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI) + Entrée Stéréo analogique (priority 865, available: no)
		output:hdmi-stereo-extra1: Sortie Digital Stereo (HDMI 2) (priority 5700, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Sortie Digital Stereo (HDMI 2) + Entrée Stéréo analogique (priority 5765, available: no)
		output:hdmi-surround-extra1: Sortie Digital Surround 5.1 (HDMI 2) (priority 600, available: no)
		output:hdmi-surround-extra1+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI 2) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-surround71-extra1: Sortie Digital Surround 7.1 (HDMI 2) (priority 600, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI 2) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-stereo-extra2: Sortie Digital Stereo (HDMI 3) (priority 5700, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Sortie Digital Stereo (HDMI 3) + Entrée Stéréo analogique (priority 5765, available: no)
		output:hdmi-surround-extra2: Sortie Digital Surround 5.1 (HDMI 3) (priority 600, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI 3) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-surround71-extra2: Sortie Digital Surround 7.1 (HDMI 3) (priority 600, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI 3) + Entrée Stéréo analogique (priority 665, available: no)
		off: Éteint (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Audio interne Stéréo analogique
	sources:
		alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Audio interne Stéréo analogique
		alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Audio interne Stéréo analogique
	ports:
		analog-input-internal-mic: Microphone interne (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"
		analog-input-linein: Entrée ligne (priority 8100, latency offset 0 usec, available: no)
			properties:
				
		analog-output-speaker: Haut-parleurs (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Casque audio (priority 9900, latency offset 0 usec, available: yes)
			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-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.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: 9039
	volume: front-left: 26090 /  40% / -24,00 dB,   front-right: 26090 /  40% / -24,00 dB
	        balance 0,00
	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 44100Hz
	channel map: front-left,front-right
	             Stéréo
	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_1b.0>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "92HD75B3X5 Analog"
		alsa.id = "92HD75B3X5 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel MID"
		alsa.long_card_name = "HDA Intel MID at 0xd4820000 irq 32"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3b56"
		device.product.name = "5 Series/3400 Series Chipset High Definition Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Stéréo analogique"
		device.description = "Audio interne Stéréo analogique"
		alsa.mixer_name = "IDT 92HD75B3X5"
		alsa.components = "HDA:111d7603,103c146e,00100202 HDA:11c11040,103c3066,00100200 HDA:80862804,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Haut-parleurs (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Casque audio (priority 9900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-headphones>
$ amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 95 [75%] [-24.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 0 [0%] [-99999.99dB] [off]
  Front Right: Playback 0 [0%] [-99999.99dB] [off]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-18.00dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Internal Mic' 'Mic' 'Line'
  Item0: 'Internal Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Internal Mic' 'Mic' 'Line'
  Item0: 'Internal Mic'
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'

What I understand from this is that the speaker output is unavailable for wathever reason.
The speaker amplification is also set by default to ~ -infinite dB wich make them mute.
In this state, gnome only shows "Audio Headphones - Internal Audio" in sounds peripherals.
To have sounds coming out from the speakers I have to manualy unmute and set amplification up on the speaker with alsamixer.
Here are the results after the modification:

$ pacmd list-cards
1 card(s) available.
    index: 0
	name: <alsa_card.pci-0000_00_1b.0>
	driver: <module-alsa-card.c>
	owner module: 6
	properties:
		alsa.card = "0"
		alsa.card_name = "HDA Intel MID"
		alsa.long_card_name = "HDA Intel MID at 0xd4820000 irq 32"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3b56"
		device.product.name = "5 Series/3400 Series Chipset High Definition Audio"
		device.form_factor = "internal"
		device.string = "0"
		device.description = "Audio interne"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	profiles:
		input:analog-stereo: Entrée Stéréo analogique (priority 65, available: unknown)
		output:analog-stereo: Sortie Stéréo analogique (priority 6500, available: unknown)
		output:analog-stereo+input:analog-stereo: Duplex stéréo analogique (priority 6565, available: unknown)
		output:analog-surround-40: Sortie Surround analogique 4.0 (priority 1200, available: no)
		output:analog-surround-40+input:analog-stereo: Sortie Surround analogique 4.0 + Entrée Stéréo analogique (priority 1265, available: no)
		output:hdmi-stereo: Sortie Digital Stereo (HDMI) (priority 5900, available: no)
		output:hdmi-stereo+input:analog-stereo: Sortie Digital Stereo (HDMI) + Entrée Stéréo analogique (priority 5965, available: no)
		output:hdmi-surround: Sortie Digital Surround 5.1 (HDMI) (priority 800, available: no)
		output:hdmi-surround+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI) + Entrée Stéréo analogique (priority 865, available: no)
		output:hdmi-surround71: Sortie Digital Surround 7.1 (HDMI) (priority 800, available: no)
		output:hdmi-surround71+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI) + Entrée Stéréo analogique (priority 865, available: no)
		output:hdmi-stereo-extra1: Sortie Digital Stereo (HDMI 2) (priority 5700, available: no)
		output:hdmi-stereo-extra1+input:analog-stereo: Sortie Digital Stereo (HDMI 2) + Entrée Stéréo analogique (priority 5765, available: no)
		output:hdmi-surround-extra1: Sortie Digital Surround 5.1 (HDMI 2) (priority 600, available: no)
		output:hdmi-surround-extra1+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI 2) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-surround71-extra1: Sortie Digital Surround 7.1 (HDMI 2) (priority 600, available: no)
		output:hdmi-surround71-extra1+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI 2) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-stereo-extra2: Sortie Digital Stereo (HDMI 3) (priority 5700, available: no)
		output:hdmi-stereo-extra2+input:analog-stereo: Sortie Digital Stereo (HDMI 3) + Entrée Stéréo analogique (priority 5765, available: no)
		output:hdmi-surround-extra2: Sortie Digital Surround 5.1 (HDMI 3) (priority 600, available: no)
		output:hdmi-surround-extra2+input:analog-stereo: Sortie Digital Surround 5.1 (HDMI 3) + Entrée Stéréo analogique (priority 665, available: no)
		output:hdmi-surround71-extra2: Sortie Digital Surround 7.1 (HDMI 3) (priority 600, available: no)
		output:hdmi-surround71-extra2+input:analog-stereo: Sortie Digital Surround 7.1 (HDMI 3) + Entrée Stéréo analogique (priority 665, available: no)
		off: Éteint (priority 0, available: unknown)
	active profile: <output:analog-stereo+input:analog-stereo>
	sinks:
		alsa_output.pci-0000_00_1b.0.analog-stereo/#0: Audio interne Stéréo analogique
	sources:
		alsa_output.pci-0000_00_1b.0.analog-stereo.monitor/#0: Monitor of Audio interne Stéréo analogique
		alsa_input.pci-0000_00_1b.0.analog-stereo/#1: Audio interne Stéréo analogique
	ports:
		analog-input-internal-mic: Microphone interne (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"
		analog-input-linein: Entrée ligne (priority 8100, latency offset 0 usec, available: no)
			properties:
				
		analog-output-speaker: Haut-parleurs (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Casque audio (priority 9900, latency offset 0 usec, available: yes)
			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-sinks
1 sink(s) available.
  * index: 0
	name: <alsa_output.pci-0000_00_1b.0.analog-stereo>
	driver: <module-alsa-card.c>
	flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY DYNAMIC_LATENCY
	state: IDLE
	suspend cause: (none)
	priority: 9039
	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: 20,43 ms
	max request: 4 KiB
	max rewind: 4 KiB
	monitor source: 0
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stéréo
	used by: 0
	linked by: 2
	configured latency: 23,22 ms; range is 1,00 .. 2000,00 ms
	card: 0 <alsa_card.pci-0000_00_1b.0>
	module: 6
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "92HD75B3X5 Analog"
		alsa.id = "92HD75B3X5 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel MID"
		alsa.long_card_name = "HDA Intel MID at 0xd4820000 irq 32"
		alsa.driver_name = "snd_hda_intel"
		device.bus_path = "pci-0000:00:1b.0"
		sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
		device.bus = "pci"
		device.vendor.id = "8086"
		device.vendor.name = "Intel Corporation"
		device.product.id = "3b56"
		device.product.name = "5 Series/3400 Series Chipset High Definition Audio"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "352800"
		device.buffering.fragment_size = "176400"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Stéréo analogique"
		device.description = "Audio interne Stéréo analogique"
		alsa.mixer_name = "IDT 92HD75B3X5"
		alsa.components = "HDA:111d7603,103c146e,00100202 HDA:11c11040,103c3066,00100200 HDA:80862804,80860101,00100000"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-speaker: Haut-parleurs (priority 10000, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-speakers"
		analog-output-headphones: Casque audio (priority 9900, latency offset 0 usec, available: yes)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-headphones>
$ amixer -c0
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 127
  Mono: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 127 [100%] [0.00dB] [on]
  Front Right: Playback 127 [100%] [0.00dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 127
  Mono:
  Front Left: Playback 119 [94%] [-6.00dB] [on]
  Front Right: Playback 119 [94%] [-6.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Line',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958',1
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'IEC958',2
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Beep',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 3
  Mono: Playback 0 [0%] [-18.00dB] [off]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Capture',1
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 15
  Front Left: Capture 0 [0%] [0.00dB] [off]
  Front Right: Capture 0 [0%] [0.00dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'
Simple mixer control 'Input Source',0
  Capabilities: cenum
  Items: 'Internal Mic' 'Mic' 'Line'
  Item0: 'Internal Mic'
Simple mixer control 'Input Source',1
  Capabilities: cenum
  Items: 'Internal Mic' 'Mic' 'Line'
  Item0: 'Internal Mic'
Simple mixer control 'Internal Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Internal Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'Loopback Mixing',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Disabled'

Only the amplification and mute state change in the amixer command and gnome still shows "Audio Headphones - Audio Internal".
But, sounds comes out from the speaker.
Even when doing alsactl store, this configuration is lost upon boot.

Offline

Board footer

Powered by FluxBB