Adam Outler · Sep 2, 2012 at 12:00 pm

Two Methods to Fix Random Key Press Bug on Fascinate

Sometimes while engineering a device, a manufacturer misses a small problem. Here at XDA, we take these issues and make revisions to the hardware and the software. That’s one of the reasons why we have a whole forum dedicated to hardware hacking.

In this particular case, XDA Recognized Developer electric bill isolated a problem with a hardware interrupt on the the i500 Samsung Fascinate.  The problem is a lack of capacitance on one of the physical buttons of the device. When the button is not pressed, random interference from both inside and outside of the device turns the button into an antenna. While there is a resistor that mostly takes care of the problem, it does not stop all issues from occuring. In the words of the hacker/developer himself:

The problem is that the touchkey chip is located right next to the 3G antenna. When the phone is accessing the 3G network the RF energy gets transferred to the interrupt and i2c clock and data lines causing false interrupts to occur. The processor responds to the interrupt by reading the key value from the cypress chip. The symptoms occur more frequently in low signal areas because the phone outputs a higher RF level in those situations which causes more RF interference on the interrupt line.

Electric bill came up with two solutions: both a software and a hardware filtering solution to this rather annoying problem.  The software solution allows the device to ignore random key presses and continue on. This solution, while it works, is not ideal because the device is still reacting and wasting processor cycles every time it sees a change in the pin-state of the button in question.  This means the user never sees it, but the hardware may slow down while reacting to and deciphering and filtering the key presses.

The hardware solution provides a filter at the hardware level.  The hardware solution counters stray inductance by inserting a small capacitor into the circuit.  This capacitor shunts randomness to ground, and provides somewhat of a hardware time-delay to the button press.

By far, the hardware solution is preferable.  However, working with hardware means a risk of damage to the device.  If you’re having a problem with your Samsung i500 Fascinate buttons, choose the method which is right for you. You can learn more by visiting the original thread.

[Thanks to XDA Elite Recognized Developer Rebellos for the tip.]

 


_________
Want something on the XDA Portal? Send us a tip!

Adam Outler

AdamOutler is an editor on XDA-Developers, the largest community for Android users. Electronics Tech/ Developer
Emil Kako · Mar 28, 2015 at 11:01 pm · no comments

Best Alarm App for Android?

There are tons of choices to choose from when looking for a great alarm app for Android. While the stock Clock app for AOSP does the job, it may lack some of the more advanced features from competitors. Let us know what your favorite alarm clock app is for Android and why.

DISCUSS
Chris Gilliam · Mar 28, 2015 at 12:45 pm · 1 comment

Pinsy Brings Social Sketching To Your Watch & Phone

Did you watch Apple's VP draw on his wrist during the Apple Watch announcement and wonder "why can't my Wear watch do that?" In typical XDA fashion, one enterprising forum member has brought similar functionality to Android Wear with a twist; it works on phones and watches alike, with other platforms on the way! The app is called Pinsy, and its release debut is a strong proof of concept with plenty of room to grow. You may remember the developer behind this project, XDA...

XDA NEWS
Mario Tomás Serrafero · Mar 27, 2015 at 04:13 pm · 2 comments

Should You Get Wear? Wearer’s Practical Observations

Wear is said to not offer enough for mass adoption, even though its been in the market for over 9 months. I personally have a Gear Live which I purchased 8 months ago, and my experience with it has had its ups and downs throughout my time with it. For the longest time, I was not able to recommend the platform to anyone. Since then, a lot of updates have hit Wear watches, some improving battery life, others changing the...

XDA NEWS
Share This