robbat2: (Default)
[personal profile] robbat2

Following up on my earlier posting on the AD2000BX/AD1989B SPDIF support being broken, I figured out the required fixes, and they are waiting in the sound-2.6 kernel tree for the next merge window

This is awesome news.

Date: 2008-10-04 08:57 pm (UTC)
From: (Anonymous)
This is great news. Has this been merged into the kernel yet? Will it be in the 2.6.27 kernels that will ship with the next versions of Fedora or Ubuntu?

I have an Asus P5Q deluxe, and the SPDIF output is not working on 2.6.24 - for the reasons you've fixed in this patch. (Now I just need to figure out how to get my Nvidia card to recognize the hdmi digital output piece on it)

Re: This is awesome news.

Date: 2008-10-05 01:17 am (UTC)
From: [identity profile] robbat2.livejournal.com
I have absolutely no clue if it will be in 2.6.27, or if the crazy kernels shipped by Fedora/Ubuntu will have it. I doubt it personally, just due to timing of merge windows. 2.6.28 probably.

Re: This is awesome news.

Date: 2008-10-05 07:04 pm (UTC)
From: (Anonymous)
Yeah, I checked and saw it would likely not be in place until the 2.6.28 kernel so I built my own kernel for the Ubuntu setup I have. (Although after all the customization I've done on that box, I should probably just switch to gentoo - since I'm not really using the package manager that much anymore)

I did merge the topic/hda of the branch your patches are sitting in with the ubuntu 2.6.27 kernel and built it, and now I'm seeing all of my outputs.

As an added bonus, the SPDIF passthrough to work and I can hear sound on my TV (the SPDIF header is connected to an SPDIF passthrough on an Nvidia 9500GT board - which has built-in HDMI and it muxes the audio in and sends it out to the TV) - So I've even tested your stuff and it works fine when I use the gnome sound control panel to play the test tone.

One thing that I haven't had working yet - and this is probably just pebcac (and I don't expect you to provide tech support for your own patch - just submitting it and sending it in has helped me out greatly ) - but when I tell it to use ALSA for the output, the test tone doesn't make any noise (odd to me that OSS would work, but not ALSA)

in my modprobe.conf I have this line for the snd-hda-intel:

options snd-hda-intel enable=1 index=0 model=6stack-digout

I assume that is the most correct line to use?

I guess what would be helpful is if you have your digital out working with ALSA - and I'm assuming it's in gentoo - to just let me know what versions of it you are using and I'll either get that version on my box, or I'll just switch to gentoo entirely and stop trying to make Ubuntu act like a source-driven distribution! ;)

Thanks again - and sorry to bug you. At the very least I've been able to provide you confirmation that your patch works for the "non-existent" AD2000B that Asus puts in their P5Q-Deluxe boards as well.

Re: This is awesome news.

Date: 2008-10-05 10:00 pm (UTC)
From: [identity profile] robbat2.livejournal.com
the test tones do work fine for me:
# speaker-test -f 2600 -c 2 -t sine
(or set the channels to however many you want).

I didn't have luck with the model selection actually working, that's why I added the quirk patch.

Re: This is awesome news.

Date: 2008-10-05 10:02 pm (UTC)
From: [identity profile] robbat2.livejournal.com
Also: it's not in any Gentoo-distributed kernel, simply because I don't see a need prior to 2.6.28 to have it right there already.

media-libs/alsa-lib-1.0.17a
media-libs/alsa-oss-1.0.17
media-plugins/alsa-plugins-1.0.17-r1
media-sound/alsa-firmware-1.0.17
media-sound/alsa-headers-1.0.17
media-sound/alsamixergui-0.9.0.1.2-r4
media-sound/alsa-patch-bay-1.0.0-r2
media-sound/alsaplayer-0.99.80
media-sound/alsa-tools-1.0.17
media-sound/alsa-utils-1.0.17

Re: This is awesome news.

Date: 2008-10-07 03:45 pm (UTC)
From: [identity profile] ryebrye.wordpress.com (from livejournal.com)
I got it working in Ubuntu - I had to recompile the kernel (2.6.27 + pulling the topic/hda branch where your patches reside into it) and upgrade it to the "8.10 beta" version which bundles in the newer version of ALSA (I tried to re-work the version of ALSA on my own on the older version, but it failed miserably)

Anyway - I was pleasantly surprised to hear my login noise after booting up - and I've now got MythTV spitting out audio over the HDMI ( SPDIF header -> connector on Nvidia 9500GT card -> HDMI ).

So, thanks again. Your patch for the AD2000B most definitely works - even if the chip doesn't really exist ;)

Re: This is awesome news.

Date: 2009-08-15 09:40 pm (UTC)
From: (Anonymous)
How did it go?
Was the patch merged into 2.6.28?

(I have 2.6.28 and am having trouble getting the SPDIF to work, and I would like to know that it's a point to keep trying.)

Regards
Leif

Re: This is awesome news.

Date: 2009-08-15 10:47 pm (UTC)
From: (Anonymous)
I just managed to get it working, which would answer my own question. (I just found where to unmute the digital output.)
It works in 2.6.28 -> Patch included.
/Leif

May 2017

S M T W T F S
 123456
78910111213
141516171819 20
21222324252627
28293031   

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags