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.
Mario Tomás Serrafero · Jul 27, 2015 at 11:29 pm · no comments

OnePlus 2 Announced: Specs, Price and Details

The OnePlus 2 has just had its Virtual Reality Launch event, and at the XDA Office we all watched it live to see the new Flagship Killer attempt to make us never settle for anything else. The event itself was streamed through the OnePlus 2 Launch application, and now that it is over, we know plenty about the specifications and everything the new device is offering.   The device features a premium design with metal edges and buttons and a...

XDA NEWS
Mike McCrary · Jul 27, 2015 at 03:19 pm · 2 comments

A Helpful Guide to Music Streaming Services

With the launch of Apple Music, music streaming services have recently gained a lot of consumer interest, and as usual, Apple's foray into the market has caused disruption, as competitors scramble to introduce new features and modify their pricing structures in order to better compete, and as fresh users new to the market continue to evaluate and decide which service would suit them the best.   While many people are quick to denounce all streaming services as being a variable of...

XDA NEWS
Aamir Siddiqui · Jul 27, 2015 at 12:59 pm · 1 comment

New Android One Device Dead On Arrival

Today, Google announced the second generation of Android One devices, with the new Lava Pixel V1. The Lava Pixel V1 is made in collaboration with Lava International Limited, a handset company in India which competes in the domestic market against other competitors like Micromax, Karbonn and Spice. The device features a premium looking design, with a plastic back emulating a metal look and thin bezels on the front. The spec sheet of the device includes a Mediatek MT6582 processor clocked...

XDA NEWS