I can confirm it in U12.04.
I have solved it this way:
------------------------------------------------------------------
/etc/pm/sleep.d/90_usbaudio :
#! /bin/sh
case $1 in
suspend|suspend_hybrid|hibernate)
true
;;
resume|thaw)
sleep 1; sudo -u inet /home/inet/prog/usbaudio.sh
;;
esac
---------------------------------------------------------------------
/home/inet/prog/usbaudio.sh :
#!/bin/bash
# After resume from SUSPEND is USB sound card muted and not default ->
pacmd set-default-sink
alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00-Set.analog-stereo
pacmd set-default-source
alsa_input.usb-0d8c_C-Media_USB_Headphone_Set-00-Set.analog-mono
pacmd set-sink-mute
alsa_output.usb-0d8c_C-Media_USB_Headphone_Set-00-Set.analog-stereo 0
pacmd set-source-mute
alsa_input.usb-0d8c_C-Media_USB_Headphone_Set-00-Set.analog-mono 0
---------------------------------------------------------------------
It works for me. You must modify sink/source names of course. Do not use
indexes - use names!
Note: user "inet" is the only one possible
Hope it helps you :-)
--kapetr
P.S. I had to do hack with my USB mouse too to wakeup (Exactly - it is ps/2
mouse on <ps/2 to usb> adapter
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/665314
Title:
USB audio device is always muted after resume from suspend to ram
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pulseaudio/+bug/665314/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs