All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Hemberg <gilles.hemberg@gmail.com>
To: alsa-devel@alsa-project.org
Subject: [bug] SPDIF (digital-out) not working on NForce4/CK804
Date: Thu, 02 Oct 2014 20:13:28 +0200	[thread overview]
Message-ID: <542D95C8.8060701@gmail.com> (raw)

Hi all,

Sorry to bump in like this, but I was advised to submit a bug-report for 
the ALSA-drivers on my HTPC: no sound comes through out of my AVR when I 
select the digital output through SPDIF (TOSLINK).


The relevant parts of my HTPC are as follows:
     * CPU: Athlon64 X2 3800+
     * Motherboard: ASUS A8N-SLI Deluxe motherboard (BIOS 1805) NForce4 
with CK804 sound (relying on a Realtek ALC850 chip)
     * RAM: 2x 512 MB DDR-400
     * GPU: nVidia Geforce GT240 (which carries a HDMI port and uses the 
snd-
     * Receiver: Marantz SR7500 (supporting both Dolby Digital 5.1 and 
DTS decoding), connected to motherboard's SPDIF TOSLINK port (optical) + 
JBL 5.1 speaker-set
     * OpenElec 4.2.0: Kernel 3.16.3, Alsa 1.0.28


Symptoms:
Speaker-test does not produce any sound. Command used is as follows:

     speaker-test -c2 -r 48000 -D hw:0,2

No sound either from other applications (such as XBMC 13.2).

SPDIF worked flawlessly on the exact same hardware & connections using 
Win7/XBMC.
Sound does come through the SPDIF when I use hw:0,0 (= analog device).


Things tried (none working):
     * Blacklisting snd-hda-intel (= HDMI from my GPU) to make sure 
CK804 is the only sound chip visible.

     * amixer set 'IEC958 Playback AC97-SPSA' Playback 100% unmute

     * Contacted XBMC developer via IRC for investigation: concluded 
that problem would be with kernel driver, advised to create this bug-report.

     * Tried another distro (Ubuntu from XBMCBuntu 13.0).


Further details which might be useful:
     * alsa-info.sh output: http://pastebin.com/Bp2ZGfZb

     * /proc/asound/card0/ac97#0-0: http://pastebin.com/Q5y1J0Ra

     * /proc/asound/card0/ac97#0-0+regs: http://pastebin.com/tBbTCxZg


Similar reports found (no working solution):
http://mailman.alsa-project.org/pipermail/alsa-devel/2009-September/021336.html
http://askubuntu.com/questions/264272/no-sound-output-msi-k8n-neo4-ck804-ac97
http://askubuntu.com/questions/462605/new-install-of-ubuntu-14-04-trusty-3-audio-devices-no-sound
     https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=615225
     http://ehc.ac/p/alsa/mailman/message/25973743/
     http://wiki.linuxmce.org/index.php/ASUS_A8N-SLI_Deluxe
     http://forum.xbmc.org/showthread.php?tid=156043&pid=1348176
     http://forum.xbmc.org/showthread.php?tid=168608
     http://ubuntuforums.org/showthread.php?t=2210288
     http://cholla.mmto.org/computers/linux/sound/asus_a8ne.html
     http://www.nvnews.net/vbulletin/showthread.php?t=80521
     ...


I am willing to test or provide further details where needed. I am new 
to Linux, but am a developer myself (C#) so I know how to look up some 
info... Hoping I haven't offended any of you with this post.

THNX,
Bye!

             reply	other threads:[~2014-10-02 18:13 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-10-02 18:13 Gilles Hemberg [this message]
2014-10-03  7:31 ` [bug] SPDIF (digital-out) not working on NForce4/CK804 Raymond Yau
2014-10-03 21:02   ` Gilles Hemberg
2014-10-04  5:07     ` Raymond Yau
2014-10-04  9:34       ` Gilles Hemberg
2014-10-07  3:21         ` Raymond Yau
  -- strict thread matches above, loose matches on Subject: below --
2014-10-03  6:04 Gilles Hemberg
2014-10-03  6:13 Gilles Hemberg

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=542D95C8.8060701@gmail.com \
    --to=gilles.hemberg@gmail.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.