No sound. please help (II)

Quick to answer questions about finding your way around Linux Mint as a new user.
Forum rules
There are no such things as "stupid" questions. However if you think your question is a bit stupid, then this is the right place for you to post it. Stick to easy to-the-point questions that you feel people can answer fast. For long and complicated questions use the other forums in the support section.
Before you post read how to get help. Topics in this forum are automatically closed 6 months after creation.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. please help (II)

Post by MrEen »

Ahh, sorry about that. Try it this way:

Code: Select all

sudo hdajacksensetest -d 2 -a
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. please help (II)

Post by MrEen »

And that has lead to the possible source of the issue.

Your built-in sound card is card 0 device 2, but PulseAudio is looking at card 0 device 0. Try this in the terminal then play some sound:

Code: Select all

pacmd load-module module-alsa-sink device=hw:0,2
You'll probably need to look in your sound settings for a new sink (output) to use after running that.
sinha_spandan
Level 1
Level 1
Posts: 24
Joined: Sat Apr 03, 2021 9:31 pm

Re: No sound. please help (II)

Post by sinha_spandan »

MrEen wrote: Sun Apr 04, 2021 9:36 pm And that has lead to the possible source of the issue.

Your built-in sound card is card 0 device 2, but PulseAudio is looking at card 0 device 0. Try this in the terminal then play some sound:

Code: Select all

pacmd load-module module-alsa-sink device=hw:0,2
You'll probably need to look in your sound settings for a new sink (output) to use after running that.



well after running this, the connection sound which happens when plugging in or plugging out the cord, that is back... but audio isnt coming out still, both terminal results are the same

Code: Select all

sudo hdajacksensetest -d 2 -a
Pin 0x12 (Not connected): present = No
Pin 0x14 (Green Line Out, Rear side): present = No
Pin 0x15 (Not connected): present = No
Pin 0x16 (Not connected): present = No
Pin 0x18 (Pink Mic, Rear side): present = No
Pin 0x19 (Pink Mic, Front side): present = No
Pin 0x1a (Blue Line In, Rear side): present = No
Pin 0x1b (Green Headphone, Front side): present = No
Pin 0x1c (Not connected): present = No
Pin 0x1d (Not connected): present = No
Pin 0x1e (Not connected): present = No
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. please help (II)

Post by MrEen »

Wow.

At least it sounds like we're getting close. If you've rebooted since your last post run this again:

Code: Select all

pacmd load-module module-alsa-sink device=hw:0,2
Then this one again:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
sinha_spandan
Level 1
Level 1
Posts: 24
Joined: Sat Apr 03, 2021 9:31 pm

Re: No sound. please help (II)

Post by sinha_spandan »

MrEen wrote: Mon Apr 05, 2021 7:34 pm Wow.

At least it sounds like we're getting close. If you've rebooted since your last post run this again:

Code: Select all

pacmd load-module module-alsa-sink device=hw:0,2
Then this one again:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
hmmmm
https://termbin.com/8snx
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. please help (II)

Post by MrEen »

I can't understand why this isn't working properly, try these:

Code: Select all

pacmd set-card-profile alsa_card.pci-0000_00_1b.0 output:analog-stereo+input:analog-stereo

Code: Select all

pacmd set-sink-port alsa_output.pci-0000_00_1b.0.analog-stereo analog-output-lineout

Code: Select all

pacmd set-default-sink alsa_output.pci-0000_00_1b.0.analog-stereo

Code: Select all

aplay /usr/share/sounds/alsa/Front_Center.wav
Any sound doing that?

And if/when it fails, paste the output of pacmd list-sinks again please.
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. please help (II)

Post by MrEen »

Let's also see the complete output of inxi -Fxz please.
sinha_spandan
Level 1
Level 1
Posts: 24
Joined: Sat Apr 03, 2021 9:31 pm

Re: No sound. please help (II)

Post by sinha_spandan »

MrEen wrote: Mon Apr 05, 2021 9:44 pm Let's also see the complete output of inxi -Fxz please.

Code: Select all

pacmd list-sinks
1 sink(s) available.
  * index: 1
	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: RUNNING
	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: 89.94 ms
	max request: 15 KiB
	max rewind: 15 KiB
	monitor source: 1
	sample spec: s16le 2ch 44100Hz
	channel map: front-left,front-right
	             Stereo
	used by: 1
	linked by: 1
	configured latency: 90.00 ms; range is 0.50 .. 371.52 ms
	card: 0 <alsa_card.pci-0000_00_1b.0>
	module: 7
	properties:
		alsa.resolution_bits = "16"
		device.api = "alsa"
		device.class = "sound"
		alsa.class = "generic"
		alsa.subclass = "generic-mix"
		alsa.name = "Generic Analog"
		alsa.id = "Generic 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 0xfeb78000 irq 27"
		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 (DeskTop Board D945GTP)"
		device.form_factor = "internal"
		device.string = "front:0"
		device.buffering.buffer_size = "65536"
		device.buffering.fragment_size = "32768"
		device.access_mode = "mmap+timer"
		device.profile.name = "analog-stereo"
		device.profile.description = "Analog Stereo"
		device.description = "Built-in Audio Analog Stereo"
		module-udev-detect.discovered = "1"
		device.icon_name = "audio-card-pci"
	ports:
		analog-output-lineout: Line Out (priority 9000, latency offset 0 usec, available: no)
			properties:
				
		analog-output-headphones: Headphones (priority 9900, latency offset 0 usec, available: no)
			properties:
				device.icon_name = "audio-headphones"
	active port: <analog-output-lineout>

Code: Select all

System:    Kernel: 5.4.0-66-generic x86_64 bits: 64 compiler: gcc v: 9.3.0 Desktop: Cinnamon 4.8.6 
           Distro: Linux Mint 20.1 Ulyssa base: Ubuntu 20.04 focal 
Machine:   Type: Desktop Mobo: N/A model: N/A serial: <filter> BIOS: American Megatrends v: 080014 date: 07/15/2016 
CPU:       Topology: Dual Core model: Intel Core2 Duo E8500 bits: 64 type: MCP arch: Penryn rev: A L2 cache: 6144 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 10105 
           Speed: 1596 MHz min/max: N/A Core speeds (MHz): 1: 1596 2: 1596 
Graphics:  Device-1: Intel 82G33/G31 Express Integrated Graphics driver: i915 v: kernel bus ID: 00:02.0 
           Display: x11 server: X.Org 1.20.9 driver: intel unloaded: fbdev,modesetting,vesa resolution: 1600x900~60Hz 
           OpenGL: renderer: Mesa DRI Intel G33 v: 1.4 Mesa 20.2.6 direct render: Yes 
Audio:     Device-1: Intel NM10/ICH7 Family High Definition Audio driver: snd_hda_intel v: kernel bus ID: 00:1b.0 
           Sound Server: ALSA v: k5.4.0-66-generic 
Network:   Device-1: Realtek RTL810xE PCI Express Fast Ethernet driver: r8169 v: kernel port: e800 bus ID: 02:00.0 
           IF: ens33 state: down mac: <filter> 
           Device-2: Realtek RTL8188EUS 802.11n Wireless Network Adapter type: USB driver: r8188eu bus ID: 1-2.1:5 
           IF: wlx503eaacd1d4c state: up mac: <filter> 
Drives:    Local Storage: total: 344.68 GiB used: 157.53 GiB (45.7%) 
           ID-1: /dev/sda vendor: Seagate model: ST3250318AS size: 232.89 GiB 
           ID-2: /dev/sdb vendor: Western Digital model: WDS120G2G0A-00JH30 size: 111.80 GiB 
Partition: ID-1: / size: 109.54 GiB used: 30.98 GiB (28.3%) fs: ext4 dev: /dev/sdb1 
Sensors:   System Temperatures: cpu: 41.0 C mobo: N/A 
           Fan Speeds (RPM): N/A 
Info:      Processes: 213 Uptime: 36m Memory: 3.83 GiB used: 1.96 GiB (51.2%) Init: systemd runlevel: 5 Compilers: gcc: 9.3.0 
           Shell: bash v: 5.0.17 inxi: 3.0.38 
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. please help (II)

Post by MrEen »

And I have a wild idea now. I've mainly told people to delete their ~/.asoundrc file when they have one, but your case is special.

In the terminal run touch ~/.asoundrc followed by xed ~/.asoundrc and when the file opens paste this in:

Code: Select all

pcm.!default {
        type hw
        card 0
        device 2
}

ctl.!default {
        type hw           
        card 0
        device 2
}
Save the file, reboot then test your sound.

EDIT: Oops, you should also delete an earlier edit we made with this:

Code: Select all

sudo rm /etc/modprobe.d/blacklist-realtek.conf
Do that before rebooting and testing.

There might still be the issue of jack detection, but I'm hoping not.
sinha_spandan
Level 1
Level 1
Posts: 24
Joined: Sat Apr 03, 2021 9:31 pm

Re: No sound. please help (II)

Post by sinha_spandan »

MrEen wrote: Mon Apr 05, 2021 9:58 pm And I have a wild idea now. I've mainly told people to delete their ~/.asoundrc file when they have one, but your case is special.

In the terminal run touch ~/.asoundrc followed by xed ~/.asoundrc and when the file opens paste this in:

Code: Select all

pcm.!default {
        type hw
        card 0
        device 2
}

ctl.!default {
        type hw           
        card 0
        device 2
}
Save the file, reboot then test your sound.

EDIT: Oops, you should also delete an earlier edit we made with this:

Code: Select all

sudo rm /etc/modprobe.d/blacklist-realtek.conf
Do that before rebooting and testing.

There might still be the issue of jack detection, but I'm hoping not.
may be it is a hardware problem???
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. please help (II)

Post by MrEen »

I can't really say if it's a hardware issue at all. The BIOS tells the OS what is where, and that could be the source of the trouble, but I'm somewhat doubting that, as ALSA is reporting different things in different places:

Code: Select all

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek Generic
Address: 2

Code: Select all

!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Code: Select all

[   10.039645] snd_hda_codec_generic hdaudioC0D2: autoconfig for Generic: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[   10.039648] snd_hda_codec_generic hdaudioC0D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   10.039650] snd_hda_codec_generic hdaudioC0D2:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   10.039651] snd_hda_codec_generic hdaudioC0D2:    mono: mono_out=0x0
[   10.039652] snd_hda_codec_generic hdaudioC0D2:    inputs:
[   10.039655] snd_hda_codec_generic hdaudioC0D2:      Front Mic=0x19
[   10.039656] snd_hda_codec_generic hdaudioC0D2:      Rear Mic=0x18
[   10.039658] snd_hda_codec_generic hdaudioC0D2:      Line=0x1a
In the first and last case, we are seeing Device 2 is the proper device, but the middle case shows device 0, and I believe that's where PulseAudio is getting it's info from.

Did you try the stuff in my last post? If so, and it didn't help, let's see this one more time please:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999
sinha_spandan
Level 1
Level 1
Posts: 24
Joined: Sat Apr 03, 2021 9:31 pm

Re: No sound. please help (II)

Post by sinha_spandan »

MrEen wrote: Tue Apr 06, 2021 6:55 pm I can't really say if it's a hardware issue at all. The BIOS tells the OS what is where, and that could be the source of the trouble, but I'm somewhat doubting that, as ALSA is reporting different things in different places:

Code: Select all

!!HDA-Intel Codec information
!!---------------------------
--startcollapse--

Codec: Realtek Generic
Address: 2

Code: Select all

!!Aplay/Arecord output
!!--------------------

APLAY

**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: Generic Analog [Generic Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Code: Select all

[   10.039645] snd_hda_codec_generic hdaudioC0D2: autoconfig for Generic: line_outs=1 (0x14/0x0/0x0/0x0/0x0) type:line
[   10.039648] snd_hda_codec_generic hdaudioC0D2:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[   10.039650] snd_hda_codec_generic hdaudioC0D2:    hp_outs=1 (0x1b/0x0/0x0/0x0/0x0)
[   10.039651] snd_hda_codec_generic hdaudioC0D2:    mono: mono_out=0x0
[   10.039652] snd_hda_codec_generic hdaudioC0D2:    inputs:
[   10.039655] snd_hda_codec_generic hdaudioC0D2:      Front Mic=0x19
[   10.039656] snd_hda_codec_generic hdaudioC0D2:      Rear Mic=0x18
[   10.039658] snd_hda_codec_generic hdaudioC0D2:      Line=0x1a
In the first and last case, we are seeing Device 2 is the proper device, but the middle case shows device 0, and I believe that's where PulseAudio is getting it's info from.

Did you try the stuff in my last post? If so, and it didn't help, let's see this one more time please:

Code: Select all

curl https://gitlab.freedesktop.org/pulseaudio/pulseaudio/raw/master/src/utils/pa-info?inline=false | bash | nc termbin.com 9999


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

Re: No sound. please help (II)

Post by MrEen »

Let's see these please:

Code: Select all

cat /proc/asound/card0/codec#0

Code: Select all

cat /proc/asound/card0/codec#2
I'm sure the first will fail, and the second will have output, but just want to confirm.
sinha_spandan
Level 1
Level 1
Posts: 24
Joined: Sat Apr 03, 2021 9:31 pm

Re: No sound. please help (II)

Post by sinha_spandan »

MrEen wrote: Tue Apr 06, 2021 9:48 pm Let's see these please:

Code: Select all

cat /proc/asound/card0/codec#0

Code: Select all

cat /proc/asound/card0/codec#2
I'm sure the first will fail, and the second will have output, but just want to confirm.

Code: Select all

 cat /proc/asound/card0/codec#0
cat: /proc/asound/card0/codec#0: No such file or directory

Code: Select all

cat /proc/asound/card0/codec#2
Codec: Realtek ALC662 rev3
Address: 2
AFG Function Id: 0x1 (unsol 1)
Vendor Id: 0x10ec0662
Subsystem Id: 0x00000000
Revision Id: 0x100300
No Modem Function Group found
Default PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
Default Amp-In caps: N/A
Default Amp-Out caps: N/A
State of AFG node 0x01:
  Power states:  D0 D1 D2 D3 CLKSTOP EPSS
  Power: setting=D0, actual=D0
GPIO: io=2, o=0, i=0, unsolicited=1, wake=0
  IO[0]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
  IO[1]: enable=0, dir=0, wake=0, sticky=0, data=0, unsol=0
Node 0x02 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Front Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Device: name="ALC662 rev3 Analog", type="Audio", device=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x03 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Surround Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x04 [Audio Output] wcaps 0x41d: Stereo Amp-Out
  Control: name="Center Playback Volume", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Volume", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x57, nsteps=0x57, stepsize=0x02, mute=0
  Amp-Out vals:  [0x57 0x57]
  Converter: stream=0, channel=0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x05 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x06 [Audio Output] wcaps 0x611: Stereo Digital
  Converter: stream=0, channel=0
  Digital:
  Digital category: 0x0
  IEC Coding Type: 0x0
  PCM:
    rates [0x5f0]: 32000 44100 48000 88200 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x07 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x08 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC662 rev3 Analog", type="Audio", device=0
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x27 0x27]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x23
Node 0x09 [Audio Input] wcaps 0x10051b: Stereo Amp-In
  Control: name="Capture Volume", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Capture Switch", index=1, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Device: name="ALC662 rev3 Alt Analog", type="Audio", device=2
  Amp-In caps: ofs=0x17, nsteps=0x3f, stepsize=0x02, mute=1
  Amp-In vals:  [0x3f 0x3f]
  Converter: stream=0, channel=0
  SDI-Select: 0
  PCM:
    rates [0x560]: 44100 48000 96000 192000
    bits [0xe]: 16 20 24
    formats [0x1]: PCM
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x22
Node 0x0a [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x0b [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Control: name="Front Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Front Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=1, ofs=0
  Control: name="Rear Mic Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Rear Mic Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Control: name="Line Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Line Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=2, ofs=0
  Control: name="Beep Playback Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Control: name="Beep Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=5, ofs=0
  Amp-In caps: ofs=0x17, nsteps=0x1f, stepsize=0x05, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 9
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16
Node 0x0c [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x00 0x00] [0x80 0x80]
  Connection: 2
     0x02 0x0b
Node 0x0d [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x03 0x0b
Node 0x0e [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x80 0x80]
  Connection: 2
     0x04 0x0b
Node 0x0f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x10 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x11 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x12 [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x00:
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x13 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x14 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Control: name="Front Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x0001003c: IN OUT HP EAPD Detect
  EAPD 0x2: EAPD
  Pin Default 0x01014c10: [Jack] Line Out at Ext Rear
    Conn = 1/8, Color = Green
    DefAssociation = 0x1, Sequence = 0x0
  Pin-ctls: 0x40: OUT
  Unsolicited: tag=05, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0c
Node 0x15 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000034: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0d
Node 0x16 [Pin Complex] wcaps 0x40058d: Stereo Amp-Out
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x00000034: IN OUT Detect
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Unsolicited: tag=00, enabled=0
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x0e
Node 0x17 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x18 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Center Playback Switch", index=0, device=0
    ControlAmp: chs=1, dir=Out, idx=0, ofs=0
  Control: name="LFE Playback Switch", index=0, device=0
    ControlAmp: chs=2, dir=Out, idx=0, ofs=0
  Control: name="Rear Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01a19c30: [Jack] Mic at Ext Rear
    Conn = 1/8, Color = Pink
    DefAssociation = 0x3, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=03, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x0c* 0x0d 0x0e
Node 0x19 [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Front Mic Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x03 0x03]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0000373c: IN OUT HP Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x02a19840: [Jack] Mic at Ext Front
    Conn = 1/8, Color = Pink
    DefAssociation = 0x4, Sequence = 0x0
  Pin-ctls: 0x24: IN VREF_80
  Unsolicited: tag=02, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x0c* 0x0d 0x0e
Node 0x1a [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Surround Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Control: name="Line Boost Volume", index=0, device=0
    ControlAmp: chs=3, dir=In, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x00 0x00]
  Pincap 0x00003734: IN OUT Detect
    Vref caps: HIZ 50 GRD 80 100
  Pin Default 0x01813c3e: [Jack] Line In at Ext Rear
    Conn = 1/8, Color = Blue
    DefAssociation = 0x3, Sequence = 0xe
  Pin-ctls: 0x20: IN VREF_HIZ
  Unsolicited: tag=04, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x0c* 0x0d 0x0e
Node 0x1b [Pin Complex] wcaps 0x40058f: Stereo Amp-In Amp-Out
  Control: name="Headphone Playback Switch", index=0, device=0
    ControlAmp: chs=3, dir=Out, idx=0, ofs=0
  Amp-In caps: ofs=0x00, nsteps=0x03, stepsize=0x27, mute=0
  Amp-In vals:  [0x00 0x00]
  Amp-Out caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-Out vals:  [0x80 0x80]
  Pincap 0x0001373c: IN OUT HP EAPD Detect
    Vref caps: HIZ 50 GRD 80 100
  EAPD 0x2: EAPD
  Pin Default 0x02214020: [Jack] HP Out at Ext Front
    Conn = 1/8, Color = Green
    DefAssociation = 0x2, Sequence = 0x0
  Pin-ctls: 0xc0: OUT HP VREF_HIZ
  Unsolicited: tag=01, enabled=1
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 3
     0x0c* 0x0d 0x0e
Node 0x1c [Pin Complex] wcaps 0x400401: Stereo
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1d [Pin Complex] wcaps 0x400400: Mono
  Pincap 0x00000020: IN
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x20: IN
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
Node 0x1e [Pin Complex] wcaps 0x400701: Stereo Digital
  Pincap 0x00000010: OUT
  Pin Default 0x411111f0: [N/A] Speaker at Ext Rear
    Conn = 1/8, Color = Black
    DefAssociation = 0xf, Sequence = 0x0
    Misc = NO_PRESENCE
  Pin-ctls: 0x40: OUT
  Power states:  D0 D1 D2 D3 EPSS
  Power: setting=D0, actual=D0
  Connection: 1
     0x06
Node 0x1f [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x20 [Vendor Defined Widget] wcaps 0xf00040: Mono
  Processing caps: benign=0, ncoeff=20
Node 0x21 [Vendor Defined Widget] wcaps 0xf00000: Mono
Node 0x22 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 11
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b 0x12
Node 0x23 [Audio Mixer] wcaps 0x20010b: Stereo Amp-In
  Amp-In caps: ofs=0x00, nsteps=0x00, stepsize=0x00, mute=1
  Amp-In vals:  [0x80 0x80] [0x00 0x00] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80] [0x80 0x80]
  Connection: 10
     0x18 0x19 0x1a 0x1b 0x1c 0x1d 0x14 0x15 0x16 0x0b
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. please help (II)

Post by MrEen »

Does this produce sound:

Code: Select all

aplay -D hw:0,2 /usr/share/sounds/alsa/Front_Center.wav
sinha_spandan
Level 1
Level 1
Posts: 24
Joined: Sat Apr 03, 2021 9:31 pm

Re: No sound. please help (II)

Post by sinha_spandan »

MrEen wrote: Wed Apr 07, 2021 7:01 pm Does this produce sound:

Code: Select all

aplay -D hw:0,2 /usr/share/sounds/alsa/Front_Center.wav

Code: Select all

aplay -D hw:0,2 /usr/share/sounds/alsa/Front_Center.wav
aplay: main:830: audio open error: No such file or directory
but the sound files are there.
Image

maybe the audio directory is missing???
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. please help (II)

Post by MrEen »

I'm suspecting that error is referring to the hardware reference we gave it, hw:0,2. I'm baffled why ALSA is putting up this fight, and seemingly ignoring the ~/.asoundrc file we created.

Go into your BIOS when you have a chance and see if you can disable the sound there. Do that for one boot, then enable it again on the next boot. You might also want to check if there's a BIOS update available for your machine.
sinha_spandan
Level 1
Level 1
Posts: 24
Joined: Sat Apr 03, 2021 9:31 pm

Re: No sound. please help (II)

Post by sinha_spandan »

MrEen wrote: Wed Apr 07, 2021 9:31 pm I'm suspecting that error is referring to the hardware reference we gave it, hw:0,2. I'm baffled why ALSA is putting up this fight, and seemingly ignoring the ~/.asoundrc file we created.

Go into your BIOS when you have a chance and see if you can disable the sound there. Do that for one boot, then enable it again on the next boot. You might also want to check if there's a BIOS update available for your machine.
Ok, i'll post what happens
User avatar
MrEen
Level 23
Level 23
Posts: 18343
Joined: Mon Jun 12, 2017 8:39 pm

Re: No sound. please help (II)

Post by MrEen »

Good luck.

I'm off to bed now, so it'll be another day before I can reply again.
sinha_spandan
Level 1
Level 1
Posts: 24
Joined: Sat Apr 03, 2021 9:31 pm

Re: No sound. please help (II)

Post by sinha_spandan »

MrEen wrote: Wed Apr 07, 2021 9:48 pm Good luck.

I'm off to bed now, so it'll be another day before I can reply again.

there were two options related to audio

https://termbin.com/wial some 97 codec

https://termbin.com/hwi4 something else starting with "A"
Locked

Return to “Beginner Questions”