You are not logged in.

#1 2014-09-09 15:30:14

Tim Butters
Member
Registered: 2014-08-27
Posts: 6

[solved] No Headphone Sound After Kernel Upgrade

My laptop is an ASUS X550C with Realtek ALC270 codec.

My headphones worked fine before the kernel update with:

/etc/modprobe.d/sound.conf:

options snd-hda-intel model=inv-dmic

But after the upgrade to 3.16.2-1 I'm not getting anything. I've tried other options such as headset-mic (as I think it may be new and don't remember trying it when I first got the laptop), but with no success. All channels are unmuted and up in alsamixer.

Any help would be greatly appreciated!

Thanks.

Last edited by Tim Butters (2014-09-12 08:51:52)

Offline

#2 2014-09-09 15:39:00

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [solved] No Headphone Sound After Kernel Upgrade

aplay -lL;
lspci -vvnn | grep -A1 '040[1-3]';
cat /proc/asound/modules;
for i in $(awk '{print $2}' /proc/asound/modules | sort | uniq); do echo "--- $i ---"; systool -vm $i; done;
lsmod | grep ^snd;
fuser -v /dev/snd/*;
for i in /proc/asound/card[0-9]*; do echo "--- $i ---";amixer -c $(cat $i/id); done;
lsusb #if there is a usb sound card;
# or use the alsa-info script

 There are threads with similar problems, have you read them? Search for my posts. Check hdajackretask from alsa-tools.

Offline

#3 2014-09-09 16:12:30

CamelAmp
Member
Registered: 2014-09-09
Posts: 5

Re: [solved] No Headphone Sound After Kernel Upgrade

I had this problem on a recent kernel update. I fiddled with alsa-tools for a little while and it magically started working. I was on a laptop though, if your mobo has a built in sound card you might have more problems.


Primary: MSI z87-GD65 Mobo, Haswell i5 4670k @ 3.4GHZ baseclock, MSI Twin Frozr GTX 780 GPU, 16gig RAM 11-11-11, 2x 2TB HDD in RAID 0, 120GB SSD , 1TB HDD, all SATA 6.0. Win7 boot on SSD, Debian on 1TB HDD.
Laptop: Lenovo Ideapad u310 26GB SSD and 500GB HDD, running arch with XFCE on SSD, and arch with awesome on HDD.
Nexus 5 stock ROM rooted, ASUS Transformer t300 tablet rooted, stock OS.

Offline

#4 2014-09-09 17:16:16

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [solved] No Headphone Sound After Kernel Upgrade

@CamelAmp Stating "fiddling" with alsa-tools, which is a package, is not informative at all. There is always a logical reason, nothing to do with magic. If you have relevant information on this issue, please provide them.

Offline

#5 2014-09-09 21:22:16

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: [solved] No Headphone Sound After Kernel Upgrade

Did you reboot after the kernel update?

Offline

#6 2014-09-10 00:13:45

justin-8
Member
From: Queensland, Australia
Registered: 2013-06-18
Posts: 53

Re: [solved] No Headphone Sound After Kernel Upgrade

I've got this exact same issue. 3.15.x works fine, 3.16.1 and 3.16.2 both have this issue. The speakers in my laptop work fine, if I plug in headphones it is detected and shows plugged in via pavucontrol, and shows that it is outputting sound, but nothing comes out the port itself.

Offline

#7 2014-09-10 00:38:00

justin-8
Member
From: Queensland, Australia
Registered: 2013-06-18
Posts: 53

Re: [solved] No Headphone Sound After Kernel Upgrade

Fixed it. Adding this to a file in /etc/modprobe.d made my headphones work exactly as they used to (and speakers remained working too):

options snd-hda-intel index=1,0

Offline

#8 2014-09-11 07:57:01

Tim Butters
Member
Registered: 2014-08-27
Posts: 6

Re: [solved] No Headphone Sound After Kernel Upgrade

emeres - Thanks, I have looked at the other posts and hadn't found anything that helped.

After trying a few things with hdajackretask the headphones are now working. But, I haven't left anything 'retasked'. Does anybody know which file the program edits? I'd be interested to know if there are any additions that have solved the problem.

In alsamixer the Chip is now "Intel PantherPoint HDMI", rather than "ALC270 Analog", it's working so I'm not complaining, I just thought this was a little odd!

As everything's working I'm not looking to make any changes, but if anyone has any insight into why this is now solved that would be great!

emeres - here is the output from the script you posted

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default:CARD=PCH
    HDA Intel PCH, ALC270 Analog
    Default Audio Device
sysdefault:CARD=PCH
    HDA Intel PCH, ALC270 Analog
    Default Audio Device
front:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    Front speakers
surround21:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=PCH,DEV=0
    HDA Intel PCH, ALC270 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
hdmi:CARD=PCH,DEV=0
    HDA Intel PCH, HDMI 0
    HDMI Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: PCH [HDA Intel PCH], device 0: ALC270 Analog [ALC270 Analog]
  Subdevices: 0/1
  Subdevice #0: subdevice #0
card 0: PCH [HDA Intel PCH], device 3: HDMI 0 [HDMI 0]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
00:1b.0 Audio device [0403]: Intel Corporation 7 Series/C210 Series Chipset Family High Definition Audio Controller [8086:1e20] (rev 04)
	Subsystem: ASUSTeK Computer Inc. Device [1043:118f]
 0 snd_hda_intel


--- snd_hda_intel ---
Module = "snd_hda_intel"

  Attributes:
    coresize            = "26327"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "3"
    taint               = ""
    uevent              = <store method only>

  Parameters:
    align_buffer_size   = "-1"
    bdl_pos_adj         = "1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
    beep_mode           = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
    enable_msi          = "-1"
    enable              = "Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y,Y"
    id                  = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
    index               = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
    jackpoll_ms         = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
    model               = "headset-mic,(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
    patch               = "(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null),(null)"
    position_fix        = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
    power_save          = "0"
    power_save_controller= "Y"
    probe_mask          = "-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1"
    probe_only          = "0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0"
    single_cmd          = "N"
    snoop               = "Y"

  Sections:
    .bss                = "0xffffffffa09cda80"
    .data               = "0xffffffffa09cd000"
    .data.unlikely      = "0xffffffffa09cd7d0"
    .exit.text          = "0xffffffffa09ca930"
    .gnu.linkonce.this_module= "0xffffffffa09cd800"
    .init.text          = "0xffffffffa0713000"
    .note.gnu.build-id  = "0xffffffffa09cb000"
    .rodata             = "0xffffffffa09cb040"
    .rodata.str1.1      = "0xffffffffa09cbf02"
    .rodata.str1.8      = "0xffffffffa09cc2e0"
    .smp_locks          = "0xffffffffa09cc618"
    .strtab             = "0xffffffffa0716508"
    .symtab             = "0xffffffffa0714000"
    .text               = "0xffffffffa09c8000"
    __mcount_loc        = "0xffffffffa09cc848"
    __param             = "0xffffffffa09cc628"
    __verbose           = "0xffffffffa09cd640"

snd_hda_codec_hdmi     45117  1 
snd_hda_codec_realtek    67127  1 
snd_hda_codec_generic    63126  1 snd_hda_codec_realtek
snd_hda_intel          26327  3 
snd_hda_controller     26727  1 snd_hda_intel
snd_hda_codec         108552  5 snd_hda_codec_realtek,snd_hda_codec_hdmi,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              17244  1 snd_hda_codec
snd_pcm                88487  5 snd_hda_codec_hdmi,snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              26614  2 snd_pcm
snd                    69340  12 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_hda_codec_hdmi,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel


                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  tim        1095 F.... chrome
/dev/snd/pcmC0D0p:   tim        1095 F...m chrome
/dev/snd/timer:      tim        1095 f.... chrome


--- /proc/asound/card0 ---
Simple mixer control 'Master',0
  Capabilities: pvolume pvolume-joined pswitch pswitch-joined
  Playback channels: Mono
  Limits: Playback 0 - 87
  Mono: Playback 85 [98%] [-1.50dB] [on]
Simple mixer control 'Headphone',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 74 [85%] [-9.75dB] [on]
  Front Right: Playback 74 [85%] [-9.75dB] [on]
Simple mixer control 'Speaker',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 87
  Mono:
  Front Left: Playback 83 [95%] [-3.00dB] [on]
  Front Right: Playback 83 [95%] [-3.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 233 [91%] [-4.40dB]
  Front Right: Playback 233 [91%] [-4.40dB]
Simple mixer control 'Mic',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 31
  Mono:
  Front Left: Playback 0 [0%] [-34.50dB] [off]
  Front Right: Playback 0 [0%] [-34.50dB] [off]
Simple mixer control 'Mic Boost',0
  Capabilities: volume
  Playback channels: Front Left - Front Right
  Capture channels: Front Left - Front Right
  Limits: 0 - 3
  Front Left: 0 [0%] [0.00dB]
  Front Right: 0 [0%] [0.00dB]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]
Simple mixer control 'Capture',0
  Capabilities: cvolume cswitch
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 31
  Front Left: Capture 0 [0%] [-16.50dB] [off]
  Front Right: Capture 0 [0%] [-16.50dB] [off]
Simple mixer control 'Auto-Mute Mode',0
  Capabilities: enum
  Items: 'Disabled' 'Enabled'
  Item0: 'Enabled'
Simple mixer control 'Digital',0
  Capabilities: cvolume
  Capture channels: Front Left - Front Right
  Limits: Capture 0 - 120
  Front Left: Capture 60 [50%] [0.00dB]
  Front Right: Capture 60 [50%] [0.00dB]

Offline

#9 2014-09-11 08:16:20

justin-8
Member
From: Queensland, Australia
Registered: 2013-06-18
Posts: 53

Re: [solved] No Headphone Sound After Kernel Upgrade

I actually found out today when helping someone at work who has the same laptop and issue, that I also had to tick the set model=auto box in hdajackretask and save the boot overrides.

Offline

#10 2014-09-11 09:57:54

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [solved] No Headphone Sound After Kernel Upgrade

@Tim Butters First, the module snd-hda-intel is loaded with model=headset-mic, not inv-dmic, look at systool. As it is working and you want to find out why, you may want to reload the module using modprobe, read 'man modprobe'. Load the module without options, so that autoprobe can take care of that, and try using the previous module model parameter as well as headset-mic. Hdajackretask is a gui for hda-verb, which modifies the codecs configuration located in /proc/asound/card*/codec*. You also have auto-mute end iec598 enabled, some cards refuse to output sound in the analog path with those settings in place in my experience. So to disable run:

amixer -c PCH sset 'Auto-Mute Mode' Disabled
amixer -c PCH sset 'IEC958' off

 Auto-mute mode switches the headphones jack automatically on and off depending on load detection.

Edit: Corrected errors.

Last edited by emeres (2014-09-12 08:57:42)

Offline

#11 2014-09-12 08:51:18

Tim Butters
Member
Registered: 2014-08-27
Posts: 6

Re: [solved] No Headphone Sound After Kernel Upgrade

@emeres Thanks for your help with this, I will have a look at the things you have suggested to try to get to the bottom of it. The key thing is that it works!

Offline

#12 2014-09-12 08:56:13

emeres
Member
Registered: 2013-10-08
Posts: 1,570

Re: [solved] No Headphone Sound After Kernel Upgrade

 You are welcome. Remember to report back, when you find out something, others will benefit.

Offline

Board footer

Powered by FluxBB