[xps 1330] sound doesn't work after suspend

Bug #148043 reported by LEVIS Cyril
4
Affects Status Importance Assigned to Milestone
linux-ubuntu-modules-2.6.22 (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Hello, after suspend to ram the sound doesn't work on wake up, what i must blacklist or do for get it working after resume please?

Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

What system and what OS architecture are you running?

Revision history for this message
LEVIS Cyril (atlas95) wrote :

I'm running ubuntu gusty

Revision history for this message
LEVIS Cyril (atlas95) wrote :

32bit

Revision history for this message
LEVIS Cyril (atlas95) wrote :

I have test to blacklist snd_hda_intel, and add it too in /etc/modules.
And when I play music with rhythmbox, i must pause it before suspend, then at wakeup i can press play and this work.
But if i don't pause it, at wakeup i have no sound.... :/

It isn't yet the best solution so.

Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

What system is this on? Sounds like a dup of another bug.

Revision history for this message
LEVIS Cyril (atlas95) wrote :

I run ubuntu, I don't really understand your answer Jose scuse

Revision history for this message
LEVIS Cyril (atlas95) wrote :

Ho sorry! On Dell XPS 1330 yet !
Suspend to disk don't work too, I don't know how to do...

Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

One more question: What video card do you have?

Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

Try the following workaround:

1. Create /etc/modprobe.d/1330-sound and add:

options snd-hda-intel model=5stack

2. Create /etc/acpi/suspend.d/86-1330-sound.sh and add:

#!/bin/sh
modprobe -r snd_hda_intel

3. Create /etc/acpi/resume.d/66-1330-sound.sh and add:

#!/bin/sh
modprobe snd_hda_intel

4. Add to /etc/rc.local:

modlist=`lsmod | grep snd_hda`
 [ -z "$modlist" ] && modprobe snd_hda_intel

This worked for me.

Changed in dell:
importance: Undecided → High
status: New → Confirmed
description: updated
Revision history for this message
LEVIS Cyril (atlas95) wrote : Re: [Bug 148043] Re: sound doesn't work after suspend

Thanks I try this !

Le dimanche 07 octobre 2007 à 16:16 +0000, Jose De la Rosa a écrit :
> modlist=`lsmod | grep snd_hda`
> [ -z "$modlist" ] && modprobe snd_hda_intel
>
>
--
LEVIS Cyril <email address hidden>

Revision history for this message
LEVIS Cyril (atlas95) wrote :

My video card is a nvidia 8400GS.

The tweak seem don't work for me Jose :/

I have try to suspend with the tweak while rhythmbox playing, and after restart, no sound...

Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

My bad, try this workaround:

http://linux.dell.com/wiki/index.php/Ubuntu_7.04/Issues/Audio_not_working_properly

Works with Gutsy + latest updates on the XPS 1330. If it doesn't work, close rhythmbox before suspending/hibernating and try again.

Revision history for this message
Jose De la Rosa (jose-de-la-rosa) wrote :

Install linux-backports-modules-2.6.22-14-generic and run the following script:

#!/bin/sh
## Fix for audio failure after Suspend and Hibernate
cat > /etc/acpi/resume.d/99-restore-volume.sh << EOF
#!/bin/sh
amixer sget Master|grep "Mono:" | while read m p v j
do
   amixer sset Master 0
   amixer sset Master \$v
done
EOF
chown root.root /etc/acpi/resume.d/99-restore-volume.sh
chmod a+x /etc/acpi/resume.d/99-restore-volume.sh

Changed in dell:
status: Confirmed → Fix Released
Revision history for this message
LEVIS Cyril (atlas95) wrote :

Ok, thanks I will try and report to you

Revision history for this message
LEVIS Cyril (atlas95) wrote :

It is ok Jose ! ;)
Good

Daniel T Chen (crimsun)
Changed in linux-ubuntu-modules-2.6.22:
status: New → Fix Released
Changed in somerville:
importance: Undecided → High
status: New → Fix Released
no longer affects: dell
Revision history for this message
Timothy R. Chavez (timrchavez) wrote :

The bug task for the somerville project has been removed by an automated script. This bug has been cloned on that project and is available here: https://bugs.launchpad.net/bugs/1305763

no longer affects: somerville
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.