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

Asked by Jonathan Chartrand

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.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu pm-utils Edit question
Assignee:
No assignee Edit question
Solved by:
Jonathan Chartrand
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
Jonathan Chartrand (jo-chartrand) said :
#2

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