alsa-lib: UCM - hammerhead sound doesn't work

Bug #1276901 reported by Georg Schmitz
42
This bug affects 7 people
Affects Status Importance Assigned to Milestone
alsa-lib (Ubuntu)
Fix Released
High
Unassigned
android (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

1.) The release I'm using:
Description: Ubuntu Trusty Tahr (development branch)
Release: 14.04
2.) Paket pkgname kann nicht gefunden werden (package pkgname could not be found)
3.) What I expected to happen:
Sound should have worked on hammerhead ootb or after performing the steps below (according to the porting guide)
4.) No sound at all

The correct sound driver was not used, so I performed the following steps:

1.) Checked '/proc/asound/cars' so see which sound card is installed
2.) Created the path '/usr/share/alsa/ucm/msm8974-taiko-mtp-snd-card'
3.) Copied the three files from
'/usr/share/alsa/ucm/apq8064-tabla-snd-card/'
to
'/usr/share/alsa/ucm/msm8974-taiko-mtp-snd-card'
4.) Renamed
'apq8064-tabla-snd-card.conf'
to
'msm8974-taiko-mtp-snd-card.conf'
5.) Modified the files 'HiFi' and 'VoiceCall'. Find&replaced
'apq8064tablasnd'
with
'msm8974taikomtpsnd'

I attached dmesg, logcat, syslog, amixer and alsa-info before I made the changes (folder original) and after (folder modification).

Thank you for helping to fix.

Georg

Tags: alsa-lib ucm
Revision history for this message
Georg Schmitz (gschmitzkev) wrote :
description: updated
Revision history for this message
Jörg Frings-Fürst (jff-de) wrote :

Hello,

please read https://launchpad.net/ubuntu/+source/android

The package android is only adaptet to trusty and saucy, and not to precise

Jörg

Changed in android (Ubuntu):
status: New → Invalid
description: updated
Oliver Grawert (ogra)
Changed in alsa-lib (Ubuntu):
importance: Undecided → High
Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in alsa-lib (Ubuntu):
status: New → Confirmed
Revision history for this message
Ralf Lange (ralflange83) wrote :

I can confirm this bug.
There is no sound around the hole system... no systemsound, no notifications etc.
i can´t call somebody because the microphone and the speaker are without any fuction...

I´m looking forward to a daily useable build for our beloved Nexus 5 ;-)

Revision history for this message
Jeffrey (jsh73185) wrote :

I also can confirm, sound is not working on hammerhead.
Digging around a bit I did notice that the soundcard is being recognized at least, so maybe it's a config problem?
I also seen that alsa is not starting the audio mixer..
This is my first attempt at porting so I hope the info I just provided is useful.

Revision history for this message
Georg Schmitz (gschmitzkev) wrote :

Chris (<email address hidden>) created a fix.
It's not working 100% and sometimes sound crashes or it contains "vibrations", but the basics work!

Here is his message from the mailing-list:
Hey

Here is my attempt to get sound working at hammerhead.

The files are not final and i haven't tested everything, but they should be fine to get speaker, headphones and sound during calls working.

Unpack the attached archive and copy the folder to "/usr/share/alsa/ucm/".
Would be great if someone could test them and give me feedback.

Best Regards,
Chris

Revision history for this message
Ralf Lange (ralflange83) wrote :

Hi @ Georg & Chris...

This patch works great...

Thank you for the really good work.!.!

Greetz Ralf

Revision history for this message
Chris (chud) wrote :

Hey

I've updated my first version a bit, so here is v2.
Changed some values to match the hammerhead file Georg sent to the mailing list yesterday.
I can't really reproduce the "distortion" in sound, except when you plug in headphones (the first thing played is distorted).

There is also a bug, that when you plug in and out headphones after a call the sound is gone system wide.
Maybe someone can help out here (see attached syslog).

Revision history for this message
Ralf Lange (ralflange83) wrote :

Great work again...!

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

I merged this into alsa-lib now so users do not have to apply teh files by hand to teh readonly images, please add further improvements you find here or open a new bug

Changed in alsa-lib (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Ralf Lange (ralflange83) wrote :

Only for my understanding:

When we install a newer build, this fix is implemented? So we don´t need to copy it manually?

Sorry, but my english isn´t really good.

Greetz
Ralf

Oliver Grawert (ogra)
Changed in alsa-lib (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Ralf Lange (ralflange83) wrote :

during the first call, all is fine...
but the second call ist without speaker and microphone function...
The only solution: restart

Is there a development on this problem?

Greetz
Ralf

Revision history for this message
Roman Zonov (roman2861) wrote :

Sound is still...buggy. Who can continue work to fix it?

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.