Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Audio device no longer on lspci
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware
View previous topic :: View next topic  
Author Message
vokiel
n00b
n00b


Joined: 01 Oct 2004
Posts: 69

PostPosted: Sat Sep 30, 2017 3:30 am    Post subject: Audio device no longer on lspci Reply with quote

I have an Asus laptop, suddenly I lost sound, rebooted and then lspci does not show any Audio device anymore.

I've done some work on it like enabled acpid and such. I'm not sure if the thing is toast and i need an RMA.

Anything I could check before doing so? There's not much of any indication that something is broken to be honest. dmesg just says no soundcards found.
Back to top
View user's profile Send private message
Jaglover
Watchman
Watchman


Joined: 29 May 2005
Posts: 7132
Location: Saint Amant, Acadiana

PostPosted: Sat Sep 30, 2017 4:14 am    Post subject: Reply with quote

Reset BIOS, if that does not help then I'd say you have hardware failure.
_________________
Please learn how to denote units correctly!
Back to top
View user's profile Send private message
vokiel
n00b
n00b


Joined: 01 Oct 2004
Posts: 69

PostPosted: Sun Oct 01, 2017 6:02 pm    Post subject: Reply with quote

Resetting the BIOS didn't change anything, guess I'll have to backup and send it back. :(
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 2642

PostPosted: Mon Oct 02, 2017 6:24 am    Post subject: Reply with quote

vokiel wrote:
Resetting the BIOS didn't change anything, guess I'll have to backup and send it back. :(

Did you try running lspci from a sysresccd stick or from another distro?
Back to top
View user's profile Send private message
NeddySeagoon
Administrator
Administrator


Joined: 05 Jul 2003
Posts: 43387
Location: 56N 3W

PostPosted: Mon Oct 02, 2017 10:22 am    Post subject: Reply with quote

vokiel,

lspci reads the PCI address space and extracts all the Vendor and Device IDs from all devices.
It looks them up in a table to get the strings.

If the device has vanished off the bus, its either disabled in the BIOS or faulty.
Even power save should not stop the device being identified.

There is a very long shot. Some devices are hidden behind bridges. The kernel can miss these.
However, when it does, whole PCI buses go missing.

Code:
/usr//src/linux/Documentation/admin-guide/kernel-parameters.txt
informs how to tell the kernel to search harder.
There is a lot of "mostly harmless" stuff there, scroll down to pci=option
_________________
Regards,

NeddySeagoon

Computer users fall into two groups:-
those that do backups
those that have never had a hard drive fail.
Back to top
View user's profile Send private message
vokiel
n00b
n00b


Joined: 01 Oct 2004
Posts: 69

PostPosted: Mon Oct 02, 2017 5:20 pm    Post subject: Reply with quote

charles17 wrote:
vokiel wrote:
Resetting the BIOS didn't change anything, guess I'll have to backup and send it back. :(

Did you try running lspci from a sysresccd stick or from another distro?


I did before the reset with not much more success. I might try that again, but if the thing isn't faulty, it can only be something made by acpid or laptop-mode for which it's a reasonable assumption to think a BIOS reset may reset whatever it did.

NeddySeagoon wrote:
vokiel,

lspci reads the PCI address space and extracts all the Vendor and Device IDs from all devices.
It looks them up in a table to get the strings.

If the device has vanished off the bus, its either disabled in the BIOS or faulty.
Even power save should not stop the device being identified.

There is a very long shot. Some devices are hidden behind bridges. The kernel can miss these.
However, when it does, whole PCI buses go missing.

Code:
/usr//src/linux/Documentation/admin-guide/kernel-parameters.txt
informs how to tell the kernel to search harder.
There is a lot of "mostly harmless" stuff there, scroll down to pci=option


Thanks I'll check it out, it's definitely worth a shot. I'd hate to send the thing back only to get some tech saying it works fine with Windows re-installed.
Back to top
View user's profile Send private message
vokiel
n00b
n00b


Joined: 01 Oct 2004
Posts: 69

PostPosted: Mon Oct 02, 2017 5:34 pm    Post subject: Reply with quote

And it's back... I definitely think this thing is faulty. Alsa boots up still not finding the soundcard, but it's back under lspci.

Code:

[   26.615129] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to polling mode: last cmd=0x20170500
[   27.619131] snd_hda_intel 0000:00:1f.3: No response from codec, disabling MSI: last cmd=0x20170500
[   28.620107] snd_hda_intel 0000:00:1f.3: azx_get_response timeout, switching to single_cmd mode: last cmd=0x20170500
[   28.624249] snd_hda_codec_generic hdaudioC0D2: Unable to sync register 0x2f0d00. -5
[   28.624349] snd_hda_codec_generic hdaudioC0D2: Unable to sync register 0x2f0d00. -5
[   45.810102] azx_single_send_cmd: 33 callbacks suppressed
[   55.572574] azx_single_send_cmd: 29 callbacks suppressed
[   83.311203] azx_single_send_cmd: 174 callbacks suppressed
[   99.968417] azx_single_send_cmd: 10 callbacks suppressed
[  105.003316] azx_single_send_cmd: 76 callbacks suppressed
[  112.987721] azx_single_send_cmd: 142 callbacks suppressed
[  125.171765] azx_single_send_cmd: 60 callbacks suppressed
[  132.315707] azx_single_send_cmd: 16 callbacks suppressed
[  324.869452] azx_single_send_cmd: 39 callbacks suppressed
[  429.204845] azx_single_send_cmd: 3 callbacks suppressed


Edit: added some symptoms from dmesg, if anyone stumbles on this thread with a similar issue.

In /var/log/messages, playing with mixer volume and speaker switches:

Code:

Oct  2 13:40:34 lepton root[6307]: ACPI event unhandled: button/volumeup VOLUP 00000080 00000000 K
Oct  2 13:40:53 lepton sudo[6187]: pam_unix(sudo:session): session closed for user root
Oct  2 13:41:06 lepton pulseaudio[4868]: [alsa-sink-ALC668 Analog] alsa-mixer.c: Failed to set switch of Speaker: Input/output error
Oct  2 13:41:08 lepton pulseaudio[4868]: [alsa-source-ALC668 Analog] alsa-mixer.c: Failed to set switch of Capture: Input/output error
Oct  2 13:41:12 lepton pulseaudio[4868]: [alsa-source-ALC668 Analog] alsa-mixer.c: Failed to set switch of Capture: Input/output error
Oct  2 13:41:12 lepton kernel: azx_single_send_cmd: 39 callbacks suppressed
Oct  2 13:41:14 lepton pulseaudio[4868]: [alsa-source-ALC668 Analog] alsa-mixer.c: Failed to set switch of Capture: Input/output error
Oct  2 13:41:16 lepton pulseaudio[4868]: [alsa-sink-ALC668 Analog] alsa-mixer.c: Failed to set switch of Speaker: Input/output error
Oct  2 13:42:43 lepton pulseaudio[4868]: [alsa-sink-ALC668 Analog] alsa-mixer.c: Failed to set switch of Speaker: Input/output error
Oct  2 13:42:56 lepton kernel: azx_single_send_cmd: 3 callbacks suppressed


Edit 2: Very strange indeed, I have it working with the right codecs now, I was missing generic analogue and/or the HDMI one. I've rebooted several times and I haven't seen it disappear from lspci as it did before. I'll continue updating this thread if anything comes amidst. I'm wondering about potential kernel/firmware bugs here, .. no matter I'm not privy enough with low level dev for my suspicions to be more than slight paranoia atm ;)
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Kernel & Hardware All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum