I did not reproduce this problem yet.

But according to the comment #48, when problem happens, neither sound
notification nor vibration work. So it does not look like a pulseaudio
problem since the vibration does not work too.

When problem happens, to check if media-hub-server sends playing request
to pulseaudio or not, we can do test as below:

1) Problem happens

2) Use adb shell to connect the phone with computer

3) set environment variable according to 
/usr/share/upstart/sessions/pulseaudio.conf
e.g.:
$export PULSE_SCRIPT=/etc/pulse/touch.pa
$export PULSE_CLIENTCONFIG=/etc/pulse/touch-client.conf
$export PULSE_PROP='media.role=multimedia'
$export PULSE_PLAYBACK_CORK_STALLED=1 

4) $pulseaudio --kill && pulseaudio --start -vvvv --log-
target=file:/tmp/a.txt

5) check /tmp/a.txt, make sure the pulseaudio starts successfully

6) $cp /tmp/a.txt /tmp/before-sms.txt

7) send a text message to your phone, trigger a sms event

8) $cp /tmp/b.txt /tmp/after-sms.txt

9) comparing before-sms.txt and after-sms.txt (or upload them to LP)


If this problem does not happen, the diff should be like the attached file, we 
can see the media-hub-server really sent playing request to pulseaudio when 
receiving text message.


** Attachment added: "diff-of-without-this-problem.txt"
   
https://bugs.launchpad.net/ubuntu/+source/media-hub/+bug/1544477/+attachment/4692518/+files/diff-of-without-this-problem.txt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1544477

Title:
  No sound notification for new SMS (Ubuntu Touch)

To manage notifications about this bug go to:
https://bugs.launchpad.net/canonical-devices-system-image/+bug/1544477/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to