Monday, 2020-10-05

spiiroinpiggz: sounds like volla has similar problem as pine where one gets charger disconnected notification, but must poll battery to learn that it is no longer charging06:31
T42<edp_17> Good morning all!06:31
spiiroincan be tweaked via ini file, example at: https://git.sailfishos.org/mer-core/mce/blob/master/inifiles/battery-udev-settings.ini06:31
T42<edp_17> @elros34: since our last interaction regarding the GPS, I created a new build. I expected to get the GPS working out of the box. But it wasn't the case. I still needed to do that magic with the nemo system permission. Plus in favour, all the sensors stopped working.06:33
T42<edp_17> All of them worked fine on previous build and I didn't change anything, so I guess this is down to some changes in somewhere in the core that was updgraded for 3.4. Could you please help me out how I can get back the sensors?06:35
T42<edp_17> Just to clarify: rotation, acceleration, gyro, magnetometer and light and proximity, all stopped working.06:37
T42<elros34> @edp_17 downgrade sensorfd to 0.11.9. In the commit which remove system group there is instruction how to add it back07:30
T42<edp_17> @elros34: Thanks. Could you let me know where is that instruction?07:32
T42<elros34> here in description: https://github.com/mer-hybris/droid-hal-device/commit/1dac6f1ff3b58215003af61ba52bd91c5b17721907:34
T42<edp_17> Thanks! 👍07:36
T42<edp_17> Another question. I need to permanently comment out something in /init.universal5433.rc. How can I do this in the sdk to automatically include it into the builds?07:47
T42<elros34> do it in device/$VENDOR/*/ not in out/07:50
T42<elros34> then make hybris-hal should copy it to out/ and you can package it07:51
T42<edp_17> How can I make it sure that hybris-hal copy it to out/?07:54
T42<saukkom> PSA: If you use github for sailfish os related repositories (e.g. https://github.com/mer-hybris/) you should enable the Two-factor authentication at https://github.com/settings/security07:54
T42<saukkom> Eventually we would like to enforce MFA for our organizations that we have in the github. We have not done this as there is many community members currently who have not taken it in use and by taking it in use they would loose access until they have taken 2FA in use.07:54
T42<saukkom> NOTE: Nothing is yet decided or done, so just a headsup for now :)07:54
T42<elros34> @edp_17 check manually:)? I think after change in rc file, first 'make hybris-hal'  will print which files were copied07:58
T42<edp_17> @elros34: Thanks. I thought needed to add something into somewhere to make it sure. :)08:35
T42<edp_17> Another one. I needed to comment out a few lines in /system/etc/audio_policy.conf on the device to make the sound work. How can I make this permanent in the sdk?08:36
T42<elros34> you can't, /system partition is provided by your lineage zip. However, I think you can make copy of this file to sparse and add 'config=/path/to/your/new/audio_policy.conf' in arm_droid_card_custom.pa08:46
T42<edp_17> @elros34: I have tried this on the device and it didn't work. (I have created a file '/etc/pulse/arm_droid_card_custom.pa' with a content: 'config=/etc/pulse/treltexx_audio_policy.conf' Then I have added the custom audio_policy.conf into '/etc/pulse/treltexx_audio_policy.conf', then put back the original 'audio_policy.conf' into '/syst12:11
T42em/etc' and then reboot. No sound.) I think will create a service that copies the custom one into /system/etc/audio_policy.conf. It isn't elegant but at least works.12:11
T42<elros34> this is have arm_droid_card_sustom.pa should looks like: https://github.com/edp17/droid-config-i9100/blob/master/sparse/etc/pulse/arm_droid_card_custom.pa. You just add another argument: "config=/blah"12:14
T42<elros34> how*12:14
T42<edp_17> I didn't have arm_droid_card_sustom.pa, so I created one with one line: 'config=/path/to/your/new/audio_policy.conf'. Is the 'load-module...' required?12:15
T42<edp_17> I'll try.12:15
T42<elros34> yes it is: https://github.com/mer-hybris/droid-hal-configs/blob/5a6a1b4e5eb6b8f1475331a821011fb2c2d0b949/sparse/etc/pulse/arm_droid_default.pa#L3312:17
T42<edp_17> Okay, so that's why it didn't work. 😊 I'll re-try.12:17
malthis is an example how I did it https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/etc/pulse/arm_droid_card_custom.pa12:44
malthe udev line there is for usb audio support and needs some additional change elsewhere12:45
T42<edp_17> mal, @elros34 : Thanks, it worked! However, the sound is crap. It was way better when I replaced the /system/etc/audio_policy.conf.13:10
T42<edp_17> Therefore I changed the 48000 to 44000 and it is better now. 😄13:11
T42<edp_17> I'll add this into sparse.13:11
T42<edp_17> @elros34: Just to clarify, if I would like to get all the sensors back, I need to revert what is listed on the link you gave me: https://github.com/mer-hybris/droid-hal-device/commit/1dac6f1ff3b58215003af61ba52bd91c5b17721913:28
T42<edp_17> Currently I don't have that '%define additional_ha_groups \'... in my spec file, so I don't need to add.13:28
T42<edp_17> Plus as the droid-hal-device.inc already has the system and other removed, I need to add them back. Is this how you meant to 'add it back'?13:29
T42<elros34> sensors? no, only gps provided your claim that adding nemo to systemd group helped is true. Dont revert anything just add that'%define additional_ha_groups \ system\ %{nil}' to your droid-hal-$DEVICE.spec and rebuild droid-hal.13:42
T42<edp_17> I thought misunderstood you. 😊 I'll do that and try. Thanks.13:44
*** Oksana_ is now known as Oksana13:46
malmaybe check which device gets wrong permissions for things to work13:57
T42Darcy %lastname% was added by: Darcy %lastname%20:39
*** lanodan_ is now known as lanodan21:45

Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!