Re: no sound on powerbook G4 with wheezy

2011-12-26 Thread Risto Suominen
Looks like this is a never-ending story...

Originally there was only snd-powermac and it supported machines up to
snapper: http://wiki.debian.org/PowerpcSoundcards

Then came snd-aoa which supported machines from (and including)
snapper upwards. And at some point snd-powermac decided to set a limit
at the existence of layout-id property in device-tree.

The last D-I has tried to set the limit between these two by
blacklisting snd-aoa when snd-powermac is loaded. But it didn't check
the layout-id.

It's worth to mention that snd-powermac leaves the h/w intact when it
gives the warning about layout-id in dmesg. But in at least one case,
PowerMac G4 Digital Audio (PowerMac3,4), snd-aoa does something that
prevents snd-powermac from working. This was the motivation for this
last change in D-I.

Now this patch should make it right:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=650588

Let's hope that we'll get a happy end after all.

Risto


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CACyRQa3dxiK6j4FP_yw9hVR9B+GTfQ==lyfixymr0wrzpws...@mail.gmail.com



Re: no sound on powerbook G4 with wheezy

2011-12-26 Thread Elimar Riesebieter
* Piotr Kopszak [111226 12:03 +0100]:

> Yes, I did it in the first place without success. So it seems there
> are two bugs in D-I. First snd-powermac should not be included in
> /etc/modules, second udev should load proper modules as in the case of
> Powerbook5,8. Maybe different logic boards are to blame?

I am running self compiled vanilla kernels. There is only
snd_aoa_codec_onyx enabled which runs on the latest 5,8.

But anyway, you're right. There must be found a solution for D-I to
decide which snd modules should be loaded. The snd_powerpc should be
for AWACS, DACA, Burgundy, Tumbler, Keywest only.

Elimar

-- 
  "Talking much about oneself can also
   be a means to conceal oneself."
 -Friedrich Nietzsche


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111226112550.gb3...@samweis.home.lxtec.de



Re: no sound on powerbook G4 with wheezy

2011-12-26 Thread Piotr Kopszak
Yes, I did it in the first place without success. So it seems there
are two bugs in D-I. First snd-powermac should not be included in
/etc/modules, second udev should load proper modules as in the case of
Powerbook5,8. Maybe different logic boards are to blame?

2011/12/26 Elimar Riesebieter :
> * Piotr Kopszak [111226 09:19 +0100]:
>
>> It seems I have all the modules I need in place:
> [...]
> I included the following into /etc/modules and it's OK now.
>>
>> snd_aoa_i2sbus
>> snd_aoa_fabric_layout
>> snd_aoa_codec_tas
>
> Well, that shold be done by udev. I am running a
> PowerBook5,8 and all divers and codecs are loaded automagicly. Did
> you try to boot without the /etc/modules entries?
>
> Elimar
>
> --
>  You cannot propel yourself forward by
>  patting yourself on the back.
>
>
> --
> To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20111226101000.ga3...@samweis.home.lxtec.de
>



-- 
http://okle.pl


--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cadawwodhaccwgcure6mh9ffne4xgs9xd3dfw2pcaa+3-iiw...@mail.gmail.com



Re: no sound on powerbook G4 with wheezy

2011-12-26 Thread Elimar Riesebieter
* Piotr Kopszak [111226 09:19 +0100]:

> It seems I have all the modules I need in place:
[...] 
I included the following into /etc/modules and it's OK now.
> 
> snd_aoa_i2sbus
> snd_aoa_fabric_layout
> snd_aoa_codec_tas

Well, that shold be done by udev. I am running a
PowerBook5,8 and all divers and codecs are loaded automagicly. Did
you try to boot without the /etc/modules entries?

Elimar

-- 
  You cannot propel yourself forward by
  patting yourself on the back.


-- 
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20111226101000.ga3...@samweis.home.lxtec.de



Re: no sound on powerbook G4 with wheezy

2011-12-26 Thread Piotr Kopszak
It seems I have all the modules I need in place:

~$ find /lib/modules/`uname -r`/ -name '*aoa*'
/lib/modules/3.1.0-1-powerpc/kernel/sound/aoa
/lib/modules/3.1.0-1-powerpc/kernel/sound/aoa/core/snd-aoa.ko
/lib/modules/3.1.0-1-powerpc/kernel/sound/aoa/soundbus/snd-aoa-soundbus.ko
/lib/modules/3.1.0-1-powerpc/kernel/sound/aoa/soundbus/i2sbus/snd-aoa-i2sbus.ko
/lib/modules/3.1.0-1-powerpc/kernel/sound/aoa/codecs/snd-aoa-codec-toonie.ko
/lib/modules/3.1.0-1-powerpc/kernel/sound/aoa/codecs/snd-aoa-codec-tas.ko
/lib/modules/3.1.0-1-powerpc/kernel/sound/aoa/codecs/snd-aoa-codec-onyx.ko
/lib/modules/3.1.0-1-powerpc/kernel/sound/aoa/fabrics/snd-aoa-fabric-layout.ko

but there must be some problems with the way snd-aoa loads its
submodules as I was finally able to get sound working using the
solution that was only a couple of posts down the list (silly me!). I
included the following into /etc/modules and it's OK now.

snd_aoa_i2sbus
snd_aoa_fabric_layout
snd_aoa_codec_tas

Many thanks for your help

Piotr
2011/12/26 Elimar Riesebieter :
> * Piotr Kopszak [111225 23:41 +0100]:
>
>> Many thanks for your suggestions, but still no success
>>
>> # modprobe -rv snd_powermac
>> rmmod /lib/modules/3.1.0-1-powerpc/kernel/sound/ppc/snd-powermac.ko
>> # echo "blacklist snd_powermac" >> /etc/modprobe.d/alsa_local.conf
>> # modprobe snd_aoa
>> # lsmod | grep sound
>> soundcore               7962  1 snd
>
> What tells:
>
> $ find /lib/modules/`uname -r`/ -name '*aoa*'
>
> Elimar
>
> --
>  "Talking much about oneself can also
>   be a means to conceal oneself."
>         -Friedrich Nietzsche
>
>
> --
> To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
> Archive: http://lists.debian.org/20111225230440.gc3...@samweis.home.lxtec.de
>



-- 
http://okle.pl


--
To UNSUBSCRIBE, email to debian-powerpc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/CADawwoCN4sYVHY8RLttL=no-fpovddbejmgpmwulodhyzor...@mail.gmail.com