Thursday, 2020-02-27

T42<edp_17> Could somebody help me out with the bluetooth. I am still struggling to make it work.00:18
T42<edp_17> I have created a hciattach.service but it doesn't start: https://pastebin.com/VCvptL5Y00:18
T42<edp_17> I am puzzled. Some more logs: https://pastebin.com/UQaKaN4400:38
T42<elros34> "hciattach -f /system/bin"? Did you modprobe bluetooth related modules first? I suggest you to create systemd services when it it will work. NOw you can manually execute commands00:42
T42<edp_17> I don't know what modules I need.00:43
T42<elros34> you showed some of them few days ago with bluetooth or bt in name00:43
T42<edp_17> The 'modprobe hci_uart' doesn't load the module.00:43
T42<elros34> so check why00:44
T42<edp_17> And I have a bluetooth.ko but that also doesn't load.00:44
T42<edp_17> If you remember when I was compiling the kernel, I got some dependency cycle warnings on these two modules. Can it be related?00:45
T42<elros34> dunno. What s the error in dmesg or in verbose mode in modprobe?00:46
T42<elros34> I see you are still making some mess when loading modules: https://github.com/edp17/droid-config-i9100/blob/master/sparse/usr/bin/dhdstart.sh. Use modprobe dhd params not android's insmod00:47
T42<edp_17> modprobe -v bluetooth doesn't give me anything.00:47
T42<edp_17> Nor the modprobe -v hci_uart00:48
T42<edp_17> That is for wifi.00:48
T42<elros34> yeah I know but  it's wrong. What about dmesg?00:49
T42<edp_17> dmesg -w or dmesg give me a long list I am not sure can add all into pastebin.00:50
T42<elros34> how about only lines which changes after tried to modprobe?00:51
T42<edp_17> here it is: https://pastebin.com/fg7Hnc4W00:53
T42<elros34> it's doesn't contains anything usefull. If lsmod still miss bluetooth related modules then strace -f modprobe00:54
T42<edp_17> https://pastebin.com/bSkcdQhq00:56
T42<elros34> what do you have in /lib/modules/3.0.64-CM? Check content of droid-hal*modules00:58
T42<edp_17> Wait a second, the size of hci_uart on the device and in the out/target/product/kernel/i9100/obj/KERNEL_OBJ/drivers/bluetooh folder are different00:59
T42<edp_17> I have transferred the one from the repo but the modprobe still doesn't load.01:04
T42<elros34> did you installed droid-hal*modules package?01:05
T42<edp_17> I do not have droid-hal*modules in droid-local-repo/i910001:07
T42<elros34> how is that possible if you have it in patterns01:07
T42<edp_17> https://pastebin.com/WmQQCYQf01:08
T42<elros34> .... droid-hal-i9100 dir01:09
T42<edp_17> modules on the device: https://pastebin.com/6Zd5NUfB01:09
T42<edp_17> droid-hal-i9100: https://pastebin.com/fWM0fN2M01:10
T42<edp_17> The droid-hal-i9100-kernel-modules* is installed.01:10
T42<elros34> reinstall it , it should rerun depmod01:12
T42<elros34> btw make autofs4 builtin01:13
T42<edp_17> Currently that is as module, so it is not recommended.01:14
T42<edp_17> I have reinstalled the droid-hal-i9100-kernel-modules*.rpm01:15
T42<elros34> check whether modules.dep is now created in /lib/modules/*.01:16
T42<edp_17> Nope.01:17
T42<edp_17> Is there a command to create that?01:17
T42<elros34> depmod01:17
T42<edp_17> depmod -a or something?01:17
T42<edp_17> Here we go. dependency cycle: https://pastebin.com/kZATMZR901:18
T42<edp_17> That's why I do not have modules.dep in there.01:19
T42<edp_17> Maybe is it a lustre thing? CONFIG_LUSTRE_FS=n01:21
T42<edp_17> https://lists.kernelnewbies.org/pipermail/kernelnewbies/2015-November/015413.html01:21
T42<elros34> I would first try to revert this: https://github.com/edp17/android_kernel_samsung_smdk4412/commit/3b2e8ac1d376da4cd940e88a0231b54bfae4056e#01:22
T42<edp_17> All of it or just the CONFIG_BT=m => CONFIG_BT=y?01:22
T42<elros34> only bt related01:23
T42<edp_17> Ok, plus I make the autofs4 built in.01:23
T42<edp_17> I'll go offline while I compile the kernel because it freezes all apps on my pc. I'l be back soon.01:25
T42<elros34> maybe you have too little ram/swap01:25
T42<edp_17> 4GB ram, 2GB swap.01:29
T42<edp_17> But now when the bt was built in it didn't freeze my pc. When it was trying to resolve that dependency cycle that was holding the pc.01:30
T42<edp_17> The bluetooth works! I have paired my S2 and Nexus 5.01:32
T42<elros34> with hciattach or brcm_patchram_plus?01:33
T42<edp_17> I didn't do anything just flashed the kernel and rebooted. The bt was on and I made the device visible and searched for others.01:34
T42<elros34> oh so either it's initialized somewhere in /init*rc or one of your systemd units01:35
T42<edp_17> It doesn't pair with my bt keyboard but I'll play with it.01:35
T42<elros34> pairing new devices is sometimes tricky for me (also bluez 4)01:36
T42<edp_17> I think now as the bt driver in the kernel and not as module, I should remove a few stuff (hciattach.service and some other configs) shouldn't I?01:36
T42<elros34> worth to try:)01:37
T42<elros34> but I thought initialization is needed01:37
T42<edp_17> What about the stuff that I have done when followed 10.5 from hadk-faq? Should I revert that?01:37
T42<elros34> I don't know what initialize your bluetooth so you must check it yourself01:39
T42<edp_17> Ok, I will play with that. Plus I will revert the flatpak related changes in the kernel because that didn't work anyway. This kernel is too old.01:39
T42<elros34> sure, same like on sailfish you would have to patch glibc for flatpak01:40
T42<edp_17> Thanks for you help! The reason why I tried the bluetooth as module was the hammerhead, because in there it was the only way we could make it work.01:40
T42<edp_17> Patch glibc for flatpak? Do you know how?01:41
T42<edp_17> Or this is something for the developer who creates the package?01:42
T42<elros34> I don't know how flatpak works. If it share own glibc between all flatpaks then you need to patch it once otherwise you would have to patch every single flatpak app. Patch should be same as you already use: https://git.sailfishos.org/elros34/glibc/commit/7d957de2154194cabd37f008c8b183356102b3c401:44
T42<edp_17> Ok, thanks for this. I'll go back with this to rinigus and ask him how and what to do. So Flatpak may work on this ancient device too. 😄 Would be cool!01:46
T42<edp_17> Now the outstanding issues list has only 4 items: mtp, mobile data, video recording and the screen "delay/refresh" thing.01:47
T42<edp_17> I think I should start with the mobile data but I am not sure as already tried to change flags in the ril_subscription file.01:48
T42<elros34> you should already know how to add support for mtp in kernel01:48
T42<edp_17> Yeah, I need to dig out that from the hammerhead project. I'll that's why I left it to the end.01:49
T42<edp_17> Thanks again and good night!02:00
T42<elros34> later02:01
T42<edp_17> Just a quick one. It seems the bluetooth is not 100%, after reboot it starts but if I switch it off and trying to switch on again, it doesn't work. I'll get back to this but later, I am too tired now.02:28
OksanaTransferring files out of SailfishOS Fxtec Pro1 is... difficult. I don't have an adapter to insert a microSD card into SDcard laptop. USB cable to laptop? Charging only doesn't help, Developer mode isn't ping-able for unfathomable reason, and MTP isn't visible on laptop either (shouldn't pacmanFM support it?). WiFi? WiFi network is anti-ping-between-devices, for security reasons.05:20
OksanaEthernet? Phone doesn't have Ethernet (though it could, hypothetically - I have one or two USB-Ethernet adapters somewhere).05:21
OksanaEnding up sftp uploading files from Pro1 to our "home" server, and then sftp downloading them to laptop. Moving file over WiFi network twice, just because couldn't get USB to work...05:23
Oksana347MB of the file sent over, so far.05:23
Oksana77% done.05:25
r0kk3rzscp over wifi is my usual thing09:35
ghosalmartinmorning all09:44
OksanaDoesn't scp, just like sftp, rely on being able to ping the other' s ip?10:23
r0kk3rzshouldnt do10:24
T42谢炫钧 %lastname% was added by: 谢炫钧 %lastname%10:28
OksanaLike, only ping packets are blocked, but scp packets are fine?..10:35
r0kk3rznormal traffic should be fine yeah10:40
*** mal__ is now known as mal12:26
T42<edp_17> @Oksana: if you have twrp, you can boot into it and the device should pop up on pc.12:45
T42冯莫邯 %lastname% was added by: 冯莫邯 %lastname%15:21
T42<adampigg> (Photo, 720x1280) https://irc.thaodan.de/.imgstore/DuNACCvBVw.png mal: calendar on my watch :)18:23
mal@adampigg nice!18:23
piggzyup, useful!18:24
DylanVanAsschepiggz (IRC): Is that the PineTime? :D18:35
piggzDylanVanAssche: ha, no!18:36
DylanVanAsschepiggz (IRC): Still amazing!18:37
xmnthat calendar ui looks great!19:32
piggzxmn: thats just whats built into the watch ... it looks even better on the homescreen19:33
piggzyou can choose widgets on the screen, one is the event reminder view19:33
xmnah, ic. :) nice. But great work you're doing piggz with sailfish and watch in general. I'm not on twitter, but appreciate all your work. \o/19:35

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