Monday, 2020-03-09

T42<曹茂惠 %lastname%> (Photo, 1068x566) https://irc.thaodan.de/.imgstore/EQ8LiM1tWR.png 高价回收土豆群,量大来谈     @n103281530003:20
T42<LysergicAcid> Lol03:47
T42<edp_17> Szancso : Nope. What's hup?07:49
T42<Szancso %lastname%> Hungarian Unix Portal08:33
T42胡雯涵 %lastname% was added by: 胡雯涵 %lastname%13:24
T42<魏鹏婷 %lastname%> (Photo, 1278x720) https://irc.thaodan.de/.imgstore/vpg0hB7rN0.png 💥💥微信群.电报群广告群发炸群,非小号mytoken关注排名.电报群.微信群.Patato增粉,电报群微信群Patato活跃聊天,中英文群管理客服,KYC出售,twitter.facebook.Linkedin关注.币圈朋友圈广告,上币投票,私聊指定电报群成员.出售微信号脸书推特号,出售支付宝,出交易所用户资料,交易所代13:52
T42<edp_17> Good evening.22:11
T42<edp_17> I am trying to make bluetooth permanently working on my S2.22:12
T42<edp_17> Now if bt is on, after the boot it works.22:12
T42<edp_17> When I turn bt off cannot turn back on. Only if I run the init script manually.22:13
T42<edp_17> How can I (and where to should I) add this bt init script to make it automatically run if I turn the bt on? Thanks.22:14
T42<edp_17> Should it be done with the hciattach.service?22:26
malyou should show what your init script does first22:48
T42<edp_17> @mal: do you mean the hciattach.service?22:49
malwhatever your init thingy is called22:49
T42<edp_17> Well, I am not sure this is the init. That is the problem. 😔 Here it is: https://pastebin.com/TAHtBuLi22:50
T42<edp_17> If bt is on, after reboot the bt comes up.22:51
T42<edp_17> If it turn it off, in a command line I need to run this first: https://pastebin.com/GcWfK7g422:52
T42<edp_17> I have looked for 'bluetooth ini' in all sailfishos-porters log but didn't find much. For keyword 'bluetooth', I got a list of literally every day's log but 1653 log file is a bit too much to chew through.22:55
malwell the script should be somewhere in sparse folder of your droid-config repo22:58
maldid you read faq about broadcom bluetooth setup?23:00
T42<edp_17> In there I only have /sparse/lib/systemd/system/hciattach.service and /sparse/lib/systemd/system/dev-ttySAC0.device. I may need to create symlink of hciattach.service into lib/systemd/system/multi-user.target.wants?23:02
malwhat made you create that hciattach.service and not use the way mentioned in faq23:04
malhttps://github.com/mer-hybris/hadk-faq#broadcomm-devices-android-7-lineage-14-1-or-older23:04
T42<edp_17> I have tried that but the bt didn't work when it was compiled as module. Then Elros helped me and advised to built in the bt into kernel. Now it works but only once after the reboot and if I run the init command manually.23:06
malwhat module? that says nothing about module23:07
T42<edp_17> Well, I had the bt as a module that time. I tried with that.23:08
malyou are missing completely the point of the changes in the link23:08
T42<edp_17> Yes, probably.23:08
T42<edp_17> I have no idea how it works, that's the main problem.23:09
malthe bluetooth-rfkill-event thing there reloads bt correctly when UI triggers rfkill23:09
T42<edp_17> Okay, I retry that instruction but now the bt built into the kernel.23:09
malso basically does just what you were complaining about that you had to rerun hciattach manually23:10
T42<edp_17> I see.23:10
T42<edp_17> Thanks.23:10
T42<edp_17> I have double checked my config on device. I have got  firmware symlinked to /etc/firmware. I also have the bcm...conf in there. I also have the /etc/sysconfig/bluetooth-rfkill-event-hciattach,23:15
T42<edp_17> But I still have the hciattach.service. I guess need to remove it.23:16
maldo you have that bluetooth-rfkill-event package installed on the device?23:17
T42<edp_17> Yes, all of them: bluetooth-rfkill-event, bluetooth-rfkill-event-configs-mer and broadcom-bluetooth + 2 jolla ones: jolla-settings-bluetooth and sailfish-components-bluetooth-qt523:18
malis the bluetooth-rfkill-event.service service running23:20
T42<edp_17> Yes, loaded, active (running)23:22
T42<edp_17> I have removed the hciattach.service and rebooted. Still no bt, plus now the bt doesn't come up after reboot.23:25
T42<edp_17> However if I turn the bt on and run the command (brcm_patchram_plus --enable_hci --enable_lpm --no2bytes --tosleep 50000 --baudrate 3000000 --use_baudrate_for_download --patchram /system/bin/bcm4330B1.hcd --scopcm=0,0,0,0,0,0,0,3,3,0  /dev/ttySAC0), the bt switches on.23:27
T42<edp_17> I have changed the patcher 'hciattach' to 'brcm_patchram_plus' in bcm4330b1.conf file but still no luck.23:46
T42<edp_17> Probably some more parameters are missing from this file because when I run the command that has more that what I have in the file. I try to look for the internet how to set those params in the file.23:46
T42<edp_17> This is the /etc/firmware/bcm4330b1.conf: https://pastebin.com/msz7nGhj23:59

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