mccreary | piggz: After poking at my HIDL trouble w/bootctrl, it seems all of the bits are open source. You ought to be able to write a simple tool to do what you need in SailfishOS without depending on the nasty Android treble indirection mess | 00:57 |
---|---|---|
mccreary | Check out https://android.googlesource.com/platform/hardware/qcom/bootctrl/ and bootctl in https://android.googlesource.com/platform/system/extras/ | 01:01 |
mccreary | You'll also need stuff from gpt-utils, e.g. https://android.googlesource.com/device/google/marlin/+/refs/heads/master/recovery/gpt-utils/ | 01:04 |
mccreary | That last bit is device-specific, but I think all Qualcomm devices use the same format | 01:08 |
mccreary | But use vendor/qcom/opensource/recovery-ext/oem-recovery/gpt-utils.h in the fxtec tree for reference | 01:08 |
mccreary | For that matter, you could just use hardware/qcom/bootctrl/ and system/extras/bootctl/ from the fxtec tree too | 01:12 |
mccreary | But it would be safest to only use the public source code from googlesource | 01:15 |
mccreary | For reference, another bootctrl implementation, but for recovery so without all the HIDL nonsense: https://android.googlesource.com/platform/bootable/recovery/+/fb00d82f32446804f7149bc6846dcc580cf0db1d/boot_control/boot_control.cpp | 02:15 |
mccreary | That implementation seems to operate on the misc partition though, and the Pro1 seems to store the info in the gpt | 02:36 |
T42 | <elros34> TheKit sicelo: glibc-2.25 for 3.0 kernel: https://build.merproject.org/project/show/home:elros34:glibc. So far works good on photon but there is another glibc upgrade pending. | 05:54 |
r0kk3rz | nice one elros34 | 06:43 |
*** agander_ is now known as agander | 07:10 | |
piggz_ | mccreary: thx! | 07:54 |
spiiroin | deathmist: for button backlight, check /usr/share/lipstick-jolla-home-qt5/compositor/HardwareKeyHandler.qml - dconf /desktop/lipstick-jolla-home/sailfish_hw_key_enabled + button backlight feature in hw config (that csd thing) -> lipstick tells mce to activate button backlight. when and how long is then handled by mce side policy/settings | 08:18 |
spiiroin | deathmist: /usr/share/csd/settings.d/hw-settings*.ini, section "[features]" value "ButtonBacklight=1" | 08:21 |
T42 | <NotKit> @elros34 thanks, would be interesting to try | 08:42 |
T42 | <adampigg> Mal, nfc works | 08:46 |
T42 | <adampigg> (Photo, 2160x1080) https://irc.thaodan.de/.imgstore/MFp0LwYd0M.png | 08:46 |
T42 | <adampigg> (Photo, 2160x1080) https://irc.thaodan.de/.imgstore/sYyaQyiXEv.png | 10:39 |
T42 | <adampigg> Ah, url tags trigger the ui | 10:40 |
mal | @adampigg yes, that's what meant, simple tags do that | 11:14 |
mal | *what I meant yesterday | 11:14 |
piggz | mal: what other stuff can i write? | 11:15 |
mal | not sure, I think it's just text or urls that might work | 11:15 |
piggz | mal: text tags didnt trigger UI afaict | 11:15 |
mal | ok | 11:15 |
mal | you can always implement other things, it's open source | 11:15 |
piggz | abdroid pay? :D | 11:16 |
piggz | sailfishos-pay | 11:16 |
piggz | mal: mailto: urls work | 11:19 |
mal | nice | 11:19 |
mal | I don't have any simple nfc tags so I don't know what is supported | 11:20 |
piggz | id like to write some kind of business card, i guess that will have to go in the text area | 11:20 |
piggz | mal: ebay is cheap, 2.50 for 5 | 11:20 |
mal | piggz: ah, indeed such a feature that the tag would contain like vcard for contact info and UI would ask do you want add it | 11:25 |
mal | piggz: just curious, when you added the text to which field did you add it? | 11:26 |
piggz | mal: the text record | 11:27 |
mal | ok, I think those are not currently supported | 11:27 |
piggz | sure | 11:28 |
piggz | mal: i think it will have to be a small vcard! https://paste.gnome.org/peustddfe | 11:28 |
piggz | only 144bytes | 11:28 |
mal | piggz: ok, it seems the nfc-vcard makers do that is to have url to some cloud in the nfc which then contains the vcard | 11:29 |
mal | piggz: there are bigger nfc tags also | 11:32 |
piggz | yeah, these were cheeeeeeep | 11:32 |
piggz | im sure i can write something useful | 11:32 |
piggz | jst manually trimming the card | 11:33 |
mal | yes, probably possible to add the needed info, name, phone and email there | 11:35 |
piggz | mal: is it txt or url, or can you store both? | 11:36 |
mal | piggz: in theory smart poster type, which is not currently supported | 11:37 |
piggz_ | mal: what is the process of 'petternizing' ? | 12:16 |
piggz_ | on my fxtec repo, everything is built, but it hasnt been patternized yet | 12:17 |
vknecht | you can extract the files from droid-config-$DEVICE-patterms.rpm and put them in a _pattern package, removing .xml extension (not sure last part is really required) | 12:19 |
mal | piggz_: it depends on when the person doing those is online | 12:28 |
piggz_ | mal: i meant what does it do, like what vknecht said | 12:28 |
vknecht | from what I understand, it specifies the packages and packages groups mic has to put in the image | 12:30 |
mal | piggz_: oh | 12:31 |
piggz_ | mal: any tricks for gps in android9? | 15:35 |
mal | piggz_: not really, it should work with binder backend | 15:42 |
piggz_ | mal: is that a seperate package? need any configuration? | 15:43 |
mal | piggz_: what issue do you have, maybe logs will help | 15:43 |
mal | piggz_: geoclue-providers-binder | 15:43 |
piggz_ | i dont have that.. | 15:43 |
mal | piggz_: wait | 15:44 |
mal | piggz_: https://github.com/mer-hybris/geoclue-providers-hybris/blob/master/rpm/geoclue-providers-hybris-binder.spec | 15:44 |
mal | piggz_: geoclue-providers-hybris-binder | 15:44 |
mal | from same repo, just different spec | 15:44 |
piggz_ | ok | 15:44 |
mal | piggz_: so rename the package on OBS | 15:44 |
piggz_ | i know! :O | 15:44 |
mal | I know, I have learned a habit to clearly tell what to do on this channel | 15:45 |
mal | piggz_: also no need to change patterns, both use the same provided package name | 15:46 |
piggz_ | :D | 15:46 |
mal | piggz_: https://github.com/mer-hybris/geoclue-providers-hybris/blob/master/rpm/geoclue-providers-hybris-binder.spec#L4 | 15:46 |
mal | piggz_: there is a fun mismatch in the spec and package name | 15:48 |
piggz_ | ah, rogue s | 15:48 |
mal | piggz_: geoclue-providers-hybris-binder vs geoclue-provider-hybris-binder | 15:48 |
mal | yes | 15:48 |
mal | not sure if one is typo or was there some idea behind it | 15:49 |
mal | but it has been there all the time and nobody has bothered to do anything about it, would need fixing webhooks etc so not fun | 15:49 |
* vknecht was just reading about this problem with non-binder version... http://www.merproject.org/logs/%23sailfishos-porters/%23sailfishos-porters.2017-10-24.log.html#t2017-10-24T14:38:26 | 15:52 | |
mal | vknecht: where did you have a problem? | 15:53 |
piggz_ | mal: should test_gps work? | 15:53 |
mal | piggz_: I think that doesn't have binder backend | 15:53 |
piggz_ | ok | 15:53 |
mal | piggz_: so it might or might not work | 15:53 |
piggz_ | it says no interfaces found | 15:53 |
mal | so then no | 15:53 |
piggz_ | whats good test? | 15:54 |
mal | piggz_: harbour-gpsinfo | 15:54 |
piggz_ | ive got messwerk | 15:54 |
mal | that also work | 15:54 |
piggz_ | doesnt show any sateliltes | 15:54 |
mal | I personally like gpsinfo more when testing gps | 15:54 |
mal | piggz_: are you in good enough place for satellites to be visible | 15:55 |
mal | often might not work indoors | 15:55 |
vknecht | was just investigating about uninstallable provider for other packages | 15:55 |
mal | vknecht: you still have that issue? | 15:55 |
vknecht | for droid-config-f5121-sailfish and droid-config-f5121-bluez5 | 15:56 |
vknecht | if I only put one of those in KS, they just get installed, no error | 15:57 |
vknecht | looks like there's a mutual exclusivity on those and the other droid-config-* packages | 15:58 |
mal | vknecht: just curious, why is there a folder kickstart-bak in config repo? | 15:58 |
vknecht | that's to disable the LVM-style build | 15:58 |
vknecht | also renamed the ssu board mapping dir so the classical community one is used | 15:59 |
mal | vknecht: this and the next line look bad https://github.com/vknecht/droid-config-sony-loire/blob/master/droid-config-common.inc#L15, also you still have fpd in patterns which of course won't work in community build | 16:01 |
mal | vknecht: replace that with the one in pattern template and comment out the lines I mentioned from .inc | 16:02 |
mal | so no wonder nothing works | 16:02 |
piggz_ | mal: been outside for a bit, nothing | 16:03 |
mal | piggz_: anything in logs | 16:03 |
mal | both journal and logcat | 16:03 |
piggz_ | ok | 16:03 |
piggz_ | https://paste.gnome.org/pkyrld8em | 16:04 |
piggz_ | https://paste.gnome.org/plv2jlqv4 | 16:05 |
mal | piggz_: maybe android side has some issues, there seems to be various potential errors there | 16:11 |
piggz_ | mal: Mister_Magister said it worked in android | 16:12 |
piggz_ | but, i cant be sure | 16:12 |
mal | piggz_: I meant android side in sfos | 16:13 |
mal | piggz_: hmm, did you use latest dhd submodule when building droid-hal rpms? | 16:15 |
piggz_ | mal: probably | 16:16 |
mal | piggz_: you probably can see those chmod/chown errors in journal, those are because of that | 16:16 |
mal | https://github.com/mer-hybris/droid-hal-device/commit/a30cdf08201ee5bbc4f8ea3865bf87efb3770173 | 16:17 |
mal | I think that is the issue | 16:17 |
mal | piggz_: could you try reverting that, also you have some android side daemons that die with signal 9 | 16:19 |
mal | piggz_: maybe try adding selinux_stubs preload for those failing ones? | 16:19 |
vknecht | mal, thanks a lot, seems better (686 packages pulled in by mic instead of 684) | 16:29 |
T42 | <adampigg> Mal,.ok,.thx | 16:47 |
mal | @adampigg any luck? | 17:55 |
T42 | <adampigg> Mal,.out with wife and daughter ;) | 17:56 |
mal | ok, no problem | 17:56 |
T42 | <adampigg> \o/ a live dj set using 2 Amiga 1200s! https://twitter.com/retrohouruk/status/1150097380290654208 | 19:04 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!