Re: Re: alsa on 2.6 kernels, spdif patch

"David Pye" <[email protected]> Thu, 25 Nov 2004 13:43:44 -0000 (GMT)
Newsgroups gmane.linux.ports.xbox.devel
Message-ID <[email protected]>
> Tim Dodge wrote:
>>
>> You need to emerge the ~x86 version (v1.0.7) of alsa-driver and let it
>> overwrite the modules created by xbox-sources.
>>
> Ok.. well this information was not available for me to find while i
> tried to get it working. There was some indications about spdif working
> for some ppl but not on what conditions nor setup  howtos. This
> clarifies installation a bit.
>
>> I believed that mplayer was broken in respect to hwac3 digital output
>> - it ignores the alsa device you set and uses a hardcoded digital
>> device that doesn't exist in the xbox.
>>
> This i do not know for sure, but with my desk PC it was working ok
> using Aureon sky 5.1 and mplayer
>
>> I assume that it's this device that David's patch adds in?
>>
> as far as i know, David's patch is copy of the original spdif patch for
> 2.4 kernels that can be  found from xbox-Linux CVS. What it actually
> does is bit out of my scope while Im not an expert in  the alsa/sound
> field.

As far as I know, and no, I've never even looked inside ALSA/Sound til I
attempted to port that patch, is that it simply duplicates the PCM output
to the SPDIF output.  Hideous, to an ALSA dev, no doubt. But that's what
it appears to do, anyhow.
I'd like to get a definite confirm that it is unnecessary, if the setup is
done properly with the 'xbox=1' option, and if so, exactly what steps are
needed to do it, in a distro-independent way. ie Install the alsa 1.0.5
package, and run mplayer with '-ao <etc>' options, so we can ensure that
the xbox-linux distros, (Xebian and GentooX) pick up this too, so they can
work out of the box.
I won't be at all upset that the patch is unnecessary - every patch we no
longer have to maintain is a source for celebration. However, as I
muttered before, it *would* be nice if those who succeed in getting
upstream to adopt patches/workarounds tell the 'normal xbox-linux
developers', either on IRC, or by posting to this list, so we know what we
can pension off in our CVS, and don't waste time porting obsolete patches
when upstream always has them or variations of them.  Plus, you get credit
and gratitude from 'us lot' for having persuaded upstream to take them.
Now, if only Linus would.....
Cheers,

David




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.