Poor, helicopter-like pulsating sound quality

Questions about other topics and general discussion about LMDE
Forum rules
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
arr123
Level 1
Level 1
Posts: 12
Joined: Sun Apr 11, 2021 6:04 pm

Re: Poor, helicopter-like pulsating sound quality

Post by arr123 »

The most recent curl was sent with headphones playing audio, and this one is with just built-in speakers:

https://termbin.com/ae75
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: Poor, helicopter-like pulsating sound quality

Post by MrEen »

Okay, here's the weird part:

Code: Select all

[    9.317901] snd_hda_intel 0000:00:1b.0: probe_mask set to 0x1 for device 17aa:2010
[    9.351993] snd_hda_codec_analog hdaudioC0D0: autoconfig for AD1981: line_outs=1 (0x5/0x0/0x0/0x0/0x0) type:speaker
[    9.351998] snd_hda_codec_analog hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    9.352001] snd_hda_codec_analog hdaudioC0D0:    hp_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    9.352003] snd_hda_codec_analog hdaudioC0D0:    mono: mono_out=0x0
[    9.352005] snd_hda_codec_analog hdaudioC0D0:    dig-out=0xa/0x0
[    9.352007] snd_hda_codec_analog hdaudioC0D0:    inputs:
[    9.352010] snd_hda_codec_analog hdaudioC0D0:      Mic=0x8
[    9.352012] snd_hda_codec_analog hdaudioC0D0:      CD=0x19
No headphones.

Then there's this:

Code: Select all

Sink #0
	State: RUNNING
	Name: alsa_output.pci-0000_00_1b.0.analog-stereo
	Description: Built-in Audio Analog Stereo
	Driver: module-alsa-card.c
	Sample Specification: s16le 2ch 44100Hz
	Channel Map: front-left,front-right
	Owner Module: 6
	Mute: no
	Volume: front-left: 27111 /  41% / -23.00 dB,   front-right: 27111 /  41% / -23.00 dB
	        balance 0.00
	Base Volume: 58409 /  89% / -3.00 dB
	Monitor Source: alsa_output.pci-0000_00_1b.0.analog-stereo.monitor
	Latency: 278485 usec, configured 250000 usec
	Flags: HARDWARE HW_MUTE_CTRL HW_VOLUME_CTRL DECIBEL_VOLUME LATENCY 
	Properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "AD1981 Analog"
		alsa.id = "AD1981 Analog"
		alsa.subdevice = "0"
		alsa.subdevice_name = "subdevice #0"
		alsa.device = "0"
		alsa.card = "0"
		alsa.card_name = "HDA Intel"
		alsa.long_card_name = "HDA Intel at 0xee400000 irq 31"
		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 = "27d8"
		device.product.name = "NM10/ICH7 Family High Definition Audio Controller (ThinkPad R60/T60/X60 series)"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "48000"
		device.buffering.fragment_size = "24000"
		device.access_mode = "mmap"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		alsa.mixer_name = "Analog Devices AD1981"
		alsa.components = "HDA:11d41981,17aa2025,00100200"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	Ports:
		analog-output-speaker: Speakers (priority: 10000)
	Active Port: analog-output-speaker
	Formats:
		pcm
Again, no headphones!

Yet you do have a headphone widget:

Code: Select all

Node 0x06 [Pin Complex] wcaps 0x400185: Stereo Amp-Out
  Amp-Out caps: ofs=0x3d, nsteps=0x3f, stepsize=0x05, mute=1
  Amp-Out vals:  [0xbf 0xbf]
  Pincap 0x0000001f: OUT HP Detect Trigger ImpSense
  Pin Default 0x422140f0: [N/A] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0xf, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=00, enabled=0
  Connection: 2
     0x03* 0x0e
But 0x40 is not the typical Pin-ctls setting, so let's try changing that and see what happens. Install alsa-tools so you can run this command:

Code: Select all

sudo hda-verb /dev/snd/hwC0D0 0x06 SET_PIN_WIDGET_CONTROL 0xc0
Test the sound in the headphones after running that and see if there's any difference.
Locked

Return to “Other Topics & Open Discussion”