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 View AdamOutler's posts and articles here.
Jack Jennings · Jul 2, 2015 at 01:09 pm · no comments

Swappa’s New App Helps You Value Your Device

There comes a sad time in everyone's life where you must part ways with your gadgets. Perhaps they are dropped from a height, carelessly hardbricked, or simply stashed in a drawer in favor of a shinier upgrade. Alternatively they might enter the world of the second-hand market, and become someone else's daily driver. Swappa is especially popular for this purpose here at XDA, where thousands of users trust the site enough to buy and sell their devices through it. In fact, we made...

XDA NEWS
Aamir Siddiqui · Jul 2, 2015 at 11:46 am · no comments

Xiaomi Sold 34.7 Million Phones In 6 Months

2015 has been a phenomenal year for Xiaomi so far. With a stellar rise in 2014, 2015 saw increased success outside of China for Xiaomi along with tremendous consumer interest in the company's smartphone offerings. The company also increased its ventures outside of smartphones touching everything from routers to selfie sticks. The company took to twitter to announce their recent success. Xiaomi's smartphones sales increased 33% year-on-year, with the company having sold 34.7 Million smartphones in the first half of...

XDA NEWS
Aamir Siddiqui · Jul 2, 2015 at 11:30 am · no comments

Sprint Reacts To Jab From T-Mobile

America's cellular network space has always been a battle of the big four: Verizon, AT&T, Sprint and T-Mobile. Together, they serve around 370 million subscribers while the 5th place U.S. Cellular serves 4.7 million subscribers. The battle for the top spot has always been between Verizon (133.5 million) and AT&T (121.8 million), while Sprint and T-Mobile battle it out for the 3rd place with 57.1 million and 56.8 million subscribers respectively. Needless to say, in such a neck-to-neck competition scenario, swords...

XDA NEWS
Share This