xreactx[m]__ | TheKit: easy day... i'll try it now | 00:00 |
---|---|---|
xreactx[m]__ | permission denied when i execute the busybox tar... command | 00:06 |
T42 | <BusterBg_18> did you chmod+x'ed the BusyBox binary? | 00:07 |
xreactx[m]__ | NOPE! | 00:07 |
xreactx[m]__ | now its going (i feel dumb), thanks | 00:09 |
xreactx[m]__ | dang, did all of the steps but lineage boots instead | 00:29 |
xreactx[m]__ | what would using busybox tar in the "updater-unpack.sh" look like? | 00:44 |
xreactx[m]__ | would that even work? | 00:44 |
T42 | <birdzhang> i assume you forgot flash hybris-boot.img | 01:39 |
xreactx[m]__ | nope, flashed it to the current boot slot | 02:58 |
xreactx[m]__ | in TWRP, clicked the "img" install button, picked hybris-boot, and flashed it to the boot partition | 02:59 |
rinigus | morning! state of sony xz2 aosp9-based port. in short, selinux and bootpartition kernel parameters didn't help. I am stuck on sony logo without any logs in host dmesg nor lspci | 06:23 |
rinigus | as I don't have access to lvm filesystems in twrp, I don't have any boot logs either. | 06:23 |
rinigus | however, I doubt that there is any log as I expect lvm is not mounted due to this gem: https://github.com/sailfishos/initrd-helpers/blob/master/find-mmc-bypartlabel#L33 | 06:24 |
rinigus | on my device, all disk blocks are sda... I wonder where in the build scripts hybris/mw/initrd-helpers are pulled | 06:24 |
rinigus | I will fix that find-mmc- script and try tonight. if it still fails, maybe moving away from lvm would be better for initial phase of the port | 06:24 |
rinigus | vknecht & mal ^ | 06:24 |
rinigus | looks like initrd-helpers are pulled by build_bootimg_packages.sh | 06:26 |
T42 | <adampigg> Xreactx: doesnt.flashing the slot,.change the slot also so you have to change it back? | 06:57 |
Mister_Magister | @adampigg flashing sfos doesn't change slot | 07:00 |
Mister_Magister | only flashing /system | 07:01 |
T42 | <adampigg> Ok | 07:01 |
T42 | <adampigg> Monich: on tjc,user abandoned sfos becuase of no miband3 support.... You could pr that to me :) | 07:07 |
Mister_Magister | mal: hi i'm porting using 15.1 base is there something special i need to do? | 07:32 |
Mister_Magister | guess i could port using 16.1 | 07:34 |
Mister_Magister | 16.0* | 07:34 |
nitin03 | @mal I put ld.config.28.txt.mount file and also its symlink as you suggested | 10:53 |
nitin03 | still device not booting up but it is behaving differently now | 10:54 |
nitin03 | https://pastebin.com/uD7FwpDP here is dmesg ..it is different now..now device is switching up constantly between mer and android | 10:56 |
mal | did you add everything else I mentioned, the .rc files | 11:00 |
mal | also do you have selinux properly disabled | 11:01 |
nitin03 | @mal which .rc files? | 11:20 |
mal | I probably gave you a link to github where there are some .rc files you need add to config repo to correct place, check channel logs | 11:22 |
nitin03 | @mal i have disabled selinux... | 11:22 |
mal | in case you don't know there is a nice search engine for channel logs https://piggz.co.uk/sailfishos-porters-archive/index.php | 11:23 |
mal | supports regex and such things to make searching easier | 11:23 |
electro575 | mal, is it possible to have telnet access with windows ? | 11:25 |
nitin03 | @mal i checked it even logs from here http://www.merproject.org/logs/%23sailfishos-porters/index.html | 11:25 |
T42 | <BusterBg_18> electro575: you can use telnet on Windows either with putty or using Microsoft's own telnet client | 11:26 |
mal | nitin03: https://github.com/sailfishos-oneplus5/droid-config-cheeseburger/tree/hybris-16.0/sparse/usr/libexec/droid-hybris/system/etc/init | 11:27 |
mal | nitin03: do you have those | 11:28 |
electro575 | yes | 11:28 |
nitin03 | @mal yes | 11:28 |
nitin03 | i do have them | 11:29 |
electro575 | what is the debian package for ifconfig command ? | 11:37 |
nitin03 | net-tools | 11:37 |
electro575 | sorry but what is the password of su | 11:41 |
electro575 | in sailfishos | 11:41 |
electro575 | use su or devel-su ? | 11:42 |
mal | you set that in Settings->Developer mode | 11:43 |
mal | devel-su is the one used in sfos | 11:43 |
electro575 | i have developer mode | 11:44 |
electro575 | but i have no password for devel-su | 11:45 |
T42 | <adampigg> you set the password for devel-su in settings->developer mode | 11:48 |
electro575 | yes, thanks | 11:49 |
electro575 | and what is the password to update sailfish OS ? to install app from storeman | 11:49 |
electro575 | apt-get update ? | 11:49 |
electro575 | apt-get upgrade | 11:49 |
Mister_Magister | there is no apt-get | 11:49 |
Mister_Magister | you can set your password like adam said | 11:50 |
electro575 | yes | 11:50 |
electro575 | but for gps, i need libpurple | 11:50 |
Mister_Magister | lol what | 11:50 |
T42 | <adampigg> libpurple is messaging isnt it? | 11:51 |
nitin03 | @mal what am i missing? | 11:51 |
Mister_Magister | adam it is | 11:51 |
Mister_Magister | so i'm like what | 11:51 |
Mister_Magister | for car i need orange | 11:51 |
nitin03 | init log is same as before..but device is behaving differently on boot up | 11:52 |
T42 | <adampigg> you can use pkcon to refresh/install packages | 11:52 |
Mister_Magister | or zypper | 11:52 |
electro575 | puremaps, need libsailfishapp-launcher | 11:52 |
electro575 | thanks | 11:52 |
Mister_Magister | mal: sorry for bugging but i'm porting using 15.1 base is there something special i need to do? | 11:53 |
electro575 | i need just zypper refresh ? | 11:54 |
vknecht | electro575, https://sailfishos.org/wiki/Sailfish_OS_Cheat_Sheet#Package_Handling | 11:56 |
vknecht | use wisely :-) | 11:56 |
electro575 | thanks | 11:57 |
Mister_Magister | devel-su rm -rf / | 11:57 |
electro575 | ;) | 11:57 |
electro575 | lol, noob | 11:57 |
nitin03 | @mal https://pastebin.com/uD7FwpDP as u can see in this dmesg...device is stuck at boot logo...but it is getting recognized as mer and android device in that boot logo.. | 11:58 |
electro575 | Mister_Magister : be grateful we work for your society | 11:59 |
Mister_Magister | what | 12:01 |
Mister_Magister | electro575: who is noob here | 12:04 |
vknecht | piggz, hmm, does SettingsOverlay "lives" even when not opened, eg. should it be able to receive signals ? | 12:24 |
electro575 | in progress | 12:28 |
vknecht | trying this https://pastebin.com/FE7KEJwP but the emit doesn't trigger either onStorageModelChanged functions | 12:28 |
Mister_Magister | vknecht: sure you got correct channel? apps stuff belongs to #sailfishos | 12:29 |
electro575 | How can i do the same connection on windows ? https://dpaste.de/xstn | 12:32 |
Mister_Magister | electro575: this is not windows powershell support group | 12:35 |
electro575 | is it possible to do this command with a virtualbox debian | 12:39 |
T42 | <adampigg> vknecht: yes, i think it should be alive all the time | 12:59 |
T42 | <adampigg> mister_magister, well, im not on sailfishos while otg .... is that even on telegram? | 13:00 |
Mister_Magister | prably | 13:01 |
mal | Mister_Magister: 15.1 needs correct .rc files, some device also need some additional make commands in habuild to make sure fstab and ueventd*.rc files are build/moved to out/ | 13:03 |
Mister_Magister | mal: i read something about 15.1 needing surfaceflinger | 13:03 |
Mister_Magister | mal: that sounds just like 16.0 :P | 13:04 |
vknecht | @adampigg, ok thanks, have to dig deeper then :-) | 13:04 |
T42 | <BusterBg_18> Hi mal: quick question, is there any hybris16 based port that has gotten to GUI? | 13:13 |
mal | Mister_Magister: no, 15.1 uses hwcomposer, 2.0 actually | 13:13 |
mal | @BusterBg_18 not sure | 13:14 |
Mister_Magister | mal: well k then | 13:14 |
mal | Mister_Magister: of course depends on device and if the device has working hwcomposer in kernel | 13:14 |
mal | unlike those some devices with broken 32-bit hwcomposer | 13:15 |
Mister_Magister | mal: if u were me and had both lineage 15 and 16 would you go with hybris 15 or 16 | 13:17 |
mal | still not sure if any 16.0 builds have gotten to UI | 13:18 |
Mister_Magister | mal: lol fxtec is hitting release | 13:18 |
Mister_Magister | so like uhh | 13:18 |
Mister_Magister | at least one? | 13:18 |
Mister_Magister | also my 5z so 2 | 13:19 |
mal | ok | 13:19 |
Mister_Magister | so which one would u pick | 13:19 |
mal | I don't remember what device uses what | 13:19 |
Mister_Magister | sure | 13:19 |
Mister_Magister | mal: so which one :P | 13:20 |
mal | I have no opinion, depends on if both have equally good hw support or not | 13:21 |
mal | which device? | 13:21 |
electro575 | an idea for no sound when i do a call | 13:26 |
electro575 | i have sound when i listen a music on my device and on youtube | 13:27 |
mal | did you build audioflingerglue and related things as told in hadk pdf? | 13:27 |
mal | which android base | 13:27 |
electro575 | audioflingerglue i suppose | 13:30 |
electro575 | how can i check without the project ? | 13:30 |
electro575 | audioflingerglue yes | 13:32 |
mal | check what? | 13:33 |
electro575 | if it is on my device | 13:34 |
electro575 | audioflingerglue | 13:34 |
electro575 | i have again the time daemon spam | 13:35 |
T42 | <meierrom> @adampigg: to bring IRC channel #sailfishos to Telegram would be really cool. @thaodan is currently doing it for this channel. You are surely the best person to convince him. :) | 13:42 |
electro5751 | re | 13:43 |
mal | electro5751: for example "zypper se audioflinger" on device | 13:43 |
electro5751 | okey | 13:44 |
mal | or "ps aux | grep miniaf" | 13:44 |
electro5751 | state install | 13:44 |
electro5751 | /usr/libexec/droid-hybris/system/bin/miniafservice | 13:44 |
electro5751 | State Sl | 13:44 |
mal | you didn't tell which android base you are using | 13:44 |
electro5751 | 15-1 lineageos | 13:45 |
electro5751 | android 8 i suppose, because 16 is android 9 pie | 13:45 |
electro5751 | i have sound for music but not for call | 13:48 |
electro5751 | and no microphone | 13:48 |
electro5751 | how can i debug ? | 13:49 |
electro5751 | mal, is it possible to edit this file ? /system/vendor/etc/init/hw/init.qcom.rc | 13:55 |
electro5751 | be appear w for the user root | 13:55 |
electro5751 | but i can't edit it | 13:55 |
electro5751 | for time_daemon | 13:55 |
electro5751 | mal, i have always this SPAM : https://dpaste.de/v703 | 14:05 |
electro5751 | is it possible to edit the file init.qcom.rc ? | 14:05 |
electro5751 | it's read-only | 14:05 |
mal | could you please focus on some more important bugs first | 14:07 |
electro5751 | okey, sound for calling | 14:07 |
electro5751 | and microphone | 14:07 |
T42 | <adampigg> electro5751: your filesystem is readonly | 14:08 |
electro5751 | yes | 14:08 |
mal | @adampigg /system is supposed to be readonly | 14:08 |
T42 | <adampigg> i know | 14:09 |
electro5751 | how can i debug the sound for calling | 14:09 |
T42 | <adampigg> just explaining why it doesnt work for him .... if hes desperate to edit file and get rid of error, he can mount it rw | 14:09 |
mal | @adampigg but no point in doing that, he shouldn't edit /system partition | 14:11 |
mal | there are other ways to work around that issue, like adding disabled time_daemon to some .rc file that is loaded before that file | 14:11 |
mal | which needs to be checked from .rc files and droid-hal-ini output to see which could work | 14:11 |
T42 | <adampigg> yup, the order of parsing is key there | 14:12 |
T42 | <adampigg> tho, while developing early stages, i often edit /system for quick workarounds | 14:13 |
mal | sure | 14:13 |
mal | 15.1 was done in a bit stupid way because it doesn't load those in correct order | 14:13 |
mal | "correct order" as in libexec first | 14:13 |
T42 | <adampigg> yeah, we have to load ours first if we have no ability to override until v16 | 14:14 |
mal | maybe it should be fixed | 14:15 |
electro5751 | what can i do to disable time_daemon so ? | 14:16 |
electro5751 | create a .rc file ? | 14:17 |
electro5751 | or write in a rc file before init.qcom.rc | 14:17 |
electro5751 | i can remount with rw option | 14:18 |
mal | stop that, I said look into other issues first | 14:18 |
electro5751 | too | 14:18 |
electro5751 | okey, sound | 14:18 |
electro5751 | but what is the method to check the middleware used by ofonod for calling | 14:18 |
mal | if you want to time_daemon temporarily then just edit it in /system partition by first mounting rw and the edit and remount ro again | 14:19 |
electro5751 | ok | 14:19 |
electro5751 | i remove time_daemon so ? | 14:22 |
electro5751 | or add line with "disabled" | 14:22 |
T42 | <birdzhang> you can ignore time_daemon now, it's normal, not critical | 14:25 |
T42 | <birdzhang> for my device, i need pulseaudio-modules-droid-hidl 1.0 version | 14:26 |
electro5751 | ok | 14:29 |
electro5751 | birdzhang : what is your device ? and android base | 14:30 |
T42 | <Akatsu %lastname%> do pulseaudio screetching appears on sailfishOS when running on MSM8916? | 14:36 |
electro5751 | ok, good, no SPAM about time_daemon | 14:37 |
electro5751 | but now i have this spam | 14:37 |
electro5751 | sh[961]: /usr/bin/droid/droid-hcismd-up.sh: line 16: /sys/module/hci_smd/parameters/hcismd_set: No such file or directory | 14:38 |
electro5751 | rfkill[2866]: unblock set for all | 14:38 |
electro5751 | all the time | 14:38 |
electro5751 | mal, i have no smd | 14:39 |
electro5751 | is it normal to have all the time rfkill | 14:39 |
electro5751 | the file -> https://dpaste.de/aC68 | 14:42 |
electro5751 | vknecht, an idea about that ? | 14:44 |
mal | have you even checked which bt chip your device has? | 14:45 |
electro5751 | in the past | 14:50 |
electro5751 | how we can check all chip of my device ? | 14:51 |
electro5751 | Qualcomm MSM8974AB Snapdragon 801 | 14:52 |
electro5751 | htc one m8 | 14:52 |
electro5751 | mal, Qualcomm MSM8974PRO-AB exactly | 14:53 |
electro5751 | that's why msm8974 | 14:53 |
mal | that tells nothing about bluetooth | 14:54 |
electro5751 | :/ | 14:54 |
electro5751 | how can i check | 14:54 |
mal | I don't have time to help now | 14:55 |
electro5751 | okey | 14:55 |
electro5751 | mal, explain to me when you have more time | 14:56 |
mal | did you read bluetooth part in the faq https://pastebin.com/Yjuwvc0S | 14:56 |
electro5751 | yes, i have read this | 15:01 |
electro5751 | the .yaml is on the device or not ? | 15:02 |
electro5751 | i have no access to my directory hadk | 15:02 |
electro5751 | i will see this in 2 hour | 15:03 |
electro5751 | i have no wifi and no bluetooth yes | 15:03 |
T42 | <birdzhang> electro5751: vince(Xiaomi redmi 5 plus), 15.1 base | 15:07 |
electro5751 | ok | 15:07 |
Mister_Magister | [15:21] <mal> which device? | 15:20 |
Mister_Magister | griffin aka moto z | 15:20 |
electro5751 | i have no device with "hciconfig hci0 up" | 15:20 |
electro5751 | mal, about bluetooth : https://dpaste.de/m8B6 | 15:22 |
electro575 | how can i check my bluetooth chip ? r0kk3rz ? | 15:58 |
electro575 | i come back | 16:01 |
rinigus | vknecht & mal: I made a new image with fixed storage path. now the phone doesn't hang on boot anymore, but reboots after a short while on sony's logo. still no debug info (dmesg, lsusb, pstore), unfortunately. looks like I have go for "regular" partitioning to be able to debug issues. | 16:36 |
vknecht | rinigus, hmm, tried logging to sdcard ? | 16:37 |
rinigus | vknecht: no, I haven't. does it log onto its / | 16:38 |
rinigus | ? | 16:38 |
vknecht | can choose the path, I used this service file: https://pastebin.com/PFrVJKeg | 16:39 |
rinigus | vknecht: also in xperia10 init I don't see much logging. its mainly into kmsg, if I am not mistaken | 16:39 |
T42 | <DylanVanAssche> mal: spiiroin: I tried to debug the IIO proximity sensor a bit further... If I run it from the command line instead of systemd, the debug prints are fine. They are returning the right scale and offset. However, Messwerk doesn't show the change in true/false for withinProximity. Just a heads up, I had a long day already, heavy d | 16:39 |
T42 | ebug work will be for the weekend | 16:39 |
vknecht | guess what you want is mainly dmesg/journal, perhaps init log ? anyway, you can use the commands you want | 16:40 |
rinigus | vknecht: now I wonder what would be sdcard path on this device... I guess I'll have to test it somehow | 16:41 |
vknecht | generally /run/media/nemo/ followed by sdcard ID/volume name | 16:42 |
rinigus | vknecht: maybe I should still try to get 'regular' boot going. I wonder how hard is it to switch between ext4 and lvm path. | 16:42 |
mal | rinigus: just curious, how much stuff did you take from ganges config repo | 16:42 |
mal | and from other repos | 16:42 |
mal | there are some things there that might not work directly | 16:42 |
rinigus | re sdcard: yeah, but you have this funky mmcblk1p1 in service. I have sda for main storage, no idea what for sdcard | 16:43 |
vknecht | mainly rename the config repo kickstart dir so it's not used, and use "mic create fs" instead of loop | 16:43 |
rinigus | mal: probably more than I should had | 16:43 |
Thaodan | rinigus: does changing journald to persistent? | 16:43 |
Thaodan | work | 16:43 |
Thaodan | the mmc device should be the sdcard | 16:44 |
rinigus | (thank you thank you for help - I'll try to reply in order) | 16:44 |
Thaodan | if it's ufs like on the Xperia 1 sda is the main storage | 16:45 |
rinigus | mal: mainly tried to trim https://github.com/sailfishos-sony-tama/droid-config-sony-tama-pie (sparse), but I may have missed something | 16:45 |
mal | rinigus: for example ganges has selinux partially enabled | 16:45 |
rinigus | vknecht: but how do we build regular image boot? if we don't use separate repo as in aosp9 xperia10? can't find one that we used on onyx | 16:46 |
rinigus | mal: I tried with selinux=0 as well. just let me find boot cmd | 16:47 |
rinigus | mal: I have also androidboot.selinux=permissive ; full cmd at https://github.com/sailfishos-sony-tama/droid-hal-img-boot-sony-tama-pie/blob/master/rpm/droid-hal-akari-img-boot.spec#L3 | 16:47 |
rinigus | Thaodan: I cannot mount / as it is on LVM. not 100% sure if it gets mounted | 16:48 |
rinigus | mal: should I change boot command or that looks OK? | 16:48 |
rinigus | vknecht: will try with create | 16:49 |
Thaodan | hm rescue target would be interesting but with telnet | 16:49 |
mal | rinigus: not as simple as that, it has one commit for system/core that changes how selinux works | 16:49 |
Thaodan | did you try to boot the recovery and checked if that works? | 16:50 |
rinigus | Thaodan: twrp works, hybris-recovery doesn't (haven't tried last time, let me try) | 16:50 |
rinigus | mal: was that commit in kernel? if that, then it should be in | 16:51 |
Thaodan | i meant hybris recovery, because this has to bring up lvm too | 16:51 |
Thaodan | rinigus: nope that's in hybris hak | 16:52 |
mal | rinigus: I mean you cannot have the new selinux commit in system/core if you want to disable selinux | 16:53 |
mal | also other changes related to selinux like enabling selinux in systemd | 16:54 |
Thaodan | mal: you mean that commit inside hybris patches that is used on the Xperia 10? | 16:55 |
rinigus | Thaodan: recovery is as busted as normal boot. reboots after some time | 16:55 |
Thaodan | rinigus: you could try to debug from here. it has less features and should be easier to debug. | 16:56 |
rinigus | mal: OK, so I can test image with selinux not set to zero and keeping the rest of xperia 10 base. | 16:56 |
Thaodan | you can edit Jolla-init to log to somewhere where you can read the output | 16:56 |
rinigus | Thaodan: problem is that there is nothing to hang on to. no net, no root logs :) . maybe sdcard trick will work. | 16:57 |
Thaodan | yeah you could add that to Jolla init | 16:57 |
mal | Thaodan: yes | 16:57 |
mal | Thaodan: also in config repo | 16:57 |
Thaodan | mal: thanks I'll look on that for the Xperia 1 | 16:58 |
rinigus | mal, selinux: so that's a part we apply as `./setup-sources.sh --mb` during a setup? | 16:59 |
rinigus | ... just to be on the same page | 16:59 |
mal | I think you should just go with hadk way and then add only certain parts from ganges | 17:00 |
mal | then add more after you have it running | 17:00 |
rinigus | mal: now I have to figure out how to do that specifically. I will look into it. we don't have lineage for that device, though. as far as I know. | 17:04 |
mal | rinigus: I mean hadk way but using aosp as usual | 17:05 |
mal | only difference is branch | 17:05 |
mal | and editing patches to not have some new changes | 17:05 |
rinigus | mal: thanks! I will try and will be back with more questions ... | 17:07 |
*** electro is now known as Guest37674 | 17:11 | |
electroo | mal, i have this chip -> bcm4334 | 17:14 |
electroo | humm no, it's for t0lte samsung | 17:17 |
electroo | bluetooth work partially | 18:01 |
electroo | how transfert to my device bluez5 package although bluez4 is installed | 18:09 |
jellypony | Good evening, mal! Are you here? Do you remember me? I remade hybrys-boot with new defconfig with minimal number of changes. I had fixed only settings which were provided as errors by mer kernel checker. Dmesg still broken >_< | 18:54 |
electroo | with bluez5, bluebinder is necessary ? | 18:56 |
mal | bluebinder is only for devices with binderized bluetooth | 18:57 |
mal | which bluez version you use depends on kernel for example | 18:57 |
electroo | bluez4 is okey | 19:00 |
T42 | <NotKit> xreactx[m]__, do you have skip_initramfs neutralizing patch in kernel? | 19:00 |
electroo | bluebinder i suppose is not support | 19:00 |
jellypony | mal: new defconfig. All changes I made is down "# for hybris 16" line. | 19:01 |
jellypony | https://pastebin.com/7kRSdeRs | 19:01 |
T42 | <DylanVanAssche> mal: I found a solution for the proximity sensor :) I have it working now. Need to clean up the code a bit before I can make a PR. I use the same workaround as Elros34 (setting the value to 0 or max instead of the real measured value) | 19:02 |
mal | @DylanVanAssche what was the reason for the problems? | 19:03 |
T42 | <DylanVanAssche> If tou supply the real value (measured by the sensor), QtSensors won't report the proximity state. If you saturate the value between min and max, it works fine. Will check further if the code can be improved | 19:08 |
T42 | <DylanVanAssche> you* | 19:08 |
T42 | <DylanVanAssche> mal: ^^^ | 19:08 |
mal | ok, strange | 19:08 |
T42 | <DylanVanAssche> Will test if instead of 0 and max, 0 and value will work. The choice between both is the proximity threshold value. | 19:09 |
mal | @DylanVanAssche how can the hybris prox sensor work, it assigns the value directly | 19:12 |
mal | although it things all smaller than max value are near | 19:12 |
T42 | <DylanVanAssche> mal: I don't understand it why that's the issue. I compared with the hybris prox sensor and nothing is different when it comes to writing the values to the buffers | 19:14 |
mal | @DylanVanAssche does the prox iio sensor give some odd values, you have if(proximityValue >= proximityThreshold) { near = true; }, hybris sensor has the opposite | 19:14 |
T42 | <DylanVanAssche> Well the value is higher when near. If I put my hand above the sensor, Messwerk reports with that 'Proximity detected' | 19:15 |
mal | ok | 19:16 |
T42 | <DylanVanAssche> Is this reversed in comparison to the behavior of the hybris prox sensor? | 19:17 |
mal | yes | 19:17 |
T42 | <DylanVanAssche> Ooooh :O | 19:17 |
mal | I mean the raw data is opposite | 19:18 |
mal | not the messwerk reporting | 19:18 |
T42 | <DylanVanAssche> ok | 19:18 |
mal | @DylanVanAssche just to be sure, when you put hand near the device in messwerk the "Proximity detected" becomes highlighted and if you remove your hand then it is overwritten with a line | 19:19 |
T42 | <DylanVanAssche> mal: Yeah that's the behavior of Messwerk. I checked the IIO docs of the kernel and higher = closer | 19:20 |
mal | not very logical :) | 19:21 |
T42 | <DylanVanAssche> mal: I know :P | 19:22 |
mal | also not sure why it doesn't like the raw values, qtsensors code doesn't care about that https://git.merproject.org/mer-core/qtsensors/blob/mer-stable/src/imports/sensors/qmlproximitysensor.cpp#L126 | 19:23 |
T42 | <DylanVanAssche> mal: Yeah it's strange, but I got the idea from @elros34. Elros mentioned it a while back in this chatroom. | 19:25 |
electroo | mal, have you an idea about wifi ? | 19:26 |
T42 | <elros34> and I give the link: https://git.merproject.org/mer-core/qtsensors/blob/mer/5.2.1+git17/src/plugins/sensors/sensorfw/sensorfwproximitysensor.cpp#L78 qtsensors use raw value instead withinproximity_ | 19:26 |
electroo | @elros34 : hi, do you know how to debug wifi ? | 19:27 |
mal | did you build the driver as module as told in faq | 19:27 |
electroo | not again | 19:28 |
mal | @DylanVanAssche hmm, I accidentially read the qml part of that which looked different | 19:32 |
mal | so is misunderstood how that works | 19:32 |
T42 | <DylanVanAssche> mal: I'm just happy that I have it working now :) | 19:36 |
electroo | mal, i have an error when i enable CONFIG_MODULES | 19:36 |
electroo | https://dpaste.de/xvAB | 19:38 |
mal | @DylanVanAssche now just cleanup the code and make a merge request | 19:46 |
T42 | <DylanVanAssche> mal: Will do :) | 19:47 |
mal | electroo: some devices also have possibility to use builtin wlan driver but those usually need to do something like this https://github.com/mer-hybris/droid-config-sony-ganges-pie/blob/master/sparse/lib/systemd/system/wifisetup.service but that depends on wlan chip what it needs | 19:48 |
spiiroin | mal, @DylanVanAssche: proximity sensor = send ir pulse, measure how much of it is reflected back. something in front of the sensor = most of the pulse is reflected back; nothing in front = there is always glass/whatnot, but value is low | 19:49 |
electroo | mal, how can i check the wifi chip ? | 19:49 |
mal | electroo: kernel defconfig | 19:49 |
electroo | ok | 19:49 |
T42 | <DylanVanAssche> spiiroin: Ok thanks for the clarification :) | 19:50 |
Thaodan | electroo mal those configs are often listed in PlatformConfig.mk like here | 19:51 |
Thaodan | https://github.com/sonyxperiadev/device-sony-kumano/blob/master/PlatformConfig.mk#L67 | 19:51 |
Thaodan | will conman disable the device too when wlan is off? | 19:52 |
electroo | i don't arrived to get the original defconfig | 19:53 |
electroo | Thaodan, i don't know | 19:53 |
electroo | mal, strange, i have this | 19:57 |
electroo | CONFIG_PRONTO_WLAN=y | 19:57 |
electroo | CONFIG_PRIMA_WLAN_LFR=y | 19:57 |
electroo | CONFIG_PRIMA_WLAN_OKC=y | 19:57 |
electroo | CONFIG_PRIMA_WLAN_11AC_HIGH_TP=y | 19:57 |
electroo | i have PRONTO and PRIMA | 19:58 |
Thaodan | do you have something like device-$vendor-$device? | 19:58 |
electroo | and with this chapter -> Build Wlan Driver as Module -> i have an error with enable CONFIG_MODULES | 19:58 |
electroo | to do what thaodan ? | 19:58 |
electroo | device htc one m8 | 19:59 |
electroo | device m8 | 19:59 |
Thaodan | do your device the aosp module for your phone. | 20:00 |
electroo | device-htc-m8 | 20:00 |
Thaodan | I know but the device git repo with the device definition etc. | 20:01 |
electroo | yes | 20:01 |
Thaodan | something like this but for your phone: https://github.com/sonyxperiadev/device-sony-kanuti | 20:01 |
Thaodan | This sony platform uses the prima wlan driver too, maybe this can help you. | 20:01 |
electroo | okey, thank you | 20:02 |
electroo | it exist a htc platform ? | 20:02 |
mal | electroo: do you see "/sys/kernel/boot_wlan/boot_wlan" on your device | 20:08 |
electroo | i will see | 20:08 |
electroo | no such file -> ls -al /sys/kernel/boot_wlan/boot_wlan | 20:10 |
Thaodan | electroo: this will help you maybe https://github.com/ValidusOs-Devices?utf8=%E2%9C%93&q=htc&type=&language= | 20:11 |
piggz | vknecht: have you tried the resolution PR ? | 20:12 |
electroo | thanks | 20:12 |
piggz | mal: does this PR have a future? https://github.com/sailfishos/droidmedia/pull/11 | 20:33 |
piggz | looks like its required on pro1 | 20:33 |
piggz | same case, after recording video, the message appears | 20:33 |
electroo | piggz, how is it possible to check kernel version ? | 20:39 |
piggz | electroo: uname -a ? | 20:40 |
electroo | on device ? | 20:40 |
piggz | yes | 20:40 |
electroo | ok | 20:40 |
electroo | an idea to check why i have no sound during a call ? | 20:41 |
piggz | built audioflingerglue etc ? | 20:41 |
electroo | yes | 20:41 |
electroo | i have sound during listening music | 20:42 |
electroo | but not during a call | 20:42 |
electroo | and no microphone | 20:42 |
piggz | sounds audioflinger related | 20:46 |
*** jellypony1 is now known as jellypony | 20:46 | |
electroo | related ? | 20:46 |
T42 | <Martensite %lastname%> @electroo section 13.2 and 13.3 and 13.4.1 in hadk | 20:50 |
mal | piggz: did I forget to merge that PR :D | 21:01 |
piggz | mal: so it would seem | 21:02 |
mal | piggz: I will talk about that with others tomorrow | 21:02 |
mal | I use that code already on fp2 | 21:02 |
piggz | mal: ok, im gonna build it for pro1 also | 21:03 |
piggz | mal: if youre not doing that tonight, i can think of some camera PRs to test and i cen merge tomorrow ;) | 21:05 |
piggz | been using the resolution one today, its great :) | 21:05 |
mal | piggz: btw, did your change to cam app solve the issues I was trying to fix long time ago | 21:06 |
piggz | which issues? | 21:06 |
mal | piggz: cam switching | 21:06 |
piggz | yes, that works fine | 21:06 |
piggz | for me atleast | 21:07 |
mal | ok, wondering how you managed to handle the initial values | 21:07 |
mal | I had some odd issues with those | 21:07 |
piggz | yes, i had trouble where the resolution couldbt be read for the front camera.... | 21:07 |
piggz | so, befroe switching, i set to a very low res, switch camera, load it, get the resolutions, then set | 21:08 |
mal | also some timing issues that cam was not ready yet | 21:08 |
mal | piggz: does your code update the supported features when cam is switched, based on what I saw no | 21:09 |
mal | I have support for that | 21:09 |
piggz | mal: PRs welcome :) | 21:09 |
mal | need to see how it works with the current code, it's quite old code | 21:09 |
mal | piggz: hmm, did I forget to make PR for the code cleanup | 21:11 |
piggz | yup | 21:11 |
mal | maybe tomorrow | 21:11 |
*** electro is now known as Guest94644 | 21:23 | |
Guest94644 | sorry but can i pass this line ? mk-cam-conf 1 /etc/gst-droid/gstdroidcamsrc-1.conf | 21:23 |
Guest94644 | in chapter -> 13.3 Camera | 21:23 |
mal | those are not needed | 21:25 |
mal | mk-cam-conf is obsolete | 21:25 |
Guest94644 | thanks | 21:27 |
Thaodan | any one used newer gcc versions for building kernels? | 23:56 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!