Page 1 of 1

Update to Alsa 1.0.4 -> no digi-out

Posted: Mon May 31, 2004 8:38 pm
by kadrim
Today i used magic to update alsa to version 1.0.4

since then no digital-out works anymore. only standard stereo output via cinch.

Anyone has a solution to fix this?

Posted: Tue Jun 01, 2004 3:40 am
by ShALLaX
_maybe_ This will be fixed with kernel 2.6.x. But I wouldnt keep my hopes up.

Posted: Thu Jun 03, 2004 3:59 am
by kje
I got bit by this as well today.

A couple of questions:

1) What version of alsa was run before 1.0.4 ?
2) Can we grab the GentooX patches from somewhere to try and get it running again before the 2.6 kernel is ready for primetime on the xbox?

Thanks,

ken.

Posted: Thu Jun 03, 2004 4:15 am
by ShALLaX
I dont have any patches for 2.6 written yet, there are still bugs to be ironed out, and I dont do a great deal of kernel devel, so we all have to wait...

The previous version of ALSA was 0.9.2 with http://gentoox.shallax.com/patch-files/alsapatch.tbz2 for patching.

There was some heavy patching for this version which seems to have been dropped for later versions of ALSA, this is probably why digital doesnt work anymore.

Posted: Thu Jun 03, 2004 4:19 am
by ShALLaX
> > Hi.
> >
> > Digital out deos not work in Xebian 1.0.1. The digital out patch for
> > 0.9.2 needs porting to a newer ALSA version.
> >
> > cu
> >
> > ED.


^^ From the Xbox-Linux user mailing list. I guess we'll have to wait until it gets ported.

Posted: Thu Jun 03, 2004 1:33 pm
by kje
Lovely, thanks for the info ShALLaX. I've got digital out sound working once again. Here are the steps that I took to get it working:

Code: Select all

cd /home/gentoox (or any other directory you want)
wget http://gentoox.shallax.com/patch-files/alsapatch.tbz2
tar -xjf alsapatch.tbz2
ebuild /usr/portage/media-sound/alsa-driver/alsa-driver-0.9.2.ebuild unpack
cp /home/gentoox/alsa-kernel/pci/intel8x0.c /var/tmp/portage/alsa-driver-0.9.2/work/alsa-driver-0.9.2/alsa-kernel/pci/
cp /home/gentoox/alsa-kernel/pci/ac97/ac97_codec.c /var/tmp/portage/alsa-driver-0.9.2/work/alsa-driver-0.9.2/alsa-kernel/pci/ac97/ac97_codec.c
ebuild /usr/portage/media-sound/alsa-driver/alsa-driver-0.9.2.ebuild merge
Then I rebooted and all was well.

For anyone wondering what the "ebuild" command is, it is one of the commands that "emerge" uses behind the scenes. We have to use it here because we have to "unpack" the code, patch it up, and then compile and install it (merge it).

Thanks,

ken.

Posted: Thu Jun 03, 2004 2:59 pm
by ShALLaX
Slightly shorter version ;p:

Code: Select all

cd /home/gentoox 
wget --limit-rate=5120 http://gentoox.shallax.com/patch-files/alsapatch.tbz2 
tar -xjf alsapatch.tbz2 
ebuild /usr/portage/media-sound/alsa-driver/alsa-driver-0.9.2.ebuild unpack
cp -avx /home/gentoox/alsa-kernel /var/tmp/portage/alsa-driver-0.9.2/work/alsa-driver-0.9.2
ebuild /usr/portage/media-sound/alsa-driver/alsa-driver-0.9.2.ebuild merge