: Aureon 7.1 Universe: mixer flakyness (irrecoverable muting, intermittent muting of single channel)
A NOTE has been added to this issue.
======================================================================
<https://bugtrack.alsa-project.org/alsa-bug/view.php?id=1797>
======================================================================
Reported By: ikari_01
Assigned To:
======================================================================
Project: ALSA - driver Issue ID: 1797 Category: PCI - ice1724 Reproducibility: always Severity: major Priority: normal Status: new Distribution: Debian unstable Kernel Version: 2.6.14.3 ====================================================================== Date Submitted: 01-30-2006 23:46 CET Last Modified: 03-19-2006 02:37 CET
======================================================================
Summary: Aureon 7.1 Universe: mixer flakyness (irrecoverable
muting, intermittent muting of single channel)
Description:
1. Setting (or muting/unmuting) of any of the Master, Center, LFE, or Side mixers eventually results in irrecoverably completely muted sound. Sometimes, at first only one channel is muted.
Sometimes, at first the volume decreases before muting occurs.
This does not occur when touching the "Front" mixer. The only way to recover sound is to unload and reload at least the snd_ice1724 module.
2. When muting and unmuting "PCM" repeatedly, sound is not always muted or unmuted accordingly, but only about 50% of the time. (meaning you have to toggle a couple of times to get the desired setting)
3. When muting or unmuting Master, sometimes only one of the channels is muted or unmuted.
note: None of the problems occurred when testing on a 32-bit distribution (Knoppix 4.0 / 2.6.12 / ALSA 1.0.9; different version, but I had the same problem with 1.0.9 on x86_64 anyway.)
======================================================================
----------------------------------------------------------------------
ungod - 03-19-06 02:08
----------------------------------------------------------------------
I truely doubt that there should be anything wrong with the timing... There is no minimum speed for the WM8770 chip (The ADC/DAC), only a maximum. In essence the minimum delays between various events range from 20 to 80ns, and each and every time, the driver wait for a whole us.
Since communication with the WM8770 is done in software-emulated SPI with GPIO pins, there might be some syncronization problems. If two threads operates on the GPIO pins simultaneously it may all go terrible wrong. To test my theory, I traced back which function wasn't protected by the gpio mutex, and ended up with five functions:
aureon_cs8415_rate_get - Get IEC958 Capture Rateaureon_deemp_put - Set deemphasisaureon_oversampling_put - Set oversamplingaureon_hpamp_put - Set state of HP ampaureon_hpamp_get - Get state of HP amp
Now, I realize that these functions doesn't have anything to do with setting volumes and muting directly, but if the mixer is reading the value of the HP amp switch, or the ICE958 Capture Rate while you toggle the mute/change volume, the communication to the chip may go wrong. (Don't know to what extend alsamixer probes the controls)
I'll post a small patch shortly for you to try (that is, if you are actually still experincing the problem). Either way, the functions should be protected by the mutex.
For the record, I personally have an Aureon 7.1 Space and am running x86-64, but have not been able to reproduce the failure myself.
----------------------------------------------------------------------
ikari_01 - 03-19-06 02:37
----------------------------------------------------------------------
I'd really appreciate that! I am still experiencing the same problem.
Issue History
Date Modified Username Field Change
======================================================================
01-30-06 23:46 ikari_01 New Issue 01-30-06 23:46 ikari_01 Distribution => Debian unstable 01-30-06 23:46 ikari_01 Kernel Version => 2.6.14.3 01-30-06 23:48 ikari_01 Issue Monitored: ikari_01 01-30-06 23:51 ikari_01 Note Added: 0007842 01-30-06 23:53 ikari_01 Note Added: 0007843 01-30-06 23:55 ikari_01 Note Edited: 0007842 01-30-06 23:55 ikari_01 Note Deleted: 0007843 01-30-06 23:56 ikari_01 Note Edited: 0007842 01-31-06 00:04 ikari_01 Note Edited: 0007842 03-19-06 02:05 ungod Note Added: 0008677 03-19-06 02:06 ungod Note Edited: 0008677 03-19-06 02:07 ungod Note Edited: 0008677 03-19-06 02:08 ungod Note Edited: 0008677 03-19-06 02:37 ikari_01 Note Added: 0008678
======================================================================
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642