You are not logged in.

#1 2014-09-01 10:25:43

Bombombom
Member
Registered: 2014-09-01
Posts: 13

no sound with snd-hda-intel (Realtek ALC260)

Hello,

I've been trying to make my sound work with no success, i'm basically in the same case as this topic : https://bbs.archlinux.org/viewtopic.php?id=17347 but hints are references to now dead links.

I've played with modprobe and different settings like :

alias snd-card-0 snd-hda-intel
alias sound-slot-0 snd-hda-intel
options snd-hda-intel model=generic

with no success.

Here some more infos on my system :

[caribou@arch ~]$ lsmod|grep snd 
snd_hda_codec_realtek    62023  1 
snd_hda_codec_generic    57972  3 snd_hda_codec_realtek
snd_hda_intel          25959  4 
snd_hda_controller     26327  1 snd_hda_intel
snd_hda_codec          93753  4 snd_hda_codec_realtek,snd_hda_codec_generic,snd_hda_intel,snd_hda_controller
snd_hwdep              12906  1 snd_hda_codec
snd_pcm                73796  3 snd_hda_codec,snd_hda_intel,snd_hda_controller
snd_timer              22010  1 snd_pcm
snd                    55101  15 snd_hda_codec_realtek,snd_hwdep,snd_timer,snd_pcm,snd_hda_codec_generic,snd_hda_codec,snd_hda_intel
soundcore              12895  2 snd,snd_hda_codec

[caribou@arch ~]$ lspci -vv|grep Audio 
00:1b.0 Audio device: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller (rev 03)

[caribou@arch ~]$ grep Codec /proc/asound/card*/codec*
/proc/asound/card0/codec#0:Codec: Realtek ALC260
/proc/asound/card0/codec#1:Codec: Conexant ID 2bfa

[caribou@arch ~]$ cat /proc/asound/devices 
  2: [ 0]   : control
  3: [ 0- 0]: digital audio playback
  4: [ 0- 0]: digital audio capture
  5: [ 0- 1]: digital audio playback
  6: [ 0- 0]: hardware dependent
  7: [ 0- 1]: hardware dependent
 33:        : timer

(unfortunately i don't have any headphones to test if that part is working)

Thanks for your help.

Offline

#2 2014-09-01 10:37:51

brebs
Member
Registered: 2007-04-03
Posts: 3,742

Re: no sound with snd-hda-intel (Realtek ALC260)

If this shows 2 entries:

cat /proc/asound/cards

Then switch them around, to make the desired card the *default*.

Offline

#3 2014-09-01 11:19:23

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

Re: no sound with snd-hda-intel (Realtek ALC260)

@Bombombom You can see which one is default according to hardware path by running:

lspci -vnn | grep -A1 -i audio;

The first one listed will be the first sound card. Brebs offered the solution, so there is nothing to add there. But if you are interested, you could also try setting the alias for snd-hda-intel to 'snd-card-1' or 'sound-slot-1', it should work the same way. Should you try it, please report back, I am interested in confirmation.

Offline

#4 2014-09-01 14:26:12

Bombombom
Member
Registered: 2014-09-01
Posts: 13

Re: no sound with snd-hda-intel (Realtek ALC260)

[caribou@arch ~]$ cat /proc/asound/cards
 0 [Intel          ]: HDA-Intel - HDA Intel
                      HDA Intel at 0x80000000 irq 41

[caribou@arch ~]$ lspci -vnn | grep -A1 -i audio;
00:1b.0 Audio device [0403]: Intel Corporation 82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller [8086:2668] (rev 03)
	Subsystem: Sony Corporation Device [104d:81bb]

If i'm reading well there is only one card so i'm not sure what i can do.

My modprobe.conf after the 0 to 1 switch:

alias floppy off
blacklist fd0
blacklist floppy
blacklist ipv6
blacklist bcma
blacklist pcspkr
blacklist snd_pcsp

alias snd-card-1 snd-hda-intel
alias sound-slot-1 snd-hda-intel
options snd-hda-intel model=generic

It didn't help.

One thing though, before adding anything to the file (0 or 1) alsamixer was defaulted to HDA Intel but it is now Pulseaudio.

Offline

#5 2014-09-01 14:58:46

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

Re: no sound with snd-hda-intel (Realtek ALC260)

 I misinterpreted that you definitely have two sound cards, you have two codecs on one sound card it seems. But use the ignore case switch while grepping next time and the additional switches '-nnv' for lspci anyway. Provide the usual:

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

 Skip whatever has been posted already if I missed it. Did you put those module option lines one by one or altogether in the same file? You should have used only one at a time, but this is irrelevant here, since there is only one card.
 Do you use pulseaudio? Do you have pulseaudio-alsa installed? It seems the  default device is 0. Try speaker-test:

speaker-test -c 2 -t wav -D plug:"dmix:{CARD 0 DEV 0}"
speaker-test -c 2 -t wav -D plug:"dmix:{CARD 0 DEV 1}"

 Try it for all devices, report what works, what does not and what errors there are.

Offline

#6 2014-09-01 15:48:28

Bombombom
Member
Registered: 2014-09-01
Posts: 13

Re: no sound with snd-hda-intel (Realtek ALC260)

Your script:

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=Intel
    HDA Intel, ALC260 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    Front speakers
surround21:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC260 Digital
    IEC958 (S/PDIF) Digital Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC260 Analog [ALC260 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC260 Digital [ALC260 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
--- snd_hda_intel ---
Module = "snd_hda_intel"

  Attributes:
    coresize            = "25959"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "4"
    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               = "generic,(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                = "0xe0bfa800"
    .data               = "0xe0bfa000"
    .data.unlikely      = "0xe0bfa670"
    .exit.text          = "0xe0bf76d5"
    .gnu.linkonce.this_module= "0xe0bfa680"
    .init.text          = "0xe0c43000"
    .note.gnu.build-id  = "0xe0bf8000"
    .rodata             = "0xe0bf8040"
    .rodata.str1.1      = "0xe0bf8b58"
    .rodata.str1.4      = "0xe0bf8f40"
    .smp_locks          = "0xe0bf925c"
    .strtab             = "0xe0c458d0"
    .symtab             = "0xe0c44000"
    .text               = "0xe0bf5000"
    __mcount_loc        = "0xe0bf937c"
    __param             = "0xe0bf926c"
    __verbose           = "0xe0bfa580"

--- /proc/asound/card0 ---
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Line',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',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 - 35
  Front Left: Capture 12 [34%] [12.00dB] [on]
  Front Right: Capture 12 [34%] [12.00dB] [on]
Simple mixer control 'Dock Line',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  caribou     298 F.... volumeicon
                     caribou     344 F.... pulseaudio
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
[caribou@arch ~]$ bash soundscript.sh 
null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=Intel
    HDA Intel, ALC260 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    Front speakers
surround21:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC260 Digital
    IEC958 (S/PDIF) Digital Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC260 Analog [ALC260 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC260 Digital [ALC260 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
--- snd_hda_intel ---
Module = "snd_hda_intel"

  Attributes:
    coresize            = "25959"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "4"
    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               = "generic,(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                = "0xe0bfa800"
    .data               = "0xe0bfa000"
    .data.unlikely      = "0xe0bfa670"
    .exit.text          = "0xe0bf76d5"
    .gnu.linkonce.this_module= "0xe0bfa680"
    .init.text          = "0xe0c43000"
    .note.gnu.build-id  = "0xe0bf8000"
    .rodata             = "0xe0bf8040"
    .rodata.str1.1      = "0xe0bf8b58"
    .rodata.str1.4      = "0xe0bf8f40"
    .smp_locks          = "0xe0bf925c"
    .strtab             = "0xe0c458d0"
    .symtab             = "0xe0c44000"
    .text               = "0xe0bf5000"
    __mcount_loc        = "0xe0bf937c"
    __param             = "0xe0bf926c"
    __verbose           = "0xe0bfa580"

--- /proc/asound/card0 ---
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 64 [100%] [0.00dB] [on]
  Front Right: Playback 64 [100%] [0.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Line',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',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 - 35
  Front Left: Capture 12 [34%] [12.00dB] [on]
  Front Right: Capture 12 [34%] [12.00dB] [on]
Simple mixer control 'Dock Line',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
                     USER        PID ACCESS COMMAND
/dev/snd/controlC0:  caribou     298 F.... volumeicon
                     caribou     344 F.... pulseaudio
Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

Not sure what you meant with the module option lines, i put one option line in my modprobe.conf file as given in the previous post.

pulseaudio-alsa is installed.
Both speaker-test(s) failed to make any sound, with no error.
(i don't have any USB sound card)

Offline

#7 2014-09-01 15:58:21

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

Re: no sound with snd-hda-intel (Realtek ALC260)

alias snd-card-1 snd-hda-intel
alias sound-slot-1 snd-hda-intel
options snd-hda-intel model=generic

 All three lines in one file are redundant and can complicate the configuration. One at a time, between rebooting. Irrelevant here. Drop all of them.

 You posted the lines twice. It is a pulseaudio issue then, did you try pavucontrol? Speaker-test should work with PA killed. Start pulseaudio in a terminal with verbose switch '-vvvv' like already suggested.

Offline

#8 2014-09-01 21:12:26

Bombombom
Member
Registered: 2014-09-01
Posts: 13

Re: no sound with snd-hda-intel (Realtek ALC260)

I removed the three lines and rebooted.

I'm not sure what i should test with pavucontrol but there is at least a VUmeter corresponding to a song i'm playing.
I did a speaker-test again still nothing.

Here is the output of pulseaudio -v

I: [pulseaudio] main.c: setrlimit(RLIMIT_NICE, (31, 31)) failed: Operation not permitted
I: [pulseaudio] core-util.c: Successfully gained nice level -11.
I: [pulseaudio] main.c: This is PulseAudio 5.0
I: [pulseaudio] main.c: Page size is 4096 bytes
I: [pulseaudio] main.c: Machine ID is 02ffa703a637440786483fd98ffaeac4.
I: [pulseaudio] main.c: Session ID is c1.
I: [pulseaudio] main.c: Using runtime directory /run/user/1000/pulse.
I: [pulseaudio] main.c: Using state directory /home/caribou/.config/pulse.
I: [pulseaudio] main.c: Using modules directory /usr/lib/pulse-5.0/modules.
I: [pulseaudio] main.c: Running in system mode: no
I: [pulseaudio] main.c: Fresh high-resolution timers available! Bon appetit!
I: [pulseaudio] cpu-x86.c: CPU flags: CMOV MMX SSE SSE2 
I: [pulseaudio] svolume_mmx.c: Initialising MMX optimized volume functions.
I: [pulseaudio] remap_mmx.c: Initialising MMX optimized remappers.
I: [pulseaudio] svolume_sse.c: Initialising SSE2 optimized volume functions.
I: [pulseaudio] remap_sse.c: Initialising SSE2 optimized remappers.
I: [pulseaudio] sconv_sse.c: Initialising SSE2 optimized conversions.
I: [pulseaudio] svolume_orc.c: Initialising ORC optimized volume functions.
I: [pulseaudio] module-device-restore.c: Successfully opened database file '/home/caribou/.config/pulse/02ffa703a637440786483fd98ffaeac4-device-volumes'.
I: [pulseaudio] module.c: Loaded "module-device-restore" (index: #0; argument: "").
I: [pulseaudio] module-stream-restore.c: Successfully opened database file '/home/caribou/.config/pulse/02ffa703a637440786483fd98ffaeac4-stream-volumes'.
I: [pulseaudio] module.c: Loaded "module-stream-restore" (index: #1; argument: "").
I: [pulseaudio] module-card-restore.c: Successfully opened database file '/home/caribou/.config/pulse/02ffa703a637440786483fd98ffaeac4-card-database'.
I: [pulseaudio] module.c: Loaded "module-card-restore" (index: #2; argument: "").
I: [pulseaudio] module.c: Loaded "module-augment-properties" (index: #3; argument: "").
I: [pulseaudio] module.c: Loaded "module-switch-on-port-available" (index: #4; argument: "").
I: [pulseaudio] (alsa-lib)utils.c: could not open configuration file /usr/share/alsa/ucm/HDA Intel/HDA Intel.conf
I: [pulseaudio] (alsa-lib)parser.c: error: could not parse configuration for card HDA Intel
I: [pulseaudio] (alsa-lib)main.c: error: failed to import HDA Intel use case configuration -2
I: [pulseaudio] alsa-ucm.c: UCM not available for card HDA Intel
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid argument
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:0
I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D1c' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device iec958:0: No such file or directory
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:hw:0: Invalid argument
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:0
I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround40:0: Invalid argument
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround41:0: Invalid argument
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] (alsa-lib)pcm_params.c: Slave PCM not usable
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround50:0: Invalid argument
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround51:0: Invalid argument
I: [pulseaudio] alsa-util.c: Failed to set hardware parameters on plug:surround71:0: Invalid argument
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D1p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device iec958:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM a52:0
I: [pulseaudio] alsa-util.c: Error opening PCM device a52:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM a52:0
I: [pulseaudio] alsa-util.c: Error opening PCM device a52:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm.c: Unknown PCM dca:0
I: [pulseaudio] alsa-util.c: Error opening PCM device dca:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D3p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D3p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D7p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0,1: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D7p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0,1: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D8p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0,2: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D8p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0,2: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D9p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0,3: No such file or directory
I: [pulseaudio] (alsa-lib)pcm_hw.c: open '/dev/snd/pcmC0D9p' failed (-2)
I: [pulseaudio] alsa-util.c: Error opening PCM device hdmi:0,3: No such file or directory
I: [pulseaudio] module-card-restore.c: Restoring port latency offsets for card alsa_card.pci-0000_00_1b.0.
I: [pulseaudio] card.c: Created 0 "alsa_card.pci-0000_00_1b.0"
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
I: [pulseaudio] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
I: [pulseaudio] alsa-util.c: ALSA period wakeups disabled
I: [pulseaudio] alsa-sink.c: Successfully opened device front:0.
I: [pulseaudio] alsa-sink.c: Selected mapping 'Analog Stereo' (analog-stereo).
I: [pulseaudio] alsa-sink.c: Successfully enabled mmap() mode.
I: [pulseaudio] alsa-sink.c: Successfully enabled timer-based scheduling mode.
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:0
I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
I: [pulseaudio] module-device-restore.c: Restoring port for sink sink:alsa_output.pci-0000_00_1b.0.analog-stereo.
I: [pulseaudio] module-device-restore.c: Restoring volume for sink alsa_output.pci-0000_00_1b.0.analog-stereo: front-left: 61310 /  94%,   front-right: 61310 /  94%
I: [pulseaudio] module-device-restore.c: Restoring mute state for sink alsa_output.pci-0000_00_1b.0.analog-stereo.
I: [pulseaudio] sink.c: Created sink 0 "alsa_output.pci-0000_00_1b.0.analog-stereo" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] sink.c:     alsa.resolution_bits = "16"
I: [pulseaudio] sink.c:     device.api = "alsa"
I: [pulseaudio] sink.c:     device.class = "sound"
I: [pulseaudio] sink.c:     alsa.class = "generic"
I: [pulseaudio] sink.c:     alsa.subclass = "generic-mix"
I: [pulseaudio] sink.c:     alsa.name = "ALC260 Analog"
I: [pulseaudio] sink.c:     alsa.id = "ALC260 Analog"
I: [pulseaudio] sink.c:     alsa.subdevice = "0"
I: [pulseaudio] sink.c:     alsa.subdevice_name = "subdevice #0"
I: [pulseaudio] sink.c:     alsa.device = "0"
I: [pulseaudio] sink.c:     alsa.card = "0"
I: [pulseaudio] sink.c:     alsa.card_name = "HDA Intel"
I: [pulseaudio] sink.c:     alsa.long_card_name = "HDA Intel at 0x80000000 irq 41"
I: [pulseaudio] sink.c:     alsa.driver_name = "snd_hda_intel"
I: [pulseaudio] sink.c:     device.bus_path = "pci-0000:00:1b.0"
I: [pulseaudio] sink.c:     sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
I: [pulseaudio] sink.c:     device.bus = "pci"
I: [pulseaudio] sink.c:     device.vendor.id = "8086"
I: [pulseaudio] sink.c:     device.vendor.name = "Intel Corporation"
I: [pulseaudio] sink.c:     device.product.id = "2668"
I: [pulseaudio] sink.c:     device.product.name = "82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller"
I: [pulseaudio] sink.c:     device.form_factor = "internal"
I: [pulseaudio] sink.c:     device.string = "front:0"
I: [pulseaudio] sink.c:     device.buffering.buffer_size = "352800"
I: [pulseaudio] sink.c:     device.buffering.fragment_size = "176400"
I: [pulseaudio] sink.c:     device.access_mode = "mmap+timer"
I: [pulseaudio] sink.c:     device.profile.name = "analog-stereo"
I: [pulseaudio] sink.c:     device.profile.description = "Analog Stereo"
I: [pulseaudio] sink.c:     device.description = "Built-in Audio Analog Stereo"
I: [pulseaudio] sink.c:     alsa.mixer_name = "Realtek ALC260"
I: [pulseaudio] sink.c:     alsa.components = "HDA:10ec0260,104d0000,00100300 HDA:14f12bfa,104d0200,00090000"
I: [pulseaudio] sink.c:     module-udev-detect.discovered = "1"
I: [pulseaudio] sink.c:     device.icon_name = "audio-card-pci"
I: [pulseaudio] source.c: Created source 0 "alsa_output.pci-0000_00_1b.0.analog-stereo.monitor" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     device.description = "Monitor of Built-in Audio Analog Stereo"
I: [pulseaudio] source.c:     device.class = "monitor"
I: [pulseaudio] source.c:     alsa.card = "0"
I: [pulseaudio] source.c:     alsa.card_name = "HDA Intel"
I: [pulseaudio] source.c:     alsa.long_card_name = "HDA Intel at 0x80000000 irq 41"
I: [pulseaudio] source.c:     alsa.driver_name = "snd_hda_intel"
I: [pulseaudio] source.c:     device.bus_path = "pci-0000:00:1b.0"
I: [pulseaudio] source.c:     sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
I: [pulseaudio] source.c:     device.bus = "pci"
I: [pulseaudio] source.c:     device.vendor.id = "8086"
I: [pulseaudio] source.c:     device.vendor.name = "Intel Corporation"
I: [pulseaudio] source.c:     device.product.id = "2668"
I: [pulseaudio] source.c:     device.product.name = "82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller"
I: [pulseaudio] source.c:     device.form_factor = "internal"
I: [pulseaudio] source.c:     device.string = "0"
I: [pulseaudio] source.c:     module-udev-detect.discovered = "1"
I: [pulseaudio] source.c:     device.icon_name = "audio-card-pci"
I: [pulseaudio] alsa-sink.c: Using 2.0 fragments of size 176400 bytes (1000.00ms), buffer size is 352800 bytes (2000.00ms)
I: [pulseaudio] alsa-sink.c: Time scheduling watermark is 20.00ms
I: [pulseaudio] alsa-sink.c: Successfully enabled deferred volume.
I: [pulseaudio] alsa-sink.c: Hardware volume ranges from -128.00 dB to 0.00 dB.
I: [pulseaudio] alsa-sink.c: Fixing base volume to 0.00 dB
I: [pulseaudio] alsa-sink.c: Using hardware volume control. Hardware dB scale supported.
I: [pulseaudio] alsa-sink.c: Using hardware mute control.
I: [alsa-sink-ALC260 Analog] core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 5.
I: [alsa-sink-ALC260 Analog] alsa-sink.c: Starting playback.
I: [pulseaudio] alsa-util.c: Trying to disable ALSA period wakeups, using timers only
I: [pulseaudio] alsa-util.c: ALSA period wakeups disabled
I: [pulseaudio] alsa-source.c: Successfully opened device front:0.
I: [pulseaudio] alsa-source.c: Selected mapping 'Analog Stereo' (analog-stereo).
I: [pulseaudio] alsa-source.c: Successfully enabled mmap() mode.
I: [pulseaudio] alsa-source.c: Successfully enabled timer-based scheduling mode.
I: [pulseaudio] (alsa-lib)control.c: Invalid CTL front:0
I: [pulseaudio] alsa-util.c: Unable to attach to mixer front:0: No such file or directory
I: [pulseaudio] alsa-util.c: Successfully attached to mixer 'hw:0'
I: [pulseaudio] module-device-restore.c: Restoring port for source source:alsa_input.pci-0000_00_1b.0.analog-stereo.
I: [pulseaudio] source.c: Created source 1 "alsa_input.pci-0000_00_1b.0.analog-stereo" with sample spec s16le 2ch 44100Hz and channel map front-left,front-right
I: [pulseaudio] source.c:     alsa.resolution_bits = "16"
I: [pulseaudio] source.c:     device.api = "alsa"
I: [pulseaudio] source.c:     device.class = "sound"
I: [pulseaudio] source.c:     alsa.class = "generic"
I: [pulseaudio] source.c:     alsa.subclass = "generic-mix"
I: [pulseaudio] source.c:     alsa.name = "ALC260 Analog"
I: [pulseaudio] source.c:     alsa.id = "ALC260 Analog"
I: [pulseaudio] source.c:     alsa.subdevice = "0"
I: [pulseaudio] source.c:     alsa.subdevice_name = "subdevice #0"
I: [pulseaudio] source.c:     alsa.device = "0"
I: [pulseaudio] source.c:     alsa.card = "0"
I: [pulseaudio] source.c:     alsa.card_name = "HDA Intel"
I: [pulseaudio] source.c:     alsa.long_card_name = "HDA Intel at 0x80000000 irq 41"
I: [pulseaudio] source.c:     alsa.driver_name = "snd_hda_intel"
I: [pulseaudio] source.c:     device.bus_path = "pci-0000:00:1b.0"
I: [pulseaudio] source.c:     sysfs.path = "/devices/pci0000:00/0000:00:1b.0/sound/card0"
I: [pulseaudio] source.c:     device.bus = "pci"
I: [pulseaudio] source.c:     device.vendor.id = "8086"
I: [pulseaudio] source.c:     device.vendor.name = "Intel Corporation"
I: [pulseaudio] source.c:     device.product.id = "2668"
I: [pulseaudio] source.c:     device.product.name = "82801FB/FBM/FR/FW/FRW (ICH6 Family) High Definition Audio Controller"
I: [pulseaudio] source.c:     device.form_factor = "internal"
I: [pulseaudio] source.c:     device.string = "front:0"
I: [pulseaudio] source.c:     device.buffering.buffer_size = "352800"
I: [pulseaudio] source.c:     device.buffering.fragment_size = "176400"
I: [pulseaudio] source.c:     device.access_mode = "mmap+timer"
I: [pulseaudio] source.c:     device.profile.name = "analog-stereo"
I: [pulseaudio] source.c:     device.profile.description = "Analog Stereo"
I: [pulseaudio] source.c:     device.description = "Built-in Audio Analog Stereo"
I: [pulseaudio] source.c:     alsa.mixer_name = "Realtek ALC260"
I: [pulseaudio] source.c:     alsa.components = "HDA:10ec0260,104d0000,00100300 HDA:14f12bfa,104d0200,00090000"
I: [pulseaudio] source.c:     module-udev-detect.discovered = "1"
I: [pulseaudio] source.c:     device.icon_name = "audio-card-pci"
I: [pulseaudio] alsa-source.c: Using 2.0 fragments of size 176400 bytes (1000.00ms), buffer size is 352800 bytes (2000.00ms)
I: [pulseaudio] alsa-source.c: Time scheduling watermark is 20.00ms
I: [pulseaudio] alsa-source.c: Successfully enabled deferred volume.
I: [pulseaudio] alsa-source.c: Hardware volume ranges from 0.00 dB to 35.00 dB.
I: [pulseaudio] alsa-source.c: Fixing base volume to -35.00 dB
I: [pulseaudio] alsa-source.c: Using hardware volume control. Hardware dB scale supported.
I: [pulseaudio] alsa-source.c: Using hardware mute control.
I: [alsa-source-ALC260 Analog] core-util.c: Successfully enabled SCHED_RR scheduling for thread, with priority 5.
I: [alsa-source-ALC260 Analog] alsa-source.c: Starting capture.
I: [pulseaudio] module.c: Loaded "module-alsa-card" (index: #6; argument: "device_id="0" name="pci-0000_00_1b.0" card_name="alsa_card.pci-0000_00_1b.0" namereg_fail=false tsched=yes fixed_latency_range=no ignore_dB=no deferred_volume=yes use_ucm=yes card_properties="module-udev-detect.discovered=1"").
I: [pulseaudio] module-udev-detect.c: Card /devices/pci0000:00/0000:00:1b.0/sound/card0 (alsa_card.pci-0000_00_1b.0) module loaded.
I: [pulseaudio] module-udev-detect.c: Found 1 cards.
I: [pulseaudio] module.c: Loaded "module-udev-detect" (index: #5; argument: "").
I: [pulseaudio] module.c: Loaded "module-jackdbus-detect" (index: #7; argument: "channels=2").
I: [pulseaudio] module.c: Loaded "module-bluetooth-policy" (index: #8; argument: "").
I: [pulseaudio] module.c: Loaded "module-bluez5-discover" (index: #10; argument: "").
I: [pulseaudio] module.c: Loaded "module-bluetooth-discover" (index: #9; argument: "").
I: [pulseaudio] module.c: Loaded "module-esound-protocol-unix" (index: #11; argument: "").
I: [pulseaudio] module.c: Loaded "module-native-protocol-unix" (index: #12; argument: "").
I: [pulseaudio] module.c: Loaded "module-gconf" (index: #13; argument: "").
I: [pulseaudio] module-default-device-restore.c: Restored default sink 'alsa_output.pci-0000_00_1b.0.analog-stereo'.
I: [pulseaudio] module-default-device-restore.c: Restored default source 'alsa_input.pci-0000_00_1b.0.analog-stereo'.
I: [pulseaudio] module.c: Loaded "module-default-device-restore" (index: #14; argument: "").
I: [pulseaudio] module.c: Loaded "module-rescue-streams" (index: #15; argument: "").
I: [pulseaudio] module.c: Loaded "module-always-sink" (index: #16; argument: "").
I: [pulseaudio] module.c: Loaded "module-intended-roles" (index: #17; argument: "").
I: [pulseaudio] module.c: Loaded "module-suspend-on-idle" (index: #18; argument: "").
I: [pulseaudio] module.c: Loaded "module-console-kit" (index: #19; argument: "").
I: [pulseaudio] client.c: Created 0 "Login Session c1"
I: [pulseaudio] module.c: Loaded "module-systemd-login" (index: #20; argument: "").
I: [pulseaudio] module.c: Loaded "module-position-event-sounds" (index: #21; argument: "").
I: [pulseaudio] module.c: Loaded "module-role-cork" (index: #22; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-heuristics" (index: #23; argument: "").
I: [pulseaudio] module.c: Loaded "module-filter-apply" (index: #24; argument: "").
I: [pulseaudio] main.c: Daemon startup complete.
E: [pulseaudio] bluez5-util.c: GetManagedObjects() failed: org.freedesktop.DBus.Error.ServiceUnknown: The name org.bluez was not provided by any .service files
I: [pulseaudio] module-suspend-on-idle.c: Source alsa_input.pci-0000_00_1b.0.analog-stereo idle for too long, suspending ...
I: [alsa-source-ALC260 Analog] alsa-source.c: Device suspended...
I: [pulseaudio] module-suspend-on-idle.c: Sink alsa_output.pci-0000_00_1b.0.analog-stereo idle for too long, suspending ...
I: [alsa-sink-ALC260 Analog] alsa-sink.c: Device suspended...

Offline

#9 2014-09-01 21:28:40

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

Re: no sound with snd-hda-intel (Realtek ALC260)

Turn off iec958 with

amixer sset 'IEC958 Default PCM' off

Then try speaker-test with PA killed again.

Offline

#10 2014-09-02 09:28:37

Bombombom
Member
Registered: 2014-09-01
Posts: 13

Re: no sound with snd-hda-intel (Realtek ALC260)

[caribou@arch ~]$ amixer sset 'IEC958 Default PCM' off
amixer: Unable to find simple control 'IEC958 Default PCM',0

[caribou@arch ~]$ amixer sset 'IEC958' off
amixer: Unable to find simple control 'IEC958',0

[caribou@arch ~]$ amixer sset 'iec958' off
amixer: Unable to find simple control 'iec958',0

sad

Offline

#11 2014-09-02 09:50:55

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

Re: no sound with snd-hda-intel (Realtek ALC260)

Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [on]

Add the card switch. You can search for the controls with 'amixer scontrols'.

Offline

#12 2014-09-02 10:44:50

Bombombom
Member
Registered: 2014-09-01
Posts: 13

Re: no sound with snd-hda-intel (Realtek ALC260)

Thanks for troubleshooting this with me!

I'm a bit lost on the last request though, i tried to manage this myself and failed.

So i'll just give you that:

[caribou@arch ~]$ amixer scontrols
Simple mixer control 'Master',0
Simple mixer control 'Capture',0

Offline

#13 2014-09-02 10:54:06

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

Re: no sound with snd-hda-intel (Realtek ALC260)

You posted here that this was you output. So what changed? I suspect you need this back in modprobe configuration:

options snd-hda-intel index=0 model=generic

This should not be necessary however, but that is another story. After reboot, iec should show up again. Repeat the steps above.

The strategy I am following here is to get your sound working with alsa first, then with PA, since PA relies on alsa anyway. So if speaker-test with PA killed, does not work, PA should not work.

Offline

#14 2014-09-02 20:20:06

Bombombom
Member
Registered: 2014-09-01
Posts: 13

Re: no sound with snd-hda-intel (Realtek ALC260)

I put back the line in modprobe rebooted and ran your script again:

null
    Discard all samples (playback) or generate zero samples (capture)
pulse
    PulseAudio Sound Server
default
    Default ALSA Output (currently PulseAudio Sound Server)
sysdefault:CARD=Intel
    HDA Intel, ALC260 Analog
    Default Audio Device
front:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    Front speakers
surround21:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    2.1 Surround output to Front and Subwoofer speakers
surround40:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    4.0 Surround output to Front and Rear speakers
surround41:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    4.1 Surround output to Front, Rear and Subwoofer speakers
surround50:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    5.0 Surround output to Front, Center and Rear speakers
surround51:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    5.1 Surround output to Front, Center, Rear and Subwoofer speakers
surround71:CARD=Intel,DEV=0
    HDA Intel, ALC260 Analog
    7.1 Surround output to Front, Center, Side, Rear and Woofer speakers
iec958:CARD=Intel,DEV=0
    HDA Intel, ALC260 Digital
    IEC958 (S/PDIF) Digital Audio Output
**** List of PLAYBACK Hardware Devices ****
card 0: Intel [HDA Intel], device 0: ALC260 Analog [ALC260 Analog]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
card 0: Intel [HDA Intel], device 1: ALC260 Digital [ALC260 Digital]
  Subdevices: 1/1
  Subdevice #0: subdevice #0
--- snd_hda_intel ---
Module = "snd_hda_intel"

  Attributes:
    coresize            = "25959"
    initsize            = "0"
    initstate           = "live"
    refcnt              = "4"
    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               = "0,-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               = "generic,(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                = "0xe0d70800"
    .data               = "0xe0d70000"
    .data.unlikely      = "0xe0d70670"
    .exit.text          = "0xe0d6d6d5"
    .gnu.linkonce.this_module= "0xe0d70680"
    .init.text          = "0xe0d06000"
    .note.gnu.build-id  = "0xe0d6e000"
    .rodata             = "0xe0d6e040"
    .rodata.str1.1      = "0xe0d6eb58"
    .rodata.str1.4      = "0xe0d6ef40"
    .smp_locks          = "0xe0d6f25c"
    .strtab             = "0xe0d088d0"
    .symtab             = "0xe0d07000"
    .text               = "0xe0d6b000"
    __mcount_loc        = "0xe0d6f37c"
    __param             = "0xe0d6f26c"
    __verbose           = "0xe0d70580"

--- /proc/asound/card0 ---
Simple mixer control 'Master',0
  Capabilities: pvolume pswitch
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 64
  Mono:
  Front Left: Playback 52 [81%] [-12.00dB] [on]
  Front Right: Playback 52 [81%] [-12.00dB] [on]
Simple mixer control 'PCM',0
  Capabilities: pvolume
  Playback channels: Front Left - Front Right
  Limits: Playback 0 - 255
  Mono:
  Front Left: Playback 255 [100%] [0.00dB]
  Front Right: Playback 255 [100%] [0.00dB]
Simple mixer control 'Line',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
Simple mixer control 'Mic',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [on]
Simple mixer control 'IEC958',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]
Simple mixer control 'IEC958 Default PCM',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 - 35
  Front Left: Capture 10 [29%] [10.00dB] [on]
  Front Right: Capture 10 [29%] [10.00dB] [on]
Simple mixer control 'Dock Line',0
  Capabilities: cswitch cswitch-joined cswitch-exclusive
  Capture exclusive group: 0
  Capture channels: Mono
  Mono: Capture [off]
   298   344Bus 003 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub

and this again as well:

[caribou@arch ~]$ amixer sset 'IEC958 Default PCM' off
amixer: Unable to find simple control 'IEC958 Default PCM',0

[caribou@arch ~]$ amixer scontrols
Simple mixer control 'Master',0
Simple mixer control 'Capture',0

Offline

#15 2014-09-02 20:30:17

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

Re: no sound with snd-hda-intel (Realtek ALC260)

I hope you see yourself that it is listed there. It works over here. Try:

amixer -c 0 scontrols
amixer -c 0 sset 'IEC958 Default PCM' off
amixer -c 0 sset 'IEC958\ Default\ PCM' off
amixer -c 0 controls

Edit: Read the manual of amixer, double check alsamixer.

Last edited by emeres (2014-09-02 20:51:09)

Offline

#16 2014-09-03 07:11:01

Bombombom
Member
Registered: 2014-09-01
Posts: 13

Re: no sound with snd-hda-intel (Realtek ALC260)

Sorry i didn't know i should have specified my card, i turned it off, killed pulseaudio and ran speaker-test again, no sound.

[caribou@arch ~]$ amixer -c 0 scontrols
Simple mixer control 'Master',0
Simple mixer control 'PCM',0
Simple mixer control 'Line',0
Simple mixer control 'Mic',0
Simple mixer control 'IEC958',0
Simple mixer control 'IEC958 Default PCM',0
Simple mixer control 'Capture',0
Simple mixer control 'Dock Line',0

[caribou@arch ~]$ amixer -c 0 sset 'IEC958 Default PCM' off
Simple mixer control 'IEC958 Default PCM',0
  Capabilities: pswitch pswitch-joined
  Playback channels: Mono
  Mono: Playback [off]

[caribou@arch ~]$ amixer -c 0 controls
numid=13,iface=CARD,name='Dock Line Phantom Jack'
numid=14,iface=CARD,name='Front Line Out Phantom Jack'
numid=12,iface=CARD,name='Line Phantom Jack'
numid=11,iface=CARD,name='Mic Phantom Jack'
numid=15,iface=CARD,name='SPDIF Phantom Jack'
numid=2,iface=MIXER,name='Master Playback Switch'
numid=1,iface=MIXER,name='Master Playback Volume'
numid=19,iface=MIXER,name='PCM Playback Volume'
numid=3,iface=MIXER,name='Capture Source'
numid=5,iface=MIXER,name='Capture Switch'
numid=4,iface=MIXER,name='Capture Volume'
numid=10,iface=MIXER,name='IEC958 Default PCM Playback Switch'
numid=6,iface=MIXER,name='IEC958 Playback Con Mask'
numid=7,iface=MIXER,name='IEC958 Playback Pro Mask'
numid=8,iface=MIXER,name='IEC958 Playback Default'
numid=9,iface=MIXER,name='IEC958 Playback Switch'
numid=17,iface=PCM,name='Capture Channel Map'
numid=16,iface=PCM,name='Playback Channel Map'
numid=18,iface=PCM,name='Playback Channel Map',device=1

Offline

#17 2014-09-03 09:59:43

Bombombom
Member
Registered: 2014-09-01
Posts: 13

Re: no sound with snd-hda-intel (Realtek ALC260)

When starting my laptop for other reasons i heard something at the boot stage and checked out afterwards, the sound is now working.

Do you have an explanation? or did i need a reboot after switching the control to OFF?

Thanks a lot for helping!

Offline

#18 2014-09-03 10:08:17

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

Re: no sound with snd-hda-intel (Realtek ALC260)

 I would suspect since the driver is not mature enough to recognize your configuration on its own, at least that part of the driver, a reboot might have been necessary for the IEC958 to get recognized as switched off.
 You are welcome. Should you consider this issue solved, then please mark the thread as such.

Offline

#19 2014-09-03 15:48:23

Bombombom
Member
Registered: 2014-09-01
Posts: 13

Re: no sound with snd-hda-intel (Realtek ALC260)

I was going to mark the thread as "solved" but I made a last check before and... it doesn't work anymore.

I made some reboots since then.

So I switched off IEC958 again, rebooted and no sound. I tried to kill pulseaudio but it keeps coming back.

Offline

#20 2014-09-03 16:02:01

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

Re: no sound with snd-hda-intel (Realtek ALC260)

 Should you have BIOS/UEFI options for the sound card disable, boot, post 'aplay -l' and 'lspci -vnn | grep -A1 -i audio' as well as 'amixer', reboot, enable. Why was digital switched on again in the first place? PA is autospawning, look at its wiki how to prevent that, but that should not be the problem here.

Edit: Alsas documentation does not list any models for the ALC260, but you may want to try the inv-dmic, since the next codecs using it should not be that different.

Edit2: Check if changing any/all volume/controls helps.

Edit3: Look also into hdajackretask from alsa-tools package.

Last edited by emeres (2014-09-03 16:14:16)

Offline

#21 2014-09-04 10:01:05

Bombombom
Member
Registered: 2014-09-01
Posts: 13

Re: no sound with snd-hda-intel (Realtek ALC260)

I can't disable my sound card from the bios.
Tried to play again with volume controls and still failing.
About the alsa doc, i also saw that but also saw that one which lists something in ALC260 http://ubuntuforums.org/showthread.php? … ost5131958 are those differents things? version?
What should i do with hdajackretask, rewire my headphones jack to my speakrs?

Because, yes, the headphone jack is throwing sound (i managed to grab some).
I removed my option line in modprobe, still making sound through the jack.
I set the mode to inv-dmic, still sound in the jack, not in the speakers.

Not sure what i should do from there, i'm still browsing similar topics for more hints.

Offline

#22 2014-09-04 10:20:37

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

Re: no sound with snd-hda-intel (Realtek ALC260)

 Check with hdajackretask if jack sockets are mapped correctly. You can remap if something is incorrectly set or to experiment. Disable IEC958 default pcm once more and run:

# alsactl store -f /var/lib/alsa/asound.state

 When you get the expected behaviour, run this again, so that the settings are saved. You also have the control 'IEC958 Playback Switch', check its value with amixer:

amixer -c 0 cget name='IEC958 Playback Switch'

 See other controls. Should the models mentioned in the Ubuntu thread still exist, no dmesg warnings should be seen for the snd-hda-intel module.

Offline

Board footer

Powered by FluxBB