Debian Bug report logs - #650588
debian-installer-6.0-netboot-powerpc: sound not working out of the box on iMac G5 20 inch

version graph

Package: hw-detect; Maintainer for hw-detect is Debian Install System Team <debian-boot@lists.debian.org>; Source for hw-detect is src:hw-detect.

Reported by: Jeroen Diederen <jjhdiederen@zonnet.nl>

Date: Wed, 30 Nov 2011 23:03:05 UTC

Severity: normal

Tags: d-i, patch

Found in versions hw-detect/1.92, hw-detect/1.88

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, debian-powerpc@lists.debian.org, unknown-package@qa.debian.org:
Bug#650588; Package src:debian-installer-6.0-netboot-powerpc. (Wed, 30 Nov 2011 23:03:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jeroen Diederen <jjhdiederen@zonnet.nl>:
New Bug report received and forwarded. Copy sent to debian-powerpc@lists.debian.org, unknown-package@qa.debian.org. (Wed, 30 Nov 2011 23:03:08 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Jeroen Diederen <jjhdiederen@zonnet.nl>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: debian-installer-6.0-netboot-powerpc: sound not working out of the box on iMac G5 20 inch
Date: Wed, 30 Nov 2011 23:22:43 +0100
Source: debian-installer-6.0-netboot-powerpc
Severity: normal
Tags: d-i

I downloaded the latest netboot image for powerpc64 (30.11.2011). I installed
Debian Wheezy successfully and after reboot I was presented with Wheezy without
sound. To get sound working I added the following kernel modules in
/etc/modules to make sound work:

snd_aoa_i2sbus
snd_aoa_fabric_layout
snd_aoa_codec_tas
snd_aoa_codec_onyx

After clicking Headphone and unmuting sound in GNOME ALSA Mixer I had perfect
sound.

It would be nice if the debian-installer would install these kernel modules in
/etc/modules automatically.

Regards,
Jeroen Diederen



-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: powerpc (ppc64)

Kernel: Linux 3.1.0-1-powerpc64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash




Information forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#650588; Package src:debian-installer-6.0-netboot-powerpc. (Thu, 01 Dec 2011 06:06:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Risto Suominen <risto.suominen@gmail.com>:
Extra info received and forwarded to list. Copy sent to unknown-package@qa.debian.org. (Thu, 01 Dec 2011 06:06:04 GMT) Full text and rfc822 format available.

Message #10 received at 650588@bugs.debian.org (full text, mbox):

From: Risto Suominen <risto.suominen@gmail.com>
To: Jeroen Diederen <jjhdiederen@zonnet.nl>, 650588@bugs.debian.org
Subject: Re: Bug#650588: debian-installer-6.0-netboot-powerpc: sound not working out of the box on iMac G5 20 inch
Date: Thu, 1 Dec 2011 08:02:57 +0200
2011/12/1, Jeroen Diederen <jjhdiederen@zonnet.nl>:
> Source: debian-installer-6.0-netboot-powerpc
> Severity: normal
> Tags: d-i
>
> I downloaded the latest netboot image for powerpc64 (30.11.2011). I installed
> Debian Wheezy successfully and after reboot I was presented with Wheezy without
> sound. To get sound working I added the following kernel modules in
> /etc/modules to make sound work:
>
> snd_aoa_i2sbus
> snd_aoa_fabric_layout
> snd_aoa_codec_tas
> snd_aoa_codec_onyx
>
Are you sure you need both codecs? One should be enough, probably onyx.

Risto




Information forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#650588; Package src:debian-installer-6.0-netboot-powerpc. (Thu, 01 Dec 2011 23:15:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jeroen Diederen <jjhdiederen@zonnet.nl>:
Extra info received and forwarded to list. Copy sent to unknown-package@qa.debian.org. (Thu, 01 Dec 2011 23:15:07 GMT) Full text and rfc822 format available.

Message #15 received at 650588@bugs.debian.org (full text, mbox):

From: Jeroen Diederen <jjhdiederen@zonnet.nl>
To: Risto Suominen <risto.suominen@gmail.com>
Cc: 650588@bugs.debian.org
Subject: Re: Bug#650588: debian-installer-6.0-netboot-powerpc: sound not working out of the box on iMac G5 20 inch
Date: Thu, 01 Dec 2011 23:55:43 +0100
On 12/01/2011 07:02 AM, Risto Suominen wrote:
> 2011/12/1, Jeroen Diederen<jjhdiederen@zonnet.nl>:
>> Source: debian-installer-6.0-netboot-powerpc
>> Severity: normal
>> Tags: d-i
>>
>> I downloaded the latest netboot image for powerpc64 (30.11.2011). I installed
>> Debian Wheezy successfully and after reboot I was presented with Wheezy without
>> sound. To get sound working I added the following kernel modules in
>> /etc/modules to make sound work:
>>
>> snd_aoa_i2sbus
>> snd_aoa_fabric_layout
>> snd_aoa_codec_tas
>> snd_aoa_codec_onyx
>>
> Are you sure you need both codecs? One should be enough, probably onyx.
>
> Risto
>
No I need all of them to have sound working.




Information forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#650588; Package src:debian-installer-6.0-netboot-powerpc. (Sat, 17 Dec 2011 17:15:07 GMT) Full text and rfc822 format available.

Acknowledgement sent to Risto Suominen <risto.suominen@gmail.com>:
Extra info received and forwarded to list. Copy sent to unknown-package@qa.debian.org. (Sat, 17 Dec 2011 17:15:07 GMT) Full text and rfc822 format available.

Message #20 received at 650588@bugs.debian.org (full text, mbox):

From: Risto Suominen <risto.suominen@gmail.com>
To: Jeroen Diederen <jjhdiederen@zonnet.nl>
Cc: 650588@bugs.debian.org
Subject: Re: Bug#650588: debian-installer-6.0-netboot-powerpc: sound not working out of the box on iMac G5 20 inch
Date: Sat, 17 Dec 2011 19:11:57 +0200
I tested on today's daily build (17.12.2011) on an iMac G5 17".

The result is similar, but there is no need for snd_aoa_codec_tas.

The new DE has problems with graphics, but that's another story...

Risto




Information forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#650588; Package src:debian-installer-6.0-netboot-powerpc. (Sat, 17 Dec 2011 22:21:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Jeroen Diederen <jjhdiederen@zonnet.nl>:
Extra info received and forwarded to list. Copy sent to unknown-package@qa.debian.org. (Sat, 17 Dec 2011 22:21:03 GMT) Full text and rfc822 format available.

Message #25 received at 650588@bugs.debian.org (full text, mbox):

From: Jeroen Diederen <jjhdiederen@zonnet.nl>
To: Risto Suominen <risto.suominen@gmail.com>
Cc: 650588@bugs.debian.org
Subject: Re: Bug#650588: debian-installer-6.0-netboot-powerpc: sound not working out of the box on iMac G5 20 inch
Date: Sat, 17 Dec 2011 22:43:00 +0100
On 12/17/2011 06:11 PM, Risto Suominen wrote:
> I tested on today's daily build (17.12.2011) on an iMac G5 17".
>
> The result is similar, but there is no need for snd_aoa_codec_tas.
>
> The new DE has problems with graphics, but that's another story...
>
> Risto
>
I can confirm that snd_aoa_codec_tas is not needed.

Jeroen




Information forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#650588; Package src:debian-installer-6.0-netboot-powerpc. (Thu, 22 Dec 2011 11:39:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Risto Suominen <risto.suominen@gmail.com>:
Extra info received and forwarded to list. Copy sent to unknown-package@qa.debian.org. (Thu, 22 Dec 2011 11:39:14 GMT) Full text and rfc822 format available.

Message #30 received at 650588@bugs.debian.org (full text, mbox):

From: Risto Suominen <risto.suominen@gmail.com>
To: Jeroen Diederen <jjhdiederen@zonnet.nl>
Cc: 650588@bugs.debian.org
Subject: Re: Bug#650588: debian-installer-6.0-netboot-powerpc: sound not working out of the box on iMac G5 20 inch
Date: Thu, 22 Dec 2011 13:35:02 +0200
I think I'm beginning to understand what's happened.

The installer creates a file, /etc/modprobe.d/blacklist.local.conf,
that blacklists many of the snd-aoa modules. This was meant to prevent
auto-loading them on older machines where snd-powermac is used. At the
same time it creates /etc/modules, which force-loads snd-powermac.

Somehow the detection of the machine does not work. The problem lies
in the difficulty of knowing which machines need snd-powermac and
which ones need snd-aoa. Adding snd-aoa modules in /etc/modules is not
necessary in any case.

Risto




Information forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#650588; Package src:debian-installer-6.0-netboot-powerpc. (Thu, 22 Dec 2011 12:33:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Risto Suominen <risto.suominen@gmail.com>:
Extra info received and forwarded to list. Copy sent to unknown-package@qa.debian.org. (Thu, 22 Dec 2011 12:33:22 GMT) Full text and rfc822 format available.

Message #35 received at 650588@bugs.debian.org (full text, mbox):

From: Risto Suominen <risto.suominen@gmail.com>
To: Jeroen Diederen <jjhdiederen@zonnet.nl>
Cc: 650588@bugs.debian.org
Subject: Re: Bug#650588: debian-installer-6.0-netboot-powerpc: sound not working out of the box on iMac G5 20 inch
Date: Thu, 22 Dec 2011 14:22:47 +0200
Tags: patch

snd-powermac draws the limit at the existence of layout-id property in
device-tree. Which leads me to the following patch:

--- hw-detect/discover-mac-io.sh-1.88   2011-08-20 18:11:51.000000000 +0300
+++ hw-detect/discover-mac-io.sh        2011-12-22 14:12:47.000000000 +0200
@@ -68,7 +68,7 @@
                for child in "$dir"/*; do
                        if [ -f "$child/name" ]; then
                                childname="$(cat "$child/name"
2>/dev/null || true)"
-                               if [ "$childname" = sound ]; then
+                               if [ "$childname" = sound -a ! -f
"$child/layout-id" ]; then
                                        # blacklist snd-aoa modules so
snd-powermac is loaded
                                        register-module -b snd-aoa-codec-tas
                                        register-module -b snd-aoa-fabric-layout




Information forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#650588; Package src:debian-installer-6.0-netboot-powerpc. (Thu, 22 Dec 2011 12:54:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to "Jeroen Diederen" <jjhdiederen@zonnet.nl>:
Extra info received and forwarded to list. Copy sent to unknown-package@qa.debian.org. (Thu, 22 Dec 2011 12:54:05 GMT) Full text and rfc822 format available.

Message #40 received at 650588@bugs.debian.org (full text, mbox):

From: "Jeroen Diederen" <jjhdiederen@zonnet.nl>
To: risto.suominen@gmail.com
Cc: "650588@bugs.debian.org" <650588@bugs.debian.org>
Subject: Re: Bug#650588: debian-installer-6.0-netboot-powerpc: sound notworking out of the box on iMac G5 20 inch
Date: Thu, 22 Dec 2011 13:43:49 +0100 (CET)
Whenever this patch will be included in a next version of hw-detect and

it is included in a new Debian installer, I will be the first to test

this out. Good work Risto!



Jeroen



Op 22/12/2011 schreef "Risto Suominen" <risto.suominen@gmail.com>:



>Tags: patch

>

>snd-powermac draws the limit at the existence of layout-id property in

>device-tree. Which leads me to the following patch:

>

>--- hw-detect/discover-mac-io.sh-1.88   2011-08-20 18:11:51.000000000 +0300

>+++ hw-detect/discover-mac-io.sh        2011-12-22 14:12:47.000000000 +0200

>@@ -68,7 +68,7 @@

>                for child in "$dir"/*; do

>                        if [ -f "$child/name" ]; then

>                                childname="$(cat "$child/name"

>2>/dev/null || true)"

>-                               if [ "$childname" = sound ]; then

>+                               if [ "$childname" = sound -a ! -f

>"$child/layout-id" ]; then

>                                        # blacklist snd-aoa modules so

>snd-powermac is loaded

>                                        register-module -b snd-aoa-codec-tas

>                                        register-module -b snd-aoa-fabric-la
yout

>




Information forwarded to debian-bugs-dist@lists.debian.org, unknown-package@qa.debian.org:
Bug#650588; Package src:debian-installer-6.0-netboot-powerpc. (Mon, 26 Dec 2011 08:00:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Piotr Kopszak <kopszak@gmail.com>:
Extra info received and forwarded to list. Copy sent to unknown-package@qa.debian.org. (Mon, 26 Dec 2011 08:00:03 GMT) Full text and rfc822 format available.

Message #45 received at 650588@bugs.debian.org (full text, mbox):

From: Piotr Kopszak <kopszak@gmail.com>
To: Jeroen Diederen <jjhdiederen@zonnet.nl>, 650588@bugs.debian.org
Subject: Re: Bug#650588: debian-installer-6.0-netboot-powerpc: sound not working out of the box on iMac G5 20 inch
Date: Mon, 26 Dec 2011 08:56:56 +0100
Same issue with powerpc image still persists. And the same solution applies.

Piotr

2011/11/30 Jeroen Diederen <jjhdiederen@zonnet.nl>:
> Source: debian-installer-6.0-netboot-powerpc
> Severity: normal
> Tags: d-i
>
> I downloaded the latest netboot image for powerpc64 (30.11.2011). I installed
> Debian Wheezy successfully and after reboot I was presented with Wheezy without
> sound. To get sound working I added the following kernel modules in
> /etc/modules to make sound work:
>
> snd_aoa_i2sbus
> snd_aoa_fabric_layout
> snd_aoa_codec_tas
> snd_aoa_codec_onyx
>
> After clicking Headphone and unmuting sound in GNOME ALSA Mixer I had perfect
> sound.
>
> It would be nice if the debian-installer would install these kernel modules in
> /etc/modules automatically.
>
> Regards,
> Jeroen Diederen
>
>
>
> -- System Information:
> Debian Release: wheezy/sid
>  APT prefers testing
>  APT policy: (500, 'testing')
> Architecture: powerpc (ppc64)
>
> Kernel: Linux 3.1.0-1-powerpc64 (SMP w/1 CPU core)
> Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
>
>
>
> --
> To UNSUBSCRIBE, email to debian-powerpc-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/20111130222243.3038.58318.reportbug@imac
>



-- 
http://okle.pl




Bug reassigned from package 'src:debian-installer-6.0-netboot-powerpc' to 'hw-detect'. Request was from Risto Suominen <risto.suominen@gmail.com> to control@bugs.debian.org. (Sat, 16 Feb 2013 13:09:03 GMT) Full text and rfc822 format available.

Added tag(s) patch. Request was from Risto Suominen <risto.suominen@gmail.com> to control@bugs.debian.org. (Sat, 16 Feb 2013 13:09:04 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#650588; Package hw-detect. (Mon, 06 May 2013 18:57:05 GMT) Full text and rfc822 format available.

Acknowledgement sent to Donovan Watteau <tsoomi@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Mon, 06 May 2013 18:57:05 GMT) Full text and rfc822 format available.

Message #54 received at 650588@bugs.debian.org (full text, mbox):

From: Donovan Watteau <tsoomi@gmail.com>
To: 650588@bugs.debian.org
Subject: Re: Bug#650588: debian-installer-6.0-netboot-powerpc: sound not working out of the box on iMac G5 20 inch
Date: Mon, 6 May 2013 20:51:15 +0200 (CEST)
I can confirm that the issue still exists with Debian 7.0 on my
PowerMac 11,2.



Marked as found in versions hw-detect/1.92. Request was from Ben Harris <bjh21@bjh21.me.uk> to control@bugs.debian.org. (Sat, 15 Jun 2013 17:21:18 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#650588; Package hw-detect. (Sat, 15 Jun 2013 17:39:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Ben Harris <bjh21@bjh21.me.uk>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sat, 15 Jun 2013 17:39:04 GMT) Full text and rfc822 format available.

Message #61 received at 650588@bugs.debian.org (full text, mbox):

From: Ben Harris <bjh21@bjh21.me.uk>
To: 650588@bugs.debian.org, control@bugs.debian.org
Subject: iMac G5 (PowerMac8,1): should load snd-aoa etc, not snd-powermac
Date: Sat, 15 Jun 2013 18:16:06 +0100 (BST)
[Message part 1 (text/plain, inline)]
found 650588 hw-detect/1.92
thanks

I've run into precisely the same problem installing Debian 7.0.0 on my 
iMac G5 (PowerMac8,1), and I independently came up with a patch almost 
identical to Risto Suominen's one above.  I've attached it, along with a 
tarball of my /proc/device-tree.

I haven't tried re-installing with this patch in place, but when I run the 
patched script by hand on my system it correctly detects the layout-id 
property and doesn't run "register-module".

-- 
Ben Harris
[device-tree.tar.gz (application/octet-stream, ATTACHMENT)]
[hw-detect.patch (text/x-diff, attachment)]

Marked as found in versions hw-detect/1.88. Request was from Ben Harris <bjh21@bjh21.me.uk> to control@bugs.debian.org. (Sat, 15 Jun 2013 17:39:10 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Apr 19 15:44:45 2014; Machine Name: beach.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.