Bugzilla – Bug 8152
Boom emits tone when disconnected from server
Last modified: 2008-08-28 16:58:49 UTC
With Boom disconnected from the server, it suddenly started emitting a tone through the speakers. Midrange, close to the tone used with the test pattern TV stations used to broadcast. It seems to be generated by the firmware, it's a very pure tone. I haven't read anything about any code written yet for emitting a tone for a timed alarm when disconnected from the server, the alarm was 6 hours earlier and the next alarm is 18 hours away and my unit does not have an RTC crystal, so it can't be that feature. It didn't emit a tone the entire time it was disconnected, it just started up suddenly and didn't resume when power was applied. Grabbing a recording might be difficult given the intermittent nature of the issue.
I heard this once before too. We have a built-in tone generator that's generally switched off, except for factory test mode. Somehow that got switched on.
Since fw 7 the tone-generator is also used as alarm signal when Boom is not connected to SC and an alarm is due. However SC doesn't contain code yet to enable or set an alarm time in the RTC. If, for whatever reason, it was an alarm signal, it should have stopped after one minute or when connected to SC again.
Ah! That makes sense now. I couldn't imagine how that tone generator got enabled. Now it makes sense -- it's just a bug somewhere. That's solvable. :-)
I think the bug has already been found by Maurice when he discovered that the RTC needs to be powered from 3.3V instead of 5V. When was the change to 3.3V? Starting from PQP2 units? I guess a wrong readout from the RTC triggered the alarm tone, caused by the above issue.
Is there any way to disable this at present? It's preventing me doing SC development with it as I can't think with a tone playing...
You could set audio output mode to headphone and then plug in some headphones. In Slim::Player::Boom.pm you can see how to set / clear an alarm, so you could try to clear it periodically, but I am not sure how well that would work as it is the communication to the RTC that is broken when Boom gets hot.
Added sanity check to alarm routine to detect non working RTC in rev4252. Will be in fw 8.
Please reopen if it's still happening in 8 or later.