maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview (https://talk.maemo.org/showthread.php?t=96932)

rinigus 2017-01-06 10:33

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by dubliner (Post 1521494)
getprop persist.audio.fluence.voicecall gives me an empty line, so it's probably the same bug. Do I get this right? Whatever I put into the build.prop file is not going to make it into the system.

You made that suggestion in November. I wonder, has anyone tried?

Unfortunately, I haven't quite figured out how to use logcat (sorry).

I am quite sure that its the same bug, which is a great news - possibly its not a hardware problem!

OK, let's see with the logcat. Logcat is easy when you know where to look. In N4 and OPX, its under

/usr/libexec/droid-hybris/system/bin/logcat

Since we look only for the loaded microphone, you could just pipe it to grep mic. So, to see the microphone,

devel-su
/usr/libexec/droid-hybris/system/bin/logcat | grep mic

wait few seconds

dial a phone number. Note that the microphone will be loaded at the beginning of the call, you don't even have to get someone to pick it up. If, while having default build.prop (I presume its configured for noise cancelling, as in N4), you would not see dmic loaded this bug is affecting you.

Re trying: I am quite sure that @sledges did try to rebuild his N5 image and got the expected (loading dmic) results. I could see that on https://wiki.merproject.org/wiki/Ada...for_hammerhead the OTA to 2.0.2 has noise-cancelling, but its suggested for devs only.

I don't know which version are you guys running on N5. OPX and N4 are on 2.0.5.x . Maybe its time to ask on IRC regarding the plans of rebuilding N5 image if it hasn't been done yet.

dubliner 2017-01-06 10:49

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
P.S. SOLVED!!! Sorry, I missed the missing d. :rolleyes:


Just a quick follow up.

Quote:

Originally Posted by mautz (Post 1521100)
Nope, the sensors service sometimes crashes or does not start on boot, just restart it with
Code:

devel-su systemctl restart sensorsfw
and everything should be fine.

When I issue that command I get an error:

Code:

[nemo@Nexus5 ~]$ devel-su systemctl restart sensorsfw
Password:
Failed to issue method call: Unit sensorsfw.service failed to load: No such file or directory.


dubliner 2017-01-06 11:00

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Thanks for your very helpful posting! It pains me that I cannot contribute much to the discussion, however, here are a few tidbits.

Quote:

Originally Posted by rinigus (Post 1521498)
Since we look only for the loaded microphone, you could just pipe it to grep mic. So, to see the microphone,

devel-su
/usr/libexec/droid-hybris/system/bin/logcat | grep mic

wait few seconds

dial a phone number.

Ah, now I finally got it. Here's my result:

Code:

D/audio_hw_primary(  981): select_devices: out_snd_device(9: voice-handset) in_snd_device(23: handset-mic)
D/audio_hw_primary(  981): enable_snd_device: snd_device(23: handset-mic)
D/audio_hw_primary(  981): disable_snd_device: snd_device(23: handset-mic)

Quote:

Originally Posted by rinigus (Post 1521498)
I don't know which version are you guys running on N5. OPX and N4 are on 2.0.5.x . Maybe its time to ask on IRC regarding the plans of rebuilding N5 image if it hasn't been done yet.

I have been running 2.0.5.6 ever since Christmas. Prior to that I followed the instructions that started off this thread which installed 2.0.1.11. It was exactly the echo/hands-free issues which drove me to try and upgrade to 2.0.5.6. However, the result has been identical.

BTW, whatever happened to RealJohnGalt?

rinigus 2017-01-06 11:34

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by dubliner (Post 1521501)
Thanks for your very helpful posting! It pains me that I cannot contribute much to the discussion, however, here are a few tidbits.



Ah, now I finally got it. Here's my result:

Code:

D/audio_hw_primary(  981): select_devices: out_snd_device(9: voice-handset) in_snd_device(23: handset-mic)
D/audio_hw_primary(  981): enable_snd_device: snd_device(23: handset-mic)
D/audio_hw_primary(  981): disable_snd_device: snd_device(23: handset-mic)



I have been running 2.0.5.6 ever since Christmas. Prior to that I followed the instructions that started off this thread which installed 2.0.1.11. It was exactly the echo/hands-free issues which drove me to try and upgrade to 2.0.5.6. However, the result has been identical.

BTW, whatever happened to RealJohnGalt?

OK, so you are using analog mic and the bug is there. That's good, since that should be possible to fix.

When you updated to 2.0.5.6, you probably did not update the packages which are N5 specific - since they are not released.

Now when we know that the bug is there, I would suggest to go to IRC #sailfishos-porters channel on Freenode and ask for help. Its extremely helpful community and I am sure that N5 developers would do their best to help you.

deprecated 2017-01-06 15:29

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
I don't have the microphone echo problem on the later device adaptation. The image is 2.0.4.13 (device adaptation 0.0.1.5) and updates fine to 2.0.5.6. The only problem with that image is that sfdroid won't work on it. That doesn't bother me, but it might you.

Furthermore, with build.prop edits I listed earlier in the thread on the old hardware adaptation, I was still able to get rid of the echo on 2.0.5.6.

mautz 2017-01-07 06:20

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by deprecated (Post 1521513)
I don't have the microphone echo problem on the later device adaptation. The image is 2.0.4.13 (device adaptation 0.0.1.5) and updates fine to 2.0.5.6. The only problem with that image is that sfdroid won't work on it. That doesn't bother me, but it might you.

Furthermore, with build.prop edits I listed earlier in the thread on the old hardware adaptation, I was still able to get rid of the echo on 2.0.5.6.

Could you please check if you have symlinks of following files in /etc?

acdbdata
mixer_paths.xml
mixer_paths_auxpcm.xml

dubliner 2017-01-07 13:31

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by mautz (Post 1521537)
Could you please check if you have symlinks of following files in /etc?

acdbdata
mixer_paths.xml
mixer_paths_auxpcm.xml

On my 2.0.5.6 (upgraded from 2.0.1.11) only two of these symlinks exist.

lrwxrwxrwx 1 root root 20 Dec 24 12:48 acdbdata -> /system/etc/acdbdata
lrwxrwxrwx 1 root root 27 Dec 24 12:48 mixer_paths.xml -> /system/etc/mixer_paths.xml


Should I establish that missing link? Where should it link to? There is no /system/etc/mixer_paths_auxpcm.xml file on my phone.

mautz 2017-01-07 14:49

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by dubliner (Post 1521550)
On my 2.0.5.6 (upgraded from 2.0.1.11) only two of these symlinks exist.

lrwxrwxrwx 1 root root 20 Dec 24 12:48 acdbdata -> /system/etc/acdbdata
lrwxrwxrwx 1 root root 27 Dec 24 12:48 mixer_paths.xml -> /system/etc/mixer_paths.xml


Should I establish that missing link? Where should it link to? There is no /system/etc/mixer_paths_auxpcm.xml file on my phone.

These 3 files fix audio echoing during calls on FairPhone2. Maybe the auxpcm file is only available on FP2.

Maybe the problem is gone with my CM13 port, when i get it finished....

dubliner 2017-01-07 22:35

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by deprecated (Post 1521513)
I don't have the microphone echo problem on the later device adaptation. The image is 2.0.4.13 (device adaptation 0.0.1.5) and updates fine to 2.0.5.6.

@deprecated: Just curious, do you have all of those three symlinks in /etc which mautz mentioned here?

Quote:

Originally Posted by mautz (Post 1521537)
acdbdata
mixer_paths.xml
mixer_paths_auxpcm.xml


deprecated 2017-01-08 21:53

Re: SailfishOS 2.0 Nexus 5 CM12.1 Alpha1 | Sfdroid Pre-Alpha/Early Preview
 
Quote:

Originally Posted by dubliner (Post 1521578)
@deprecated: Just curious, do you have all of those three symlinks in /etc which mautz mentioned here?

Hey, sorry for the late reply. I'm currently moving, so when I get situated I'll check this out. Will keep you posted!


All times are GMT. The time now is 17:00.

vBulletin® Version 3.8.8