All of lore.kernel.org
 help / color / mirror / Atom feed
From: pdq808@t-online.de (Reiner Klenk)
To: jaspal.kallar.xfree86@spray.se
Cc: alsa devel <alsa-devel@lists.sourceforge.net>
Subject: Re: Support for powermac G5?
Date: Sun, 27 Jun 2004 10:08:25 +0200	[thread overview]
Message-ID: <40DE8079.4070208@t-online.de> (raw)
In-Reply-To: <Pine.LNX.4.56L0.0406211910270.12620@linux.local>



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

      reply	other threads:[~2004-06-27  8:08 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 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=40DE8079.4070208@t-online.de \
    --to=pdq808@t-online.de \
    --cc=alsa-devel@lists.sourceforge.net \
    --cc=jaspal.kallar.xfree86@spray.se \
    /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.