linuxppc-dev.lists.ozlabs.org archive mirror
 help / color / mirror / Atom feed
* Sound drivers for newer machines: need help
@ 2005-04-09  0:31 Benjamin Herrenschmidt
  2005-04-09  0:37 ` Dustin Lang
                   ` (16 more replies)
  0 siblings, 17 replies; 26+ messages in thread
From: Benjamin Herrenschmidt @ 2005-04-09  0:31 UTC (permalink / raw)
  To: debian-powerpc@lists.debian.org, linuxppc-dev list

Hi !

If you have a newer machine, that is a machine released on or after
2002, can you please send me the output of:

echo `cat /proc/device-tree/model`

and

for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done

If the later returns nothing, it's fine, just tell me.

I'm especially interested in the various models of G5 based machines. It
seems apple is having all sorts of very different sound HW setups on
those machines, and I'm trying to figure out exactly what is where based
on those infos and the darwin sources.

Ben.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
@ 2005-04-09  0:37 ` Dustin Lang
  2005-04-09  0:54   ` Benjamin Herrenschmidt
  2005-04-09  0:53 ` Andreas Schwab
                   ` (15 subsequent siblings)
  16 siblings, 1 reply; 26+ messages in thread
From: Dustin Lang @ 2005-04-09  0:37 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org


Hi Ben,

> echo `cat /proc/device-tree/model`
PowerBook6,2

and the second command prints nothing.

Cheers,
dstn.



> Hi !
>
> If you have a newer machine, that is a machine released on or after
> 2002, can you please send me the output of:
>
> echo `cat /proc/device-tree/model`
>
> and
>
> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done
>
> If the later returns nothing, it's fine, just tell me.
>
> I'm especially interested in the various models of G5 based machines. It
> seems apple is having all sorts of very different sound HW setups on
> those machines, and I'm trying to figure out exactly what is where based
> on those infos and the darwin sources.
>
> Ben.
>
>
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
>

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
  2005-04-09  0:37 ` Dustin Lang
@ 2005-04-09  0:53 ` Andreas Schwab
  2005-04-09  1:02   ` Benjamin Herrenschmidt
  2005-04-09  1:20 ` Tamas K Papp
                   ` (14 subsequent siblings)
  16 siblings, 1 reply; 26+ messages in thread
From: Andreas Schwab @ 2005-04-09  0:53 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:

> echo `cat /proc/device-tree/model`

PowerMac7,3

> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done

/proc/device-tree/ht@0,f2000000/pci@1/mac-io@7/i2s@10000/i2s-a@0/sound/layout-id
0000000 0000 0024                              
0000004

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:37 ` Dustin Lang
@ 2005-04-09  0:54   ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 26+ messages in thread
From: Benjamin Herrenschmidt @ 2005-04-09  0:54 UTC (permalink / raw)
  To: Dustin Lang; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

On Fri, 2005-04-08 at 17:37 -0700, Dustin Lang wrote:
> Hi Ben,
> 
> > echo `cat /proc/device-tree/model`
> PowerBook6,2
> 
> and the second command prints nothing.

Thanks.

Ben.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:53 ` Andreas Schwab
@ 2005-04-09  1:02   ` Benjamin Herrenschmidt
  0 siblings, 0 replies; 26+ messages in thread
From: Benjamin Herrenschmidt @ 2005-04-09  1:02 UTC (permalink / raw)
  To: Andreas Schwab; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

On Sat, 2005-04-09 at 02:53 +0200, Andreas Schwab wrote:
> Benjamin Herrenschmidt <benh@kernel.crashing.org> writes:
> 
> > echo `cat /proc/device-tree/model`
> 
> PowerMac7,3
> 
> > for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done
> 
> /proc/device-tree/ht@0,f2000000/pci@1/mac-io@7/i2s@10000/i2s-a@0/sound/layout-id
> 0000000 0000 0024                              
> 0000004

Thanks.

Ben.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
  2005-04-09  0:37 ` Dustin Lang
  2005-04-09  0:53 ` Andreas Schwab
@ 2005-04-09  1:20 ` Tamas K Papp
  2005-04-09  1:45 ` Arnaud Delobelle
                   ` (13 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Tamas K Papp @ 2005-04-09  1:20 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

On Sat, Apr 09, 2005 at 10:31:14AM +1000, Benjamin Herrenschmidt wrote:
> Hi !
> 
> If you have a newer machine, that is a machine released on or after
> 2002, can you please send me the output of:
> 
> echo `cat /proc/device-tree/model`
> 
> and
> 
> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done
> 
> If the later returns nothing, it's fine, just tell me.

% echo `cat /proc/device-tree/model`
PowerBook5,4
% for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done
/proc/device-tree/pci@f2000000/mac-io@17/i2s@10000/i2s-a@10000/sound/layout-id
0000000 0000 0033
0000004


Best,

Tamas

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (2 preceding siblings ...)
  2005-04-09  1:20 ` Tamas K Papp
@ 2005-04-09  1:45 ` Arnaud Delobelle
  2005-04-09  2:06 ` Daniele Lacamera
                   ` (12 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Arnaud Delobelle @ 2005-04-09  1:45 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

Benjamin Herrenschmidt wrote:
> Hi !
> 
> If you have a newer machine, that is a machine released on or after
> 2002, can you please send me the output of:
> 
> echo `cat /proc/device-tree/model`

PowerBook5,2

> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done

Nothing

-- 
Arnaud

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (3 preceding siblings ...)
  2005-04-09  1:45 ` Arnaud Delobelle
@ 2005-04-09  2:06 ` Daniele Lacamera
  2005-04-09  6:50 ` Djoume SALVETTI
                   ` (11 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Daniele Lacamera @ 2005-04-09  2:06 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: debian-powerpc@lists.debian.org

On Saturday 09 April 2005 02:31, Benjamin Herrenschmidt wrote: 
> echo `cat /proc/device-tree/model`

PowerBook6,8

(the newest 1.5Ghz 12" powerbook)

> 
> and
> 
> for i in `find /proc/device-tree -name layout-id -print`; do echo $i 
&& hexdump -n4 $i; done


/proc/device-tree/pci@f2000000/mac-io@17/i2s@0/i2s-a@10000/sound/layout-id
0000000 0000 0048
0000004



-- 
Daniele Lacamera
root{at}danielinux.net

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (4 preceding siblings ...)
  2005-04-09  2:06 ` Daniele Lacamera
@ 2005-04-09  6:50 ` Djoume SALVETTI
  2005-04-09  8:50 ` Johannes Berg
                   ` (10 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Djoume SALVETTI @ 2005-04-09  6:50 UTC (permalink / raw)
  To: linuxppc-dev; +Cc: debian-powerpc

Le samedi 04/09/05 Benjamin Herrenschmidt <benh@kernel.crashing.org> a écrit :
> echo `cat /proc/device-tree/model`

PowerBook6,4

> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done

return nothing.

-- 
Djoumé SALVETTI

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (5 preceding siblings ...)
  2005-04-09  6:50 ` Djoume SALVETTI
@ 2005-04-09  8:50 ` Johannes Berg
  2005-04-09 10:12 ` Martin-Éric Racine
                   ` (9 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Johannes Berg @ 2005-04-09  8:50 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

[-- Attachment #1: Type: text/plain, Size: 342 bytes --]

Hi,

You probably know/have this already but for archive's sake:

> echo `cat /proc/device-tree/model`

PowerBook5,6


> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done

/proc/device-tree/pci@f2000000/mac-io@17/i2s@0/i2s-a@10000/sound/layout-id
0000000 0000 0046
0000004

johannes

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 832 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (6 preceding siblings ...)
  2005-04-09  8:50 ` Johannes Berg
@ 2005-04-09 10:12 ` Martin-Éric Racine
  2005-04-09 16:23   ` Brad Boyer
                     ` (2 more replies)
  2005-04-09 10:21 ` Daniele Menozzi
                   ` (8 subsequent siblings)
  16 siblings, 3 replies; 26+ messages in thread
From: Martin-Éric Racine @ 2005-04-09 10:12 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

On Sat, 9 Apr 2005, Benjamin Herrenschmidt wrote:

> If you have a newer machine, that is a machine released on or after
> 2002, can you please send me the output of:

[...]

> I'm especially interested in the various models of G5 based machines. It
> seems apple is having all sorts of very different sound HW setups on
> those machines, and I'm trying to figure out exactly what is where based
> on those infos and the darwin sources.

Why limit this to new hardware, though?  Why not modularize the pmac ALSA
tree and completely fix all previous hardware variants as well?

Btw, not sound-related but nonetheless a bug in the device tree:

/proc/device-tree/psuedo-hid

That wouldn't be a typo now, would it?

--=20
Martin-=C9ric Racine
http://www.iki.fi/q-funk/

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (7 preceding siblings ...)
  2005-04-09 10:12 ` Martin-Éric Racine
@ 2005-04-09 10:21 ` Daniele Menozzi
  2005-04-09 11:32 ` Pablo Guerrero
                   ` (7 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Daniele Menozzi @ 2005-04-09 10:21 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

On  10:31:14 09/Apr , Benjamin Herrenschmidt wrote:
> echo `cat /proc/device-tree/model`

PowerBook4,3

> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done

nothing

> Ben.
 
 Thank you
 	Menoz

-- 
		      Free Software Enthusiast
		 Debian Powered Linux User #332564 
		     http://shine.homelinux.org

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (8 preceding siblings ...)
  2005-04-09 10:21 ` Daniele Menozzi
@ 2005-04-09 11:32 ` Pablo Guerrero
  2005-04-09 13:10 ` Cedric Duval
                   ` (6 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Pablo Guerrero @ 2005-04-09 11:32 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Benjamin Herrenschmidt wrote:
> Hi !
> 
> If you have a newer machine, that is a machine released on or after
> 2002, can you please send me the output of:
> 
> echo `cat /proc/device-tree/model`
> 

PowerBook6,5

> and
> 
> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done
> 

Nothing.

> If the later returns nothing, it's fine, just tell me.
> 
> I'm especially interested in the various models of G5 based machines. It
> seems apple is having all sorts of very different sound HW setups on
> those machines, and I'm trying to figure out exactly what is where based
> on those infos and the darwin sources.
> 
> Ben.
> 
> 
> 

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.5 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCV702bc/QOFfiAIYRAqlmAJ0aZT3nARj1XNYDt8JRe7UBBkgqqACfR45q
gMVXd9LzdnYLNZKWpDOKQdg=
=1oHh
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (9 preceding siblings ...)
  2005-04-09 11:32 ` Pablo Guerrero
@ 2005-04-09 13:10 ` Cedric Duval
  2005-04-09 13:48 ` Helge Kreutzmann
                   ` (5 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Cedric Duval @ 2005-04-09 13:10 UTC (permalink / raw)
  To: linuxppc-dev, debian-powerpc@lists.debian.org

Hi Ben,

Just in case you didn't note it before sending the Mini back to repair... :)

Benjamin Herrenschmidt wrote:
> echo `cat /proc/device-tree/model`

PowerMac10,1

> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done

/proc/device-tree/pci@f2000000/mac-io@17/i2s@10000/i2s-a@10000/sound/layout-id
0000000 0000 003a                              
0000004

Regards,
-- 
Cédric

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (10 preceding siblings ...)
  2005-04-09 13:10 ` Cedric Duval
@ 2005-04-09 13:48 ` Helge Kreutzmann
  2005-04-09 13:54 ` Antonio-M. Corbi Bellot
                   ` (4 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Helge Kreutzmann @ 2005-04-09 13:48 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

[-- Attachment #1: Type: text/plain, Size: 855 bytes --]

Hello,
On Sat, Apr 09, 2005 at 10:31:14AM +1000, Benjamin Herrenschmidt wrote:
> If you have a newer machine, that is a machine released on or after
> 2002, can you please send me the output of:

An ibook from spring 2004 (PowerBook6,5)

> echo `cat /proc/device-tree/model`

thirtyto:~# echo `cat /proc/device-tree/model`
PowerBook6,5

> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done
> 
> If the later returns nothing, it's fine, just tell me.

Yep, returns nothing.

Hope this helps.

       Helge
-- 
Dr. Helge Kreutzmann, Dipl.-Phys.           Helge.Kreutzmann@itp.uni-hannover.de
                       gpg signed mail preferred 
    64bit GNU powered                  http://www.itp.uni-hannover.de/~kreutzm
       Help keep free software "libre": http://www.freepatents.org/

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (11 preceding siblings ...)
  2005-04-09 13:48 ` Helge Kreutzmann
@ 2005-04-09 13:54 ` Antonio-M. Corbi Bellot
  2005-04-09 21:21 ` Matthew T. Atkinson
                   ` (3 subsequent siblings)
  16 siblings, 0 replies; 26+ messages in thread
From: Antonio-M. Corbi Bellot @ 2005-04-09 13:54 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

El sáb, 09-04-2005 a las 10:31 +1000, Benjamin Herrenschmidt escribió:
> Hi !
> 
> If you have a newer machine, that is a machine released on or after
> 2002, can you please send me the output of:

Hi Ben, this is a Powerbook 12" post feb-2005.

As you know sound does not work, the card seems to be recognized and the
module "snd_powermac" is loaded, sound-applications (rhythmbox, xmms,
bmp, totem, etc...) work but nothing can't be heard:

> echo `cat /proc/device-tree/model`

PowerBook6,8

> and
> 
> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done

/proc/device-tree/pci@f2000000/mac-io@17/i2s@0/i2s-a@10000/sound/layout-id
0000000 0000 0048
0000004

A. Corbi

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09 10:12 ` Martin-Éric Racine
@ 2005-04-09 16:23   ` Brad Boyer
  2005-04-09 22:06   ` Gabriel Paubert
  2005-04-09 23:27   ` Benjamin Herrenschmidt
  2 siblings, 0 replies; 26+ messages in thread
From: Brad Boyer @ 2005-04-09 16:23 UTC (permalink / raw)
  To: Martin-?ric Racine; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

On Sat, Apr 09, 2005 at 01:12:31PM +0300, Martin-?ric Racine wrote:
> Btw, not sound-related but nonetheless a bug in the device tree:
> 
> /proc/device-tree/psuedo-hid
> 
> That wouldn't be a typo now, would it?

If it is, I suspect it's in your version of the firmware. That isn't
added by the kernel. Here's mine:

dr-xr-xr-x  5 root root 0 Apr  9 09:17 /proc/device-tree/pseudo-hid/

And in OSX, ioreg lists a top level node of pseudo-hid as well. These
are PowerMac7,2 and PowerBook5,2 respectively.

	Brad Boyer
	flar@allandria.com

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (12 preceding siblings ...)
  2005-04-09 13:54 ` Antonio-M. Corbi Bellot
@ 2005-04-09 21:21 ` Matthew T. Atkinson
  2005-04-09 23:38   ` Benjamin Herrenschmidt
  2005-04-10 12:13 ` Ben Hill
                   ` (2 subsequent siblings)
  16 siblings, 1 reply; 26+ messages in thread
From: Matthew T. Atkinson @ 2005-04-09 21:21 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

'ello,

On Sat, 2005-04-09 at 10:31 +1000, Benjamin Herrenschmidt wrote:
> echo `cat /proc/device-tree/model`

PowerBook5,4

> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done

/proc/device-tree/pci@f2000000/mac-io@17/i2s@10000/i2s-a@10000/sound/layout-id
0000000 0000 0033
0000004

For your information, in case this helps...

I am using ALSA and it appears to work except that only one program can
access the sound hardware at a time (so is just like OSS :-)).  If I am
playing music in XMMS and then try to aplay a .wav file, it will hang
until XMMS is closed for example.

The trick of altering the HZ of mp3 plug-in to remove the choppiness
doesn't seem to work for all mp3 files (thought does for the vast
majority).

Many thanks for looking into this (and all the other work you do --
sleep support, for example, has been *incredibly* useful)!

best regards,


-- 
Matthew T. Atkinson <matthew@agrip.org.uk>

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09 10:12 ` Martin-Éric Racine
  2005-04-09 16:23   ` Brad Boyer
@ 2005-04-09 22:06   ` Gabriel Paubert
  2005-04-09 23:27   ` Benjamin Herrenschmidt
  2 siblings, 0 replies; 26+ messages in thread
From: Gabriel Paubert @ 2005-04-09 22:06 UTC (permalink / raw)
  To: Martin-Éric Racine
  Cc: debian-powerpc@lists.debian.org, linuxppc-dev list

On Sat, Apr 09, 2005 at 01:12:31PM +0300, Martin-Éric Racine wrote:
> On Sat, 9 Apr 2005, Benjamin Herrenschmidt wrote:
> 
> > If you have a newer machine, that is a machine released on or after
> > 2002, can you please send me the output of:
> 
> [...]
> 
> > I'm especially interested in the various models of G5 based machines. It
> > seems apple is having all sorts of very different sound HW setups on
> > those machines, and I'm trying to figure out exactly what is where based
> > on those infos and the darwin sources.
> 
> Why limit this to new hardware, though?  Why not modularize the pmac ALSA
> tree and completely fix all previous hardware variants as well?
> 
> Btw, not sound-related but nonetheless a bug in the device tree:
> 
> /proc/device-tree/psuedo-hid
> 
> That wouldn't be a typo now, would it?

It is a typo by Apple. It is the name in the firmware of my
PowerMacG4 466 (PowerMac3,4) under the OF prompt too 
(psuedo-hid and psuedo-sound). 

OTOH in my Pismo (PowerBook3,1) these same name are spelled 
correctly, despite the fact that it is older (but it has had 
at least one firmware upgrade while the G4 has none AFAIR).

/proc/device-tree keeps the names given by OF and only adds 
a few of its own, "linux,phandle" mostly.

	Gabriel

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09 10:12 ` Martin-Éric Racine
  2005-04-09 16:23   ` Brad Boyer
  2005-04-09 22:06   ` Gabriel Paubert
@ 2005-04-09 23:27   ` Benjamin Herrenschmidt
  2 siblings, 0 replies; 26+ messages in thread
From: Benjamin Herrenschmidt @ 2005-04-09 23:27 UTC (permalink / raw)
  To: Martin-Éric Racine
  Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

On Sat, 2005-04-09 at 13:12 +0300, Martin-Éric Racine wrote:
> On Sat, 9 Apr 2005, Benjamin Herrenschmidt wrote:
> 
> > If you have a newer machine, that is a machine released on or after
> > 2002, can you please send me the output of:
> 
> [...]
> 
> > I'm especially interested in the various models of G5 based machines. It
> > seems apple is having all sorts of very different sound HW setups on
> > those machines, and I'm trying to figure out exactly what is where based
> > on those infos and the darwin sources.
> 
> Why limit this to new hardware, though?  Why not modularize the pmac ALSA
> tree and completely fix all previous hardware variants as well?

Which is what I am doing, I just need some more infos about new hardware
because the HW setup done by Apple on those is fairly confusing.
 
> Btw, not sound-related but nonetheless a bug in the device tree:
> 
> /proc/device-tree/psuedo-hid
> 
> That wouldn't be a typo now, would it?

Might be but nobody cares about this one anyway.

Ben.

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09 21:21 ` Matthew T. Atkinson
@ 2005-04-09 23:38   ` Benjamin Herrenschmidt
  2005-04-10 14:16     ` Matthew T. Atkinson
  0 siblings, 1 reply; 26+ messages in thread
From: Benjamin Herrenschmidt @ 2005-04-09 23:38 UTC (permalink / raw)
  To: Matthew T. Atkinson; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

On Sat, 2005-04-09 at 22:21 +0100, Matthew T. Atkinson wrote:
> 'ello,
> 
> On Sat, 2005-04-09 at 10:31 +1000, Benjamin Herrenschmidt wrote:
> > echo `cat /proc/device-tree/model`
> 
> PowerBook5,4
> 
> > for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done
> 
> /proc/device-tree/pci@f2000000/mac-io@17/i2s@10000/i2s-a@10000/sound/layout-id
> 0000000 0000 0033
> 0000004
> 
> For your information, in case this helps...
> 
> I am using ALSA and it appears to work except that only one program can
> access the sound hardware at a time (so is just like OSS :-)).  If I am
> playing music in XMMS and then try to aplay a .wav file, it will hang
> until XMMS is closed for example.

If you set apps like xmms to actually use alsa output, you can have
mixing but for that, you have to enable the dmix plugin in your alsa
config. Look for infos about that on this list archive.

> The trick of altering the HZ of mp3 plug-in to remove the choppiness
> doesn't seem to work for all mp3 files (thought does for the vast
> majority).
> 
> Many thanks for looking into this (and all the other work you do --
> sleep support, for example, has been *incredibly* useful)!
> 
> best regards,
> 
> 
-- 
Benjamin Herrenschmidt <benh@kernel.crashing.org>

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (13 preceding siblings ...)
  2005-04-09 21:21 ` Matthew T. Atkinson
@ 2005-04-10 12:13 ` Ben Hill
  2005-04-10 17:13 ` Armando Di Cianno
  2005-04-13 22:09 ` Eddy Petrisor
  16 siblings, 0 replies; 26+ messages in thread
From: Ben Hill @ 2005-04-10 12:13 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

On Sat, 2005-04-09 at 10:31 +1000, Benjamin Herrenschmidt wrote:
> echo `cat /proc/device-tree/model`

PowerBook5,6

> 
> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done

find: /proc/device-tree/uni-n@f8000000/i2c@f8001000/i2c-bus@1/fan@5c/pulses/rev: No such file or directory
/proc/device-tree/pci@f2000000/mac-io@17/i2s@0/i2s-a@10000/sound/layout-id
0000000 0000 0046
0000004

HTH

-- 
ben@serosoft.com - www.seigan.org
PGP Key fingerprint = 4309 1C58 5143 AFAC F69E  11CD 76FD 56D4 1223 E387

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09 23:38   ` Benjamin Herrenschmidt
@ 2005-04-10 14:16     ` Matthew T. Atkinson
  0 siblings, 0 replies; 26+ messages in thread
From: Matthew T. Atkinson @ 2005-04-10 14:16 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

'ello,

On Sun, 2005-04-10 at 09:38 +1000, Benjamin Herrenschmidt wrote:
> If you set apps like xmms to actually use alsa output, you can have
> mixing but for that, you have to enable the dmix plugin in your alsa
> config. Look for infos about that on this list archive.

Thanks to both who suggested this; at last its all working with multiple
apps!

best regards,


-- 
Matthew T. Atkinson <matthew@agrip.org.uk>

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (14 preceding siblings ...)
  2005-04-10 12:13 ` Ben Hill
@ 2005-04-10 17:13 ` Armando Di Cianno
  2005-04-13 22:09 ` Eddy Petrisor
  16 siblings, 0 replies; 26+ messages in thread
From: Armando Di Cianno @ 2005-04-10 17:13 UTC (permalink / raw)
  To: linuxppc-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2005-04-08 20:31:14 -0400 Benjamin Herrenschmidt
<benh@kernel.crashing.org> wrote:
Late in this game, but for completeness...
> echo `cat /proc/device-tree/model`
PowerBook5,4

> for i in `find /proc/device-tree -name layout-id -print`; do echo $i 
> && 
> hexdump -n4 $i; done
/proc/device-tree/pci@f2000000/mac-io@17/i2s@10000/i2s-a@10000/sound/layout-id
0000000 0000 0033
0000004

__armando di cianno
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using the GPG bundle for GNUMail

iD8DBQFCWV7JwgiTPLI9xhcRApm9AJ0ZjwXim5sGmm8W3OBsKLyDO7wrVACeJ7FH
L4fLQJYI6rItfSljTmHNk78=
=b4iY
-----END PGP SIGNATURE-----

^ permalink raw reply	[flat|nested] 26+ messages in thread

* RE: Sound drivers for newer machines: need help
@ 2005-04-13  9:16 Demke Torsten-atd012
  0 siblings, 0 replies; 26+ messages in thread
From: Demke Torsten-atd012 @ 2005-04-13  9:16 UTC (permalink / raw)
  To: Benjamin Herrenschmidt, debian-powerpc, linuxppc-dev list

Hi,

just another one:

echo `cat /proc/device-tree/model`
PowerBook5,5

for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done
Nothing

Regards,
Torsten


> -----Original Message-----
> From: linuxppc-dev-bounces@ozlabs.org
> [mailto:linuxppc-dev-bounces@ozlabs.org]On Behalf Of Benjamin
> Herrenschmidt
> Sent: Samstag, 9. April 2005 02:31
> To: debian-powerpc@lists.debian.org; linuxppc-dev list
> Subject: Sound drivers for newer machines: need help
> 
> 
> Hi !
> 
> If you have a newer machine, that is a machine released on or after
> 2002, can you please send me the output of:
> 
> echo `cat /proc/device-tree/model`
> 
> and
> 
> for i in `find /proc/device-tree -name layout-id -print`; do 
> echo $i && hexdump -n4 $i; done
> 
> If the later returns nothing, it's fine, just tell me.
> 
> I'm especially interested in the various models of G5 based 
> machines. It
> seems apple is having all sorts of very different sound HW setups on
> those machines, and I'm trying to figure out exactly what is 
> where based
> on those infos and the darwin sources.
> 
> Ben.
> 
> 
> _______________________________________________
> Linuxppc-dev mailing list
> Linuxppc-dev@ozlabs.org
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
> 

^ permalink raw reply	[flat|nested] 26+ messages in thread

* Re: Sound drivers for newer machines: need help
  2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
                   ` (15 preceding siblings ...)
  2005-04-10 17:13 ` Armando Di Cianno
@ 2005-04-13 22:09 ` Eddy Petrisor
  16 siblings, 0 replies; 26+ messages in thread
From: Eddy Petrisor @ 2005-04-13 22:09 UTC (permalink / raw)
  To: Benjamin Herrenschmidt; +Cc: linuxppc-dev list, debian-powerpc@lists.debian.org

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=x-user-defined; format=flowed, Size: 896 bytes --]

Benjamin Herrenschmidt wrote:
> Hi !
> 
> If you have a newer machine, that is a machine released on or after
> 2002, can you please send me the output of:
> 
> echo `cat /proc/device-tree/model`

PowerBook5,2

> 
> and
> 
> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && hexdump -n4 $i; done
> 

Nothing

> If the later returns nothing, it's fine, just tell me.
> 
> I'm especially interested in the various models of G5 based machines. It
> seems apple is having all sorts of very different sound HW setups on
> those machines, and I'm trying to figure out exactly what is where based
> on those infos and the darwin sources.
> 
> Ben.
> 
> 
> 
I am not sure if my Powerbook was released after 2002, but the date(the 
copyright stuff) on the back is 2003.

-- 
Regards,
EddyP
===========================
I had a favourite quote, but I forgot it. And it was insightful.

^ permalink raw reply	[flat|nested] 26+ messages in thread

end of thread, other threads:[~2005-04-20  4:16 UTC | newest]

Thread overview: 26+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-04-09  0:31 Sound drivers for newer machines: need help Benjamin Herrenschmidt
2005-04-09  0:37 ` Dustin Lang
2005-04-09  0:54   ` Benjamin Herrenschmidt
2005-04-09  0:53 ` Andreas Schwab
2005-04-09  1:02   ` Benjamin Herrenschmidt
2005-04-09  1:20 ` Tamas K Papp
2005-04-09  1:45 ` Arnaud Delobelle
2005-04-09  2:06 ` Daniele Lacamera
2005-04-09  6:50 ` Djoume SALVETTI
2005-04-09  8:50 ` Johannes Berg
2005-04-09 10:12 ` Martin-Éric Racine
2005-04-09 16:23   ` Brad Boyer
2005-04-09 22:06   ` Gabriel Paubert
2005-04-09 23:27   ` Benjamin Herrenschmidt
2005-04-09 10:21 ` Daniele Menozzi
2005-04-09 11:32 ` Pablo Guerrero
2005-04-09 13:10 ` Cedric Duval
2005-04-09 13:48 ` Helge Kreutzmann
2005-04-09 13:54 ` Antonio-M. Corbi Bellot
2005-04-09 21:21 ` Matthew T. Atkinson
2005-04-09 23:38   ` Benjamin Herrenschmidt
2005-04-10 14:16     ` Matthew T. Atkinson
2005-04-10 12:13 ` Ben Hill
2005-04-10 17:13 ` Armando Di Cianno
2005-04-13 22:09 ` Eddy Petrisor
  -- strict thread matches above, loose matches on Subject: below --
2005-04-13  9:16 Demke Torsten-atd012

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).