You are not logged in.

#1 2022-04-24 12:57:02

MiketsuSmasher
Member
Registered: 2022-04-24
Posts: 2

[Solved]Volumes automatically reset while headphone pluging-in/out

My desktop environment is KDE, while I pluging in or plugging out my headphone, the Speaker/Headphone volume always reset to 74%, and the Microphone volume always reset to 68%. It appeared a few days ago.

I uninstalled kmix and plasma-pa, and deleted ~/.config/pulse/, but it's not work. I tried to plug in/out headphone during checking the log of pulseaudio.

The pulseaudio logs while plugging in:

( 120.213|  10.000) D: [pulseaudio] module-combine-sink.c: [alsa_output.pci-0000_00_1f.3.analog-stereo] total=36.59ms sink=36.59ms 
( 120.213|   0.000) I: [pulseaudio] module-combine-sink.c: [combined] avg total latency is 36.59 msec.
( 120.213|   0.000) I: [pulseaudio] module-combine-sink.c: [combined] target latency is 36.59 msec.
( 120.213|   0.000) I: [pulseaudio] module-combine-sink.c: [alsa_output.pci-0000_00_1f.3.analog-stereo] new rate is 48000 Hz; ratio is 1.000; latency is 36.59 msec.
( 120.501|   0.288) D: [pulseaudio] module-alsa-card.c: Jack 'Headphone Jack' is now plugged in
( 120.501|   0.000) D: [pulseaudio] device-port.c: Setting port analog-output-headphones to status yes
( 120.502|   0.000) D: [pulseaudio] module-switch-on-port-available.c: Trying to switch to port analog-output-headphones
( 120.502|   0.000) I: [pulseaudio] alsa-sink.c: Successfully enabled deferred volume.
( 120.502|   0.000) I: [pulseaudio] alsa-sink.c: Hardware volume ranges from -181.50 dB to 0.00 dB.
( 120.502|   0.000) I: [pulseaudio] alsa-sink.c: Fixing base volume to 0.00 dB
( 120.502|   0.000) I: [pulseaudio] alsa-sink.c: Using hardware volume control. Hardware dB scale supported.
( 120.502|   0.000) I: [pulseaudio] alsa-sink.c: Using hardware mute control.
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Activating path analog-output-headphones
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Path analog-output-headphones (Headphones), direction=1, priority=99, probed=yes, supported=yes, has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=87, min_dB=-181.5, max_dB=0
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Element 'Master', direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=03
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Element 'Headphone', direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=4, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=03
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Element 'Speaker', direction=1, switch=2, volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2, override_map=00
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Element 'PCM', direction=1, switch=0, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=03
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Element 'IEC958', direction=1, switch=2, volume=0, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x0, n_channels=0, override_map=00
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Dock Headphone, alsa_name='Dock Headphone Jack', index='0', detection unavailable
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Dock Headphone Phantom, alsa_name='Dock Headphone Phantom Jack', index='0', detection unavailable
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Front Headphone, alsa_name='Front Headphone Jack', index='0', detection unavailable
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Front Headphone Front, alsa_name='Front Headphone Front Jack', index='0', detection unavailable
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Front Headphone Phantom, alsa_name='Front Headphone Phantom Jack', index='0', detection unavailable
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Headphone, alsa_name='Headphone Jack', index='0', detection possible
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Headphone Phantom, alsa_name='Headphone Phantom Jack', index='0', detection unavailable
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Headphone Mic, alsa_name='Headphone Mic Jack', index='0', detection unavailable
( 120.502|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Headphone - Output, alsa_name='Headphone - Output Jack', index='0', detection unavailable
( 120.503|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Written HW volume did not match with the request: front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB (request) != front-left: 62 /   0% / -181.45 dB,   front-right: 62 /   0% / -181.45 dB
( 120.503|   0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 120.503|   0.000) I: [pulseaudio] sink.c: Changed port of sink 0 "alsa_output.pci-0000_00_1f.3.analog-stereo" to analog-output-headphones
( 120.504|   0.000) I: [pulseaudio] module-device-restore.c: Restoring volume for sink alsa_output.pci-0000_00_1f.3.analog-stereo.
( 120.504|   0.000) D: [pulseaudio] sink.c: The reference volume of sink alsa_output.pci-0000_00_1f.3.analog-stereo changed from front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB to front-left: 48397 /  74% / -7.90 dB,   front-right: 48397 /  74% / -7.90 dB.
( 120.504|   0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 120.504|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Requested volume: front-left: 48397 /  74% / -7.90 dB,   front-right: 48397 /  74% / -7.90 dB
( 120.504|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Got hardware volume: front-left: 48397 /  74% / -7.90 dB,   front-right: 48397 /  74% / -7.90 dB
( 120.504|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Calculated software volume: front-left: 65536 / 100% / 0.00 dB,   front-right: 65536 / 100% / 0.00 dB (accurate-enough=yes)
( 120.504|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Volume going up to 48397 at 20424388101
( 120.504|   0.000) D: [alsa-sink-ALC256 Analog] ratelimit.c: 511 events suppressed
( 120.504|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Next volume change in 45797 usec
( 120.504|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Requested to rewind 15360 bytes.
( 120.504|   0.000) I: [pulseaudio] module-device-restore.c: Restoring mute state for sink alsa_output.pci-0000_00_1f.3.analog-stereo.
( 120.504|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Limited to 13768 bytes.
( 120.505|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: before: 1721
( 120.505|   0.000) D: [pulseaudio] device-port.c: Setting port analog-output-speaker to status no
( 120.505|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: after: 1721
( 120.505|   0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 120.505|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Rewound 13768 bytes.
( 120.505|   0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 120.505|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Processing rewind...
( 120.505|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: latency = 1595
( 120.505|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Next volume change in 9594 usec
( 120.505|   0.000) D: [alsa-sink-ALC256 Analog] sink-input.c: Have to rewind 13768 bytes on render memblockq.
( 120.505|   0.000) D: [alsa-sink-ALC256 Analog] source.c: Processing rewind...
( 120.505|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Next volume change in 9055 usec
( 120.505|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Next volume change in 8989 usec
( 120.505|   0.000) D: [alsa-source-ALC256 Analog] alsa-source.c: Read hardware volume: front-left: 65540 / 100% / 0.00 dB,   front-right: 65540 / 100% / 0.00 dB
( 120.505|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Next volume change in 8943 usec
( 120.506|   0.000) D: [pulseaudio] source.c: The mute of source alsa_input.pci-0000_00_1f.3.analog-stereo changed from yes to no.
( 120.506|   0.000) D: [alsa-source-ALC256 Analog] alsa-source.c: Read hardware volume: front-left: 44652 /  68% / -10.00 dB,   front-right: 44652 /  68% / -10.00 dB
( 120.506|   0.000) D: [pulseaudio] source.c: The reference volume of source alsa_input.pci-0000_00_1f.3.analog-stereo changed from front-left: 65540 / 100% / 0.00 dB,   front-right: 65540 / 100% / 0.00 dB to front-left: 44652 /  68% / -10.00 dB,   front-right: 44652 /  68% / -10.00 dB.
( 120.506|   0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 120.506|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Next volume change in 8286 usec
( 120.506|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Next volume change in 8200 usec
( 120.506|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Next volume change in 8052 usec
( 120.506|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Next volume change in 8020 usec
( 120.506|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Next volume change in 8004 usec
( 120.506|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Next volume change in 7988 usec
( 120.506|   0.000) I: [pulseaudio] module-device-restore.c: Storing volume/mute for device+port source:alsa_input.pci-0000_00_1f.3.analog-stereo:analog-input-mic.
( 120.507|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Read hardware volume: front-left: 48397 /  74% / -7.90 dB,   front-right: 48397 /  74% / -7.90 dB
( 120.507|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Read hardware volume: front-left: 48397 /  74% / -7.90 dB,   front-right: 48397 /  74% / -7.90 dB
( 120.507|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Read hardware volume: front-left: 48397 /  74% / -7.90 dB,   front-right: 48397 /  74% / -7.90 dB
( 120.507|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Read hardware volume: front-left: 48397 /  74% / -7.90 dB,   front-right: 48397 /  74% / -7.90 dB
( 120.507|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Read hardware volume: front-left: 48397 /  74% / -7.90 dB,   front-right: 48397 /  74% / -7.90 dB
( 120.507|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Read hardware volume: front-left: 48397 /  74% / -7.90 dB,   front-right: 48397 /  74% / -7.90 dB
( 130.213|   9.706) D: [pulseaudio] module-combine-sink.c: [alsa_output.pci-0000_00_1f.3.analog-stereo] total=38.37ms sink=38.37ms 
( 130.213|   0.000) I: [pulseaudio] module-combine-sink.c: [combined] avg total latency is 38.37 msec.
( 130.213|   0.000) I: [pulseaudio] module-combine-sink.c: [combined] target latency is 38.37 msec.
( 130.213|   0.000) I: [pulseaudio] module-combine-sink.c: [alsa_output.pci-0000_00_1f.3.analog-stereo] new rate is 48000 Hz; ratio is 1.000; latency is 38.37 msec.
( 130.507|   0.293) I: [pulseaudio] module-device-restore.c: Synced.

Then I set Headphone and Microphone volume to 0%, and plug out headphone:

( 250.222|  10.000) D: [pulseaudio] module-combine-sink.c: [alsa_output.pci-0000_00_1f.3.analog-stereo] total=35.95ms sink=35.95ms 
( 250.222|   0.000) I: [pulseaudio] module-combine-sink.c: [combined] avg total latency is 35.95 msec.
( 250.222|   0.000) I: [pulseaudio] module-combine-sink.c: [combined] target latency is 35.95 msec.
( 250.222|   0.000) I: [pulseaudio] module-combine-sink.c: [alsa_output.pci-0000_00_1f.3.analog-stereo] new rate is 48000 Hz; ratio is 1.000; latency is 35.95 msec.
( 258.867|   8.645) D: [pulseaudio] module-alsa-card.c: Jack 'Headphone Jack' is now unplugged
( 258.867|   0.000) D: [pulseaudio] device-port.c: Setting port analog-output-speaker to status unknown
( 258.867|   0.000) D: [pulseaudio] module-switch-on-port-available.c: Not switching to port analog-output-speaker, its availability is unknown and it's not in any availability group.
( 258.867|   0.000) D: [pulseaudio] device-port.c: Setting port analog-output-headphones to status no
( 258.867|   0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 258.867|   0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 258.867|   0.000) I: [pulseaudio] core.c: default_sink: alsa_output.pci-0000_00_1f.3.analog-stereo -> combined
( 258.867|   0.000) D: [pulseaudio] module-switch-on-port-available.c: Trying to switch away from port analog-output-headphones, found analog-output-speaker
( 258.867|   0.000) D: [pulseaudio] module-switch-on-port-available.c: Trying to switch to port analog-output-speaker
( 258.867|   0.000) I: [pulseaudio] alsa-sink.c: Successfully enabled deferred volume.
( 258.867|   0.000) I: [pulseaudio] alsa-sink.c: Hardware volume ranges from -181.50 dB to 0.00 dB.
( 258.867|   0.000) I: [pulseaudio] alsa-sink.c: Fixing base volume to 0.00 dB
( 258.867|   0.000) I: [pulseaudio] alsa-sink.c: Using hardware volume control. Hardware dB scale supported.
( 258.867|   0.000) I: [pulseaudio] alsa-sink.c: Using hardware mute control.
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Activating path analog-output-speaker
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Path analog-output-speaker (Speakers), direction=1, priority=100, probed=yes, supported=yes, has_mute=yes, has_volume=yes, has_dB=yes, min_volume=0, max_volume=87, min_dB=-181.5, max_dB=0
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Element 'Master', direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x7ffffffffffff, n_channels=1, override_map=03
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Element 'Auto-Mute Mode', direction=1, switch=0, volume=0, volume_limit=-1, enumeration=1, required=0, required_any=0, required_absent=0, mask=0x0, n_channels=0, override_map=00
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Option Disabled (analog-output-speaker/analog-output-speaker) index=0, priority=0
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Element 'Headphone', direction=1, switch=2, volume=2, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x6, n_channels=2, override_map=00
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Element 'Speaker', direction=1, switch=1, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=4, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=03
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Element 'PCM', direction=1, switch=0, volume=1, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x3600000000f66, n_channels=2, override_map=03
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Element 'IEC958', direction=1, switch=2, volume=0, volume_limit=-1, enumeration=0, required=0, required_any=0, required_absent=0, mask=0x0, n_channels=0, override_map=00
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Headphone, alsa_name='Headphone Jack', index='0', detection possible
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Dock Headphone, alsa_name='Dock Headphone Jack', index='0', detection unavailable
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Front Headphone, alsa_name='Front Headphone Jack', index='0', detection unavailable
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Line Out, alsa_name='Line Out Jack', index='0', detection unavailable
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Line Out Front, alsa_name='Line Out Front Jack', index='0', detection unavailable
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Front Line Out, alsa_name='Front Line Out Jack', index='0', detection unavailable
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Rear Line Out, alsa_name='Rear Line Out Jack', index='0', detection unavailable
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Dock Line Out, alsa_name='Dock Line Out Jack', index='0', detection unavailable
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Speaker, alsa_name='Speaker Jack', index='0', detection unavailable
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Speaker Phantom, alsa_name='Speaker Phantom Jack', index='0', detection possible
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Speaker Front Phantom, alsa_name='Speaker Front Phantom Jack', index='0', detection unavailable
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Jack Speaker - Output, alsa_name='Speaker - Output Jack', index='0', detection unavailable
( 258.867|   0.000) D: [alsa-sink-ALC256 Analog] alsa-mixer.c: Setting analog-output-speaker (analog-output-speaker) priority=0
( 258.869|   0.001) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Written HW volume did not match with the request: front-left: 48397 /  74% / -7.90 dB,   front-right: 48397 /  74% / -7.90 dB (request) != front-left: 47751 /  73% / -8.25 dB,   front-right: 47751 /  73% / -8.25 dB
( 258.869|   0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 258.869|   0.000) I: [pulseaudio] sink.c: Changed port of sink 0 "alsa_output.pci-0000_00_1f.3.analog-stereo" to analog-output-speaker
( 258.869|   0.000) I: [pulseaudio] core.c: default_sink: combined -> alsa_output.pci-0000_00_1f.3.analog-stereo
( 258.869|   0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 258.869|   0.000) I: [pulseaudio] module-device-restore.c: Restoring volume for sink alsa_output.pci-0000_00_1f.3.analog-stereo.
( 258.869|   0.000) D: [pulseaudio] sink.c: The reference volume of sink alsa_output.pci-0000_00_1f.3.analog-stereo changed from front-left: 48397 /  74% / -7.90 dB,   front-right: 48397 /  74% / -7.90 dB to front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB.
( 258.869|   0.000) D: [pulseaudio] core-subscribe.c: Dropped redundant event due to change event.
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Requested volume: front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Got hardware volume: front-left: 62 /   0% / -181.45 dB,   front-right: 62 /   0% / -181.45 dB
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Calculated software volume: front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB (accurate-enough=no)
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Volume going down to 0 at 20562737852
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] ratelimit.c: 16 events suppressed
( 258.869|   0.000) I: [pulseaudio] module-device-restore.c: Restoring mute state for sink alsa_output.pci-0000_00_1f.3.analog-stereo.
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Next volume change in 30992 usec
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Requested to rewind 15360 bytes.
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Limited to 14088 bytes.
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: before: 1761
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: after: 1761
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Rewound 14088 bytes.
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Processing rewind...
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: latency = 2241
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] sink.c: Volume change to 0 at 20562701169 was written 5759 usec late
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Written HW volume did not match with the request: front-left: 0 /   0% / -inf dB,   front-right: 0 /   0% / -inf dB (request) != front-left: 62 /   0% / -181.45 dB,   front-right: 62 /   0% / -181.45 dB
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] sink-input.c: Have to rewind 14088 bytes on render memblockq.
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] source.c: Processing rewind...
( 258.869|   0.000) D: [alsa-sink-ALC256 Analog] alsa-sink.c: Read hardware volume: front-left: 62 /   0% / -181.45 dB,   front-right: 62 /   0% / -181.45 dB
( 260.222|   1.352) D: [pulseaudio] module-combine-sink.c: [alsa_output.pci-0000_00_1f.3.analog-stereo] total=31.54ms sink=31.54ms 
( 260.222|   0.000) I: [pulseaudio] module-combine-sink.c: [combined] avg total latency is 31.54 msec.
( 260.222|   0.000) I: [pulseaudio] module-combine-sink.c: [combined] target latency is 31.54 msec.
( 260.222|   0.000) I: [pulseaudio] module-combine-sink.c: [alsa_output.pci-0000_00_1f.3.analog-stereo] new rate is 48000 Hz; ratio is 1.000; latency is 31.54 msec.

I totally don't know how to solve this problem. Thanks everyone for help!!

Last edited by MiketsuSmasher (2022-04-25 18:33:54)

Offline

#2 2022-04-25 18:33:34

MiketsuSmasher
Member
Registered: 2022-04-24
Posts: 2

Re: [Solved]Volumes automatically reset while headphone pluging-in/out

Solved by create an empty /etc/alsa/state-daemon.conf and reboot.

Offline

Board footer

Powered by FluxBB