T42 | <mintphin> (Photo, 1280x720) https://irc.thaodan.de/.imgstore/SmpOYOwkzW.png slow but steady | 01:14 |
---|---|---|
T42 | <mintphin> i was previously compiling this on a vps a friend offered me but it expired | 01: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 here | 01: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 done | 01:17 |
T42 | <mintphin> the main bottleneck is the cpu though. it's a dual core | 01:17 |
*** wiktorek141 is now known as wiktorek140 | 07:57 | |
T42 | fethiokyar was added by: fethiokyar | 09:03 |
*** wiktorek141 is now known as wiktorek140 | 11:28 | |
*** Lamisedaxeh1 is now known as Lamisedaxeh | 14: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#L78 | 14: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 |
mal | newer bluez5 | 15: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 |
mal | main.conf comes from submodule so you can just override it in device sparse | 15:16 |
mal | here is an example https://github.com/mer-hybris/droid-config-f5121/commit/3c5e64f297420ab0511e3f0b1e1d49f4273409e0 | 15: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 dependencies | 16:45 |
T42 | <elros34> broadcom-buetooth also have 2 spec files (one from not merged PR) | 16:47 |
T42 | gibcheesepuffs was added by: gibcheesepuffs | 17:20 |
T42 | K %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?], Yeap | 19:02 |
T42 | <K %lastname%> More secure then android for sure. | 19:05 |
Thaodan | Please set a username @k | 19:23 |
Thaodan | I think we should have something like phrik for this channel | 19:25 |
Thaodan | https://wiki.archlinux.org/index.php/Phrik | 19: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 |
piggz | Thaodan: get it running | 19: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 |
Thaodan | Do 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 |
Thaodan | edp_17: that /etc/oneshot.d/preinit/ is empty is normal | 20:43 |
T42 | <edp_17> I see, thanks. | 20:45 |
Thaodan | Is 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 normal | 20:57 |
T42 | <edp_17> @elros34 : yes, that is the content within an if [ $1 -ne 1 ] ; then | 21:11 |
T42 | <edp_17> I have not run the flash-bootimg.sh script manually. Is it safe to run anytime? | 21:12 |
Thaodan | elros34 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 somehow | 21: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-info | 21: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*/*/uevent | 21:44 |
T42 | <mintphin> i have reached chapter 6 of the hadk yessss | 22:23 |
T42 | <mintphin> I'm on chapter 7 now. How can I check /dev/input/event* | 22:51 |
T42 | <mintphin> oops sorry for editing | 22:51 |
T42 | <mintphin> do i need to do that on the base image? | 22:51 |
mal | you can either manually use cat for those or install mce-tools package and use evdev_trace | 22:57 |
mal | what are you trying to do? | 22:57 |
T42 | <mintphin> i'm following the hadk | 22:57 |
T42 | <mintphin> in the section "Creating Repositories for a New Device" | 22:57 |
mal | I think you can remove the ":/dev/input/event0" from the lipstick configs | 23:01 |
mal | *options | 23:01 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!