Update to Alsa 1.0.4 -> no digi-out

Post information here about bugs - please remember to provide an accurate and detailed description and, if possible, steps on how to replicate the issue.
Locked
kadrim
Novice
Posts: 21
Joined: Tue Aug 12, 2003 1:36 pm

Update to Alsa 1.0.4 -> no digi-out

Post 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?
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post by ShALLaX »

_maybe_ This will be fixed with kernel 2.6.x. But I wouldnt keep my hopes up.
The original Xbox adaptation of Gentoo
kje
Newbie
Posts: 3
Joined: Thu Jan 29, 2004 4:15 am
Contact:

Post 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.
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post 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.
The original Xbox adaptation of Gentoo
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post 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.
The original Xbox adaptation of Gentoo
kje
Newbie
Posts: 3
Joined: Thu Jan 29, 2004 4:15 am
Contact:

Post 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.
ShALLaX
Site Admin
Posts: 1973
Joined: Sun Aug 10, 2003 9:25 pm
Location: England
Contact:

Post 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
The original Xbox adaptation of Gentoo
Locked