View Single Post
  #164 (permalink)  
Old 07-22-2010, 03:53 PM
jonpry's Avatar
jonpry
PPCGeeks Regular
Offline
 
Join Date: Apr 2010
Posts: 70
Reputation: 715
jonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuffjonpry knows their stuff
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Why sound isn't working on the TP2.

Quote:
Originally Posted by [ACL] View Post
How far did you get on making rpc calls related to audio? I know you were successful with the gps obviously but i haven't been able to make any calls. One example was trying to enable grp rail via rpc (A9 would crash).
RPC really isn't a problem anymore since we have a more or less complete implementation of oncrpc.dll and are able to load the native remoteapisvc.dll and remoteapiclient.dll. But after doing all of that, all it really did is verify that the reversed engineered RPC calls for sound were good enough.

wavedev.dll eventually makes a kernel io control that i believe returns the AMSS version to the drivers, but I don't know how this number is represented or what it should be. Perhaps that is making some part of the driver not work correctly, but it doesn't error.

There are also some strange calls to DEX, SPM, and KLM. In theory DEX an SPM are working, but I didn't verify it very well. There is some question as to what it is for. Maybe cycling power on the DSP?

I have no idea what KLM is. Captnoord said it is MicroP, but I couldn't find a dll that exports a KLM driver. Some massive amount of data is transfered to it, whatever it is. Maybe microcode? Maybe something on the i2c bus.

I don't know what GRP rail is. Audio doesn't crash A9. A9 seems to be happy with what we are doing, AUDPP starts up and says it is ready to play, but DSP never consumes the buffer.
Reply With Quote
This post has been thanked 1 times.