Author Topic: sound gone - no sound card  (Read 6620 times)

superwow

  • Posts: 86
  • the Earth has music for those who listen-Santayana
    • View Profile
sound gone - no sound card
« on: May 26, 2015, 06:02:08 AM »
All,

I just did 'apt-get update && apt-get dist-upgrade' which I have been holding off for over a week. I have watched a number of bugs pop up and several be addressed with fixes, and the others I just applied 'apt-mark hold'. It pulled in the new kernel (4.0), though, per Packrat's post about corruption of ext4, I have not loaded that kernel. Everything seems to work except my sound. No sound output either from headphones or speakers. Alsamixer lets me change sound levels, but does not see a sound card (via F6), even though pre-update it did. So I am trying to figure out how to get sound back. Output below indicates I have drivers installed, but, the soundcard itself is not recognized? I read through other user groups for advice, but none specific to this recent stretch update.

Just to let you know, I apt-mark hold iceweasel, in part because of a gstreamer bug. Not sure if that matters.

Details follow:

Code: [Select]

inxi -AMS
System:    Host: grmldeb Kernel: 3.16.0-4-amd64 x86_64 (64 bit) Desktop: N/A Distro: Debian GNU/Linux stretch/sid
Machine:   System: Hewlett-Packard product: HP ENVY 4 Notebook PC v: 0795100000205600000320100
           Mobo: Hewlett-Packard model: 1894 v: 72.66 Bios: Insyde v: F.23 date: 01/15/2013
Audio:     Card Intel 7 Series/C210 Series Family High Definition Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture v: k3.16.0-4-amd64


Code: [Select]
aplay -l
aplay: device_list:268: no soundcards found...

Code: [Select]
lspci | grep -i audio
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)

Code: [Select]
lspci -v                                                                                                                       
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: ivb_uncore

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, fast devsel, latency 0, IRQ 49
Memory at 50000000 (64-bit, non-prefetchable) [size=4M]
Memory at 40000000 (64-bit, prefetchable) [size=256M]
I/O ports at 3000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915

00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, medium devsel, latency 0, IRQ 44
Memory at 50700000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at 50714000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: mei_me

00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at 50719000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, fast devsel, latency 0, IRQ 47
Memory at 50710000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: 50600000-506fffff
Prefetchable memory behind bridge: 0000000050400000-00000000504fffff
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: 50500000-505fffff
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at 50718000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: lpc_ich

00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 45
I/O ports at 3088 [size=8]
I/O ports at 3094 [size=4]
I/O ports at 3080 [size=8]
I/O ports at 3090 [size=4]
I/O ports at 3060 [size=32]
Memory at 50717000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1894
Flags: medium devsel, IRQ 19
Memory at 50715000 (64-bit, non-prefetchable) [size=256]
I/O ports at 3040 [size=32]

01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at 50600000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: rtsx_pci

01:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, fast devsel, latency 0, IRQ 42
I/O ports at 2000 [size=256]
Memory at 50404000 (64-bit, prefetchable) [size=4K]
Memory at 50400000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169

02:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at 50500000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi

Code: [Select]
dmesg | grep audio
[    3.115263] sound hdaudioC0D0: autoconfig: line_outs=1 (0xd/0x0/0x0/0x0/0x0) type:speaker
[    3.115267] sound hdaudioC0D0:    speaker_outs=0 (0x0/0x0/0x0/0x0/0x0)
[    3.115270] sound hdaudioC0D0:    hp_outs=1 (0xb/0x0/0x0/0x0/0x0)
[    3.115271] sound hdaudioC0D0:    mono: mono_out=0x0
[    3.115273] sound hdaudioC0D0:    inputs:
[    3.115275] sound hdaudioC0D0:      Internal Mic=0x11
[    3.115277] sound hdaudioC0D0:      Mic=0xc
[    3.195204] input: HDA Digital PCBeep as /devices/pci0000:00/0000:00:1b.0/sound/card0/hdaudioC0D0/input9


Code: [Select]
apt-cache policy pulseaudio
pulseaudio:
  Installed: 6.0-2
  Candidate: 6.0-2
  Version table:
 *** 6.0-2 0
        500 http://ftp.us.debian.org/debian/ sid/main amd64 Packages
        100 /var/lib/dpkg/status


It strikes me that something about the sound card may have moved into the kernel, and all the other apps updated at the same time as the kernel, but I haven't loaded the new kernel yet. Could this be the case?

Otherwise, any help provided will get you a hearty thanks.

PackRat

  • Posts: 2235
    • View Profile
    • PackRat configs on github
Re: sound gone - no sound card
« Reply #1 on: May 26, 2015, 12:29:09 PM »
what is the output of:

Code: [Select]
lsmod | grep snd

and

lsmod | grep intel

I have an HP laptop as well, I think the module that needs to load is snd_hda_intel.

Do you get sound from a live CD session? If so, you can boot from that just to verify the card is still working.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

superwow

  • Posts: 86
  • the Earth has music for those who listen-Santayana
    • View Profile
Re: sound gone - no sound card
« Reply #2 on: May 27, 2015, 03:01:10 AM »
Packrat,

Thanks for the response. Here's the output you asked for:

Code: [Select]
superwow@grmldeb ~ % lsmod | grep snd                                                                                                                      v52%
snd_hda_codec_hdmi     45118  1
snd_hda_codec_idt      48816  1
snd_hda_codec_generic    63142  1 snd_hda_codec_idt
snd_hda_intel          26327  0
snd_hda_controller     26646  1 snd_hda_intel
snd_hda_codec         104463  5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              13148  1 snd_hda_codec
snd_pcm                88662  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26614  1 snd_pcm
snd                    65244  8 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore              13026  2 snd,snd_hda_codec
superwow@grmldeb ~ % lsmod | grep intel                                                                                                                    v52%
intel_powerclamp       17159  0
intel_rapl             17356  0
ghash_clmulni_intel    12978  0
aesni_intel           151423  3
aes_x86_64             16719  1 aesni_intel
lrw                    12757  1 aesni_intel
glue_helper            12695  1 aesni_intel
ablk_helper            12572  1 aesni_intel
cryptd                 14516  3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd_hda_intel          26327  0
snd_hda_controller     26646  1 snd_hda_intel
snd_hda_codec         104463  5 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_pcm                88662  4 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd                    65244  8 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
intel_smartconnect     12448  0
crc32c_intel           21809  0
thermal_sys            27642  6 fan,video,intel_powerclamp,thermal,processor,x86_pkg_temp_thermal
 

I have not booted from live cd yet. Let me shutdown and boot into my other install, Lubuntu, and I can report back.

superwow

  • Posts: 86
  • the Earth has music for those who listen-Santayana
    • View Profile
Re: sound gone - no sound card
« Reply #3 on: May 27, 2015, 04:09:27 AM »
Logged back in now, on the other side, Lubuntu install. So, interesting little experiment here. Audio is fine inside Lubuntu.

The scientist in me requires I repeat post output. So, for posterity and onlookers:

Code: [Select]
superwow@rlyeh ~ % inxi -ASM                                               ^22%
System:    Host: rlyeh Kernel: 3.13.0-49-generic x86_64 (64 bit) Desktop: Openbox 3.5.2 Distro: Ubuntu 14.04 trusty
Machine:   System: Hewlett-Packard (portable) product: HP ENVY 4 Notebook PC version: 0795100000205600000320100
           Mobo: Hewlett-Packard model: 1894 version: 72.66 Bios: Insyde version: F.23 date: 01/15/2013
Audio:     Card: Intel 7 Series/C210 Series Family High Definition Audio Controller driver: snd_hda_intel
           Sound: Advanced Linux Sound Architecture ver: k3.13.0-49-generic

Code: [Select]
superwow@rlyeh ~ % lspci | grep -i audio                                                                      ^38%
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)

Code: [Select]
1 superwow@rlyeh ~ % lsmod | grep intel                                                                   :(  ^24%
snd_hda_intel          56531  0
snd_hda_codec         192906  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
intel_rapl             18773  0
intel_powerclamp       14705  0
snd_pcm               102099  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
ghash_clmulni_intel    13216  0
aesni_intel            55624  2
aes_x86_64             17131  1 aesni_intel
lrw                    13286  1 aesni_intel
glue_helper            13990  1 aesni_intel
ablk_helper            13597  1 aesni_intel
cryptd                 20359  3 ghash_clmulni_intel,aesni_intel,ablk_helper
snd                    69322  11 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
intel_smartconnect     12619  0

Code: [Select]
superwow@rlyeh ~ % lsmod | grep snd                                                                           ^28%
snd_hda_codec_hdmi     46368  1
snd_hda_codec_idt      54762  1
snd_hda_intel          56531  0
snd_hda_codec         192906  3 snd_hda_codec_hdmi,snd_hda_codec_idt,snd_hda_intel
snd_hwdep              13602  1 snd_hda_codec
snd_pcm               102099  3 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel
snd_page_alloc         18710  2 snd_pcm,snd_hda_intel
snd_seq_midi           13324  0
snd_seq_midi_event     14899  1 snd_seq_midi
snd_rawmidi            30144  1 snd_seq_midi
snd_seq                61560  2 snd_seq_midi_event,snd_seq_midi
snd_seq_device         14497  3 snd_seq,snd_rawmidi,snd_seq_midi
snd_timer              29482  2 snd_pcm,snd_seq
snd                    69322  11 snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_hda_codec_idt,snd_pcm,snd_seq,snd_rawmidi,snd_hda_codec,snd_hda_intel,snd_seq_device,snd_seq_midi
soundcore              12680  1 snd

Code: [Select]
superwow@rlyeh ~ % aplay -l                                                                                   ^29%
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: 92HD91BXX Analog [92HD91BXX Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0

Code: [Select]
superwow@rlyeh ~ % lspci | grep -i audio                                                                      ^30%
00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)

Code: [Select]
superwow@rlyeh ~ % lspci -v                                                                                   ^30%
00:00.0 Host bridge: Intel Corporation 3rd Gen Core processor DRAM Controller (rev 09)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, fast devsel, latency 0
Capabilities: <access denied>

00:02.0 VGA compatible controller: Intel Corporation 3rd Gen Core processor Graphics Controller (rev 09) (prog-if 00 [VGA controller])
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, fast devsel, latency 0, IRQ 48
Memory at 50000000 (64-bit, non-prefetchable) [size=4M]
Memory at 40000000 (64-bit, prefetchable) [size=256M]
I/O ports at 3000 [size=64]
Expansion ROM at <unassigned> [disabled]
Capabilities: <access denied>
Kernel driver in use: i915

00:14.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB xHCI Host Controller (rev 04) (prog-if 30 [XHCI])
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, medium devsel, latency 0, IRQ 42
Memory at 50700000 (64-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: xhci_hcd

00:16.0 Communication controller: Intel Corporation 7 Series/C210 Series Chipset Family MEI Controller #1 (rev 04)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, fast devsel, latency 0, IRQ 46
Memory at 50714000 (64-bit, non-prefetchable) [size=16]
Capabilities: <access denied>
Kernel driver in use: mei_me

00:1a.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #2 (rev 04) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, medium devsel, latency 0, IRQ 16
Memory at 50719000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci

00:1b.0 Audio device: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, fast devsel, latency 0, IRQ 49
Memory at 50710000 (64-bit, non-prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: snd_hda_intel

00:1c.0 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 1 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=01, subordinate=01, sec-latency=0
I/O behind bridge: 00002000-00002fff
Memory behind bridge: 50600000-506fffff
Prefetchable memory behind bridge: 0000000050400000-00000000504fffff
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1c.1 PCI bridge: Intel Corporation 7 Series/C210 Series Chipset Family PCI Express Root Port 2 (rev c4) (prog-if 00 [Normal decode])
Flags: bus master, fast devsel, latency 0
Bus: primary=00, secondary=02, subordinate=02, sec-latency=0
Memory behind bridge: 50500000-505fffff
Capabilities: <access denied>
Kernel driver in use: pcieport

00:1d.0 USB controller: Intel Corporation 7 Series/C210 Series Chipset Family USB Enhanced Host Controller #1 (rev 04) (prog-if 20 [EHCI])
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, medium devsel, latency 0, IRQ 23
Memory at 50718000 (32-bit, non-prefetchable) [size=1K]
Capabilities: <access denied>
Kernel driver in use: ehci-pci

00:1f.0 ISA bridge: Intel Corporation HM77 Express Chipset LPC Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, medium devsel, latency 0
Capabilities: <access denied>
Kernel driver in use: lpc_ich

00:1f.2 RAID bus controller: Intel Corporation 82801 Mobile SATA Controller [RAID mode] (rev 04)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, 66MHz, medium devsel, latency 0, IRQ 44
I/O ports at 3088 [size=8]
I/O ports at 3094 [size=4]
I/O ports at 3080 [size=8]
I/O ports at 3090 [size=4]
I/O ports at 3060 [size=32]
Memory at 50717000 (32-bit, non-prefetchable) [size=2K]
Capabilities: <access denied>
Kernel driver in use: ahci

00:1f.3 SMBus: Intel Corporation 7 Series/C210 Series Chipset Family SMBus Controller (rev 04)
Subsystem: Hewlett-Packard Company Device 1894
Flags: medium devsel, IRQ 10
Memory at 50715000 (64-bit, non-prefetchable) [size=256]
I/O ports at 3040 [size=32]

01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. Device 5289 (rev 01)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, fast devsel, latency 0, IRQ 43
Memory at 50600000 (32-bit, non-prefetchable) [size=64K]
Capabilities: <access denied>
Kernel driver in use: rtsx_pci

01:00.2 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0a)
Subsystem: Hewlett-Packard Company Device 1894
Flags: bus master, fast devsel, latency 0, IRQ 45
I/O ports at 2000 [size=256]
Memory at 50404000 (64-bit, prefetchable) [size=4K]
Memory at 50400000 (64-bit, prefetchable) [size=16K]
Capabilities: <access denied>
Kernel driver in use: r8169

02:00.0 Network controller: Intel Corporation Centrino Wireless-N 2230 (rev c4)
Subsystem: Intel Corporation Centrino Wireless-N 2230 BGN
Flags: bus master, fast devsel, latency 0, IRQ 47
Memory at 50500000 (64-bit, non-prefetchable) [size=8K]
Capabilities: <access denied>
Kernel driver in use: iwlwifi

Code: [Select]
superwow@rlyeh ~ % dmesg | grep audio                                                                         ^30%
1 superwow@rlyeh ~ %   

So, the update in Debian .... removed my sound card ...???

Computer say no.

I am guessing on my vanilla stretch install there is a driver or dependency missing which is required to sense the soundcard. I just don''t know what it is. Know what is missing from my stretch?

superwow

  • Posts: 86
  • the Earth has music for those who listen-Santayana
    • View Profile
Re: sound gone - no sound card
« Reply #4 on: May 27, 2015, 04:42:03 AM »
In Lubuntu, I played music and streamed radio without issue. I updated grub as well. And then shutdown -h now.

Boot into Debian, and ... wait not into x just yet!! In tty, where I generally boot to, I thought, well heck let me see if I can stream or play local from CLI.

He navigates to his audiofiction folders. He mpg321 some .mpg. He hears sound. Audiofiction. He slaps head in disgust.

Whaaaat? I have literally done nothing aside from update grub. Um. Scratches head and thanks Packrat for entertaining me. Hopefully I will be more entertaining next time. Incidentally, automatically loaded the new linux kernel ... 4.0.0-1 installed from Debian sid repos. Maybe that was the issue, soundcard drivers kernelized?

The above portion was in my first xsession. I have been playing around with multiple window managers and have edited my xinitrc and xsession files and found errors. So edited, then killed x, then came back. Prior to killing x, I was streaming music. After killing x then restarting cwm, no streaming, no audio.

Perplexed.

PackRat

  • Posts: 2235
    • View Profile
    • PackRat configs on github
Re: sound gone - no sound card
« Reply #5 on: May 27, 2015, 10:37:08 AM »
It sounds like you might have the "two sound cards" issue I have to deal with on my desktop.

In your Lubuntu install, jf you go into alsamixer, are there two or more choices with the select sound card option? If so, your Debian install is not registering the card.

This is a pretty easy fix. I'm on my phone right now, I'll post a link after I take my daughter to school. It's a link for skackware, but works on Debian.

Take a look at these -

change default sound card in slackware - works with debian

same method, expanded discussion vector linux forum

the Debian Wiki sort of addresses this issue as well, but the Slackware pages are written better IMO.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

superwow

  • Posts: 86
  • the Earth has music for those who listen-Santayana
    • View Profile
Re: sound gone - no sound card
« Reply #6 on: May 28, 2015, 05:29:37 AM »
Packrat, thanks for the feedback. So, why would I be able to play local audio files and stream internet radio in tty, but similar attempts fail in x? Weird.

Incidentally, in x,

Code: [Select]
superwow@grmldeb ~ % cat /proc/asound/modules                                                                                                              v39%
 0 snd_hda_intel
superwow@grmldeb ~ % aplay -l                                                                                                                              v34%
aplay: device_list:268: no soundcards found...
superwow@grmldeb ~ % more /etc/modprobe.d/sound                                                                                                            v34%
more: stat of /etc/modprobe.d/sound failed: No such file or directory

Oh yeh, and incidentally, I tried to stream radio via mpg321 and get an alsa output:

Code: [Select]
mpg321 http://somafm.com/poptron.pls                                                                                            :(  v32%
... ...
Directory: http:
Playing MPEG stream from somafm.com ...
MPEG 1.0 layer III, 128 kbit/s, 44100 Hz stereo
ALSA lib pcm.c:2239:(snd_pcm_open_noupdate) Unknown PCM cards.pcm.front


which led me on a short goose chase and then to issue

Code: [Select]
superwow@grmldeb ~ % grep snd ~/.xsession-errors                                                                                                           v30%
1 superwow@grmldeb ~ % 

1 superwow@grmldeb ~ % sudo lsmod | grep 2835                                                                                                          :(  v28%
[sudo] password for superwow:


No errors, but looks like the sound driver is not loaded ... when I am in x ... ??? How does sound play when in tty though?

Could it be Colonel Mustard in the Billiard Room with a spanner?

PackRat

  • Posts: 2235
    • View Profile
    • PackRat configs on github
Re: sound gone - no sound card
« Reply #7 on: May 28, 2015, 10:30:21 AM »
I did a search of "sound in tty no sound in X" and got a bunch of results. Appears to be a pulseaudio issue. Including no permission to use the sound device in X.

You using pulseaudio or did you switch to alsa?

If you're using pulseaudio, there appears to be some quick fixes using systemctl commands. Repeat the search and see which matches up wuth your issue. Some people actually filed bug reports on it.
I am tired of talk that comes to nothing.
-- Chief Joseph

...the sun, the darkness, the winds are all listening to what we have to say.
-- Geronimo

superwow

  • Posts: 86
  • the Earth has music for those who listen-Santayana
    • View Profile
Re: sound gone - no sound card
« Reply #8 on: May 29, 2015, 05:56:50 AM »
Packrat,

Now that you mention your search, it occurs to me that I was using unbubble to search. I went to google and got a lot more search results.

Incidentally, reading through some of them, I should mention I do not have lightdm. I start x from tty via 'xinit xxx', having edited my .xsession to reflect a bunch of different wm's. According this post alsa must be started by the display manager, kdm on his system, and I assume lightdm for non-KDE environments, both of which have to be started with systemd. I have neither lightdm nor kdm. I don't want no damn dm. I do have systemd. In that respect, my system is the same pre-4.0 (ie, 3.16) and post-4.0, on both I have systemd but not lightdm. But it makes me wonder, what has changed with systemd with this most recent kernel upgrade? or is it merely the kernel change?

I might have to reconfigure alsa-base via 'dpkg-reconfigure alsa-base' or an alternative might be to use 'dkms' to automatically reconfigure alsa each time I update my kernel. I think this alsa issue is identical to the one described here (which is actually a pleasurable read for me since I love doing junk in terminal and the ixtmixilix kinda rants and I love it.

So for now, this is a housekeeping post. I'll report back after researching which method is the best and implementing it.