walidh | for camera got this error droid-hal-init: Service 'qcamerasvr' (pid 6038) killed by signal 6 | 12:04 |
---|---|---|
walidh | qcamerasvr can't start | 12:05 |
mal | if you expect help you need to provide full output of "journalctl -alb --no-pager" and /usr/libexec/droid-hybris/system/bin/logcat | 12:06 |
mal | and you should get those quite soon after a reboot so all messages can be seen | 12:09 |
walidh | logcat https://paste.ubuntu.com/p/dyFx9DTNkv/ | 12:14 |
walidh | journal https://paste.ubuntu.com/p/4SHFCPRb3v/ | 12:14 |
mal | hmm, why is that not showing anythin from android side init in journal log | 12:27 |
walidh | mal: dmesg not work properly (i used stock kernel cus its more fast) | 12:31 |
walidh | this cat /dev/kmsg https://paste.ubuntu.com/p/QDGSwWjgs9/ | 12:31 |
T42 | <elros34> walidh: kmesg is missing initial messages so how did you disable selinux? systemd-tmpfiles-setup fails so I guess you are missing some cgroups related CONFIG in kernel. Have you tried to chmod a+rw /dev/video*: "cannot open control fd of '/dev/video2' (Success)" | 13:59 |
walidh | elros34: for selinux i added selinux=0 audit=0, also BOOTPARAM=y | 14:03 |
T42 | <elros34> does zcat /proc/config.gz also show bootparam enabled and /proc/cmdline have selinux=0? | 14:04 |
walidh | yes CONFIG_SECURITY_SELINUX_BOOTPARAM=yCONFIG_SECURITY_SELINUX_BOOTPARAM_VALUE=0 | 14:06 |
T42 | <Ori %lastname%> I need help | 18:12 |
T42 | <Ori %lastname%> I installed a port of sailfish os but the sensors are not working | 18:12 |
T42 | <Ori %lastname%> Any way to fix this? Oneplus 2 | 18:12 |
T42 | <elros34> How do you test them? There is test_sensors for low level sensors detection and csd or messwerk | 18:26 |
T42 | <Ori %lastname%> I tried to rotate | 18:54 |
T42 | <Ori %lastname%> And. I called my father | 18:54 |
T42 | <Ori %lastname%> No proximity | 18:54 |
T42 | <elros34> Ori so have you tried any of the mentioned apps? Do you have hw-settings.ini file: https://github.com/mer-hybris/hadk-faq#sensors ? | 19:09 |
piggz | mal: on the pro1, the FW prevents SSH over USB ... what config have we missed? other ports have had this? | 21:05 |
mal | piggz: show output kernel checker | 21:07 |
mal | +of | 21:07 |
piggz | mal: https://paste.mozilla.org/XHWAEmKd | 21:09 |
T42 | <RealDanct12> @Deathmist1337, have you managed to fix ofono's error 4100 yet? | 21:11 |
T42 | <RealDanct12> the one that causes mobile data not to work | 21:11 |
mal | piggz: how new is the kernel checker you use? | 21:11 |
piggz | mal: may last year :D | 21:12 |
mal | piggz: maybe update it and check again | 21:12 |
mal | piggz: some netfilter options were added recently | 21:13 |
piggz | mal: https://paste.mozilla.org/xeGpGHOU | 21:13 |
mal | late last year | 21:13 |
mal | ok, so at least no errors | 21:13 |
mal | what do you see in logs? have you tried to verify if it's a firewall issue (disable firewall in sfos to test) | 21:14 |
piggz | mal: yes, i run this command to get ssh access | 21:15 |
piggz | iptables -A INPUT -j ACCEPT -m comment --comment "Accept all incoming" | 21:15 |
mal | hmm | 21:15 |
mal | check the rules for usb related things for example | 21:16 |
mal | to see if there is something odd in there | 21:16 |
piggz | mal: does usb-moded need some config maybe... | 21:22 |
piggz | to use usb0 | 21:22 |
piggz | /etc/usb-moded/dyn-modes/developer_mode-android.ini refers to rndis0 | 21:23 |
walidh | Problem: nothing provides bluez5-tools-hciattach needed by bluetooth-rfkill-event-hciattach- | 21:28 |
walidh | when try to build bluetooth-rfkill-event | 21:29 |
mal | piggz: where is the config repo for your device? | 21:29 |
mal | walidh: which bluetooth chip does your device have, broadcom or qcom | 21:30 |
walidh | broadcom BCM4358A3 | 21:31 |
mal | build a bit older version of that bluetooth-rfkill-event, revision 818df19222b1997741e0268322941bb6765403f3 | 21:32 |
T42 | <adampigg> Mal https://github.com/sailfish-on-fxtecpro1/droid-config-t5 | 21:38 |
walidh | mal: i reset --hard to version 818df19222b1997741e0268322941bb6765403f3 , and when rebuild it, work only when add flag --offline | 21:44 |
mal | or when using build_packages.sh -b path/to/package | 21:46 |
mal | where the path is the place when you have the sources on your computer | 21:47 |
mal | *where | 21:47 |
walidh | in ubuntu touch we add 70-$DEVICE.rules, there is any thing similaire in sailfish | 21:49 |
mal | what does it contain? | 21:56 |
mal | we have the droid udev rules which are automatically generated | 21:56 |
mal | walidh: what exactly is the situation with your device? | 21:56 |
walidh | what work : sound, wifi, vibrator, touch screen, browser, rild (make call, send sms) | 21:58 |
walidh | what missing : camera bluetooth | 21:58 |
walidh | mal: also can't fix startup wizard on first boot | 22:00 |
walidh | is this help ? https://github.com/mer-hybris/hadk-faq#134failed-at-step-oom_adjust-spawning-usrlibexecmapplauncherdbooster-qt5-permission-denied | 22:00 |
mal | that can help on some things but not for camera or bluetooth | 22:05 |
mal | what is the issue with startup wizard? | 22:05 |
walidh | mal: size is very big, can't finish startup | 22:06 |
walidh | see this https://drive.google.com/file/d/1giqQxsaazGBUtiwUxkVYBRL58knEH6Df/view?usp=sharing | 22:07 |
mal | you need to get logs from startup wizard, does it show the same if you start it now? | 22:07 |
T42 | <edp_17> Hi @elros34 : I just have checked and there is no 'POWER_SUPPLY_TYPE' when I do a 'udevadm monitor p' | 23:06 |
walidh | mal: got camera work, its sensor problem missing file init.sensors.sh , i added it under /data/.stowaways/sailfishos/ (in recovery mode) | 23:09 |
T42 | <edp_17> @elros34 : What I spotted if the battery charge goes above 95%, the leds are blinking. (It seems correct according to the code 'https://git.sailfishos.org/mer-core/mce/blob/master/modules/battery-udev.c') | 23:10 |
walidh | how can i add it | 23:10 |
T42 | <edp_17> @elros34 : I have also double checked and there is no random usb events. If the device is off charger, the 'mce -Tq -l plugin*:* -l sysfs*:* -l hybris*:* -l modules/led.c:*' shows the device is discharging. | 23:12 |
T42 | <edp_17> However the leds are still blinking as the battery is above 96%. | 23:12 |
T42 | <elros34> @edp_17 what about usb status? Is detected correctly in mce? I also had no meaningful POWER_SUPPLY_TYPE so have to add it to kernel otherwise I had some usb detection issues but no like yours | 23:14 |
T42 | <edp_17> And the mce is constantly changing the value (0 -> 1, then back to 0) in /sys/class/misc/notification/led | 23:15 |
mal | walidh: oh, you should check the other straggler files things, you are probably missing some init things | 23:17 |
mal | walidh: show output of ls $ANDROID_ROOT/out/target/product/$DEVICE/root/ from your build environment | 23:19 |
T42 | <edp_17> The usb_status is DISCONNECTED when I unplug the cable and CONFIGURED when I plug it back in. POWER_SUPPLY_TYPE is not in the kernel at all. | 23:19 |
mal | walidh: actually "ls -l $ANDROID_ROOT/out/target/product/$DEVICE/root/" is better | 23:19 |
T42 | <elros34> @edp_17 I don't know, maybe we are searching in wrong place | 23:21 |
T42 | <edp_17> @elros34 : Yeah, maybe. | 23:22 |
T42 | <edp_17> @elros34 : when the device is in developer mode and I do a 'systemctl status mce' there is a 'modules/battery-udev.c: udevdevice_lookup_charger_type(): unknown charger type: max8922-charger' message in there. Is this something I should fix? | 23:23 |
T42 | <edp_17> In the kernel I have the CONFIG_CHARGER_MAX8922_U1=y | 23:24 |
walidh | mal: https://paste.ubuntu.com/p/vj73xjs8V7/ | 23:25 |
T42 | <elros34> @edp_17 I guess that is because POWER_SUPPLY_TYPE doesnt return POWER_SUPPLY_TYPE_USB_DCP/USB. You can check it in /sys/class/power_supply/*/uevent | 23:29 |
T42 | <edp_17> @elros34 : I have two chargers in there : https://pastebin.com/jFDtpJxh | 23:35 |
T42 | <edp_17> But none of them has POWER_SUPPLY_TYPE_USB_DCP/USB | 23:36 |
mal | walidh: add these lines to your droid-hal-$DEVICE.spec file (before the last line, do not change the last line of the file) https://pastebin.com/RJ5F3Ap9 | 23:37 |
mal | walidh: then run "build_packages.sh -d" | 23:37 |
T42 | <elros34> @edp_17 I would expect it in usb/uevent but like I said maybe it's not that important. | 23:46 |
T42 | <elros34> Have you checked in driver whether 0 > led is ignored sometimes or just something else write 1 later? | 23:48 |
T42 | <edp_17> I am not sure how to check but if I write anything else than 0 or 1, that is ignored. | 23:54 |
T42 | <edp_17> Plus if I write 0 into notification_enabled, the leds go off. | 23:54 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!