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... |
Re: Quest to modify the timeout for hardware keyboard.
Quote:
|
Re: Quest to modify the timeout for hardware keyboard.
Quote:
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.. |
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.
|
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!
|
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? |
Re: Quest to modify the timeout for hardware keyboard.
Quote:
|
Re: Quest to modify the timeout for hardware keyboard.
Quote:
I can't imagine what this community would be like without you. |
Re: Quest to modify the timeout for hardware keyboard.
Quote:
Thats how I had it on my mogul. I wouldnt even need a timeout at all really. |
Re: Quest to modify the timeout for hardware keyboard.
Quote:
|
All times are GMT -4. The time now is 06:07 AM. |
Powered by vBulletin® ©2000 - 2024, Jelsoft Enterprises Ltd.
©2012 - PPCGeeks.com