All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wolfgang Pfeiffer <roto@gmx.net>
To: Johannes Berg <johannes@sipsolutions.net>
Cc: linuxppc-dev list <linuxppc-dev@ozlabs.org>,
	debian-powerpc <debian-powerpc@lists.debian.org>,
	Matthias Grimm <matthiasgrimm@users.sourceforge.net>
Subject: Re: Alubook 5,8: No sound with 2.6.17-rc3-g5528e568-dirty
Date: Fri, 12 May 2006 16:19:18 +0200	[thread overview]
Message-ID: <20060512141918.GA3566@localhost> (raw)
In-Reply-To: <20060510213028.GG3878@localhost>

Hi All

First a fat Thanks to Johannes, Benh and to all of those heroes making
it possible to run a relatively freh PPC (Apple) Powerbook model with Linux ... :)

I'm cross-posting. So a short note for those who can't know what all this is about:

I didn't have sound with a fresh git kernel, on the machine mentioned above:

$ cat /proc/cpuinfo 
processor       : 0
cpu             : 7447A, altivec supported
clock           : 833.333000MHz
revision        : 0.5 (pvr 8003 0105)
bogomips        : 16.57
timebase        : 8320000
platform        : PowerMac
machine         : PowerBook5,8
motherboard     : PowerBook5,8 MacRISC3 Power Macintosh 
detected as     : 287 (PowerBook G4 15")
pmac flags      : 00000019
L2 cache        : 512K unified
pmac-generation : NewWorld

[Oops, something's messed up there: this actually is a 1.67 Ghz
processor. I'll have a look at this later .. :) ]

That's why I sent a message to linuxppc-dev@ozlabs.org. The thread is
starting here:

http://ozlabs.org/pipermail/linuxppc-dev/2006-May/022736.html

On Wed, May 10, 2006 at 11:30:28PM +0200, Wolfgang Pfeiffer wrote:
> On Wed, May 10, 2006 at 06:04:13PM +0200, Johannes Berg wrote:
> 
> > Also, try snd-aoa.
> 
> Impossible here, it does not compile here. Neither with gcc 4.0 or 4.1

Wrong. To put it mildly .. :) Result probably of me being too tired,
too fast, and too anal when reading instructions ...

# lsmod | grep -i aoa
snd_aoa_codec_onyx     12032  2 
snd_aoa_fabric_layout     7492  2 
snd_aoa                 8076  2 snd_aoa_codec_onyx,snd_aoa_fabric_layout
soundbus                6628  2 snd_aoa_fabric_layout,i2sbus
snd                    60148  12 snd_aoa_codec_onyx,snd_aoa_fabric_layout,
				 snd_aoa,snd_powermac,i2sbus,snd_pcm_oss,
				snd_mixer_oss,snd_pcm,snd_timer   

I successfully compiled the software now, and only with gcc-4.1. Example:

# modinfo snd_aoa 
filename:       /lib/modules/2.6.17-rc3-gf358166a-dirty/kernel/sound/aoa/snd-aoa.ko
description:    Apple Onboard Audio Sound Driver
author:         Johannes Berg <johannes@sipsolutions.net>
license:        GPL
vermagic:       2.6.17-rc3-gf358166a-dirty mod_unload gcc-4.1
depends:        snd
srcversion:     D0DFD2EF0CFEB8E7C08AAEB

The git kernel I compiled the snd-aoa modules for (must be from about
yesterday, IINM):

 cat /proc/version
Linux version 2.6.17-rc3-gf358166a-dirty (root@debby1-6) (gcc version
4.1.1 20060428 (prerelease) (Debian 4.1.0-2)) #1 Fri May 12 01:13:36
CEST 2006

config for this latest kernel (Please note the
"CONFIG_PREEMPT_VOLUNTARY=y" in there ... :) ... :

<http://wolfgangpfeiffer.com/config-2.6.17-rc3-gf358166a-dirty.txt>

I filled /etc/modules with snd_aoa modules and i have sound already
from boot time on ... with a minor glitch (i.e. not being able to
store a certain volume level via alsactrl to the next reboot, as it
seems), but sound ...

> 
> I took your instructions from
> http://lists.debian.org/debian-powerpc/2006/03/msg00470.html
> 

I'm listening to some Internet radio station via alsaplayer while
writing this mail ... :) ...

Results, as of now:

I can change the sound volume via the software. Tested in xine and
alsaplayer-gtk so far ...

I have problems doing the same with pbbuttonsd. That is I can start,
e.g., gtkppbuttons, but when pressing <FN>-<F5> or <FN>-<F4> it seems
being impossible to change the sound volume this way. But I can toggle
it completely ON/OFF with <FN>-<F3.> ... not being sure tho' whether
this is due to some of my braindead mistakes or really a pbbuttonsd
issue ...

Thanks again a lot to everyone for your work, your time, and the
resulting fine software ... :)

Nice weekend
Wolfgang

-- 
Wolfgang Pfeiffer: /ICQ: 286585973/ + + +  /AIM: crashinglinux/
http://profiles.yahoo.com/wolfgangpfeiffer

Key ID: E3037113
http://keyserver.mine.nu/pks/lookup?search=0xE3037113&fingerprint=on

  parent reply	other threads:[~2006-05-12 14:17 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-10 15:49 Alubook 5,8: No sound with 2.6.17-rc3-g5528e568-dirty Wolfgang Pfeiffer
2006-05-10 16:04 ` Johannes Berg
2006-05-10 17:24   ` Wolfgang Pfeiffer
2006-05-10 20:54     ` Christoph Cebulla
2006-05-10 23:48     ` Benjamin Herrenschmidt
2006-05-10 21:30   ` Wolfgang Pfeiffer
2006-05-10 23:08     ` Wolfgang Pfeiffer
2006-05-10 23:49       ` Benjamin Herrenschmidt
2006-05-12 14:19     ` Wolfgang Pfeiffer [this message]
2006-05-12 14:27       ` Johannes Berg
2006-05-10 23:47   ` Benjamin Herrenschmidt
2006-05-11 11:58     ` Johannes Berg
2006-05-11 12:04       ` Benjamin Herrenschmidt

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20060512141918.GA3566@localhost \
    --to=roto@gmx.net \
    --cc=debian-powerpc@lists.debian.org \
    --cc=johannes@sipsolutions.net \
    --cc=linuxppc-dev@ozlabs.org \
    --cc=matthiasgrimm@users.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.