PPCGeeks

PPCGeeks (http://forum.ppcgeeks.com/index.php)
-   Android On TP2 (http://forum.ppcgeeks.com/forumdisplay.php?f=179)
-   -   Why sound isn't working on the TP2. (http://forum.ppcgeeks.com/showthread.php?t=121743)

WoZZeR999 07-30-2010 11:57 AM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by jonpry (Post 1889583)
Wozzer, here is a new file. Logs more stuff. Hopefully enough :-).

http://pastebin.com/XpL1LcXy

Cool, I'll try it out in an about an hour or so.

jonpry 07-31-2010 04:54 PM

Re: Why sound isn't working on the TP2.
 
this has been very interesting. thanks to all that have helped so far. at this point the windows driver running under android is pretty much in the same shape as the native driver. ie it complains about never getting an interrupt.

i believe this is caused by one of the things we are not doing. probably klt or spm. the native dll's for these can probably be used as well. i will start trying to get those loaded up soon.

for those wanting to help. wrapper could be written for microp spm and adsprtos. collecting data on these dll's will help us get further along. i will write these wrappers if nobody else does. i am moving to the caribean right now. arriving on the 10th. so things are a bit hectic.

hyperfire21 08-02-2010 05:40 AM

Re: Why sound isn't working on the TP2.
 
thanks for all ur hard work guys. please keep updating us on the progress. will keep checking regularly if u need any testers.

jonpry 08-03-2010 01:11 AM

Re: Why sound isn't working on the TP2.
 
Could somebody post a recmodded pm.dll from a WM6.0 gsm rhodium?

WoZZeR999 08-03-2010 07:56 AM

Re: Why sound isn't working on the TP2.
 
As far as I know, Rhod only shipped with 6.1 Pro, there was not an option for WM6.0 Std. I'm downloading the original AT&T shipped rom right now. I'll post the recmodded OEMDrivers and XIP in a few minutes. (File is still downloading)

WoZZeR999 08-03-2010 08:24 AM

Re: Why sound isn't working on the TP2.
 
http://www.4shared.com/file/JA3DWd32...ATT_stuff.html

This is the WM6.1 (earliest I could find) GSM RHOD OEMDrivers and XIP. PM.dll is in the XIP.zip file.

I'm looking through the nk.exe again, and I see it does Interrupt Masking, could this be causing the issues for sound and 3d? Here's the exact text line from the nk - '[K][GuardDog][Interrupt_MASK] owner proc: %s, cur proc: %s, thrd: %08X, int_id: %08X, masked?'. It seems to mask a few other things as well.

[ACL] 08-03-2010 11:16 AM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by WoZZeR999 (Post 1895634)
http://www.4shared.com/file/JA3DWd32...ATT_stuff.html

This is the WM6.1 (earliest I could find) GSM RHOD OEMDrivers and XIP. PM.dll is in the XIP.zip file.

I'm looking through the nk.exe again, and I see it does Interrupt Masking, could this be causing the issues for sound and 3d? Here's the exact text line from the nk - '[K][GuardDog][Interrupt_MASK] owner proc: %s, cur proc: %s, thrd: %08X, int_id: %08X, masked?'. It seems to mask a few other things as well.

Thats just a text line i think. If you see the address 0xc0000010 being modified then that might be worth a look.

Check out the wiki on the topaz section. We have a dump there of the whole VIC section there. If the asm you see matches some of those values, let me know and we can take a look.

Do you have a link for 6.1 CDMA rhod files? i'm interested in comparing the nk.exe to the 6.5

[ACL] 08-03-2010 11:18 AM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by jonpry (Post 1895403)
Could somebody post a recmodded pm.dll from a WM6.0 gsm rhodium?

Here is the link to the Dzo's code that i wanted you to look at. The irq.c is modified a bit and there are references to the dsp irq.

http://androidhtc.git.sourceforge.ne....git;a=summary

jonpry 08-03-2010 12:36 PM

Re: Why sound isn't working on the TP2.
 
[acl]. are you talking about irq.c from mach-msm? i diffed it with ours and see very few differences and no references to adsp.

wozzer, thanks a bunch.

I thought pm.dll would have stuff like SPM_Open and SPM_IOControl, instead it has only one export, start, and no imports. very weird. I wish there was an easy way to scan through all of the dlls for an export.

EDIT: i found the export in HtcPM.dll

[ACL] 08-03-2010 12:51 PM

Re: Why sound isn't working on the TP2.
 
Quote:

Originally Posted by jonpry (Post 1896049)
[acl]. are you talking about irq.c from mach-msm? i diffed it with ours and see very few differences and no references to adsp.

wozzer, thanks a bunch.

I thought pm.dll would have stuff like SPM_Open and SPM_IOControl, instead it has only one export, start, and no imports. very weird. I wish there was an easy way to scan through all of the dlls for an export.


sorry i meant vogueirq.c. I know its not our device, but for it looks like the vic types are preset to the same vals that are on wince. We actually set them all to 0. just figured it was worth a look. Also look for the comment "fix for adsp handler".

Once you give me what your pmem.c is set to for sounds i can start testing these changes.


All times are GMT -4. The time now is 12:37 AM.

Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com


Content Relevant URLs by vBSEO 3.6.0