snd-cs46xx don't work at linux 3.2.0-39-generic

Bug #1157525 reported by Yeana
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Expired
Medium
Unassigned

Bug Description

hello, i upgrade linux-3.2.0-38-generic to the linux-3.2.0-39-generic , my sound card(Turtle Beach Santa Cruz,cs4630) don't work , but i can hear a warning sound 。

lspci | grep audio
01:09.0 Multimedia audio controller: Cirrus Logic CS 4614/22/24/30 [CrystalClear SoundFusion Audio Accelerator] (rev 01)

uname -a
Linux xxx 3.2.0-39-generic #62-Ubuntu SMP Thu Feb 28 00:28:53 UTC 2013 x86_64 x86_64 x86_64 GNU/Linux

Revision history for this message
Yeana (yeana) wrote :

but when i using the old linux kernel 3.2.0-38-generic, the sound card is working.

description: updated
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Yeana (yeana) wrote :

Thank you for your confirmation.

Changed in linux (Ubuntu):
importance: Undecided → Medium
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

Would it be possible for you to test the latest upstream kernel? Refer to https://wiki.ubuntu.com/KernelMainlineBuilds . Please test the latest v3.9 kernel[0] (Not a kernel in the daily directory) and install both the linux-image and linux-image-extra .deb packages.

If this bug is fixed in the mainline kernel, please add the following tag 'kernel-fixed-upstream'.

If the mainline kernel does not fix this bug, please add the tag: 'kernel-bug-exists-upstream'.

If you are unable to test the mainline kernel, for example it will not boot, please add the tag: 'kernel-unable-to-test-upstream'.
Once testing of the upstream kernel is complete, please mark this bug as "Confirmed".

Thanks in advance.

[0] http://kernel.ubuntu.com/~kernel-ppa/mainline/v3.9-rc3-raring/

Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Yeana (yeana) wrote :

Hello ,Joseph Salisbury
 i was tested on the latest v3.9 kernel, the sound card can work.

tags: added: kernel-fixed-upstream
Changed in linux (Ubuntu):
status: Incomplete → Confirmed
Revision history for this message
Yeana (yeana) wrote :

Hello Everybody,
when i'm upgrade ubuntu to the ubuntu 13.04 , this bug is also exists.
but when i'm edit "sound/pci/cs46xx/dsp_spos.c" function "int cs46xx_dsp_resume(struct snd_cs46xx * chip) "

old code:

int cs46xx_dsp_resume(struct snd_cs46xx * chip)
{
 struct dsp_spos_instance * ins = chip->dsp_spos_instance;

 int i, err;
 /* clear parameter, sample and code areas */
 snd_cs46xx_clear_BA1(chip, DSP_PARAMETER_BYTE_OFFSET,
        DSP_PARAMETER_BYTE_SIZE);
 snd_cs46xx_clear_BA1(chip, DSP_SAMPLE_BYTE_OFFSET,
        DSP_SAMPLE_BYTE_SIZE);
 snd_cs46xx_clear_BA1(chip, DSP_CODE_BYTE_OFFSET, DSP_CODE_BYTE_SIZE);

        ignore some code here.......

 if (chip->dsp_spos_instance->spdif_status_in) {
  cs46xx_poke_via_dsp(chip, SP_ASER_COUNTDOWN, 0x80000005);
  cs46xx_poke_via_dsp(chip, SP_SPDIN_CONTROL, 0x800003ff);
 }
 return 0;
}

now:

int cs46xx_dsp_resume(struct snd_cs46xx * chip)
{
 struct dsp_spos_instance * ins = chip->dsp_spos_instance;

 int i, err;
        mutex_lock(&chip->spos_mutex);

 /* clear parameter, sample and code areas */
 snd_cs46xx_clear_BA1(chip, DSP_PARAMETER_BYTE_OFFSET,
        DSP_PARAMETER_BYTE_SIZE);
 snd_cs46xx_clear_BA1(chip, DSP_SAMPLE_BYTE_OFFSET,
        DSP_SAMPLE_BYTE_SIZE);
 snd_cs46xx_clear_BA1(chip, DSP_CODE_BYTE_OFFSET, DSP_CODE_BYTE_SIZE);

        ignore some code here.......

 if (chip->dsp_spos_instance->spdif_status_in) {
  cs46xx_poke_via_dsp(chip, SP_ASER_COUNTDOWN, 0x80000005);
  cs46xx_poke_via_dsp(chip, SP_SPDIN_CONTROL, 0x800003ff);
 }
        mutex_unlock(&chip->spos_mutex);
 return 0;
}

now the bug fixed,the sound card can works , so i think this function "int cs46xx_dsp_resume(struct snd_cs46xx * chip) " need to add a lock 。

tags: added: kernel-bug-exists-upstream
removed: kernel-fixed-upstream
Yeana (yeana)
Changed in linux (Ubuntu):
status: Confirmed → New
status: New → Confirmed
Revision history for this message
Raymond (superquad-vortex2) wrote :

post the output of alsa-info.sh

did you install alsa-firmware ?

http://mailman.alsa-project.org/pipermail/alsa-devel/2010-June/028472.html

Revision history for this message
Yeana (yeana) wrote :

thank you for reply me and forgot me so bad english... i think no this bug , " modinfo snd-cs46xx.ko" no output firmware message.

Revision history for this message
penalvch (penalvch) wrote :

Yeana, this bug was reported a while ago and there hasn't been any activity in it recently. We were wondering if this is still an issue? If so, could you please test for this with the latest development release of Ubuntu? ISO images are available from http://cdimage.ubuntu.com/daily-live/current/ .

If it remains an issue, could you please run the following command in the development release from a Terminal (Applications->Accessories->Terminal), as it will automatically gather and attach updated debug information to this report:

apport-collect -p linux <replace-with-bug-number>

Also, could you please test the latest upstream kernel available (v3.13-rc3) following https://wiki.ubuntu.com/KernelMainlineBuilds ? It will allow additional upstream developers to examine the issue. Once you've tested the upstream kernel, please comment on which kernel version specifically you tested. If this bug is fixed in the mainline kernel, please add the following tags:
kernel-fixed-upstream
kernel-fixed-upstream-VERSION-NUMBER

where VERSION-NUMBER is the version number of the kernel you tested. For example:
kernel-fixed-upstream-v3.13-rc4

This can be done by clicking on the yellow circle with a black pencil icon next to the word Tags located at the bottom of the bug description. As well, please remove the tag:
needs-upstream-testing

If the mainline kernel does not fix this bug, please add the following tags:
kernel-bug-exists-upstream
kernel-bug-exists-upstream-VERSION-NUMBER

As well, please remove the tag:
needs-upstream-testing

Once testing of the upstream kernel is complete, please mark this bug's Status as Confirmed. Please let us know your results. Thank you for your understanding.

tags: added: needs-kernel-logs
Changed in linux (Ubuntu):
status: Confirmed → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for linux (Ubuntu) because there has been no activity for 60 days.]

Changed in linux (Ubuntu):
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.