Re: [debian-powerpc] New Ibook no sound , Works only for the headphones
Sven,
Thanks for the additional info. Some notes below.
On Fri, Sep 16, 2005 at 04:18:02PM +0200, Sven Henkel wrote:
> Hi!
>
> Being a mac-owner for only 48 hours now, I don't really understand too much of
> the hardware-side of my iBook. So, I might be misunderstanding some of your
> questions, but I'll try and give my best in answering them. :-)
>
> > 1. Was your model detected as a snapper before your fix?
>
> No, it was detected as an awacs-card. That's also what hwinfo tells me.
>
> > You can also
> > check the "compatible" file in the open firmware 'sound' directory.
>
> /proc/device-tree/pci@f2000000/mac-io@17/i2s@0/i2s-a@10000/sound# cat
> compatible
> AOAbase
>
> This doesn't really mean anything to me.
>
> > 2. Can you send a listing of the open firmware 'sound' directory? It would
> > be interesting to see if there are any new files here.
>
> Sure, here it is:
>
> /proc/device-tree/pci@f2000000/mac-io@17/i2s@0/i2s-a@10000/sound# ls -la
> total 8
> dr-xr-xr-x 2 root root 0 Sep 16 15:47 .
> dr-xr-xr-x 3 root root 0 Sep 16 15:47 ..
> -r--r--r-- 1 root root 0 Sep 16 15:57 built-in
> -r--r--r-- 1 root root 8 Sep 16 15:57 compatible
> -r--r--r-- 1 root root 10 Sep 16 15:57 device_type
> -r--r--r-- 1 root root 4 Sep 16 15:57 layout-id
> -r--r--r-- 1 root root 4 Sep 16 15:57 linux,phandle
> -r--r--r-- 1 root root 6 Sep 16 15:57 name
> -r--r--r-- 1 root root 4 Sep 16 15:57 object-model-version
> -r--r--r-- 1 root root 4 Sep 16 15:57 platform-tas-codec-ref
> -r--r--r-- 1 root root 4 Sep 16 15:57 vendor-id
>
> > Output of 'od -x sample-rates' would also be usefull.
>
> Sorry, I don't have that file.
Thats is usefull to know as well. It does mean you're restricted to
44.1KHz now.
> > Maybe others as well,
> > not sure now.
>
> Okay, here we go:
>
> od -x layout-id
> 0000000 0000 0050
> 0000004
>
> od -x linux,phandle
> 0000000 ff98 5200
> 0000004
>
> od -x platform-tas-codec-ref
> 0000000 ff98 cdd8
> 0000004
This tells me is that you definitely have a TAS chipset in there.
Don't know what extact version it is though.
> od -x vendor-id
> 0000000 0000 106b
> 0000004
Apple
> cat device_type
> soundchip
>
> cat name
> sound
>
> > 3. To get this into the kernel please post the fix to
> > alsa-devel@lists.sourceforge.net
> > with a signed-off line and explanation what model chip this is, or at
> > least the /proc/cpuinfo output. Read Documentation/SubmittingPatches for
> > more info. I can forward it as well, if you get the info and sign it off.
>
> Well, I don't really have a clue why that patch works, so I don't like to
> submit it to mainline before I have some deeper understanding of what I
> actually did... ;-) So, I will submit it as soon as someone with more
> knowledge of apple's sound-hardware confirms that the patch looks reasonable.
Basically your patch identifies your sound chip as the TAS3004, usually called
Snapper by Apple. I can't say if this is the precise chip you have. You
could also be having a later model which behaves compatible (so far) with the
TAS3004.
Either way, the TAS3004 code is the most advanced chip in the powermac
code.
I would not have recommended submitting the patch if I did not think it
looked okay...
--
Martin
Reply to: