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)

gface2k 06-15-2010 02:30 PM

Re: Why sound isn't working on the TP2.
 
Well I used the sprint shipped rom and I found a utility were i could delete the waveapi.dll, waveapi.dll.0409.mui and wavedev.dll. After deleting these files there was no sound on the phone in winmo and no sound in android.

From what I read, winmo initiates the hardware and android loads up its own drivers to use it. I was curious as to what would happen if there was no sound in winmo, would android be able to control the spkr volume (im referring to the front spkr not the one in back of the phone)? Apparently that is not the case, I guess we will have to wait till some one hacks the hardware.

scuckinghunter 06-16-2010 01:41 PM

Re: Why sound isn't working on the TP2.
 
awesome info. gonna start learnin more about dev this weekend on my time off. time to put on the thinking cap =P

pts69666 06-16-2010 06:25 PM

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

Originally Posted by gface2k (Post 1815362)
I was thinking the same thing and called my voice mail with the spkr phone on while booting android, I also tried playing an MP3 while booting but no luck.

IIRC, in the development of the Android port, the speaker made a lot of loud hissing and cracking noises because it wasn't working properly. Because of this, they added some code to completely disable the speakers altogether. I think I remember seeing a boot option that would re-enable the speakers, even tho it just caused the hissing and cracking sounds. My question lies in the fact that mic/ear piece didn't work before using them during boot-up. So, if we were to re-enable speakers, and then like play an MP3 during boot up. Only issue I can find there lies in the fact that the program you are using to play the MP3 file dies when WinMo dies. Where as the phone call will stay active after WinMo dies. So, if there is a way to make a sound play over the loud speaker without having to be in a phone call, after the speaker is re-enabled, it might be able to work. My idea is to try having someone call you so your phone is ringing during boot up. But again, this is just an idea from someone who doesn't know any of the code or anything.

tl;dr
idea that will prolly not work and prolly has been thought of already

gface2k 06-16-2010 11:31 PM

Re: Why sound isn't working on the TP2.
 
thanx for the info regarding the boot switch for the spkr. I'm by no means a programmer but I have been using linux on and off for over 5 yrs which android is based off. I'm sure a lot of our ideas have been tried by the devs but the way I look at it, if enough of us keep trying either were going to stumble across something significant or it might inspire some hard core dev to waste some of his time getting it done.

nevergonnauseth 06-17-2010 04:56 AM

Re: Why sound isn't working on the TP2.
 
^No time is ever wasted if we learn from it. ;-)

[ACL] 06-17-2010 11:09 AM

Re: Why sound isn't working on the TP2.
 
I'm on the chat logs everyday .. and i can tell you that no one is actively working on this right now. BinaryDroid on XDA took apart his tp2 in hopes to do some hardware debugging but we haven't heard back at all in a while, so im not holding my breath on that.

There was some discussion yesterday about it and i'm puttnig it here so everyone can see what the issue really is.

21:52 Scotchy How come in-call audio works ? I don't get it. Is it handled by the ARM11 ?
21:53 Scotchy I thought audio was handled by the DSP processors through the ARM9
21:53 Scotchy And if we can get in-call audio working, why won't all of it work ? Mixer issue ?
21:53 phh Scotchy: no, in-call is done through A9
21:53 phh that's the thing.
21:54 phh we don't have anything to do to get sound call working
21:54 phh A9 sets up everything on its own
21:55 Scotchy oh
21:55 phh while for software sound we have to set it up
21:55 Scotchy What happens when we invoke the DSP chip ? No answer ? Error ?
21:55 phh I already said
21:55 phh no adsp interrupt
21:55 phh it answers to everything
21:55 phh just no interrupt.
21:55 Scotchy lol
21:56 Scotchy well WinMo does it someway. Think we gotta reverse that. What was it again ? wavedev or something ?
21:56 phh yup wavedev
21:56 phh and we already tried to reverse it
21:56 phh our code just seem perfect


These rest is here for everyone to read if they are interesed

http://irclog.netripper.com/?chan=ht...month=6&day=16

variance 06-17-2010 05:24 PM

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

Originally Posted by [ACL] (Post 1820616)
I'm on the chat logs everyday .. and i can tell you that no one is actively working on this right now. BinaryDroid on XDA took apart his tp2 in hopes to do some hardware debugging but we haven't heard back at all in a while, so im not holding my breath on that.

There was some discussion yesterday about it and i'm puttnig it here so everyone can see what the issue really is.

21:52 Scotchy How come in-call audio works ? I don't get it. Is it handled by the ARM11 ?
21:53 Scotchy I thought audio was handled by the DSP processors through the ARM9
21:53 Scotchy And if we can get in-call audio working, why won't all of it work ? Mixer issue ?
21:53 phh Scotchy: no, in-call is done through A9
21:53 phh that's the thing.
21:54 phh we don't have anything to do to get sound call working
21:54 phh A9 sets up everything on its own
21:55 Scotchy oh
21:55 phh while for software sound we have to set it up
21:55 Scotchy What happens when we invoke the DSP chip ? No answer ? Error ?
21:55 phh I already said
21:55 phh no adsp interrupt
21:55 phh it answers to everything
21:55 phh just no interrupt.
21:55 Scotchy lol
21:56 Scotchy well WinMo does it someway. Think we gotta reverse that. What was it again ? wavedev or something ?
21:56 phh yup wavedev
21:56 phh and we already tried to reverse it
21:56 phh our code just seem perfect


These rest is here for everyone to read if they are interesed

http://irclog.netripper.com/?chan=ht...month=6&day=16

I've been watching it too. waiting for some news on that front.
I'm wondering if I should go ahead and pull the trigger on hiring those chinese/taiwanese devs to reverse engineer/decompile the windows drivers.

also .
wait.. you already tried? or you did?

[ACL] 06-17-2010 05:34 PM

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

Originally Posted by variance (Post 1821507)
I've been watching it too. waiting for some news on that front.
I'm wondering if I should go ahead and pull the trigger on hiring those chinese/taiwanese devs to reverse engineer/decompile the windows drivers.

also .
wait.. you already tried? or you did?

Nope. i havent tried anything on sound. Jonpry and Phh on xda are the ones i know who were working on it last.

Begin the fundraiser to buy devs ..lol

Unknownforce 06-17-2010 05:48 PM

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

Originally Posted by [ACL] (Post 1821524)
Nope. i havent tried anything on sound. Jonpry and Phh on xda are the ones i know who were working on it last.

Begin the fundraiser to buy devs ..lol

I'd definitely donate to this cause.

justinxtreme 06-17-2010 07:49 PM

Re: Why sound isn't working on the TP2.
 
Well my first poss and well um My guess is the new extUSB thing is a part of the problem. I think it requires a special driver to detect if video and audio is also being outputted to the new extusb thus this is the reason USB is charging only for now and audio is not there as all three are connected and when the extusb doesn't send a response to it's status their is no response . Either way decompiling is likely required.
I may be wrong but that's just my point of view. Do the other htc phones that have fully working audio have an extusb port?


All times are GMT -4. The time now is 10:40 AM.

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


Content Relevant URLs by vBSEO 3.6.0