PPCGeeks Forums HTC Arrive HTC HD2 HTC Thunderbolt HTC Touch Pro 2 HTC Evo 4G HTC Evo 3D Samsung Galaxy S II Motorola Droid X Apple iPhone Blackberry
Go Back   PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2
Register Community Search

Notices


Reply
 
LinkBack Thread Tools Display Modes
  #181 (permalink)  
Old 07-25-2010, 01:02 PM
jonpry's Avatar
PPCGeeks Regular
Offline
Pocket PC: rhodium
Carrier: tmobile
 
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.

Btw, that code for enabling/disabling interrupts is not quite the right thing. In general ARM architectures only have a single interrupt which is attached to the VIC. A11 actually has 2 interrupts but I don't think anybody uses it. The other is FIQ. So calling either that disassembled code or the linux code really has the effect of either enabling or disabling all interrupts as it disconnects VIC.

Somewhere NK.exe should be writing to the VIC memory to setup an interrupt.
Reply With Quote
This post has been thanked 3 times.
  #182 (permalink)  
Old 07-25-2010, 04:27 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Why sound isn't working on the TP2.

Quote:
Originally Posted by jonpry View Post
Btw, that code for enabling/disabling interrupts is not quite the right thing. In general ARM architectures only have a single interrupt which is attached to the VIC. A11 actually has 2 interrupts but I don't think anybody uses it. The other is FIQ. So calling either that disassembled code or the linux code really has the effect of either enabling or disabling all interrupts as it disconnects VIC.

Somewhere NK.exe should be writing to the VIC memory to setup an interrupt.
The asm i posted ? right or not its straight from the nk.exe. The arm section i posted was just a comparison.

you are right, there is a place in there where vic is written to. If you have IDA search for 0xC0000000 and you will see there are many places where this address is called. Its scattered all over the place so its going to be tough to go through all of that (tough for me at least being asm noob).

Do you have some wince code you need me to compile? if you already have it written let me know. Also i think we can get more done if we get back on the irc chat. Ill be there tomorrow

Last edited by [ACL]; 07-25-2010 at 05:20 PM.
Reply With Quote
This post has been thanked 3 times.
  #183 (permalink)  
Old 07-25-2010, 11:33 PM
jonpry's Avatar
PPCGeeks Regular
Offline
Pocket PC: rhodium
Carrier: tmobile
 
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.

I didn't mean to imply that it wasn't real or anything.

If you wouldn't mind I do have a couple of WinMO program that I need compiled. They are obviously untested and may not build. I'm also concerned that they use trusted api's and may need some coaxing to work. But I can take care of that if you send me the binaries.

http://pastebin.com/G6rAyJLK
http://pastebin.com/XSWUrBEC
Reply With Quote
This post has been thanked 3 times.
  #184 (permalink)  
Old 07-26-2010, 01:32 AM
shaggylive's Avatar
WP Heavy Rot Sloth
Offline
Pocket PC: Mogul, Touch Pro 1&2, Evo, PhotonQ
Carrier: Sprint
Location: Iowa
 
Join Date: Mar 2007
Posts: 3,466
Reputation: 3362
shaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIPshaggylive is still contributing even after becoming a VIP
Mentioned: 4 Post(s)
Tagged: 0 Thread(s)
Re: Why sound isn't working on the TP2.

has anyone tried something like this http://forum.xda-developers.com/show...light=sip+voip
__________________
7 windows to rule them all, 7 windows to find them,
7 windows to bring them all, and in the network bind them.
Navizon CM&ResProxyKiller nueRom SuspendResume777
Reply With Quote
This post has been thanked 2 times.
  #185 (permalink)  
Old 07-26-2010, 02:17 AM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Why sound isn't working on the TP2.

Quote:
Originally Posted by jonpry View Post
I didn't mean to imply that it wasn't real or anything.

If you wouldn't mind I do have a couple of WinMO program that I need compiled. They are obviously untested and may not build. I'm also concerned that they use trusted api's and may need some coaxing to work. But I can take care of that if you send me the binaries.

http://pastebin.com/G6rAyJLK
http://pastebin.com/XSWUrBEC
Ahh.. i cant seem to compile this. I'm missing pkfuncs.h. I'm gonna have to see if any of the winmo devs can help.

have you tried just haret dumps while playing sound? You dont have that many bits to choose from since all my tests so far show that we match the msm7200 documented bits for vic?

Another idea is to call wavedev.dll functions. I did the same for the ati driver, just dynamically load the dll and call some functions. InterruptInitialize() looks tempting ..

Last edited by [ACL]; 07-26-2010 at 02:58 AM.
Reply With Quote
This post has been thanked 6 times.
  #186 (permalink)  
Old 07-26-2010, 05:29 PM
hyperfire21's Avatar
PPCGeeks Regular
Offline
Pocket PC: touch pro
Carrier: sprint
 
Join Date: Aug 2008
Posts: 86
Reputation: 20
hyperfire21 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Why sound isn't working on the TP2.

do we need some exe like the hd2 sound fix?? CLRCAD.exe mod or something?
Reply With Quote
This post has been thanked 1 times.
  #187 (permalink)  
Old 07-26-2010, 05:43 PM
[ACL]'s Avatar
VIP Member
Offline
Pocket PC: tp2
Carrier: Sprint
Location: NY
 
Join Date: Feb 2010
Posts: 1,534
Reputation: 6350
[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community[ACL] is a trusted member of the community
Mentioned: 2 Post(s)
Tagged: 0 Thread(s)
Re: Why sound isn't working on the TP2.

Quote:
Originally Posted by hyperfire21 View Post
do we need some exe like the hd2 sound fix?? CLRCAD.exe mod or something?
according to cotolla we may not need anything at all. His advice was to boot without CE or boot directly from nand
Reply With Quote
This post has been thanked 4 times.
  #188 (permalink)  
Old 07-26-2010, 09:50 PM
jonpry's Avatar
PPCGeeks Regular
Offline
Pocket PC: rhodium
Carrier: tmobile
 
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.

Here are the new programs. Should compile without pkfuncs.
http://pastebin.com/EUX2X48P
http://pastebin.com/uf7ww1s6
Reply With Quote
This post has been thanked 4 times.
  #189 (permalink)  
Old 07-26-2010, 11:53 PM
B-Real206's Avatar
PPCGeeks Regular
Offline
Pocket PC: Touch Pro 2 whoo-hoo
Carrier: Sprint
 
Join Date: Sep 2009
Posts: 90
Reputation: 10
B-Real206 is a n00b
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Why sound isn't working on the TP2.

You guys are frinkin awesome. The Thanks are raining down!
__________________
Sprint Touch Pro2
Epic 4G Here I come
Reply With Quote
  #190 (permalink)  
Old 07-27-2010, 01:33 AM
hyperfire21's Avatar
PPCGeeks Regular
Offline
Pocket PC: touch pro
Carrier: sprint
 
Join Date: Aug 2008
Posts: 86
Reputation: 20
hyperfire21 is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Why sound isn't working on the TP2.

how can we boot without CE?
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro 2 > Android On TP2


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


All times are GMT -4. The time now is 11:30 AM.


Powered by vBulletin® ©2000 - 2025, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0
©2012 - PPCGeeks.com