FORUMS
Remove All Ads from XDA

[Solved] TS FREEZE FIXED / Orientation offset calibration & G-SENSOR CALIBRATION FIX

907 posts
Thanks Meter: 204
 
By memin1857, Senior Member on 8th October 2010, 07:12 PM
Post Reply Email Thread
14th November 2010, 04:36 PM |#191  
Member
Thanks Meter: 46
 
More
Quote:
Originally Posted by depakjan

Here is the log.. it's got some errors in msm_i2c ..

Sorry, I can't see the log... as we stated this is kind of hack not "the proper" solution because all this patch do is resetting i2c bus as soon as possible instead of 2 second waiting (this is done only for gsen readings)... for some reason once in a while gsen chip doesn't release the bus after position on one of the axes has been read... Until now that situation has been handled by bus_wait_nobusy procedure which waited for 2 seconds before reseting i2c bus... we managed to shorten that time to only few miliseconds, so it appears that all is working well... but it is normal that log shows that there is an error on the bus, but you should see that error has been resolved in few miliseconds instead of 2 seconds like it was before... thats all the magic...
 
 
14th November 2010, 05:59 PM |#192  
Member
Flag Zagreb
Thanks Meter: 133
 
Donate to Me
More
Patch for ts/gsensor freezes - sources
Ok, enough people confirmed that the patch is working so here is the source of the patch.
Attached Files
File Type: zip 0001-patch-for-ts-gsensor-freezes.zip - [Click for QR Code] (1.5 KB, 1194 views)
The Following User Says Thank You to mdebeljuh For This Useful Post: [ View ] Gift mdebeljuh Ad-Free
14th November 2010, 06:03 PM |#193  
mdeejay's Avatar
Retired Recognized Developer
Flag Abakan
Thanks Meter: 12,559
 
Donate to Me
More
Quote:
Originally Posted by mdebeljuh

Ok, enough people confirmed that the patch is working so here is the source of the patch.

Great! Thanks for you hard work!
14th November 2010, 06:29 PM |#194  
Member
Flag San Diego
Thanks Meter: 2
 
More
Hail all dev make our hd2 better~~

Sent from my HTC HD2 using XDA App
14th November 2010, 06:41 PM |#195  
OP Senior Member
Flag Istanbul
Thanks Meter: 204
 
More
Unfortunately this patch won't get pushed to git. (because it is actually a workaround)
I hope hastarin will include the patch in his future kernels.

Sent from my HTC HD2 using XDA App
14th November 2010, 06:44 PM |#196  
mdeejay's Avatar
Retired Recognized Developer
Flag Abakan
Thanks Meter: 12,559
 
Donate to Me
More
patch already included to my S4
14th November 2010, 06:46 PM |#197  
OP Senior Member
Flag Istanbul
Thanks Meter: 204
 
More
Quote:
Originally Posted by m-deejay

patch already included to my S4

Nice!

Sent from my HTC HD2 using XDA App
14th November 2010, 06:46 PM |#198  
xmRipper's Avatar
Senior Member
Flag Istanbul
Thanks Meter: 34
 
More
I can't make a call after using this kernel. Force closes the call app.

But TS/GSensor freezes are totally gone. (omg I can't believe it )
14th November 2010, 06:59 PM |#199  
Member
Flag Zagreb
Thanks Meter: 133
 
Donate to Me
More
Quote:
Originally Posted by memin1857

Unfortunately this patch won't get pushed to git. (because it is actually a workaround)
I hope hastarin will include the patch in his future kernels.

Sent from my HTC HD2 using XDA App

Yes, like jdivic explained in his post this is a workaround, the problems is still there but with this patch we can't see consequences of the problem. For me that's good enough until someone solves the problem.
14th November 2010, 07:54 PM |#200  
Senior Member
Thanks Meter: 9
 
More
Talking confirmed
Quote:
Originally Posted by mdebeljuh

Ok, enough people confirmed that the patch is working so here is the source of the patch.

Patch is working great. I can now type and walk at the same time, i can text while riding the bus to work. Thank you sir. You are a great!
14th November 2010, 09:30 PM |#201  
Member
Thanks Meter: 46
 
More
Well, it's workarround only if someone can prove that it can be done right with hd2 hardware
I mean, who knows for sure that it isn't done this way in winmo driver?
However it works, it's out and lets use it (I mean lets play some gsen powered games ).

Sent from my HTC HD2 using XDA App
Post Reply Subscribe to Thread

Guest Quick Reply (no urls or BBcode)
Message:
Previous Thread Next Thread
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes