* Support for powermac G5?
@ 2004-06-20 16:21 jaspal.kallar.xfree86
2004-06-21 16:30 ` Reiner Klenk
0 siblings, 1 reply; 4+ messages in thread
From: jaspal.kallar.xfree86 @ 2004-06-20 16:21 UTC (permalink / raw)
To: alsa-devel
Can anybody say if sound on the powermac G5 is supported ?
I have no idea which chipset it is either.
I've tried with kernels 2.6.5, 2.6.6 and 2.6.7
modprobe snd-powermac
FATAL: Error inserting snd_powermac
(/lib/modules/2.6.7-r0/kernel/sound/ppc/snd-powermac.ko): No such device
and in /var/log/messages I get
"Jun 20 18:19:09 linux ALSA sound/ppc/pmac.c:1095: pmac: can't request resource 0!
Jun 20 18:19:09 linux no PMac soundchip found"
Can anybody give me some pointers into what the problem could be. Btw I
have snd-powermac as a module and not compliled into any of the above kernels.
But I have also tried it compliled into the kernel but with same results.
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Support for powermac G5?
2004-06-20 16:21 Support for powermac G5? jaspal.kallar.xfree86
@ 2004-06-21 16:30 ` Reiner Klenk
2004-06-21 17:30 ` jaspal.kallar.xfree86
0 siblings, 1 reply; 4+ messages in thread
From: Reiner Klenk @ 2004-06-21 16:30 UTC (permalink / raw)
To: alsa devel
Dont't know anything about soundchips on G5, but on my new Powerbook I
had to comment out the chipset identification in pmac.c and set the chip
to snapper.
Reiner
jaspal.kallar.xfree86@spray.se wrote:
> Can anybody say if sound on the powermac G5 is supported ?
> I have no idea which chipset it is either.
>
> I've tried with kernels 2.6.5, 2.6.6 and 2.6.7
>
> modprobe snd-powermac
> FATAL: Error inserting snd_powermac
> (/lib/modules/2.6.7-r0/kernel/sound/ppc/snd-powermac.ko): No such device
>
>
> and in /var/log/messages I get
>
> "Jun 20 18:19:09 linux ALSA sound/ppc/pmac.c:1095: pmac: can't request resource 0!
> Jun 20 18:19:09 linux no PMac soundchip found"
>
>
> Can anybody give me some pointers into what the problem could be. Btw I
> have snd-powermac as a module and not compliled into any of the above kernels.
> But I have also tried it compliled into the kernel but with same results.
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/alsa-devel
-------------------------------------------------------
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Support for powermac G5?
2004-06-21 16:30 ` Reiner Klenk
@ 2004-06-21 17:30 ` jaspal.kallar.xfree86
2004-06-27 8:08 ` Reiner Klenk
0 siblings, 1 reply; 4+ messages in thread
From: jaspal.kallar.xfree86 @ 2004-06-21 17:30 UTC (permalink / raw)
To: alsa devel
On Mon, 21 Jun 2004, Reiner Klenk wrote:
> Dont't know anything about soundchips on G5, but on my new Powerbook I
> had to comment out the chipset identification in pmac.c and set the chip
> to snapper.
>
> Reiner
Reiner: I presume your commnets are for the function (pmac.c):
"static int __init snd_pmac_detect(pmac_t *chip)"
where you commented out the if-statement (line 927 for me) :
if (device_is_compatible(sound, "snapper")) {
chip->model = PMAC_SNAPPER;
// chip->can_byte_swap = 0; /* FIXME: check this */
chip->num_freqs = 2;
chip->freq_table = tumbler_freqs;
chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */
}
so that it was snapper. A question though. How did you know that you had
to set the chipset to snapper ? Was this information available somewhere
in /proc ? For example, (wild guess) is the information in
/proc/device-tree/ht@0,f2000000/pci@3/mac-io@7/i2s@10000/i2s-a@0/sound/compatible
important ? In my case it gives AOAK2.
Also did you get the same error as me i.e
"ALSA sound/ppc/pmac.c:1095: pmac: can't request resource 0!"
in /var/log/messages?
Thanks,
Jaspal.
>
> jaspal.kallar.xfree86@spray.se wrote:
> > Can anybody say if sound on the powermac G5 is supported ?
> > I have no idea which chipset it is either.
> >
> > I've tried with kernels 2.6.5, 2.6.6 and 2.6.7
> >
> > modprobe snd-powermac
> > FATAL: Error inserting snd_powermac
> > (/lib/modules/2.6.7-r0/kernel/sound/ppc/snd-powermac.ko): No such device
> >
> >
> > and in /var/log/messages I get
> >
> > "Jun 20 18:19:09 linux ALSA sound/ppc/pmac.c:1095: pmac: can't request resource 0!
> > Jun 20 18:19:09 linux no PMac soundchip found"
> >
> >
> > Can anybody give me some pointers into what the problem could be. Btw I
> > have snd-powermac as a module and not compliled into any of the above kernels.
> > But I have also tried it compliled into the kernel but with same results.
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> > Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> > Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> > REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> > _______________________________________________
> > Alsa-devel mailing list
> > Alsa-devel@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/alsa-devel
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
> Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
> Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
> REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
> _______________________________________________
> Alsa-devel mailing list
> Alsa-devel@lists.sourceforge.net
>
>
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Support for powermac G5?
2004-06-21 17:30 ` jaspal.kallar.xfree86
@ 2004-06-27 8:08 ` Reiner Klenk
0 siblings, 0 replies; 4+ messages in thread
From: Reiner Klenk @ 2004-06-27 8:08 UTC (permalink / raw)
To: jaspal.kallar.xfree86; +Cc: alsa devel
jaspal.kallar.xfree86@spray.se wrote:
> Reiner: I presume your commnets are for the function (pmac.c):
> "static int __init snd_pmac_detect(pmac_t *chip)"
>
> where you commented out the if-statement (line 927 for me) :
>
> if (device_is_compatible(sound, "snapper")) {
> chip->model = PMAC_SNAPPER;
> // chip->can_byte_swap = 0; /* FIXME: check this */
> chip->num_freqs = 2;
> chip->freq_table = tumbler_freqs;
> chip->control_mask = MASK_IEPC | 0x11; /* disable IEE */
> }
>
> so that it was snapper.
Yes, that's what I did.
A question though. How did you know that you had
> to set the chipset to snapper ? Was this information available somewhere
> in /proc ? For example, (wild guess) is the information in
> /proc/device-tree/ht@0,f2000000/pci@3/mac-io@7/i2s@10000/i2s-a@0/sound/compatible
> important ? In my case it gives AOAK2.
It says here: AOAKeylargo
I don't really know much about these things. I read about this
work-around on the debian-ppc mailing list (This list has been very
helpful in resolving a couple of issues with the new powerbooks).
Yesterday I updated my kernel to 2.6.7-bk9 and I didn't have to modify
pmac.c any more. So for powerbooks this seems to be fixed.
>
> Also did you get the same error as me i.e
> "ALSA sound/ppc/pmac.c:1095: pmac: can't request resource 0!"
> in /var/log/messages?
No, I haven't seen that.
Reagrds,
Reiner
-------------------------------------------------------
This SF.Net email sponsored by Black Hat Briefings & Training.
Attend Black Hat Briefings & Training, Las Vegas July 24-29 -
digital self defense, top technical experts, no vendor pitches,
unmatched networking opportunities. Visit www.blackhat.com
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-06-27 8:08 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-06-20 16:21 Support for powermac G5? jaspal.kallar.xfree86
2004-06-21 16:30 ` Reiner Klenk
2004-06-21 17:30 ` jaspal.kallar.xfree86
2004-06-27 8:08 ` Reiner Klenk
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.