Friday, 2021-03-19

T42<mintphin> (Photo, 1280x720) https://irc.thaodan.de/.imgstore/SmpOYOwkzW.png slow but steady01:14
T42<mintphin> i was previously compiling this on a vps a friend offered me but it expired01:14
T42<mintphin> i had this ssd on my computer which i used for a data recovery but the client decided to give it to me in the end, so i safely formatted it, installed void and began compiling here01:15
T42<mintphin> (Photo, 1173x724) https://irc.thaodan.de/.imgstore/0t4FMOTdmF.png not too bad i guess. it's certainly not the fastest but it gets the job done01:17
T42<mintphin> the main bottleneck is the cpu though. it's a dual core01:17
*** wiktorek141 is now known as wiktorek14007:57
T42fethiokyar was added by: fethiokyar09:03
*** wiktorek141 is now known as wiktorek14011:28
*** Lamisedaxeh1 is now known as Lamisedaxeh14:21
T42<edp_17> @elros34 : I'd need your help with bluetooth on treltexx (sfos 4.0)14:42
T42<edp_17> I've built 4.0 in OBS and successfully OTA updated into it.14:42
T42<edp_17> When I urned on BT, I got this in log: https://paste.ubuntu.com/p/4KjBgMgVfq/ (full log: https://paste.ubuntu.com/p/sybfkC9pW6/)14:43
T42<edp_17> and bt didn't start.14:43
T42<edp_17> Then I installed broadcom-bluetooth-bluez5 and  bluetooth-rfkill-event-hciattach .rpms from my local sfos 4.0 repo.14:44
T42<edp_17> When I turned on BT, I got this: https://paste.ubuntu.com/p/FCkRM9d4hg/14:44
T42<edp_17> The bluetooth service has an error saying: "Failed to create GATT database for adapter" and "Unable to register new adapter"14:45
T42<edp_17> I've checked and brcm_patchram_plus was running.14:45
T42<edp_17> Despite the log says BT is on, in Settings it looks like still waiting for something as the dot is blinking next to the Bluetooth text.14:47
T42<edp_17> I've double checked and I changed BCM_RFKILL_NAME to bcm4358 in bluetooth_rfkill_event.c: https://github.com/edp17/bluetooth-rfkill-event/blob/treltexx/bluetooth-rfkill-event/bluetooth_rfkill_event.c#L7814:47
T42<edp_17> And this repo is what I used for the OBS build too.14:48
T42<edp_17> When I started brcm_patchram_plus manually, it is terminated when I turned BT on in Settings: https://paste.ubuntu.com/p/YzQMnd285Y/14:58
T42<edp_17> Okay, I've solved it. It was to set the Channels to 1 in /etc/bluez5/bluetooth/main.conf at GATT section.15:06
T42<edp_17> I am curious why did it work on previous sfos versions? 🤔15:06
malnewer bluez515:07
T42<edp_17> mal: Oh! Thanks! How can I add this change into my OBS build?15:08
T42<edp_17> If I add etc/bluez5/bluetooth/main.conf into my sparse, will not it conflict with a official package?15:11
malmain.conf comes from submodule so you can just override it in device sparse15:16
malhere is an example https://github.com/mer-hybris/droid-config-f5121/commit/3c5e64f297420ab0511e3f0b1e1d49f4273409e015:16
T42<edp_17> mal: Thank you.15:19
T42<edp_17> It seems there is a problem with the broadcom-bluetooth or bluetooth-rfkill-event-hciattach or both in my OBS too. I installed those packages back from the OBS build and BT stopped working again.15:19
T42<edp_17> With the .rpms from my local repo, BT works.15:20
T42<elros34> @elros34 are you sure that you didn't mix up spec files for bluetooth-rfkill-event? The have at least different dependencies16:45
T42<elros34> broadcom-buetooth also have 2 spec files (one from not merged PR)16:47
T42gibcheesepuffs was added by: gibcheesepuffs17:20
T42K %lastname% was added by: K %lastname%19:00
T42<K %lastname%> Hi, is sailfishOS linux based?19:01
T42<neochapay> @K %lastname% [Hi, is sailfishOS linux based?], Yeap19:02
T42<K %lastname%> More secure then android for sure.19:05
ThaodanPlease set a username @k19:23
ThaodanI think we should have something like phrik for this channel19:25
Thaodanhttps://wiki.archlinux.org/index.php/Phrik19:25
T42<edp_17> @elros34 [@elros34 are you sure that you didn't mix up s …], Thanks, I'll compare the spec files I used in OBS and local repo.19:39
T42<edp_17> @elros34 : there was another problem with the OBS. When I OTA updated to 4.0, the kernel (hybris-boot) wasn't deployed on the device. I needed to flash manually in TWRP.19:42
piggzThaodan: get it running19:42
T42<elros34> @edp_17 did you add needed changes for kernel upgrade via OTA mentioned in faq?19:43
T42<edp_17> Yes, I did.19:45
T42<elros34> so /var/lib/platform-updates/flash-bootimg.sh works? Do you have symlink created int /etc/oneshot/preinit/ after installing s droid-hal-$DEVICE-img-boot?19:56
T42<edp_17> I'll check that symlink. Can I run the flash-boot.sh anytime?20:15
T42<edp_17> I've checked, there is nothing in /etc/oneshot.d/preinit/  It's empty.20:24
T42<edp_17> The content of /var/lib/platform-updates/flash-bootimg.sh looks correct and it is a runable script.20:26
ThaodanDo you have https://github.com/mer-hybris/droid-hal-configs/blob/6837800e4be852efc80b4a21d12a088a7a638726/droid-configs.inc#L173?20:26
T42<edp_17> Thaodan: yes, I do have that.20:30
T42<elros34> Does rpm -q --scripts droid-hal-$DEVICE-img-boot returns script?20:34
T42<edp_17> Yes, it says: postinstall scriplet (using /bin/sg): ....etc...20:39
Thaodanedp_17: that  /etc/oneshot.d/preinit/ is empty is normal20:43
T42<edp_17> I see, thanks.20:45
ThaodanIs that set https://github.com/mer-hybris/droid-hal-device/blob/97351660fa475bd2f68a4ce28fe3ca7f6d13753d/droid-hal-device.inc#L27?20:47
T42<elros34> @edp_17 by yes, you mean that it contains: add-preinit-oneshot /var/lib/platform-updates/flash-bootimg.sh || :?20:54
T42<elros34> aslo empty /etc/oneshot.d/preinit/ after installing mentioned package is not normal20:57
T42<edp_17> @elros34 : yes, that is the content within an if [ $1 -ne 1 ] ; then21:11
T42<edp_17> I have not run the flash-bootimg.sh script manually. Is it safe to run anytime?21:12
Thaodanelros34 is the var set in your dhd spec?21:12
T42<elros34> @edp_17 I think so. Anyway if you install img-boot then symlink should be created until next boot. Did you really installed img-boot right now?21:13
T42<edp_17> No, as I said I have not installed that from sfos. I have flashed the hybris-boot img in TWRP recovery. I'll try to run the script and let you know.21:17
T42<elros34> so just install img-boot package right now and check whetehr symlinks exists so I at least there will be clear where is the issue.21:20
T42<edp_17> I've installed droid-hal-treltexx-img-boot package and now I have symlink in /etc/oneshot.d/preinit/21:27
T42<elros34> and you had already that package installed (added to patterns)?21:28
T42<edp_17> Yes, I needed to add --allow-reinstall flag.21:29
T42<elros34> ok so flash script must fail somehow21:31
T42<edp_17> I ran that but got an error: Not running on device, skiping flashing.21:32
T42<elros34> check whether you used correct values in /var/lib/flash-partition/device-info21:37
T42<edp_17> I am not at my pc atm. On the device is there a way to check which partition is the boot?21:41
T42<elros34> sure using dev/block/*/by-name or /sys/block/mmc*/*/uevent21:44
T42<mintphin> i have reached chapter 6 of the hadk yessss22:23
T42<mintphin> I'm on chapter 7 now. How can I check /dev/input/event*22:51
T42<mintphin> oops sorry for editing22:51
T42<mintphin> do i need to do that on the base image?22:51
malyou can either manually use cat for those or install mce-tools package and use evdev_trace22:57
malwhat are you trying to do?22:57
T42<mintphin> i'm following the hadk22:57
T42<mintphin> in the section "Creating Repositories for a New Device"22:57
malI think you can remove the ":/dev/input/event0" from the lipstick configs23:01
mal*options23:01

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