You are not logged in.

#1 2021-07-24 14:59:23

tc1384
Member
Registered: 2021-07-24
Posts: 3

No sound on laptop

I've installed arch on a  old Toshiba Qosmio X505-Q892 which was purchased in 2011.

The sound is not working and it appears to be an issue with the snd_hda_intel module.

I have Toshiba's last released BIOS installed.

lspci -k | grep -A3 -i audio

00:1b.0 Audio device: Intel Corporation 5 Series/3400 Series Chipset High Definition Audio (rev 05)
	Subsystem: Toshiba Corporation Device ff50
	Kernel driver in use: snd_hda_intel
	Kernel modules: snd_hda_intel

So I unload the driver: rmmod snd_hda_intel

Jul 24 13:37:44 toshiba acpid[335]: input device has been disconnected, fd 9
Jul 24 13:37:44 toshiba acpid[335]: input device has been disconnected, fd 8
Jul 24 13:37:44 toshiba acpid[335]: input device has been disconnected, fd 7
Jul 24 13:37:44 toshiba acpid[335]: input device has been disconnected, fd 6
Jul 24 13:37:44 toshiba acpid[335]: input device has been disconnected, fd 11
Jul 24 13:37:44 toshiba acpid[335]: input device has been disconnected, fd 10

Now I reload it: modprobe snd_hda_intel

Jul 24 13:38:03 toshiba kernel: snd_hda_intel 0000:01:00.1: Disabling MSI
Jul 24 13:38:03 toshiba kernel: snd_hda_intel 0000:01:00.1: Handle vga_switcheroo audio client
Jul 24 13:38:03 toshiba kernel: input: HDA NVidia HDMI/DP,pcm=3 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input32
Jul 24 13:38:03 toshiba kernel: input: HDA NVidia HDMI/DP,pcm=7 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input33
Jul 24 13:38:03 toshiba kernel: input: HDA NVidia HDMI/DP,pcm=8 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input34
Jul 24 13:38:03 toshiba kernel: input: HDA NVidia HDMI/DP,pcm=9 as /devices/pci0000:00/0000:00:01.0/0000:01:00.1/sound/card2/input35
Jul 24 13:38:03 toshiba systemd[478]: Reached target Sound Card.
Jul 24 13:38:04 toshiba kernel: snd_hda_intel 0000:00:1b.0: azx_get_response timeout, switching to polling mode: last cmd=0x300f0000
Jul 24 13:38:05 toshiba kernel: snd_hda_intel 0000:00:1b.0: No response from codec, disabling MSI: last cmd=0x300f0000
Jul 24 13:38:06 toshiba kernel: snd_hda_intel 0000:00:1b.0: Codec #3 probe error; disabling it...
Jul 24 13:38:06 toshiba kernel: snd_hda_codec_conexant hdaudioC1D0: CX20583 (Pebble HSF): BIOS auto-probing.
Jul 24 13:38:06 toshiba kernel: snd_hda_codec_conexant hdaudioC1D0: autoconfig for CX20583 (Pebble HSF): line_outs=1 (0x1f/0x0/0x0/   0x0/0x0) type:speaker
Jul 24 13:38:06 toshiba kernel: snd_hda_codec_conexant hdaudioC1D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
Jul 24 13:38:06 toshiba kernel: snd_hda_codec_conexant hdaudioC1D0:    hp_outs=1 (0x19/0x0/0x0/0x0/0x0)
Jul 24 13:38:06 toshiba kernel: snd_hda_codec_conexant hdaudioC1D0:    mono: mono_out=0x0
Jul 24 13:38:06 toshiba kernel: snd_hda_codec_conexant hdaudioC1D0:    dig-out=0x20/0x0
Jul 24 13:38:06 toshiba kernel: snd_hda_codec_conexant hdaudioC1D0:    inputs:
Jul 24 13:38:06 toshiba kernel: snd_hda_codec_conexant hdaudioC1D0:      Internal Mic=0x1e
Jul 24 13:38:06 toshiba kernel: snd_hda_codec_conexant hdaudioC1D0:      Mic=0x1a
Jul 24 13:38:06 toshiba kernel: input: HDA Intel MID Mic as /devices/pci0000:00/0000:00:1b.0/sound/card1/input36
Jul 24 13:38:06 toshiba kernel: input: HDA Intel MID Headphone as /devices/pci0000:00/0000:00:1b.0/sound/card1/input37

And it gets disabled above at:

Jul 24 13:38:06 toshiba kernel: snd_hda_intel 0000:00:1b.0: Codec #3 probe error; disabling it...

I going to give more info but the primary issue I think is above.

/etc/modprobe.d/sound.conf

softdep snd-hda-intel pre: snd-aloop post: snd-usb-audio

#  pcm_substreams controls the number of subdevices
options snd-hda-intel model=auto
options snd-aloop index=0 pcm_substreams=2
options snd-hda-intel index=1
options snd-usb-audio index=4

cat /proc/asound/cards

 0 [Loopback       ]: Loopback - Loopback
                      Loopback 1
 1 [MID            ]: HDA-Intel - HDA Intel MID
                      HDA Intel MID at 0xf0900000 irq 32
 2 [NVidia         ]: HDA-Intel - HDA NVidia
                      HDA NVidia at 0xcbefc000 irq 17

I can start jackdbus, load  alsa_in,  alsa_out, and calf eq12.
All  the connection are made to the system playback_1 and playback2, and I see the audio signal from mpv but  there is no sound - because snd_hda_intel was disabled.



Do you have any suggestions as to what I might try to get this working?

Last edited by tc1384 (2021-07-24 18:55:16)

Offline

#2 2021-07-24 21:09:30

tc1384
Member
Registered: 2021-07-24
Posts: 3

Re: No sound on laptop

I am  wrong about the " Codec #3 probe error; disabling the sound.

I booted to a linux mint ISO and the sound is working on it with the same "Codec #3" error.

So I don't know what I'm missing with arch.

Offline

#3 2021-07-24 22:41:40

tc1384
Member
Registered: 2021-07-24
Posts: 3

Re: No sound on laptop

I finally got sound working but I'm not sure exactly what changed.

My solution was to install pulseaudio (normally run only jackdbus).

pulseaudio 
pulasaudio-jack
pulseaudio-alsa 
pulseaudio
pavucontrol

1. I stopped jack from loading on login and rebooted.
2. After rebooting pulseaudio was running.
3. I then started jack & the ALSA -> Pulseaudio -> Jack plugin
4. Started a video playing  - No Sound
5. Opened PavUControl and under  Output Devices clicked the speaker/unmute and sound started working.

Note, I had checked that the sound was unmuted  in AlsaMixer  many times.

I stopped pulseaudio and uninstall everything associated with it and sound continues to work.

Someone please enlighten me as to what clicking unmute in pavucontrol changed on the system...

Offline

Board footer

Powered by FluxBB