Bug 8234 - Buttons sometimes get 'stuck' and repeat
: Buttons sometimes get 'stuck' and repeat
Status: RESOLVED FIXED
Product: SB Boom
Classification: Unclassified
Component: Front Panel
: 9
: PC Other
: -- normal (vote)
: MP
Assigned To: Caleb Crome
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-05-25 12:24 UTC by Andy Grundman
Modified: 2009-09-08 09:17 UTC (History)
3 users (show)

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andy Grundman 2008-05-25 12:24:04 UTC
I've seen this about 3 times now.

Pressing the back front panel button will sometimes cause Boom to disconnect from the server, as if it had been held down for 5 seconds.
Comment 1 Felix Mueller 2008-05-26 00:32:15 UTC
Is there a repeatable pattern of actions like pressing other buttons, turning the knob, before pressing back when this happens?
Comment 2 Andy Grundman 2008-05-26 04:57:08 UTC
I'm not sure, I think all 3 times it has been when going into the track info menu from Now Playing, turning the knob a bit, then hitting back to return to Now Playing.
Comment 3 Felix Mueller 2008-05-28 09:17:54 UTC
Could this be a mechanical issue. Triode had a unit where the add button was stuck.
Comment 4 Blackketter Dean 2008-06-04 16:33:13 UTC
Chris/QA-folk, have you seen this?  Is this a mechanical issue?
Comment 5 James Richardson 2008-06-04 16:37:45 UTC
I have seen this 2 times, on my unit, I thought it was just me holding the button down to long.
Comment 6 Andy Grundman 2008-06-04 16:38:10 UTC
We were discussing this yesterday and it was decided it may be random IR noise
from lights, etc, causing the firmware to think the button is being held down.
Comment 7 Andy Grundman 2008-06-04 16:38:32 UTC
I've also seen it with the power button, causing reboots.
Comment 8 Chris Owens 2008-06-05 16:28:28 UTC
Adding info about the PID of the affected units would be welcome.  Also if this is no longer happening, please let us know.
Comment 9 Andy Grundman 2008-06-08 09:48:13 UTC
Saw this last night on my PQP3 unit, both back button as well as volume up.  This was in a dark bedroom with no other source of light.
Comment 10 Caleb Crome 2008-06-08 10:33:34 UTC
This is (In reply to comment #9)
> Saw this last night on my PQP3 unit, both back button as well as volume up. 
> This was in a dark bedroom with no other source of light.
> 

Can you give any more information?  Were both stuck at the same time?  What happened to trigger the event. This is disturbing.  Any more information would be useful.

James, Have you gotten this to repeat?  We need to look at this and understand it.


-Caleb
Comment 11 Caleb Crome 2008-06-08 10:34:14 UTC
James, have you seen this again?
Comment 12 Andy Grundman 2008-06-08 11:45:33 UTC
No, not at the same time.  It only happens right after you press the key, and I suspect any key can be made to repeat if you try it enough times.
Comment 13 Jim McAtee 2008-06-08 17:58:36 UTC
I saw it once with the volume rocker button, causing the volume to go from 60-something down to zero.  The knob hadn't been touched.
Comment 14 Caleb Crome 2008-07-22 10:21:49 UTC
Okay, this is a switch debounce problem.  The 'button-up' event is getting ignored.  This is very easy to reproduce by tapping any button very quickly.  

Felix, do you want to take this, or should I?
Comment 15 Felix Mueller 2008-07-23 00:23:03 UTC
Hey Caleb, I was just thinking about this bug this morning. ;)

It would probably be good if you could have a look at this as I cannot reproduce the described behavior with my two PQP3 units (and I do not have MPQ units for that matter).

Also all my Boom power supplies are still 18V (don't think that matters though.)

What concerns me a bit is the fact that apparently there is quite some hardware variation causing some units to exhibit this behavior very likely whereas other do not show it at all.

The debounce code I added to solve bug 7891 in boom_ui.c around line 320 was only needed for PQP2 units with the missing capacitors. So, if we do not care about this units anymore, we probably could just remove that code again and are probably fine.

Let me know if there is something you want me to test.
Comment 16 Caleb Crome 2008-07-26 14:25:23 UTC
Fixed in boom_ui.c, revision r4622.  rewrote much of the debounce code, so we no longer get the stuck button behavior, nor do we get any double clicks when pressing the knob.