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)

daddymikey1975 07-06-2010 02:55 PM

Re: Why sound isn't working on the TP2.
 
I do know that there IS one dev in particular working on sound alone (along w/ offering his 2 cents to answer questions and help the other devs when they're stuck.) and even in the chat logs the guy working on sound doesn't answer too many questions when he's asked how the sound is coming so he's being hush hush most likely to not incite a panic lol

The reason we don't hear much from the other devs is (my opinion here) is that here on PPCGeeks there may be too many haters. Too many ppl complaining that "this doesn't work" "that doesn't work" etc.

again, that's just my opinion.

I DO know that [ACL] is working on 3D graphics rendering so he IS on the Dev team (just not working on sound)

There were some interesting and welcoming achievements made this weekend on other fronts as well FWIW

Hopefully this helps

[ACL] 07-06-2010 06:03 PM

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

Originally Posted by jdmsohc22 (Post 1853363)
Has anyone from the actual Android Development team chimed in on this at all..?? I'm sure they'd be able to lend a hand in decompiling, coding, etc... Although I still don't see this ever making it to 100%, it would be cool to get some more knowledgeable individuals involved, who actually know what files do what, and most importantly enough most of the Android dev's were most likely WinMo dev's at one point so they'd specifically know what to change and what not..

lol. Actually the knowledge of winmo is small from what i can tell. Most of the devs need to learn wince to reverse engineer everything in linux.

I'm involved in trying to get 3d to work. Phh is also helping and recently we have been able to get some ideas from Cotulla (hd2 kernel guru). I'm not working on sound or anything else.

Take a look at my open gl post if you want to know more on that issue.

variance 07-06-2010 11:04 PM

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

Originally Posted by daddymikey1975 (Post 1853478)
I do know that there IS one dev in particular working on sound alone (along w/ offering his 2 cents to answer questions and help the other devs when they're stuck.) and even in the chat logs the guy working on sound doesn't answer too many questions when he's asked how the sound is coming so he's being hush hush most likely to not incite a panic lol

The reason we don't hear much from the other devs is (my opinion here) is that here on PPCGeeks there may be too many haters. Too many ppl complaining that "this doesn't work" "that doesn't work" etc.

again, that's just my opinion.

I DO know that [ACL] is working on 3D graphics rendering so he IS on the Dev team (just not working on sound)

There were some interesting and welcoming achievements made this weekend on other fronts as well FWIW

Hopefully this helps

There is one other active dev doing sound? fantastic. if they get results before this slow outsourcing thing does I'd like to entice him with offering him the bounty on completion. Doesn't look like there's gonna be a android handset with a sliding keyboard/tilting screen anytime in the near future... the Samsung Epic 4g... looks like it might be close (no tilt) but if it's keyboard is like the moment's. (pure crap) i'm gonna have to wait for HTC or stick to my rhodium

variance 07-06-2010 11:11 PM

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

Originally Posted by yoyo81 (Post 1853439)
It is certainly possible to get a C/C++ implementation out of ASM for a particular architecture. Not sure if it would be prohibitively expensive (975 min order, )or whether the results would be any clearer/more understandable than ASM.

I'm with ACL on the need to do a trace. Didn't someone say they were willing to JTAG their TP2 and trace the runs? That might be helpful. What we need is a friend on the inside in HTC's dev group. :)

See:
http://www.mpsinc.com/assembly.html
For pricing info:
http://www.mpsinc.com/translation.html

Disclaimer: I do not work for this company, nor do i have any dealings with this company. They just came up first on a google search for ASM -> C cross compilers.

the Guy who had his TP2 tore apart for jtagging is in the xda-dev rhodium android developer opengl thread. he hasn't given us a update for several weeks. i'd surmise he's busy.

[ACL] 07-07-2010 01:09 AM

Re: Why sound isn't working on the TP2.
 
jtag dood vanished .. no word..

Anyways the hd2 guys have sound working. So lets hope more ideas flow our way. I know what everyone is gonna ask, can we use their work? ..No the hd2 is a different beast and hopefully Cotulla can help us dissect the sound issue like they did for the hd2.

daddymikey1975 07-07-2010 08:14 AM

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

Originally Posted by [ACL] (Post 1854329)
jtag dood vanished .. no word..

Anyways the hd2 guys have sound working. So lets hope more ideas flow our way. I know what everyone is gonna ask, can we use their work? ..No the hd2 is a different beast and hopefully Cotulla can help us dissect the sound issue like they did for the hd2.

I was gonna send you a PM and ask this exact question :-P

I saw that Cotulla was able to get sound working and knew that he was working on the Leo but was wondering how similar the Leo is to the Rhod. hehehe..

On a side note, how many devs are working on a build/port for the Rhod ?

[ACL] 07-07-2010 10:39 AM

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

Originally Posted by daddymikey1975 (Post 1854487)
I was gonna send you a PM and ask this exact question :-P

I saw that Cotulla was able to get sound working and knew that he was working on the Leo but was wondering how similar the Leo is to the Rhod. hehehe..

On a side note, how many devs are working on a build/port for the Rhod ?

Not as many as the Hd2 team thats for sure. But most of those guys help in all devices. May need to buy cotulla a rhod and let him go crazy ..lol.

sd73ta 07-07-2010 12:51 PM

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

Originally Posted by [ACL] (Post 1854666)
May need to buy cotulla a rhod and let him go crazy ..lol.

When they asked for donations to get Da'G a HD2 on xda for WP7 it took just over a day to get enough for a JTAG and a HD2. So if you decide to do that and have asked Cotulla would you post here and there?

daddymikey1975 07-07-2010 01:38 PM

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

Originally Posted by [ACL] (Post 1854666)
Not as many as the Hd2 team thats for sure. But most of those guys help in all devices. May need to buy cotulla a rhod and let him go crazy ..lol.

I MIGHT be able to talk my brother into letting Cotulla borrow his.

He's gonna get the droid X when it comes out and he said his TP2 (vzw) was gonna sit in a drawer.

I wouldn't mind taking up donations to collect some $ to pay my brother for the phone instead of asking him if Cotulla can borrow it. (I'd pay for shipping LOL)

(I'll talk to my brother and see what his thoughts are)

What are you guys' thoughts/opinions on donating a bit of $ to 'purchase' my brother's device to donate to Cotulla/the dev team ??

Reefermattness 07-07-2010 01:42 PM

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

Originally Posted by daddymikey1975 (Post 1854880)
I MIGHT be able to talk my brother into letting Cotulla borrow his.

He's gonna get the droid X when it comes out and he said his TP2 (vzw) was gonna sit in a drawer.

I wouldn't mind taking up donations to collect some $ to pay my brother for the phone instead of asking him if Cotulla can borrow it. (I'd pay for shipping LOL)

(I'll talk to my brother and see what his thoughts are)

What are you guys' thoughts/opinions on donating a bit of $ to 'purchase' my brother's device to donate to Cotulla/the dev team ??

The TP2 Phh uses used to actually be mine. :) Its not hard to get a dev a phone, just gotta be creative and get a couple willing to help!

daddymikey1975 07-07-2010 01:56 PM

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

Originally Posted by [ACL] (Post 1854666)
Not as many as the Hd2 team thats for sure. But most of those guys help in all devices. May need to buy cotulla a rhod and let him go crazy ..lol.

It appears that he has a rhod 400 (sprint CDMA version)

This is the same phone that I have (I believe)

Quote:

Cotulla: well i have rhod400 7600
Seems like we just need to send him some vodka money (he's in russia after all LOL)

Any helpers ? :D

variance 07-07-2010 03:34 PM

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

Originally Posted by daddymikey1975 (Post 1854908)
It appears that he has a rhod 400 (sprint CDMA version)

This is the same phone that I have (I believe)



Seems like we just need to send him some vodka money (he's in russia after all LOL)

Any helpers ? :D

He already has a rhod400.
I'll send him a large bottle of vodka and some caviar if he can help the sound situation.

veeeee 07-07-2010 06:56 PM

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

Originally Posted by daddymikey1975 (Post 1854908)
It appears that he has a rhod 400 (sprint CDMA version)

You read the logs wrong, [ACL] is the one with a Rhod400.

hackbenjamin 07-07-2010 10:46 PM

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

Originally Posted by variance (Post 1854189)
There is one other active dev doing sound? fantastic. if they get results before this slow outsourcing thing does I'd like to entice him with offering him the bounty on completion. Doesn't look like there's gonna be a android handset with a sliding keyboard/tilting screen anytime in the near future... the Samsung Epic 4g... looks like it might be close (no tilt) but if it's keyboard is like the moment's. (pure crap) i'm gonna have to wait for HTC or stick to my rhodium

how about the htc mytouch 3g? android and its a sliding keyboard htc.....

variance 07-07-2010 11:51 PM

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

Originally Posted by hackbenjamin (Post 1855725)
how about the htc mytouch 3g? android and its a sliding keyboard htc.....

No Tilting screen. T-mobile. smaller HVGA screen. processor pretty much the same speed. 4 row. not 5 row keyboard.

If I'm gonna change I want to go vertically not horizontally.
The Epic 4G is pretty much the only thing that hits every criteria except its screen don't tilt up.

I do hope it's as solid as my TP2 has been.

daddymikey1975 07-08-2010 08:06 AM

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

Originally Posted by veeeee (Post 1855398)
You read the logs wrong, [ACL] is the one with a Rhod400.

You're correct.

My Mistake :(

(I got all excited when I saw his name next to Rhod 400 LOL)

Still.. We should work on getting Cotulla a TP2 to tear apart

sd73ta 07-08-2010 09:50 AM

Re: Why sound isn't working on the TP2.
 
I just asked cotulla and he said he might be interested a little later

yoyo81 07-08-2010 03:10 PM

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

Originally Posted by daddymikey1975 (Post 1854880)
I MIGHT be able to talk my brother into letting Cotulla borrow his.

He's gonna get the droid X when it comes out and he said his TP2 (vzw) was gonna sit in a drawer.

I wouldn't mind taking up donations to collect some $ to pay my brother for the phone instead of asking him if Cotulla can borrow it. (I'd pay for shipping LOL)

(I'll talk to my brother and see what his thoughts are)

What are you guys' thoughts/opinions on donating a bit of $ to 'purchase' my brother's device to donate to Cotulla/the dev team ??

i'd be willing to throw in a few bucks toward this end.

savir90 07-08-2010 05:09 PM

Re: Why sound isn't working on the TP2.
 
ey im down to throw down some $ on the sound fix for android on tp2

kawaiius 07-09-2010 12:38 AM

Re: Why sound isn't working on the TP2.
 
I might be willing to donate my phone to testing..pending wether i get a htc incredible or not

york629 07-09-2010 02:09 PM

Re: Why sound isn't working on the TP2.
 
Now this may be a stupid question but the TP2 has a feature in winmo that when you put the phone on it's face the sound switches to the speakerphone. it is one of the only phones that has it I believe, could that have anything to do with why the sound should work but dosent?

sjs01 07-09-2010 04:35 PM

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

Originally Posted by york629 (Post 1858180)
Now this may be a stupid question but the TP2 has a feature in winmo that when you put the phone on it's face the sound switches to the speakerphone. it is one of the only phones that has it I believe, could that have anything to do with why the sound should work but dosent?

No I don't believe so, the only thing that happens when you turn the phone face down is that the proximity sensor and the G-sensor show that the phone is upside down facing the ground, so it then turns on speaker phone. This shouldn't have anything to do with sound on android at all. When you turn the phone upside down face down, it's the same as turning speaker phone on, but instead of having to do it, it does it for you.

7827 07-12-2010 04:24 PM

Re: Why sound isn't working on the TP2.
 
thanks alot for all this info im sure everyone appreciates it!
i also wanne thank all the developers working on this project for spending their time on doing all this for us whitout asking for anything ...

jonpry 07-16-2010 04:56 PM

Re: Why sound isn't working on the TP2.
 
Hi all, I have done some serious work on sound. Been busy lately but I hope to get back to it next month. As someone suggested at the beginning on this thread, I have written an ndiswrapper like program for windows ce drivers under linux. It is called vial, http://gitorious.org/vial

I was able to get GPS working using this code. Atm, it does completely load the wavedev.dll which appears to init successfully, but alas, there is no sound. There are only a couple of things left which i think may not be working correctly. If someone wanted to work on it I would be happy to get them up to speed. Somebody needs to write some wince programs to find out what magic numbers it is returning for some functions.

daddymikey1975 07-16-2010 10:06 PM

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

Originally Posted by jonpry (Post 1869294)
Hi all, I have done some serious work on sound. Been busy lately but I hope to get back to it next month. As someone suggested at the beginning on this thread, I have written an ndiswrapper like program for windows ce drivers under linux. It is called vial, http://gitorious.org/vial

I was able to get GPS working using this code. Atm, it does completely load the wavedev.dll which appears to init successfully, but alas, there is no sound. There are only a couple of things left which i think may not be working correctly. If someone wanted to work on it I would be happy to get them up to speed. Somebody needs to write some wince programs to find out what magic numbers it is returning for some functions.

Thank you for the work you've done thus far even though we cannot take advantage of it (or put it to use) YET :)

Have you shared this information in the IRC channel to see if anyone in there is willing to take what you've done and continue with it, work with it, or collaborate ??

Just a suggestion.

Thanks again for all the work that you and everyone involved has put into this project so far. :)

jonpry 07-16-2010 11:10 PM

Re: Why sound isn't working on the TP2.
 
I have not been on IRC in a while, but back when I was working on this, I was in the channel all the time. There aren't many people, or maybe any, working on TP2 any more, all HD2. Even when there were, other people usually don't like to get started on other peoples projects. They have there own thing going on, and their own vision on how to solve the problem.

daddymikey1975 07-17-2010 08:29 AM

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

Originally Posted by jonpry (Post 1869804)
I have not been on IRC in a while, but back when I was working on this, I was in the channel all the time. There aren't many people, or maybe any, working on TP2 any more, all HD2. Even when there were, other people usually don't like to get started on other peoples projects. They have there own thing going on, and their own vision on how to solve the problem.

I noticed that as well. I certainly wish I had more knowledge than I do about ARM/ASM coding and the like. I've been eager to get involved but simply don't know enough.

Cotulla has got sound to work (with some flukes here and there) on the HD2 FWIW.. I wonder if there's some knowledge that can be taken from his progress and used for the TP2 ? I know they're different animals, but sometimes principles are similar.

Thanks again for the work you've done thus far. (and the other devs :) )

[ACL] 07-17-2010 01:42 PM

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

Originally Posted by jonpry (Post 1869804)
I have not been on IRC in a while, but back when I was working on this, I was in the channel all the time. There aren't many people, or maybe any, working on TP2 any more, all HD2. Even when there were, other people usually don't like to get started on other peoples projects. They have there own thing going on, and their own vision on how to solve the problem.

Haha .. havet seen you on the irc channel in ages. Since that last talk we had about getting you a dev tp2 to maybe do jtag stuff if i remember correctly.

It's tru, the channel is really dedicated for hd2 right now. Cotulla has been nice enough to translate some asm for me from time to time but ive yet to solve my own project of hw3d. I believe sound and 3d suffer from the same issue at this point. In android the qualcom driver loads fine but there are no interrupts from the gpu.

Anyways, its obvious there is enough demand for sound. Still interested in getting that jtag stuff done. I'll throw in some bucks to getting you a dev phone. I'm sure others here as well .

jonpry 07-18-2010 01:56 AM

Re: Why sound isn't working on the TP2.
 
That sounds like a working theory :-). My understanding is that the GPU is actually some code running on the DSP. So if DSP is crashed or something, sound and 3d wouldn't work.

stcardinal 07-18-2010 02:59 AM

Re: Why sound isn't working on the TP2.
 
Has anyone tried hiring some freelancer to try and solve this? Maybe we should start looking into that if someone has moved on to the HD2.

YnYng 07-18-2010 11:03 AM

Re: Why sound isn't working on the TP2.
 
i believe variance hired some freelancers, but havent seen him around in a bit

Lioric HTC 07-18-2010 09:19 PM

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

Originally Posted by jonpry (Post 1871584)
That sounds like a working theory :-). My understanding is that the GPU is actually some code running on the DSP. So if DSP is crashed or something, sound and 3d wouldn't work.

Do you have a link or something to a reference about the Adreno being some code in the DSP? (not sarcasm, actually I'm interested in any information about the GPU that we can collect)

From the little available information the Adreno GPU (ATI Imageon) used in our devices is a SoC that happens to have a (dual?) DSP (for audio and video), to me that tells me that the GPU is an actual hardware subsytem and not just some code in the DSP

With that being said, I have the feeling that when we have a working sound, we will automatically have a working GPU (in terms of interrupts), as what it seems is that the audio is handled by one of those dsp's (or an Imageon Mx audio processor)

Im waiting for my Omap DM3730 (with SGX GPU) SoC, after that arrives I will start working on it and will do the some jtag, and then will test Android on that, Im very tempted to do that on the tp2, just not sure that I want to solder my phone (when actually is the only tp2 in my country)

Anyway, it might be of some help if the guy that was debugging with jtag on his phone publishes the pins and the logic level used

If I try that I will prob test it with a Flyswatter interface, hope the ARM11 is somewhat supported

Wish there was a complete msm7600 datasheet available

[ACL] 07-18-2010 10:26 PM

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

Originally Posted by Lioric HTC (Post 1872677)
Do you have a link or something to a reference about the Adreno being some code in the DSP? (not sarcasm, actually I'm interested in any information about the GPU that we can collect)

From the little available information the Adreno GPU (ATI Imageon) used in our devices is a SoC that happens to have a (dual?) DSP (for audio and video), to me that tells me that the GPU is an actual hardware subsytem and not just some code in the DSP

With that being said, I have the feeling that when we have a working sound, we will automatically have a working GPU (in terms of interrupts), as what it seems is that the audio is handled by one of those dsp's (or an Imageon Mx audio processor)

Im waiting for my Omap DM3730 (with SGX GPU) SoC, after that arrives I will start working on it and will do the some jtag, and then will test Android on that, Im very tempted to do that on the tp2, just not sure that I want to solder my phone (when actually is the only tp2 in my country)

Anyway, it might be of some help if the guy that was debugging with jtag on his phone publishes the pins and the logic level used

If I try that I will prob test it with a Flyswatter interface, hope the ARM11 is somewhat supported

Wish there was a complete msm7600 datasheet available

you are correct, the gpu itself is one of the ATI imageon chips. However, the topaz and rhodium are the only ones with no interrupts for the gpu. Others already have this working like Blackstone and Kovsky.

We have very little info on the gpu itself. Just what's been already documented by research others have done already and through disassembly of most of the oem drivers. I have a post on here about the open gl, but we dont really discuss the hardware.

I believe the pins themselves were already published a while back by others. I know i posted a link on xda about it, ill research and post it here when i find. it.

jonpry 07-19-2010 01:02 AM

Re: Why sound isn't working on the TP2.
 
http://www.khronos.org/developers/li...GLES-Astle.ppt

It's a bit of a stretch, and potentially old :-).

Lioric HTC 07-19-2010 02:26 PM

Re: Why sound isn't working on the TP2.
 
Actually that document shows that the GPU on the tp2 is complete hardware path (Convergence platform -> tp2), not DSP based, but what is interesting is that in the other platforms it shows the DSP being used for audio (additionally of MV and other transformations, light, color and clipping) and that the dsp is used (to external SRAM) for double buffering

Hope to have my android dev environment ready soon

daddymikey1975 07-19-2010 05:46 PM

Re: Why sound isn't working on the TP2.
 
I was looking at the HTC hero specs.. I noticed that the processor model and speed are the same as the TP2..

Without knowing much about the internals of both devices (beyond what I read on HTC's website) would we be a step ahead if we were to look into the android build for the Hero ??

Would that help us w/ the TP2 at all ?

Just wondering..

[ACL] 07-19-2010 06:18 PM

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

Originally Posted by daddymikey1975 (Post 1874032)
I was looking at the HTC hero specs.. I noticed that the processor model and speed are the same as the TP2..

Without knowing much about the internals of both devices (beyond what I read on HTC's website) would we be a step ahead if we were to look into the android build for the Hero ??

Would that help us w/ the TP2 at all ?

Just wondering..

If we have gone as far as disassembling the windows dlls, i can assure you we have examined every kernel you can get your hands on.

[ACL] 07-19-2010 06:21 PM

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

Originally Posted by jonpry (Post 1872980)
http://www.khronos.org/developers/li...GLES-Astle.ppt

It's a bit of a stretch, and potentially old :-).

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

Lioric HTC 07-19-2010 06:21 PM

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

I was looking at the HTC hero specs.. I noticed that the processor model and speed are the same as the TP2..
What might be better is to completely remove android and start with a slim linux with no other modules other than the bare libs modules needed to boot and start a test 3d application (just to load and ping the gpu), then we can trace what is clicking and what not between both units

[ACL] 07-19-2010 06:27 PM

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

Originally Posted by Lioric HTC (Post 1874091)
What might be better is to completely remove android and start with a slim linux with no other modules other than the bare libs modules needed to boot and start a test 3d application (just to load and ping the gpu), then we can trace what is clicking and what not between both units

Thats what we already have. Nothing to do with the hero...

Linux itself doesnt show any interrrupts for hw3d. Once again nothing to do with android.


All times are GMT -4. The time now is 09:23 AM.

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


Content Relevant URLs by vBSEO 3.6.0