[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [debian-powerpc] New Ibook no sound , Works only for the headphones


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 

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.

> Maybe others as well, 
> not sure now.

Okay, here we go:

od -x layout-id
0000000 0000 0050

od -x linux,phandle
0000000 ff98 5200

od -x platform-tas-codec-ref
0000000 ff98 cdd8

od -x vendor-id
0000000 0000 106b

cat device_type

cat name

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


Application has reported a 'Not My Fault' in module KRNL.EXE in line 0200:103F

Reply to: