maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   SailfishOS (https://talk.maemo.org/forumdisplay.php?f=52)
-   -   SailfishOS 2.0 on Nexus 5 (https://talk.maemo.org/showthread.php?t=94620)

romu 2016-03-02 15:26

Re: SailfishOS 2.0 on Nexus 5
 
That's a pretty big number of driver versions! But that could worth the try to test them in a systematic way and share our results. I can start a Google doc which you help to track our testing. Any volunteer?

@beobatcher: so let's say I've a D821 :D

tolake 2016-03-02 15:30

Re: SailfishOS 2.0 on Nexus 5
 
May be porters can hint if this is meaningful.

frullewulle 2016-03-02 16:10

Re: SailfishOS 2.0 on Nexus 5
 
2 Attachment(s)
Quote:

Originally Posted by romu (Post 1500420)
That's a pretty big number of driver versions! But that could worth the try to test them in a systematic way and share our results. I can start a Google doc which you help to track our testing. Any volunteer?

@beobatcher: so let's say I've a D821 :D

on that google drivers website :
we have a sensors config file, sensors blob and sensors.qcom bin file that have to be replaced at the same time.

i've two zip files one for 5.0.1 version and one with latest 6.0.1 version
each zip file has config files with info where those files have to be copied

found 3 extra sensor** .so files for each version in /system/vendor.lib folder

now lets do some testing :-)

romu 2016-03-02 16:48

Re: SailfishOS 2.0 on Nexus 5
 
Just created a google sheet: https://docs.google.com/spreadsheets...it?usp=sharing

@frullewulle: imho, it would be better to identify the driver set by the code number we find on the Google page. Not 5.0.1, but LMY48D, etc. Just in case we want to test more than 2 versions.

EDIT: would also be great to document which exact files have to go to which exact folder.

frullewulle 2016-03-02 18:26

Re: SailfishOS 2.0 on Nexus 5
 
2 Attachment(s)
new zip files with some additional driver files

tolake 2016-03-03 02:06

Re: SailfishOS 2.0 on Nexus 5
 
We have @llelectronics with happy set of dependencies for 2.0.1.7.

If i put his sensors.msm8974.so into my 2.0.0.10 i will get broken sensors setup. Simplest cause for this would be that that 2.0.0.10 is the source this dependency mismatch.

We need to track down these dependencies and make the happiness reproducible.
While we don't know the exact set of dependencies we could start comparing sizes/md5s for find / -name *sensor*.

tolake 2016-03-03 06:24

Re: SailfishOS 2.0 on Nexus 5
 
I'll try 2.0.1.7

romu 2016-03-03 09:10

Re: SailfishOS 2.0 on Nexus 5
 
I added the SFOS version on the Google sheet.

Just to be sure, for our testing:
  • sensors.msm8974.so -> /vendor/lib/hw/
  • sensors.qcom -> ??
  • sensor_def_hh.conf -> ??

Thanks.

romu 2016-03-03 13:03

Re: SailfishOS 2.0 on Nexus 5
 
I spent few moments to collect the sensors drivers and related files from the Google web site. I've got the drivers from all Android available for the N5. You can get the zip here: https://www.dropbox.com/s/5bevanvywvv6w4r/N5.zip?dl=0

I managed to find the location for each sensor files (thanks to everyone who can confirm):
  • sensors.msm8974.so -> /vendor/lib/hw
  • sensor_def_hh.conf -> /system/etc
  • sensors.qcom -> /system/bin

Enjoy!

tolake 2016-03-03 18:08

Re: SailfishOS 2.0 on Nexus 5
 
So, now on 2.0.1.7

Original sensors.msm8974.so: cpu 8% for both processes

Replacement sensors.msm8974.so (md5: 5d5005fbd4c819136b766bb125209ba2)
Error in journalctl mostly same, except now additionally
Code:

[root@Jolla nemo]# systemctl status sensorfwd
sensorfwd.service - Sensor daemon for sensor framework
  Loaded: loaded (/lib/systemd/system/sensorfwd.service; disabled)
  Active: failed (Result: start-limit) since Thu 2016-03-03 19:26:30 EET; 32min ago
 Main PID: 1252 (code=exited, status=0/SUCCESS)
  CGroup: /system.slice/sensorfwd.service

Mar 03 19:26:30 Jolla systemd[1]: sensorfwd.service start request repeated too quickly, refusing to start.

and nothing moves in Messwerk.


All times are GMT. The time now is 04:57.

vBulletin® Version 3.8.8