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.
Hi Ben,
Quoted 1 line
echo
cat /proc/device-tree/model
PowerBook6,2
and the second command prints nothing.
Cheers,
dstn.
Quoted 26 lines
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/modeland
for i in
find /proc/device-tree -name layout-id -print; do echo $i && hexdump -n4 $i; doneIf 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
Quoted 1 line · Benjamin Herrenschmidt
echo
cat /proc/device-tree/model
PowerMac7,3
Quoted 1 line
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.
Signature · 4 lines
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."
Quoted 6 lines · Dustin Lang
Hi Ben,
Quoted 1 line
echo
cat /proc/device-tree/modelPowerBook6,2
and the second command prints nothing.
Thanks.
Ben.
Quoted 11 lines · Andreas Schwab
Quoted 1 line · Benjamin Herrenschmidt
echo
cat /proc/device-tree/modelPowerMac7,3
Quoted 1 line
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-id0000000 0000 0024
0000004
Thanks.
Ben.
Quoted 5 lines · 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:
Quoted 7 lines
echo
cat /proc/device-tree/modeland
for i in
find /proc/device-tree -name layout-id -print; do echo $i && hexdump -n4 $i; doneIf 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
Quoted 6 lines · 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
PowerBook5,2
Quoted 1 line
for i in
find /proc/device-tree -name layout-id -print; do echo $i && hexdump -n4 $i; done
Nothing
Signature · 1 line
Arnaud
Quoted 1 line · Benjamin Herrenschmidt
echo
cat /proc/device-tree/model
PowerBook6,8
(the newest 1.5Ghz 12" powerbook)
Quoted 4 lines
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
Signature · 2 lines
Daniele Lacamera
root{at}danielinux.netQuoted 1 line · Le samedi 04/09/05 Benjamin Herrenschmidt <[email protected]> a écrit :
echo
cat /proc/device-tree/model
PowerBook6,4
Quoted 1 line
for i in
find /proc/device-tree -name layout-id -print; do echo $i && hexdump -n4 $i; done
return nothing.
Signature · 1 line
Djoumé SALVETTI
Hi,
You probably know/have this already but for archive's sake:
Quoted 1 line
echo
cat /proc/device-tree/model
PowerBook5,6
Quoted 1 line
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
Quoted 1 line · Benjamin Herrenschmidt
echo
cat /proc/device-tree/model
PowerBook4,3
Quoted 1 line
for i in
find /proc/device-tree -name layout-id -print; do echo $i && hexdump -n4 $i; done
nothing
Quoted 1 line
Ben.
Thank you
Menoz
Signature · 3 lines
Free Software Enthusiast Debian Powered Linux User #332564 http://shine.homelinux.org
Quoted 2 lines · Benjamin Herrenschmidt
If you have a newer machine, that is a machine released on or after 2002, can you please send me the output of:
[...]
Quoted 4 lines
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/
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Quoted 7 lines · 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
PowerBook6,5
Quoted 4 lines
and
for i in
find /proc/device-tree -name layout-id -print; do echo $i && hexdump -n4 $i; done
Nothing.
Quoted 11 lines
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-----
Hi Ben,
Just in case you didn't note it before sending the Mini back to repair... :)
Quoted 1 line · Benjamin Herrenschmidt
echo
cat /proc/device-tree/model
PowerMac10,1
Quoted 1 line
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,
Signature · 1 line
Cédric
Hello,
Quoted 2 lines · Benjamin Herrenschmidt
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)
Quoted 1 line
echo
cat /proc/device-tree/model
thirtyto:~# echo `cat /proc/device-tree/model` PowerBook6,5
Quoted 3 lines
for i in
find /proc/device-tree -name layout-id -print; do echo $i && hexdump -n4 $i; doneIf the later returns nothing, it's fine, just tell me.
Yep, returns nothing.
Hope this helps.
Helge
Signature · 4 lines
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/
Quoted 4 lines · 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:
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:
Quoted 1 line
echo
cat /proc/device-tree/model
PowerBook6,8
Quoted 3 lines
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
Quoted 5 lines · Martin-?ric Racine
Btw, not sound-related but nonetheless a bug in the device tree:
/proc/device-tree/psuedo-hidThat 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]
'ello,
Quoted 1 line · Benjamin Herrenschmidt
echo
cat /proc/device-tree/model
PowerBook5,4
Quoted 1 line
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,
Signature · 1 line
Matthew T. Atkinson <[email protected]>
Quoted 12 lines · Martin-Éric Racine
Quoted 2 lines · Benjamin Herrenschmidt
If you have a newer machine, that is a machine released on or after 2002, can you please send me the output of:
[...]
Quoted 4 lines
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.
Quoted 8 lines
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-hidThat 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
Quoted 7 lines · Martin-Éric Racine
Quoted 2 lines · Benjamin Herrenschmidt
If you have a newer machine, that is a machine released on or after 2002, can you please send me the output of:
[...]
Quoted 7 lines
Quoted 4 lines
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.
Quoted 5 lines
Btw, not sound-related but nonetheless a bug in the device tree:
/proc/device-tree/psuedo-hidThat wouldn't be a typo now, would it?
Might be but nobody cares about this one anyway.
Ben.
Quoted 13 lines · Matthew T. Atkinson
'ello,
Quoted 1 line · Benjamin Herrenschmidt
echo
cat /proc/device-tree/modelPowerBook5,4
Quoted 1 line
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-id0000000 0000 0033
0000004
Quoted 6 lines
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.
Quoted 10 lines
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,
Signature · 1 line
Benjamin Herrenschmidt <[email protected]>
Quoted 1 line · Benjamin Herrenschmidt
echo
cat /proc/device-tree/model
PowerBook5,6
Quoted 2 lines
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
Signature · 2 lines
[email protected] - www.seigan.org PGP Key fingerprint = 4309 1C58 5143 AFAC F69E 11CD 76FD 56D4 1223 E387
'ello,
Quoted 3 lines · Benjamin Herrenschmidt
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,
Signature · 1 line
Matthew T. Atkinson <[email protected]>
Quoted 6 lines · 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
PowerBook5,2
Quoted 5 lines
and
for i in
find /proc/device-tree -name layout-id -print; do echo $i && hexdump -n4 $i; done
Nothing
Quoted 11 lines
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.
Signature · 4 lines
Regards, EddyP =========================== I had a favourite quote, but I forgot it. And it was insightful.
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
On 2005-04-08 20:31:14 -0400 Benjamin Herrenschmidt <[email protected]> wrote:
Late in this game, but for completeness...
Quoted 1 line
echo
cat /proc/device-tree/model
PowerBook5,4
Quoted 1 line
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-----