All of lore.kernel.org
 help / color / mirror / Atom feed
From: Niklaus Giger <niklaus.giger@member.fsf.org>
To: linuxppc-dev@ozlabs.org
Subject: Re: adding more machines to snd-aoa
Date: Fri, 24 Oct 2008 00:00:40 +0200	[thread overview]
Message-ID: <200810240000.41602.niklaus.giger@member.fsf.org> (raw)
In-Reply-To: <1224769461.6002.12.camel@johannes.berg>


Am Donnerstag 23 Oktober 2008 15.44:21 schrieb Johannes Berg:
Hi Johannes

My wife has a PowerBook with exactly the machine you are looking for.
(Running Linux pb 2.6.24-19-powerpc #1 Fri Jul 11 21:37:37 UTC 2008 ppc 
GNU/Linux)

Therefore here the following info.

cat /proc/cpuinfo
processor       : 0
cpu             : 7447/7457, altivec supported
clock           : 999.999000MHz
revision        : 0.1 (pvr 8002 0101)
bogomips        : 60.02
timebase        : 18432000
platform        : PowerMac
machine         : PowerBook5,2
motherboard     : PowerBook5,2 MacRISC3 Power Macintosh
detected as     : 287 (PowerBook G4 15")
pmac flags      : 0000001b
L2 cache        : 512K unified
pmac-generation : NewWorld
/proc/device-tree/pci@f2000000/mac-io@17/i2s@10000/i2s-a@10000/sound/device-id
 find /proc/device-tree/ -wholename '*sound/device-id' | xargs hd
00000000  00 00 00 23                                       |...#|
00000004

If you want the whole device tree, just tell me how to dump it and I will send 
it to you.

Best regards

Niklaus
> Hi,
>
> Andreas (Cc'ed) asked whether it was possible to use snd-aoa on his
> machine, a PowerMac3,6. It appears that it is fairly easy since the
> machine seems to use a regular i2sbus.
>
> To identify it, after looking through my device-tree collections I think
> that the "device-id" property of the sound node would be the best bet.
> This is the value "22" for a PowerMac3,6.
>
> However, this node is also present on at least a PowerBook5,2 (value
> 35). Can somebody who has such a machine please reply to this me?
> Sjoerd, I think you have/had such a machine? I'd like you to test a few
> patches once they're ready, and I need to know what connectors it has
> (line-in, mic, headphones, ...).
>
> However, even if that works, I'll also need to know whether there are
> any other machines that have such a device-id property so that making
> snd-aoa-i2sbus aware of machines with device-id doesn't break those that
> I don't list. Therefore, if you have access to a machine that is
> newworld and has audio, please run the following commands:
>
> find /proc/device-tree/ -wholename '*sound/device-id'
> find /proc/device-tree/ -wholename '*sound/device-id' | xargs hd
>
> and let me know their output. No output is fine, I'm only interested in
> those machines that have this property. If you have access to a DT
> collection (hi Ben :) ) I'd appreciate if you could run it on that.
>
> johannes

-- 
NIklaus Giger

      parent reply	other threads:[~2008-10-23 22:00 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-10-23 13:44 adding more machines to snd-aoa Johannes Berg
2008-10-23 15:35 ` Gabriel Paubert
2008-10-23 15:41   ` Johannes Berg
2008-10-23 16:43     ` Gabriel Paubert
2008-10-23 21:30       ` Benjamin Herrenschmidt
2008-10-24  8:40       ` Johannes Berg
2008-10-24 12:26         ` Gabriel Paubert
2008-10-24 12:30           ` Johannes Berg
2008-10-24 12:43           ` Johannes Berg
2008-10-23 22:00 ` Niklaus Giger [this message]

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=200810240000.41602.niklaus.giger@member.fsf.org \
    --to=niklaus.giger@member.fsf.org \
    --cc=linuxppc-dev@ozlabs.org \
    /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.