Comment 13 for bug 1085392

Revision history for this message
Marcin Juszkiewicz (hrw) wrote :

[Impact]

When Google started selling Samsung Chromebook many people bought them because they are one of fastest ARM machines and have useful formfactor. But due to hardware bug which does not have workaround in kernel there is a possibility to fry speakers in device if you play with ALSA mixer setup. And by default non-Chromium distributions do not give working audio so people (including me) burnt their speakers during trying.

Then we got suggestion to merge UCM profiles from Chromium into our distributions. Once they are in place audio just works. By default audio goes to speakers with automatic switching to headphones when they are plugged and back to speakers when unplugged. HDMI output is probably handled same way but this part I did not tested.

I want to have those profiles in both Precise and Quantal because most popular way of installing Ubuntu on Chromebook is to run ChrUbuntu shell script which gives users 12.04 release. Some of them did upgrade to 12.10 to get more fresh software but small amount of them went to current development release which has this issue fixed already.

[Test Case]

 * detailed instructions how to reproduce the bug

1. Boot Samsung Chromebook (ARM one)
2. Login or use guest session
3. Run terminal (Ctrl+Alt+t)
4. Run “alsamixer -c0″
5. Set “Lineout” to highest value
6. Unmute everything what starts with “Left” or “Right” (depends which speaker you do not like)
7. Touch speakers (but better not for long)
8. Hold “Power” button to shut down before it will burn though your desk.

 * these should allow someone who is not familiar with the affected
   package to reproduce the bug and verify that the updated package fixes
   the problem.

With fixed packages all needed to do is use any application to play audio - no ALSA mixer tweaking required. Procedure shown before will still burn speakers but user does not have to use mixer to get audio working.

[Regression Potential]

Package changes affect only users of Samsung Chromebook devices - they get audio working out of box. Users of other platforms will just get few KB of space used on disk.

[Other Info]

Fix was tested by users of Ubuntu and few other distributions.