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> yes | 00: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-config | 06: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 |
ecrn | yes | 08:03 |
ecrn | I had similar thing when usb-moded thought the cable was disconnected | 08:04 |
ecrn | it didn't configure most of the configfs then | 08:05 |
ecrn | but enough was set up so that the device was being detected | 08:05 |
T42 | <AnotherZain> I think i know what cause it | 08:06 |
T42 | <AnotherZain> I missed this : https://irc.thaodan.de/.imgstore/8013eb39/file_6876.jpg | 08:07 |
T42 | <AnotherZain> i forgot to adjust init.xxx.usb.rc for my device | 08:08 |
T42 | <AnotherZain> For the contexts, i was port it from Volla X23 (mimameid mt6768) to mt6785 device | 08:09 |
ecrn | may be the case, but the files are probably mostly needed for extracting vid/pid from them | 08:10 |
ecrn | hm, ok, there is some vendor specific setup there it looks like | 08:16 |
ecrn | https://github.com/HelloVolla/droid-config-halium-mimameid/blob/main/sparse/usr/share/halium-overlay/vendor/etc/init/hw/init.mt6768.usb.rc | 08: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 platform | 08: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 |
ecrn | the mce probably tries to detect automatically which /sys/class/power_supply entries are for battery | 08:34 |
ecrn | and this tells it those definitely aren't | 08:34 |
ecrn | https://github.com/sailfishos/mce/blob/master/modules/battery-udev.c | 08:36 |
T42 | <AnotherZain> Thanks! | 08:37 |
ecrn | not quite, https://github.com/sailfishos/mce/blob/master/inifiles/battery-udev-devices.ini | 08:41 |
ecrn | looks like blacklist is for the ones that cause problems | 08:42 |
T42 | <AnotherZain> I'll try remove it (re @SailfishFreenodeIRCBridgeBot: <ecrn>looks like bla...) | 08:43 |
ecrn | anyway, 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 detection | 08:45 |
ecrn | I guess the -D option would give the answer, but you can also show zcat /proc/config.gz | grep CONFIGFS | 08:46 |
ecrn | maybe usb-moded has no mode to set because it cant create any of the requested functions | 08:47 |
T42 | <AnotherZain> https://github.com/zainarbani/kernel-mtk-4.19/commits/halium-13 | 08: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 sailfish | 08:49 |
ecrn | sailfish does mtp differently than ubports, ubports uses in-kernel mtp driver and afaik sailfish uses userspace respoonder | 08:53 |
ecrn | which one of the defconfigs you use? | 08:53 |
T42 | <AnotherZain> rosemary_defconfig & halium.config (re @SailfishFreenodeIRCBridgeBot: <ecrn>which one of t...) | 08:54 |
ecrn | CONFIG_USB_CONFIGFS_F_FS is probably needed for the mtp responder | 08:58 |
ecrn | and maybe something else | 08:58 |
T42 | <AnotherZain> Okay | 08:59 |
T42 | <AnotherZain> this is stock generated config | 09:01 |
T42 | <AnotherZain> https://github.com/zainarbani/kernel-mtk-4.19/blob/9d25a4248e3b9a9d68c6454e3a803a82d44433cb/arch/arm64/configs/rosemary-stock_defconfig#L3759 | 09:01 |
T42 | <AnotherZain> I'll compare it with Volla mimemaid. | 09:02 |
ecrn | but, the -D option for usb-moded and looking at the logs, would probably be faster than trying this, especially if you have working shell access | 09:04 |
ecrn | it really directly complained to me when the function was not supported by the kernel | 09:05 |
T42 | <AnotherZain> Alright (re @SailfishFreenodeIRCBridgeBot: <ecrn>but, the -D op...) | 09:07 |
ecrn | any clues in the log? | 09:51 |
T42 | <A_T_R> https://sailfishos.wiki/books/hadk/page/hadk-hot#bkmrk-2023.07.12 | 16:07 |
T42 | <A_T_R> for building 4.6.0.13 change droid-configs revision only ? dhd dhvd default to latest (master) ? | 16:07 |
mal | 4.6.0.15 is the latest one | 16:12 |
mal | I think those other submodules can be latest | 16: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 |
mal | yes | 16:34 |
T42 | <A_T_R> https://pastebin.ubuntu.com/p/6Cg6rMS7Z5/ | 16:36 |
T42 | <A_T_R> my current versions | 16:36 |
T42 | <A_T_R> `sdk-foreach-su -ly ssu re 4.6.0.15` by executing this | 16:38 |
T42 | <A_T_R> sdk update from 4.6.0.13 to 4.6.0.15 | 16:38 |
T42 | <A_T_R> but tooling,target downgrade from 5.0.0.29 to 4.6.0.15 | 16: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 |
mal | you can use without -y and it will ask what you want to do for each target/tooling/sdk | 16:58 |
T42 | <A_T_R> so i have to re rerun first command | 17:01 |
T42 | <A_T_R> {sdk-foreach-su -l ssu re 4.6.0.15 } without -y ? | 17:01 |
mal | if you already ran that then it set all to 4.6.0.15 | 17:18 |
mal | do you want tooling and target to be 4.6 or 5.0? | 17:18 |
T42 | <A_T_R> 5.0 | 17:19 |
mal | so then run it without -y with 5.0 and set that only in tooling and target | 17: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 |
mal | no | 17:27 |
mal | it can be used for testing but not releasing images to public yet | 17:28 |
T42 | <AnotherZain> https://releases.sailfishos.org/images/5.0.0.43/c2/ | 17:30 |
T42 | <AnotherZain> I'll try port it | 17:30 |
*** Mister_Magister_ is now known as Mister_Magister | 17:34 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!