Wednesday, 2024-12-25

T42<birdzhang> Yes i touched the fingerprint areas many times, but no logs, seems not detected.00:03
T42<b100dian> When running fpd test app, right?00:04
T42<birdzhang> yes00:04
T42<b100dian> Ok, it would be interesting if are there errors when starting the services, both the android one and the sailfish one, and to look at your device repo. But after Saturnalia for me :)00:16
T42<A_T_R> https://sailfishos.wiki/books/hadk/page/hadk-hot#bkmrk-2023.07.12 This recommended revision is also for sdk version 4.6.0.13 ?06:23
T42<A_T_R> base hybris-17.1 (4.6.0.13)06:48
T42<A_T_R> error building —droid-config06:48
T42<A_T_R> droid-configs.log https://paste.ubuntu.com/p/JkP9pdB9wJ/06:48
T42<AnotherZain> Thanks for the info about adb, i thought it was the same with ubports. (re @elros34: but do you have work...)07:49
T42<AnotherZain> Yes, i'll try debug via telnet as wifi seems working. (re @SailfishFreenodeIRCBridgeBot: <ecrn>@AnotherZain: ...)07:56
T42<AnotherZain> you mean android.hardware.usb@xx-service ? (re @SailfishFreenodeIRCBridgeBot: <ecrn>the usb servic...)07:57
ecrnyes08:03
ecrnI had similar thing when usb-moded thought the cable was disconnected08:04
ecrnit didn't configure most of the configfs then08:05
ecrnbut enough was set up so that the device was being detected08:05
T42<AnotherZain> I think i know what cause it08:06
T42<AnotherZain> I missed this : https://irc.thaodan.de/.imgstore/8013eb39/file_6876.jpg08:07
T42<AnotherZain> i forgot to adjust init.xxx.usb.rc for my device08:08
T42<AnotherZain> For the contexts, i was port it from Volla X23 (mimameid mt6768) to mt6785 device08:09
ecrnmay be the case, but the files are probably mostly needed for extracting vid/pid from them08:10
ecrnhm, ok, there is some vendor specific setup there it looks like08:16
ecrnhttps://github.com/HelloVolla/droid-config-halium-mimameid/blob/main/sparse/usr/share/halium-overlay/vendor/etc/init/hw/init.mt6768.usb.rc08:16
T42<AnotherZain> yeah, configfs (re @SailfishFreenodeIRCBridgeBot: <ecrn>hm, ok, there ...)08:17
T42<AnotherZain> i think the pid&vid was handled by usb-moded config file which pretty much common across mtk platform08:18
T42<AnotherZain> Btw, what do this blacklist for?08:27
T42<AnotherZain> https://github.com/HelloVolla/droid-config-halium-mimameid/blob/main/sparse/etc/mce/99-ignore.ini (re @SailfishFreenodeIRCBridgeBot: <ecrn>https://github...)08:27
ecrnthe mce probably tries to detect automatically which /sys/class/power_supply entries are for battery08:34
ecrnand this tells it those definitely aren't08:34
ecrnhttps://github.com/sailfishos/mce/blob/master/modules/battery-udev.c08:36
T42<AnotherZain> Thanks!08:37
ecrnnot quite, https://github.com/sailfishos/mce/blob/master/inifiles/battery-udev-devices.ini08:41
ecrnlooks like blacklist is for the ones that cause problems08:42
T42<AnotherZain> I'll try remove it (re @SailfishFreenodeIRCBridgeBot: <ecrn>looks like bla...)08:43
ecrnanyway, the usb-moded has independent mechnism to look for cable status, but if as you said there is no difference if the cable was already connected when the usb-moded started, the issue is probably somewhere else than in the detection08:45
ecrnI guess the -D option would give the answer, but you can also show zcat /proc/config.gz | grep CONFIGFS08:46
ecrnmaybe usb-moded has no mode to set because it cant create any of the requested functions08:47
T42<AnotherZain> https://github.com/zainarbani/kernel-mtk-4.19/commits/halium-1308:49
T42<AnotherZain> did i miss Sailfish specific changes? (re @SailfishFreenodeIRCBridgeBot: <ecrn>anyway, the us...)08:49
T42<AnotherZain> It was meant for ubports, but also boot sailfish08:49
ecrnsailfish does mtp differently than ubports, ubports uses in-kernel mtp driver and afaik sailfish uses userspace respoonder08:53
ecrnwhich one of the defconfigs you use?08:53
T42<AnotherZain> rosemary_defconfig & halium.config (re @SailfishFreenodeIRCBridgeBot: <ecrn>which one of t...)08:54
ecrnCONFIG_USB_CONFIGFS_F_FS is probably needed for the mtp responder08:58
ecrnand maybe something else08:58
T42<AnotherZain> Okay08:59
T42<AnotherZain> this is stock generated config09:01
T42<AnotherZain> https://github.com/zainarbani/kernel-mtk-4.19/blob/9d25a4248e3b9a9d68c6454e3a803a82d44433cb/arch/arm64/configs/rosemary-stock_defconfig#L375909:01
T42<AnotherZain> I'll compare it with Volla mimemaid.09:02
ecrnbut, the -D option for usb-moded and looking at the logs, would probably be faster than trying this, especially if you have working shell access09:04
ecrnit really directly complained to me when the function was not supported by the kernel09:05
T42<AnotherZain> Alright (re @SailfishFreenodeIRCBridgeBot: <ecrn>but, the -D op...)09:07
ecrnany clues in the log?09:51
T42<A_T_R> https://sailfishos.wiki/books/hadk/page/hadk-hot#bkmrk-2023.07.1216:07
T42<A_T_R> for building 4.6.0.13 change droid-configs revision only ? dhd dhvd default to latest (master) ?16:07
mal4.6.0.15 is the latest one16:12
malI think those other submodules can be latest16:13
T42<A_T_R> ```16:32
T42<A_T_R>  <mal>I use: "sdk-foreach-su -ly ssu re some_version" then "sdk-foreach-su -ly zypper ref" and finally "sdk-foreach-su -ly zypper dup" ```16:32
T42<A_T_R>  this is for updating {sdk,tooling,target} ?16:32
malyes16:34
T42<A_T_R> https://pastebin.ubuntu.com/p/6Cg6rMS7Z5/16:36
T42<A_T_R> my current versions16:36
T42<A_T_R> `sdk-foreach-su -ly ssu re 4.6.0.15` by executing this16:38
T42<A_T_R> sdk update from 4.6.0.13 to 4.6.0.1516:38
T42<A_T_R> but tooling,target downgrade from 5.0.0.29 to 4.6.0.1516:38
T42<A_T_R> https://pastebin.ubuntu.com/p/XMB6xJCzGs/16:38
T42<A_T_R> -droid-hal build error https://pastebin.ubuntu.com/p/88ZncrTKkq/16:47
T42<A_T_R> `cp: cannot stat './out/soong/.intermediates/art/build/apex/com.android.runtime.release/android_common_com.android.runtime.release/image.apex/lib/bionic/libdl_android.so': No such file or directory`16:47
malyou can use without -y and it will ask what you want to do for each target/tooling/sdk16:58
T42<A_T_R> so i have to re rerun first command17:01
T42<A_T_R> {sdk-foreach-su -l ssu re 4.6.0.15 } without -y ?17:01
malif you already ran that then it set all to 4.6.0.1517:18
maldo you want tooling and target to be 4.6 or 5.0?17:18
T42<A_T_R> 5.017:19
malso then run it without -y with 5.0 and set that only in tooling and target17:20
T42<AnotherZain> Rebuild sailfish now (re @SailfishFreenodeIRCBridgeBot: <ecrn>any clues in t...)17:26
T42<AnotherZain> Sailfish 5.0 released? (re @SailfishFreenodeIRCBridgeBot: <mal>so then run it ...)17:27
malno17:27
malit can be used for testing but not releasing images to public yet17:28
T42<AnotherZain> https://releases.sailfishos.org/images/5.0.0.43/c2/17:30
T42<AnotherZain> I'll try port it17:30
*** Mister_Magister_ is now known as Mister_Magister17:34

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