Sound drivers for newer machines: need help

2005-04-08 Thread Benjamin Herrenschmidt
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.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-08 Thread Benjamin Herrenschmidt
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.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-08 Thread Dustin Lang
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
[EMAIL PROTECTED]
https://ozlabs.org/mailman/listinfo/linuxppc-dev

--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Sound drivers for newer machines: need help

2005-04-08 Thread Benjamin Herrenschmidt
On Sat, 2005-04-09 at 02:53 +0200, Andreas Schwab wrote:
> Benjamin Herrenschmidt <[EMAIL PROTECTED]> 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/[EMAIL PROTECTED],f200/[EMAIL PROTECTED]/[EMAIL 
> PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/sound/layout-id
> 000  0024  
> 004

Thanks.

Ben.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-08 Thread Andreas Schwab
Benjamin Herrenschmidt <[EMAIL PROTECTED]> 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/[EMAIL PROTECTED],f200/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/sound/layout-id
000  0024  
004

Andreas.

-- 
Andreas Schwab, SuSE Labs, [EMAIL PROTECTED]
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."


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-08 Thread Tamas K Papp
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/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/sound/layout-id
000  0033
004


Best,

Tamas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-08 Thread Jorge Salamero
on Saturday 09 April 2005 02:31, Benjamin Herrenschmidt wrote:
> echo `cat /proc/device-tree/model`

PowerBook4,3

>
> 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.

-- 
Jorge Salamero Sanz aka "bencer"
chatto: [EMAIL PROTECTED]
mailto: [EMAIL PROTECTED]
dontgo: http://bys.cauterized.net/


pgp7RiytpqrVk.pgp
Description: PGP signature


Re: Sound drivers for newer machines: need help

2005-04-08 Thread Sebastien NOEL
On Sat, 09 Apr 2005 10:31:14 +1000 , Benjamin Herrenschmidt wrote:

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

PowerBook6,3

> 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.

it returns nothing

> 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.
> 


Sebastien


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-08 Thread Arnaud Delobelle
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
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Sound drivers for newer machines: need help

2005-04-08 Thread [ATR]Dj-Death
Le samedi 09 avril 2005 Ã 10:31 +1000, Benjamin Herrenschmidt a Ãcrit :
> 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

find: /proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/pulses/rev:
No such file or directory

/proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/ exits, 
but
there is a strange file (viewable in nautilus as) pulses%2Frev .

strange ...

-- 

Lionel Landwerlin / Dj-Death [EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-08 Thread Djoume SALVETTI
Le samedi 04/09/05 Benjamin Herrenschmidt <[EMAIL PROTECTED]> 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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Johannes Berg
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/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/sound/layout-id
000  0046
004

johannes


signature.asc
Description: This is a digitally signed message part


Re: Sound drivers for newer machines: need help

2005-04-09 Thread Paul van Tilburg
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:
> 
> echo `cat /proc/device-tree/model`

PowerBook3,5

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



Paul

-- 
Student @ Eindhoven | email: [EMAIL PROTECTED]
University of Technology, The Netherlands   | JID: [EMAIL PROTECTED]
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Martin-Éric Racine
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?

-- 
Martin-Éric Racine
http://www.iki.fi/q-funk/



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Daniele Menozzi
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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Luis Sanjuan
> 
> echo `cat /proc/device-tree/model`
>

PowerBook5,3 

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

Nothing

>
>

Best Regards,
Luis


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Pablo Guerrero
-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-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Cedric Duval
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/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/sound/layout-id
000  003a  
004

Regards,
-- 
Cédric


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Helge Kreutzmann
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.   [EMAIL PROTECTED]
   gpg signed mail preferred 
64bit GNU powered  http://www.itp.uni-hannover.de/~kreutzm
   Help keep free software "libre": http://www.freepatents.org/


pgp3Tm9DDUcHl.pgp
Description: PGP signature


Re: Sound drivers for newer machines: need help

2005-04-09 Thread Antonio-M. Corbi Bellot
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/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/sound/layout-id
000  0048
004

A. Corbi


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Guido Guenther
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`
PowerBook6,1
> 
> and
> 
> for i in `find /proc/device-tree -name layout-id -print`; do echo $i && 
> hexdump -n4 $i; done
nothing.
Cheers,
 -- Guido


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Brad Boyer
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
[EMAIL PROTECTED]


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Matthew T. Atkinson
'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/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/sound/layout-id
000  0033
004

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 <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Gabriel Paubert
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


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Tamas K Papp
On Sat, Apr 09, 2005 at 10:21:29PM +0100, Matthew T. Atkinson wrote:

> 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.

try esound

Tamas


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Paul van Tilburg
On Sat, Apr 09, 2005 at 10:21:29PM +0100, Matthew T. Atkinson wrote:
> 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.

Yes, the device only has one available channel and blocks for the
rest, I would suggest to google for: site:lists.debian.org dmix powerpc
The dmix solution is nice, without a daemon and works great.

Paul

-- 
Student @ Eindhoven | email: [EMAIL PROTECTED]
University of Technology, The Netherlands   | JID: [EMAIL PROTECTED]
>>> Using the Power of Debian GNU/Linux <<< | GnuPG key ID: 0x50064181


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Benjamin Herrenschmidt
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.



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-09 Thread Benjamin Herrenschmidt
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/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
> PROTECTED]/[EMAIL PROTECTED]/sound/layout-id
> 000  0033
> 004
> 
> 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 <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-10 Thread Ben Hill
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/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/[EMAIL PROTECTED]/pulses/rev: No such file or directory
/proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/sound/layout-id
000  0046
004

HTH

-- 
[EMAIL PROTECTED] - www.seigan.org
PGP Key fingerprint = 4309 1C58 5143 AFAC F69E  11CD 76FD 56D4 1223 E387


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-10 Thread Matthew T. Atkinson
'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 <[EMAIL PROTECTED]>


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-10 Thread Alexander Schmehl
* Benjamin Herrenschmidt <[EMAIL PROTECTED]> [050409 02:31]:

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

PowerBook6,5


Well... I'm curios:  Why _echo_ `cat foo`???


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

find: /proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/pulses/rev: No such file or directory


> I'm especially interested in the various models of G5 based machines.

Sorry, I don't have a G5, just a three week old iBook.


Yours sincerely,
  Alexander


signature.asc
Description: Digital signature


Re: Sound drivers for newer machines: need help

2005-04-11 Thread Colin Leroy
On Mon, 11 Apr 2005 08:49:23 +0200
Alexander Schmehl <[EMAIL PROTECTED]> wrote:

> Well... I'm curios:  Why _echo_ `cat foo`???

To get the \n that's missing at the end of /proc/device-tree/model, I
suppose :)
-- 
Colin


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-11 Thread Bernhard Reiter
PowerBook 15" post feb-2005:
I can confirm the quoted readings
and I am not getting another message by find like Ben.

On Sat, Apr 09, 2005 at 10:50:30AM +0200, Johannes Berg wrote:
> PowerBook5,6
> 
> > for i in `find /proc/device-tree -name layout-id -print`; do echo $i && 
> > hexdump -n4 $i; done
> 
> /proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
> PROTECTED]/[EMAIL PROTECTED]/sound/layout-id
> 000  0046
> 004

On Sun, Apr 10, 2005 at 01:13:49PM +0100, Ben Hill wrote:
> PowerBook5,6

> > for i in `find /proc/device-tree -name layout-id -print`; do echo $i && 
> > hexdump -n4 $i; done
> 
> find: /proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
> PROTECTED]/[EMAIL PROTECTED]/pulses/rev: No such file or directory
> /proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
> PROTECTED]/[EMAIL PROTECTED]/sound/layout-id
> 000  0046
> 004


pgppHqQ0Tmixs.pgp
Description: PGP signature


Re: Sound drivers for newer machines: need help

2005-04-11 Thread Ben Hill
On Mon, 2005-04-11 at 16:30 +0200, Bernhard Reiter wrote:
> PowerBook 15" post feb-2005:
> I can confirm the quoted readings
> and I am not getting another message by find like Ben.

Ignore that message - it's unrelated to the sound device.


-- 
[EMAIL PROTECTED] - www.seigan.org
PGP Key fingerprint = 4309 1C58 5143 AFAC F69E  11CD 76FD 56D4 1223 E387


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



RE: Sound drivers for newer machines: need help

2005-04-13 Thread Demke Torsten-atd012
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: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] 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
> [EMAIL PROTECTED]
> https://ozlabs.org/mailman/listinfo/linuxppc-dev
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]



Re: Sound drivers for newer machines: need help

2005-04-13 Thread Eddy Petrisor
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.
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]


Re: Sound drivers for newer machines: need help

2005-04-16 Thread Aurélien GÉRÔME
Hi Ben,

On Sat, Apr 09, 2005 at 10:31:14AM +1000, Benjamin Herrenschmidt wrote:
> 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/[EMAIL PROTECTED],f200/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/sound/layout-id
000  0024
004

Cheers.
-- 
((__,-"""-,__))  Aurélien GÉRÔME   .---.
 `--)~   ~(--`   Free Software Developer  / \
.-'(   )`-.  Unix Sys & Net Admin [EMAIL PROTECTED]@./
`~~`@)   (@`~~`   /`\_/`\
| |.''`. //  _  \\
| |   : :'  :   | \ )|_
(8___8)   `. `'`   /`\_`>  <_/ \
 `---`  `- \__/'---'\__/
BOFH excuse #282: High altitude condensation from U.S.A.F prototype
aircraft has contaminated the primary subnet mask. Turn off your
computer for 9 days to avoid damaging it.


signature.asc
Description: Digital signature


Re: Sound drivers for newer machines: need help

2005-04-21 Thread Jochen Voss
Hi,

sorry about the delay.  The following is for an March 2005 Powerbook5,6 with
15 inch screen.

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:
> 
> 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

quiche:~# echo `cat /proc/device-tree/model`
PowerBook5,6
quiche:~# for i in `find /proc/device-tree -name layout-id -print`; do echo $i 
&& hexdump -n4 $i; done
/proc/device-tree/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL PROTECTED]/[EMAIL 
PROTECTED]/sound/layout-id
000  0046  
004

All the best,
Jochen
-- 
http://seehuhn.de/


signature.asc
Description: Digital signature