T42 | 熊頭 %lastname% was added by: 熊頭 %lastname% | 02:00 |
---|---|---|
T42 | <DylanVanAssche> @adampigg the IIO adapter needs some work, however, it's a bit difficult if none of the sensors are showing up in Messwerk atm :D | 06:47 |
spiiroin | @adampigg occasional source of problems: constantly reporting sensor input devices get misinterpreted as user activity -> display does not blank | 07:11 |
spiiroin | "evdev_trace -t" and "mce -Tq -l event-input.c:evin_iomon_device_add --auto-exit=0" might be useful for quick check | 07:12 |
T42 | <adampigg> spiiroin: thx | 07:17 |
T42 | <adampigg> @eugenio_g7: wanna send a new tag for -config- ? | 07:17 |
T42 | <Thelkishere> SailfishOS supports pubg? | 08:02 |
T42 | <austenite> @Thelkishere this group is for people porting sailfish, you can ask here https://t.me/joinchat/AWx9iUE-U9pZ_NeJlxXs0w | 08:11 |
T42 | <adampigg> mal: so, options for scaling are the merged commit from eugenio, or fixing the scaling in the kernel? It wasnt clear to me yesterday what you were referring to :) | 08:28 |
Mister_Magister | mal: any idea for nothing provides libc++.so()(64bit) needed by droid-config? | 08:39 |
mal | @adampigg yes, those are the options | 09:11 |
T42 | <adampigg> mal: this is the errror we have https://build.merproject.org/project/monitor/nemo:devel:hw:fxtec:t5?arch_armv8el=1&defaults=0&repo_sailfish_latest_armv7hl=1&unresolvable=1 | 09:17 |
T42 | <adampigg> updating dcd submodule didnt help | 09:18 |
Mister_Magister | mal: do you know maybe how to fix camera button? | 09:21 |
mal | @adampigg the problem is probably sparse/usr/libexec/droid-hybris/vendor/lib64/librecovery_updater_msm.so | 09:24 |
mal | you probably need to somehow ignore the dependencies of that | 09:25 |
Mister_Magister | mal: thanks, also any idea about camera button? | 09:26 |
mal | @adampigg something similar to "%define __requires_exclude ^.*$" used in droid-hal-device, not sure what exactly but maybe some search tells how to use that | 09:27 |
mal | Mister_Magister: button should just work if the event code is correct | 09:27 |
mal | Mister_Magister: meaning show evdev_trace -i | 09:27 |
Mister_Magister | but it doesn't just work | 09:27 |
* Mister_Magister needs to download evdev_trace somehow | 09:27 | |
Mister_Magister | gimme second | 09:27 |
mal | mce-tools | 09:28 |
Mister_Magister | thanks | 09:29 |
Mister_Magister | cnf is for that :P | 09:29 |
Mister_Magister | the problem is that fxtec doesn't have wifi working :P | 09:31 |
Mister_Magister | and i don't have any 3.1 device | 09:31 |
T42 | <adampigg> wifi does work, just not for u :D | 09:57 |
T42 | <adampigg> mal: well, i did put it in there as a hack ... it should really be installed with dhd anyway | 10:04 |
ghosalmartin | so am tryning to modularise my wlan, it used to work on hybris-14.1 but on 15.1 it just builds as part of the kernel, missing dep? | 10:13 |
r0kk3rz | missing kernel flag sounds like | 10:15 |
mal | ghosalmartin: is CONFIG_MODULES enabled? | 10:15 |
ghosalmartin | mal: ahh | 10:15 |
ghosalmartin | time to find out if theyve broken the modular build | 10:16 |
ghosalmartin | well now .config is correct :D | 10:17 |
ghosalmartin | aandd yes htey have | 10:21 |
r0kk3rz | nice | 10:23 |
ghosalmartin | how important is CONFIG_NETFILTER_TPROXY does anyone know? | 11:00 |
ghosalmartin | it provies transparent proxy support | 11:00 |
ghosalmartin | or is ipv6 used at all :P | 11:02 |
ghosalmartin | modular support of that is borked | 11:03 |
ghosalmartin | I guess lets see how systemd deals with no ipv6 | 11:05 |
mal | can't that be builtin? | 11:25 |
ghosalmartin | mal: doesnt seem so, if i modularise the wlan ipv6 seems like it has to as well | 11:39 |
ghosalmartin | mal: if I build dhd and then install it to device will it flash any new kernels? | 11:39 |
mal | ghosalmartin: droid-hal install will flash kernel if you have the needed kernel flashing scripts done | 11:40 |
ghosalmartin | mal: hmm i dont think i do, well i didnt include them so if their no there by default | 11:41 |
mal | ghosalmartin: most parts are but device specific info is needed in config sparse | 11:41 |
mal | ghosalmartin: https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/var/lib/platform-updates/flash-bootimg.sh and https://github.com/mlehtima/droid-config-fp2-sibon/blob/master/sparse/var/lib/flash-partition/device-info | 11:42 |
ghosalmartin | nicee | 11:42 |
ghosalmartin | mal: well wifi works now | 11:47 |
ghosalmartin | lets see about bt :P | 11:47 |
mal | ghosalmartin: are you using bluebinder for bt? | 11:53 |
mal | ghosalmartin: that is recommended for 15.1 | 11:54 |
mal | assuming of course that the device is using binderized bluetooth | 11:54 |
ghosalmartin | mal: i dont have init.svc.bluetooth :( | 11:57 |
ghosalmartin | but now I have a module called bluetooth_power | 12:01 |
ghosalmartin | hmm wonder if that will mean the hciattach might work now... | 12:01 |
mal | ghosalmartin: ok maybe you need to use normal bluez way | 12:01 |
mal | ghosalmartin: wondering why bluetooth is not binderized | 12:02 |
mal | there is the wrapper binder service available for using old hal via binder | 12:02 |
mal | ghosalmartin: for example fp2 lineage 16.0 has binderized bluetooth | 12:03 |
ghosalmartin | lemme just try the hciattach, this module might of been the missing piece | 12:03 |
mal | ghosalmartin: did that device have rome chip? | 12:04 |
ghosalmartin | mal yep | 12:07 |
mal | ghosalmartin: if the hciattach doesn't help maybe you could try to build the default wrapper binder service and try to use it | 12:09 |
mal | android.hardware.bluetooth@1.0-impl and android.hardware.bluetooth@1.0-service also maybe libbt-vendor | 12:10 |
ghosalmartin | if I get hciattach working i could just go back to using hybris-14.1 and avoid tis graphics bug | 12:13 |
mal | true | 12:13 |
mal | ghosalmartin: but so far rome or cherokee chips have been a pain | 12:13 |
mal | ghosalmartin: wondering how mainline developers use those because mainline kernel has drivers for some rome chip(s) | 12:14 |
ghosalmartin | mal: i honestly don't know tbh. I tried a while back with mainline but i didnt have a clue what i was doing | 12:18 |
ghosalmartin | i should of just checked the manifest to see if it was binderized | 12:19 |
ghosalmartin | https://github.com/ghosalmartin/android_device_lge_bullhead/blob/hybris-15.1/manifest.xml | 12:19 |
ghosalmartin | and lineage-16.0 doesnt have it either | 12:19 |
mal | ghosalmartin: binderizing those in compulsory but can make things easier | 12:22 |
ghosalmartin | mal: is there an example for the default wrapper binder service? | 12:24 |
ghosalmartin | i assume it wasnt done because the devs didnt care :P | 12:25 |
ghosalmartin | i am tempted to give up on this device and move onto marlin | 12:25 |
mal | ghosalmartin: afaik it's just about building the packages I mentioned https://github.com/LineageOS/android_device_fairphone_FP2/blob/lineage-16.0/FP2.mk#L72 | 12:30 |
ghosalmartin | fair enough ill give it a shot thanks :) | 12:31 |
mal | ghosalmartin: sorry | 12:31 |
mal | missed one part | 12:31 |
mal | https://github.com/LineageOS/android_device_fairphone_FP2/commit/2f71aeea3ec8d9602e185f98ef758c32d9931f48 | 12:32 |
mal | actually the whole entry https://github.com/LineageOS/android_device_fairphone_FP2/blob/lineage-16.0/manifest.xml#L20 | 12:32 |
ghosalmartin | mal: well its in there, i assume a hybris-hal will build it/ | 12:35 |
mal | ghosalmartin: not sure, if not then just manually build the packages | 12:36 |
ghosalmartin | yeah always can do | 12:39 |
mal | ghosalmartin: not sure how that manifest will be handled | 12:41 |
mal | or do you already that bluetooth entry there? | 12:41 |
ghosalmartin | mal: nah I dont, i had to add it in | 12:42 |
ghosalmartin | btw mal dunno if this matters for the bluebinder caused a reboot after it failed waiting | 12:53 |
mal | ghosalmartin: did you add the needed kernel config | 12:55 |
mal | forgot to mention that | 12:55 |
mal | CONFIG_BT_HCIVHCI=y | 12:56 |
ghosalmartin | mal: thats enabled | 12:56 |
ghosalmartin | it still caused the phone to reboot | 12:56 |
mal | ok :( | 12:58 |
ghosalmartin | mal: well ive built the stuff I need to manually | 12:59 |
mal | ghosalmartin: not sure what the manifest entry does | 13:00 |
mal | if it's needed in the other end | 13:00 |
mal | I mean in /system | 13:00 |
ghosalmartin | mal: well ill copy the bins and lib | 13:02 |
ghosalmartin | and see what happens | 13:02 |
ghosalmartin | i need to figure out a way to sync my two amchines in terms of file | 13:03 |
ghosalmartin | maybe just rsync | 13:03 |
ghosalmartin | mal: yeah /system has a manifest.xml | 13:09 |
ghosalmartin | mal this was already there https://github.com/ghosalmartin/android_device_lge_bullhead/blob/hybris-15.1/device.mk#L503 | 13:11 |
ghosalmartin | but i cant find the service ondevice :( | 13:13 |
mal | ghosalmartin: that is missing the service | 13:13 |
ghosalmartin | mal: i mean its already part of the lineage source, but i cant find it on evice in /system | 13:15 |
mal | ghosalmartin: like I said, that is not building the actual service, just the lower level thing | 13:16 |
mal | android.hardware.bluetooth@1.0-service | 13:16 |
ghosalmartin | hmm okay ive built the service :P | 13:17 |
ghosalmartin | well now init.svc.bluetooth-1-0 is running | 13:26 |
mal | good | 13:27 |
mal | hopefully it works | 13:27 |
ghosalmartin | timed out :( | 13:28 |
mal | anything in logcat or dmesg? | 13:28 |
ghosalmartin | mal: yeahhh buddy, its attempted to interact with it and failed. thats good | 13:29 |
ghosalmartin | https://pastebin.com/wKGpk9Cj | 13:30 |
mal | ghosalmartin: /system/bin/hwservicemanager: getTransport: Cannot find entry android.hardware.bluetooth@1.0::IBluetoothHci/default in either framework or device manifest. | 13:33 |
ghosalmartin | yeah thats fine i think thats not a massive issue | 13:33 |
mal | ghosalmartin: so the manifest is not correct, of something generated from it | 13:33 |
ghosalmartin | i have more logs though | 13:33 |
mal | I think that manifest entry and whatever is generated from it are needed | 13:34 |
ghosalmartin | https://pastebin.com/Rx8uFXLs | 13:34 |
ghosalmartin | I think I need to fix the rfkill stuff | 13:34 |
mal | ghosalmartin: what does rfkill list? | 13:34 |
ghosalmartin | ID TYPE DEVICE SOFT HARD | 13:34 |
ghosalmartin | 0 wlan phy0 unblocked unblocked | 13:34 |
ghosalmartin | 1 bluetooth bt_power unblocked unblocked | 13:34 |
mal | ghosalmartin: https://github.com/mer-hybris/android_kernel_sony_msm/commit/5e687d848d84164348ff60ea708983122b619bab#diff-89f687683b7191a514dc376b98c92229 | 13:35 |
ghosalmartin | ill give that a shot | 13:37 |
ghosalmartin | mal: any idea how i can disable the kernel building strictly? | 13:47 |
mal | ghosalmartin: what do you mean? | 13:49 |
ghosalmartin | its complaining about unused variables and i just wanna build | 13:52 |
ghosalmartin | i think I need to reflash anyways cause ive made a mess with bluez | 13:52 |
ghosalmartin | am gonna head home and clean up the wifi work first then do the next bit | 13:52 |
ghosalmartin | but atleast we have initing of the chipset, thanks for the help :D | 13:53 |
ghosalmartin | for anyone wondering my earlier issue if CONFIG_IPV6 breaking was due to it being modularised in the codebase somewhere, a quick CONFIG_IPV6=y fixed the issue | 15:48 |
mal | ghosalmartin: good | 16:02 |
ghosalmartin | mal: realistically if i want bt does that mean am going to have to manually build the bt service and libbtvendor? or is there somewhere i can add it in my device repo so it can occur in the standard hybris-hal? | 16:03 |
ghosalmartin | has this been seen before? /usr/sbin/sensorfwd: symbol lookup error: /usr/lib/sensord-qt5/libhybrisalsadaptor-qt5.so: undefined symbol: _ZN6Config13configurationEv | 16:42 |
ghosalmartin | maybe it needs libhybris hook? | 16:42 |
mal | ghosalmartin: you had old middleware on OBS | 17:32 |
mal | ghosalmartin: is there a reason why those were old, I updated most | 17:32 |
mal | ghosalmartin: is mce-plugin-libhybris intentionally old, sometimes it is | 17:33 |
mal | ghosalmartin: I updated all middleware in your bullhead OBS project, it will build a moment and then you should update | 17:42 |
Mister_Magister | mal: key is reportingh KEY_CAMERA and KEY_CAMERA_FOCUS | 17:53 |
mal | Mister_Magister: do you see the events when you press camera button? | 17:55 |
Mister_Magister | yes | 17:55 |
mal | ghosalmartin: updated packages have now been built, feel free to update | 17:55 |
Mister_Magister | mal: maybe some config is needed? | 17:57 |
mal | should not be needed | 18:00 |
mal | Mister_Magister: are the key codes reported normal? | 18:02 |
Mister_Magister | mal: the ones i wrote above are the ones reported | 18:02 |
Mister_Magister | i will give you log if you wanty | 18:02 |
Mister_Magister | also mal i installed 3.1 sfos on 5z (the device with broken gui) | 18:03 |
mal | Mister_Magister: I meant the actual key code values | 18:04 |
mal | just show some output from evdev_trace -t | 18:05 |
Mister_Magister | ah i will | 18:05 |
Mister_Magister | good thing test_hwc2 isn't crashing but isn't working either :P | 18:05 |
Mister_Magister | well giving logs from device with not working networking isn't easy | 18:07 |
mal | I only want the keycode raw values | 18:08 |
Mister_Magister | the 0x210/KEY_CAMERA_FOCUS? | 18:08 |
mal | yes | 18:08 |
mal | and the other also | 18:09 |
Mister_Magister | and the0x0d4 KEY_CAMERA | 18:09 |
mal | hmm, that looks odd | 18:09 |
Mister_Magister | why? | 18:13 |
Mister_Magister | if it's wrong can we change them in kernel | 18:14 |
Mister_Magister | ? | 18:14 |
mal | Mister_Magister: well that is correct for kernel but looks like android usually uses 0x2fe (KEY_CAMERA_SNAPSHOT) and that is mapped in https://github.com/mer-hybris/droid-hal-configs/blob/master/configs/droid.kmap#L24 | 18:19 |
mal | for reference https://git.merproject.org/mer-core/mce/blob/master/evdev.inc#L546 | 18:19 |
Mister_Magister | can we cahnge it then? | 18:20 |
Mister_Magister | focus doesn't seem to be working either | 18:21 |
mal | wondering if focus is used or not | 18:21 |
Mister_Magister | hard to chech | 18:22 |
Mister_Magister | check* | 18:22 |
Mister_Magister | well when its dark and i touch button it lights up led so i think it is | 18:23 |
mal | Mister_Magister: maybe you could add your camera keycode to that droid.kmap and regenerate the keymap file (or just rebuild config package) and see if that helps | 18:27 |
mal | Mister_Magister: I mean mapping also 0x210 as Camera | 18:27 |
mal | oops I mean 0xd4 | 18:28 |
mal | so adding "keycode 212 = Camera" | 18:29 |
Mister_Magister | okay | 18:50 |
Mister_Magister | mal: but forking submodule isn't the nicest thing to do is it? | 18:51 |
mal | Mister_Magister: https://github.com/mer-hybris/droid-hal-configs/blob/master/droid-configs.inc#L533 | 18:54 |
Mister_Magister | oooh so if i add it configs it will work aswell | 18:55 |
Mister_Magister | noice | 18:55 |
mal | Mister_Magister: read the source, afaik you can copy both files | 18:55 |
Mister_Magister | ye ye thanks! | 18:55 |
Mister_Magister | i'm being dumbass again | 18:55 |
mal | Mister_Magister: note that you need to copy both | 18:55 |
Mister_Magister | both files? | 18:55 |
mal | Mister_Magister: both kmap files in the configs folder | 18:55 |
Mister_Magister | ye ye | 18:56 |
T42 | <adampigg> @eugenio_g7 Shouls scale be 0.0001 or 0.0000001 ? | 18:56 |
mal | Mister_Magister: so copy the whole folder to config repo main folder and then edit the droid.kmap | 18:56 |
Mister_Magister | yes yes i get it | 18:56 |
* Mister_Magister mal is not used to someone to get stuff | 18:56 | |
Mister_Magister | or "better be safe than sorry" | 18:57 |
Mister_Magister | mal: nope not working | 19:49 |
Mister_Magister | mal: i think i actually need to replace it | 19:51 |
mal | Mister_Magister: i doubt it, maybe you need to check with some test app if you can get the key to Qt level | 19:59 |
mal | Mister_Magister: or even just add debug printing to camera qml if there is some key handling in those | 20:00 |
Mister_Magister | wait i might not updated droid-configs | 20:05 |
Mister_Magister | mal: ye it's working i just didn't update configs | 20:18 |
mal | Mister_Magister: ok | 20:21 |
mal | good | 20:21 |
Mister_Magister | mal: can we add it to common? | 20:22 |
mal | might be useful, make a PR | 20:22 |
Mister_Magister | yessir | 20:22 |
Mister_Magister | ah sorrey | 20:22 |
Mister_Magister | done https://github.com/mer-hybris/droid-hal-configs/pull/167 o7 | 20:26 |
mal | Mister_Magister: you could mention in the description that 212 is in linux kernel header https://elixir.bootlin.com/linux/v2.6.38/source/include/linux/input.h#L395 | 20:29 |
mal | just to show that the keycode is not some non-standard code but a normal code | 20:30 |
Mister_Magister | done | 20:30 |
mal | Mister_Magister: I was thinking of nitpicking about order of the keycodes but then I noticed there is one that is not in numerical order | 20:32 |
Mister_Magister | mal: any idea why would usb networking not work? | 20:35 |
Mister_Magister | also mal couple days ago there was guy with internal partitinos in storage in settings same thing here, is there fix for that? | 20:36 |
mal | Mister_Magister: might need some tinkering of udisks2 whitelist? | 20:42 |
Mister_Magister | most likely | 20:42 |
Mister_Magister | as settings probably consiedered sd* to be external/sdcard | 20:42 |
Mister_Magister | meanwhile on efi everything is sd* | 20:42 |
mal | sd* is not very common in android devices | 20:43 |
mal | at least it didn't use to be | 20:43 |
Mister_Magister | mal: because it's only in efi | 20:43 |
Mister_Magister | snapdragon 835 845 855 are using efi | 20:43 |
Mister_Magister | xbl insted of sbl | 20:43 |
mal | ok | 20:44 |
Mister_Magister | it's new thing ofcourse not many have it :P | 20:44 |
mal | that explains it then | 20:44 |
Mister_Magister | but there gonna be more from now on | 20:45 |
mal | sure, then it needs to be fixed | 20:45 |
Mister_Magister | so how do i blacklist/fix it? | 20:46 |
Mister_Magister | also number of partitions differs | 20:46 |
Mister_Magister | external partitions start at sdh for me | 20:46 |
Mister_Magister | and microsd card will be most likely mmcblk0 | 20:47 |
mal | what do you mean by external partitions? | 20:48 |
Mister_Magister | sorrey i mean external devices | 20:48 |
Mister_Magister | like pendrive for example | 20:48 |
Mister_Magister | lbt: can you patternise fxtec:t5? please | 20:49 |
Mister_Magister | Could not configure supporting library. hmm | 21:10 |
Mister_Magister | where are the logs | 21:10 |
Mister_Magister | oh lol i was disconnected | 21:17 |
Mister_Magister | mal: do you have any experience with fixing video playback on android9? | 21:18 |
mal | Mister_Magister: it should work, are mini services running? | 21:33 |
Mister_Magister | yes they are | 21:33 |
mal | how do logs look like? | 21:35 |
mal | whole logs | 21:35 |
Mister_Magister | https://paste.opensuse.org/918105 | 21:35 |
mal | Mister_Magister: I thought GST_DEBUG=droid*:5 is the correct way? | 21:37 |
Mister_Magister | whatever is correct way? | 21:37 |
mal | also I meant dmesg and logcat which might tell if something else is wrong | 21:37 |
Mister_Magister | m'kay | 21:38 |
Mister_Magister | meh i can't ssh to it nor connect over usb | 21:38 |
Mister_Magister | mal: gst debug https://paste.opensuse.org/64377533 | 21:40 |
Mister_Magister | nothing in dmesg only falling services in loop | 21:40 |
Mister_Magister | mal: logcat https://paste.opensuse.org/61477431 | 21:42 |
mal | failing services can be important | 21:46 |
mal | Mister_Magister: you have so much failing like "E QMI_FW : QMUXD: WARNING qmi_qmux_if_pwr_up_init failed!" qmi is quite important for many things | 21:47 |
Mister_Magister | what can i say xd | 21:48 |
mal | well you need to fix those | 21:48 |
Mister_Magister | m'kay | 21:48 |
mal | Mister_Magister: is that device using separate vendor partition? | 21:48 |
mal | that do you have in straggler files? | 21:49 |
Mister_Magister | yes like i think ever treble device (it's the fxtec) | 21:49 |
Mister_Magister | if its using efi aka 835 it has to have vendor | 21:49 |
Mister_Magister | mal: what files | 21:49 |
mal | Mister_Magister: in droid-hal spec the straggler files define | 21:50 |
mal | did you add such a thing, show what you have in out/..../root/ | 21:50 |
Mister_Magister | https://github.com/sailfish-on-fxtecpro1/droid-hal-t5/blob/master/droid-hal-t5.spec i don't think so | 21:50 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!