volume control does not work on Galaxy S2 and pulseaudio misbehaves

Bug #1210083 reported by Oliver Grawert
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
android-audiosystem (Ubuntu)
Expired
Undecided
Unassigned
pulseaudio (Ubuntu)
Expired
Low
Unassigned

Bug Description

In the Ubuntu Touch port to the Samsung Galaxy S2 phone pulseaudio misbehaves until
load-module module-udev-detect use_ucm=0
is commented out in /etc/pulse/default.pa

while pulse starts after this modification, volume control is neither possible through the indicator (no UI elements at all) nor via alsamixer or the hardware butoons. Videos play with sound, the camera snap sound works too, but volume can not be controlled.

ProblemType: Bug
DistroRelease: Ubuntu 13.10
Package: pulseaudio 1:4.0-0ubuntu1
Uname: Linux 3.0.64-CM-g27bbb67-dirty armv7l
NonfreeKernelModules: dhd Si4709_driver
ApportVersion: 2.11-0ubuntu1
Architecture: armhf
AudioDevicesInUse: Error: [Errno 2] No such file or directory: 'fuser'
Date: Thu Aug 8 12:02:06 2013
InstallationDate: Installed on 2013-08-01 (6 days ago)
InstallationMedia: Ubuntu Saucy Salamander (development branch) - armhf (20130801)
MarkForUpload: True
ProcEnviron:
 TERM=linux
 PATH=(custom, no user)
SourcePackage: pulseaudio
UpgradeStatus: No upgrade log present (probably fresh install)
modified.conffile..etc.pulse.default.pa: [modified]
mtime.conffile..etc.pulse.default.pa: 2013-08-07T19:50:18.924314

Revision history for this message
Oliver Grawert (ogra) wrote :
Revision history for this message
Oliver Grawert (ogra) wrote :

http://paste.ubuntu.com/5962040/ has the output of the alsa-info.sh schellscript as described on https://wiki.ubuntu.com/Audio/AlsaInfo

Changed in pulseaudio (Ubuntu):
assignee: nobody → David Henningsson (diwic)
Revision history for this message
Raymond (superquad-vortex2) wrote :

why do you overwrite pcm. default and ctl.default

what is type android ?

System wide config file (/etc/asound.conf)

#pcm.!default {
# type android
# }

ctl.!default {
        type android
        }

pcm.android {
        type android
        }

ctl.android {
        type android
        }

Revision history for this message
Oliver Grawert (ogra) wrote :

i dont, thats how it is on teh toumch images by default ... the android type is provided by libandroid-audiosystem-asound2 which talks to the container

Revision history for this message
David Henningsson (diwic) wrote :

The question is if this is worth spending time on right now, given that we're trying to get rid of audioflinger, and then all this logic will change anyway.

Revision history for this message
David Henningsson (diwic) wrote :

But the first one is probably relatively easy - libandroid-audiosystem-asound2 (or some other package) already changes /etc/pulse/default.pa I believe, so we should probably comment out the "load-module module-udev-detect" line on all images that use audioflinger.

Revision history for this message
Oliver Grawert (ogra) wrote :

I agree, pulse had a really hard hit on the system that made it close to unusable with udev-detect in place.

For the further stuff i agree we should wait, since the changes are supposed to land this month anyway ...

Oliver Grawert (ogra)
summary: - volume control does not work on Galaxy S2
+ volume control does not work on Galaxy S2 and pulseaudio misbehaves
Changed in pulseaudio (Ubuntu):
importance: Undecided → Low
Changed in pulseaudio (Ubuntu):
assignee: David Henningsson (diwic) → nobody
Revision history for this message
Daniel van Vugt (vanvugt) wrote :

Thank you for reporting this bug to Ubuntu.
Ubuntu 13.10 (saucy) reached end-of-life on July 17, 2014.

See this document for currently supported Ubuntu releases:
https://wiki.ubuntu.com/Releases

We appreciate that this bug may be old and you might not be interested in discussing it any more. But if you are then please upgrade to the latest Ubuntu version and re-test.

Changed in pulseaudio (Ubuntu):
status: New → Incomplete
Changed in android-audiosystem (Ubuntu):
status: New → Incomplete
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for android-audiosystem (Ubuntu) because there has been no activity for 60 days.]

Changed in android-audiosystem (Ubuntu):
status: Incomplete → Expired
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for pulseaudio (Ubuntu) because there has been no activity for 60 days.]

Changed in pulseaudio (Ubuntu):
status: Incomplete → Expired
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.