Suspend mode reset my configuration to internal microphone instead of keeping usb microphone as default

Bug #1002988 reported by Jonathan Chartrand on 2012-05-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
pm-utils (Ubuntu)
Undecided
Unassigned

Bug Description

Suspend mode reset my configuration to internal microphone instead of keeping usb microphone as default.

I always have to manually change it back in the sounds parameters.

Reboot is ok : keeps the usb microphone as default.

Please help.

SYSTEM INFO :

Ubuntu 12.04 LTS

jonathan@HP-Compaq-6730s:~$ apt-cache policy pm-utils
pm-utils:
  Installé : 1.4.1-9
  Candidat : 1.4.1-9
 Table de version :
 *** 1.4.1-9 0
        500 http://mirror.cc.columbia.edu/pub/linux/ubuntu/archive/ precise/main amd64 Packages
        100 /var/lib/dpkg/status

This fixed my problem :

A)

1) create a file /etc/pm/power.d/10_alsa-restart
2) edit the file add the following
#!/bin/sh
/sbin/alsa force-reload
3) save the file and make it executable.

(http://daybydaylinux.blogspot.ca/2011/09/alsa-no-sound-after-suspend-in-lucid.html)

B)

Also, in the file "etc/modprobe.d/alsa-base.conf", I add :

options snd-hda-intel=1
options snd-usb-audio=0

and comment all options lines after "# Prevent abnormal drivers from grabbing index 0"

I found the name of devices and index with :

cat /proc/asound/modules

C)

Also, in the file "etc/pulse/default.pa", I add (uncomment last line and replace "source" by the name of my device) :

set-default-source alsa_input.usb-046d_0821_3961BAE0-00-U0x46d0x821.iec958-stereo

I found the name of my device with :

pacmd list-sources

Cheers,
Jon

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers