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

Notices



Reply
 
LinkBack Thread Tools Display Modes
  #21 (permalink)  
Old 11-16-2008, 09:58 AM
Cicatrize's Avatar
ѕнρ ѕоfтшаяє
Offline
Pocket PC: EVO4G
Carrier: sprinт
Threadstarter
Location: Michigan
 
Join Date: Jul 2007
Posts: 2,160
Reputation: 2505
Cicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIPCicatrize is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Quest to modify the timeout for hardware keyboard.

Yeah, both PE Explorer and Reflector only handle managed code. If these DLL's were written in .NET, I'm pretty sure either of those would have disassembled it.

I think what stroths is suggesting may be a possibility, but will take more time, as I'm not exactly sure how to speak to the LED DLL's. I may have to get with no2chem on this one...
__________________
HTC EVO 4G - Fresh 0.3
Reply With Quote
  #22 (permalink)  
Old 11-16-2008, 04:07 PM
no2chem's Avatar
Retired Staff
Offline
Pocket PC: who knows
Carrier: probably sprint
 
Join Date: May 2007
Posts: 1,168
Reputation: 11628
no2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Quest to modify the timeout for hardware keyboard.

Quote:
Originally Posted by Cicatrize View Post
Ok...I'm going to do this. It's probably going to take a while, but it will happen. Everyone knows the keyboard backlight goes out after about 6 or 7 seconds, and it's very frustrating. If there was one thing I could change about the Touch Pro, this would probably be it. So, let's get this project rolling...

I'm fairly fluent in VB and C++, so as long as the alleged system dll's that control these lights are coded in one of these two languages, I could, in theory, recode and compile with the proper tools. One of the following needs to happen:

1. Someone with a dll/exe decompiler needs to decompile the code and send it to me.
2. Someone needs to donate enough money to pay for a decompiler license (not cheap, $100+)

Since 2 is unlikely to happen, please let me know if you have access to a decompiler.

I think there are further possibilities as well, but I don't know. I haven't seen this talked about before. If you have, please chime in as well.
i'm aware of these issues and they should be controllable with next build of nueROM, along with some mappable keys.
Reply With Quote
This post has been thanked 1 times.
  #23 (permalink)  
Old 11-16-2008, 04:41 PM
no2chem's Avatar
Retired Staff
Offline
Pocket PC: who knows
Carrier: probably sprint
 
Join Date: May 2007
Posts: 1,168
Reputation: 11628
no2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Quest to modify the timeout for hardware keyboard.

Quote:
Originally Posted by mdodge View Post
I only have PE explorer and reflector (which is free btw). I tried the following:

IL
MC++
C#
Visual Basic
Delphi
Chrome

I'm sure a way exists to do it but I'm not an experienced in decompiling but thought I would help in anyway I could, cause this problem drives me nuts lol

And I'm sure a new driver could be introduced by someone with the know-how. But without seeing the current structure, source of the dll's, I would assume it would be much harder to make one. Kind of like programming in the dark.

Drivers are not written in C#/.net for performance reasons, and no C++ decompiler exists (well, that works well anyway) for ARM. If you are going to attempt to modify the driver, you need to have a clear understanding of ARM assembly, and a resonably clear understanding of Win32 and the WinCE driver model. Even with that, it still takes a bit of creativity to both read the obscure driver code (which I don't know, seems that HTC intentionally obfustacates, at times) - and to patch in what you want it to do in the limited space you have. As stroths mentioned, I wrote an intermediate driver for older, non-MicroP/pSOC devices, because it was appropiate given the limited amount of space, however, IMO, this isn't the best approach with the new devices.

Either way, there is no way to just "plop" your own C code and get the drivers to do what they want; that would be way too easy. Sorry, but if you want to do stuff, you'll have to get your hands grimy in assembly... Sometimes, it may take you an hour to just identify or find a part of the code you want to modify or understand! Reverse engineering is an art, which they unfortunately do not teach in school... fortunately, they do usually teach some kind of assembly (RISC assembly, typically, last I checked), so any experience in that would help greatly - it is just the different mode of thinking - (how do I change this code given that I've identified this routine, and these imports, and, i have 6 opcodes to do it in?) that will be the leap..

Last edited by no2chem; 11-16-2008 at 04:45 PM.
Reply With Quote
  #24 (permalink)  
Old 11-16-2008, 05:02 PM
Exil3d's Avatar
Banned User
Offline
Pocket PC: yo mama
Carrier: yo daddy
 
Join Date: Feb 2008
Posts: 2,939
Reputation: 5413
Exil3d is a trusted member of the communityExil3d is a trusted member of the communityExil3d is a trusted member of the communityExil3d is a trusted member of the communityExil3d is a trusted member of the communityExil3d is a trusted member of the communityExil3d is a trusted member of the communityExil3d is a trusted member of the communityExil3d is a trusted member of the communityExil3d is a trusted member of the communityExil3d is a trusted member of the community
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Quest to modify the timeout for hardware keyboard.

mighty one has spoken! TUM TUM TUUUMMMM! thxs for all the help no2chen in the past with our toys.
Reply With Quote
  #25 (permalink)  
Old 11-16-2008, 05:26 PM
mdodge's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Mogul and Touch Pro
Carrier: Sprint
Location: Upstate, NY
 
Join Date: Jun 2008
Posts: 157
Reputation: 225
mdodge is keeping up the good workmdodge is keeping up the good workmdodge is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Quest to modify the timeout for hardware keyboard.

Yeah I am by no means a programming expert or claim to be but was happy to see someone trying at least to solve this annoying issue. And now I'm even happier seeing no2 involved. Looking forward to the results!
Reply With Quote
  #26 (permalink)  
Old 11-16-2008, 07:29 PM
no2chem's Avatar
Retired Staff
Offline
Pocket PC: who knows
Carrier: probably sprint
 
Join Date: May 2007
Posts: 1,168
Reputation: 11628
no2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation levelno2chem can't get a higher reputation level
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Quest to modify the timeout for hardware keyboard.

Well, i spent an hour or two on it -

I think the timeout might be set by the light controller, not 100% sure. Would a driver that keeps the kb light on whenver the keyboard is out be better?
Reply With Quote
This post has been thanked 4 times.
  #27 (permalink)  
Old 11-16-2008, 08:47 PM
stroths's Avatar
VIP & Master of my Domain
Offline
Pocket PC: HTC Evo 4g
Carrier: Sprint
Location: Dallas area
 
Join Date: Oct 2006
Posts: 1,370
Reputation: 2008
stroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIPstroths is a VIP
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Quest to modify the timeout for hardware keyboard.

Quote:
Originally Posted by no2chem View Post
Well, i spent an hour or two on it -

I think the timeout might be set by the light controller, not 100% sure. Would a driver that keeps the kb light on whenver the keyboard is out be better?
That would be pretty nice. Maybe you could make one of your nue control panels to control it as well (timer, always on, etc).
__________________
Treo 600 -> Treo 650 ->Treo 700p -> Treo 700wx -> Mogul -> Touch Pro -> Touch Pro 2 -> HTC Evo
- [Guide] Get Root access & NAND Unlock your Evo (Full Root)
- My Current AppBrain List

Reply With Quote
  #28 (permalink)  
Old 11-16-2008, 09:03 PM
hempy's Avatar
PPCGeeks Regular
Offline
Pocket PC: Mogul, Touch Diamond
Carrier: Sprint
Location: Nola
 
Join Date: Jan 2008
Posts: 171
Reputation: 40
hempy is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Quest to modify the timeout for hardware keyboard.

Quote:
Originally Posted by no2chem View Post
Well, i spent an hour or two on it -

I think the timeout might be set by the light controller, not 100% sure. Would a driver that keeps the kb light on whenver the keyboard is out be better?
That would be great!

I can't imagine what this community would be like without you.
Reply With Quote
  #29 (permalink)  
Old 11-16-2008, 10:24 PM
mdodge's Avatar
PPCGeeks Regular
Offline
Pocket PC: HTC Mogul and Touch Pro
Carrier: Sprint
Location: Upstate, NY
 
Join Date: Jun 2008
Posts: 157
Reputation: 225
mdodge is keeping up the good workmdodge is keeping up the good workmdodge is keeping up the good work
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Quest to modify the timeout for hardware keyboard.

Quote:
Originally Posted by no2chem View Post
Well, i spent an hour or two on it -

I think the timeout might be set by the light controller, not 100% sure. Would a driver that keeps the kb light on whenver the keyboard is out be better?
+3

Thats how I had it on my mogul. I wouldnt even need a timeout at all really.
Reply With Quote
  #30 (permalink)  
Old 11-16-2008, 10:33 PM
eptd's Avatar
PPCGeeks Regular
Offline
 
Join Date: Oct 2008
Posts: 173
Reputation: 45
eptd is just getting started
Mentioned: 0 Post(s)
Tagged: 0 Thread(s)
Re: Quest to modify the timeout for hardware keyboard.

Quote:
Originally Posted by no2chem View Post
Well, i spent an hour or two on it -

I think the timeout might be set by the light controller, not 100% sure. Would a driver that keeps the kb light on whenver the keyboard is out be better?
YES!!!!!!
Reply With Quote
Reply

  PPCGeeks > Windows Mobile > WM HTC Devices > HTC Touch Pro

Thread Tools
Display Modes

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 10:30 AM.


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