ubports / ubuntu-touch

Ubuntu Touch's issue inbox is now migrated to GitLab.
https://gitlab.com/ubports/ubuntu-touch
1.29k stars 110 forks source link

microphone is not working #1001

Open Thieb67k opened 5 years ago

Thieb67k commented 5 years ago

Description of the feature Microphone is not working, at least in my case with the recorder app and messaging app. Probably linked to the closed issue #529 . (?)

Expected behavior Get a signal after recording

Actual behavior No signal/file/text/reaction after recording, with use of the recorder app and messaging app.

hummlbach commented 5 years ago

I can confirm this. The issue was there right from the beginning of xenial on mako. Recording audio does not work. Neither with the audiorecorder, nor with the camera app and also mycroft does not hear me ;-) but the dialer app is working.

Flohack74 commented 5 years ago

Can it be missing acdbdata like I had in the OPO?

APokorny commented 5 years ago

There is an error in the kernel log, while attempting to capture audio: "asoc: MSM8960 Media1 no valid capture route from source to sink"

strassburger commented 5 years ago
Device: LGE Nexus 4
Channel: Stable
Build: OTA-6

can confirm error in the kernel log "asoc: MSM8960 Media1 no valid capture route from source to sink"

strassburger commented 5 years ago

Description of the feature Microphone is not working in Linphone

Device: LGE Nexus 4 Channel: Stable Build: OTA-6

Thieb67k commented 5 years ago

That still happens with OTA-7 on mako.

strassburger commented 5 years ago

Can confirm that with OTA-7 on mako same problem: Microphone is not working in Linphone

Thieb67k commented 5 years ago

I can add that microphone is not recording when using video capture.

strassburger commented 5 years ago

Can confirm that with mako same problem: OTA-8 Ubuntu16.04 (2019-W09) Microphone is not working in Linphone

Fozzimoto commented 5 years ago

Any hope for a fix? this would be awesome... the 4 is nice with convergence if only i could use it to record videos with audio!

strassburger commented 5 years ago

Can confirm that with mako still same problem: Microphone is not working in Linphone

Device: LGE Nexus 4 Channel: Stable OTA-9

Ubuntu-Build-Beschreibung: Ubuntu16.04 LTS - armhf (20190227)

Device: LGE Nexus 4 Channel: Release Kandidat

OS-Build-Number 2019-W26

Ubuntu-Build-Beschreibung: Ubuntu16.04 LTS - armhf (20190625)

Flohack74 commented 5 years ago

@APokorny Did we ever check for correct acdbdata files on mako?

strassburger commented 5 years ago

Sorry, can not help on check for correct acdbdata files on mako, missing the knowledge.

Other Test with same problem - Micro not working with Linphone but with inbuild Telefone app Device: LGE Nexus 4 Channel: Entwicklung OS-Build-Number 2019-06-29

Ubuntu-Build-Beschreibung: Ubuntu16.04 LTS - armhf (20190629)

Relevant???? Anpassungs-Abbild-Teil: Nicht verfügbar

wayneoutthere commented 5 years ago

I can confirm this bug (big time) on my N4.

My Findings

  1. the mic does work in the core phone app when making a phone call. Works perfectly.

  2. Camera app doesn't work (video mic), Linphone doesn't work. Recorder app doesn't work. I seem unable to get logs now but when I was able it was some kind of 'apparmor' thing.

What I've done so far

I have tried re-installing the OS many, many times via installer, recovery mode - everything.

I have turned off mic permissions, saved, rebooted, turned back on, tried again - nothing.

Interesting to note that whether I turn the mic permissions on or off in the privacy settings app settings, it makes no difference. It simply doesn't work.

My thoughts and heartfelt feelings whilst knowing nothing.

So something (apparmor?) is saying "Don't let this OS use the mic for anything else except the core phone app - including the core camera app video mic - "

Thanks for help resolving! :)

Flohack74 commented 5 years ago

I have a different thought - the mic in phone mode could be routed solely through the Android container architecture, means RILD (the part which handles calls) can access the mic directly without Ubuntu Touch. All other apps though are pure Ubuntu Touch apps and canot access the mic correctly. Means probably the routing for them is wrong, the permissions or smth else idk :) But dont conclude from a working mic in a call that other apps should also work. Calling is solved a bit differently than other recording.

hscheewel commented 5 years ago

By accident I made the observation that a video can be recorded with sound (on mako) when being on a phone call on parallel. After the call I recorded another video but this time the sound was not recorded. I've no idea why this is the case but I thought it give some hints for finding the bug.

Device: LGE Nexus 4
Channel: Edge
Build: Ubuntu  16.04 LTS - armf (20191027)

Update: I tested a second time. While calling, sound is recorded: Voice of caller and called person in speaker and default mode.

lduboeuf commented 4 years ago

regarding messaging-app, follow up is here: https://github.com/ubports/messaging-app/issues/189

dtarrant2019 commented 4 years ago

Still not working, OS build number 2020-W17

lduboeuf commented 4 years ago

This is more a Nexus 4 issue i guess

lucky-beep commented 3 years ago

Is there anything new to this issue? Still does not work on my Nexus 4.

wayneoutthere commented 3 years ago

Sadly we're probably some of the only people left with an N4 which is why there is not much activity here.  I was hoping to learn how to program and do this but life...   I think there are only three options for us: 1. Wait longer and hope and suffer without it (it works for phone call for me, but nothing else)  2. Learn to fix it ourself or 3. Get a new device. 

On 2020-11-18 6:57 a.m., lucky-beep wrote:

Is there anything new to this issue? Still does not work on my Nexus 4.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ubports/ubuntu-touch/issues/1001#issuecomment-729733305, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6POKR37DQIAV5PPULEPIDSQPOD3ANCNFSM4GKG754A.

-- Wayne Taylor REALTOR

Metro Edge Realty 345-3150 E 54th Ave Vancouver, BC V5S 1Z1

dtarrant2019 commented 3 years ago

Hi,

Still doesn't work and I don't believe it will ever be fixed. My investigation from 2 or 3 years ago discovered this issue had been investigated by Marius Gripsgard and was not simple rectify. Other material on the internet speculated the microphone was locked down on the N4 as a security measure.

Regards,

dtarrant


From: lucky-beep notifications@github.com Sent: 18 November 2020 14:57 To: ubports/ubuntu-touch ubuntu-touch@noreply.github.com Cc: David Tarrant dtarrant@sequim.co.uk; Comment comment@noreply.github.com Subject: Re: [ubports/ubuntu-touch] microphone is not working (#1001)

Is there anything new to this issue? Still does not work on my Nexus 4.

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/ubports/ubuntu-touch/issues/1001#issuecomment-729733305, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANRKWJWJAVURPWJ6HU5W6MLSQPOD3ANCNFSM4GKG754A.

dtarrant2019 commented 3 years ago

Hi Wayne,

Agreed this will never be fixed. Marius Gripsgard tried and concluded it was too difficult to be worthwhile.

I've got a PinePhone now and that has loads of issues, but it's gradually getting better.

My N4 is still working fine with OTA 14.

Do you remember our contact on EchoLink?

Hope all is well with you and your family in Vancouver.

Best regards,

dtarrant


From: wayneoutthere notifications@github.com Sent: 18 November 2020 15:07 To: ubports/ubuntu-touch ubuntu-touch@noreply.github.com Cc: David Tarrant dtarrant@sequim.co.uk; Comment comment@noreply.github.com Subject: Re: [ubports/ubuntu-touch] microphone is not working (#1001)

Sadly we're probably some of the only people left with an N4 which is why there is not much activity here. I was hoping to learn how to program and do this but life... I think there are only three options for us: 1. Wait longer and hope and suffer without it (it works for phone call for me, but nothing else) 2. Learn to fix it ourself or 3. Get a new device.

On 2020-11-18 6:57 a.m., lucky-beep wrote:

Is there anything new to this issue? Still does not work on my Nexus 4.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/ubports/ubuntu-touch/issues/1001#issuecomment-729733305, or unsubscribe https://github.com/notifications/unsubscribe-auth/AD6POKR37DQIAV5PPULEPIDSQPOD3ANCNFSM4GKG754A.

-- Wayne Taylor REALTOR

Metro Edge Realty 345-3150 E 54th Ave Vancouver, BC V5S 1Z1

— You are receiving this because you commented. Reply to this email directly, view it on GitHubhttps://github.com/ubports/ubuntu-touch/issues/1001#issuecomment-729740751, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANRKWJVIP3Y2GITQPPEKXELSQPPMVANCNFSM4GKG754A.

lucky-beep commented 3 years ago

thank you for the replies! :-) good luck to all of you!