Thursday, 2020-04-02

spiiroin@edp_17 like @elros34 says it is more or less expected to have >1 charger devices - e.g. = or or -type situations04:00
T42Rizwan %lastname% was added by: Rizwan %lastname%05:18
T42<Rizwan %lastname%> Guys anyone port sailfish os for redmi note 8 pro05:19
T42<Ori %lastname%> I don’t know if it’s possible on mtk05:59
r0kk3rzof course it is06:00
T42<Rizwan %lastname%> @Ori %lastname% [I don’t know if it’s possible on mtk], Oh ok08:27
T42<edp_17> Can somebody let me know the purpose of this file, please?: /var/lib/environment/ofono/noplugin.conf10:47
r0kk3rzdisables ofono plugins10:47
T42<edp_17> @r0kk3rz : Thanks. And why do we need to disable them?10:48
r0kk3rzbecause you dont want to use all of them10:49
T42<edp_17> I see, so it is recommended to keep. Thanks.10:49
r0kk3rzwell yeah, its kinda important10:50
r0kk3rzyou shouldnt go around deleting things :P10:50
T42<edp_17> I think have added when I was trying to make the bluetooth work when I followed the hadk-faq.10:51
T42<edp_17> No, I didn't want to delete. 😄10:51
r0kk3rzits there by default10:51
r0kk3rztheres a few scripts that figures out its contents10:52
T42<edp_17> I didn't realize it was there by default. I just added into sparse then built the image.10:53
T42<adampigg> mal: it looks like the USB type is only not detected until you click "developer mode" in the UI
mal@adampigg is the interface name correct?11:36
T42<birdzhang> is out?12:26
malnot yet12:27
T42<birdzhang> i'm updating now, packages refreshed and start downloading12:42
pketoif it breaks you can keep the pieces :)12:49
T42<adampigg> mal: device name is usb013:14
mal@adampigg have tried doing some usb-moded configuration?13:15
T42<Lukapanio> @elros34 [cd dhd; git checkout upgrade-3.2.1], OK did it trying now13:18
T42<Lukapanio> @vknecht [@Lukapanio: keep in mind that generally, 10% o …], Nope13:18
T42<Lukapanio> I have only 20% used13:18
T42<adampigg> mal: yes...13:19
T42<adampigg> [configfs]13:20
T42<adampigg> gadget_conf_directory = configs/c.113:20
T42<adampigg> function_rndis = rndis.usb013:20
T42<adampigg> sh-3.2# ls /config/usb_gadget/g1/configs/c.1/13:20
T42<adampigg> MaxPower      bmAttributes  rndis.usb0    strings13:20
T42<adampigg> sh-3.2# ls /config/usb_gadget/g2/configs/b.1/13:21
T42<adampigg> MaxPower      bmAttributes  strings13:21
walidhmal: sorry i can't understand you about rfkill name , how can i check it ?16:06
malwalidh: check /sys/class/rfkill/rfkill0/name (and different number for 0 in that) and compare to this
walidhmal: cat /sys/class/rfkill/rfkill0/name   --- > bcm43xx16:10
walidhmal: i will debug it, and see what is the pb16:59
T42<adampigg> mal: on mido, in developer mode, iptables liiks like this
T42<adampigg> in the pro1 it is a differetn story....17:03
malwalidh: did you try adding -d to the command in /lib/systemd/system/bluetooth-rfkill-event.service
T42<Nebrassy> @elros34 finally had some time, I looked into my ld.config.vndk_lite, the defaut namespace isn't isolated so no defined permitted search paths, I don't think my problem is related to that17:14
T42<Nebrassy> @Nebrassy [<reply to media>], this17:15
walidhmal: i add message debug in bluetooth_rfkill_event.c, i found that this statment return false "if (!strncmp(BCM_RFKILL_NAME, sysname, sizeof(BCM_RFKILL_NAME))) {"17:29
walidhBCM_RFKILL_NAME="bcm43xx Bluetooth\n" but /sys/class/rfkill/rfkill0/name contains "bcm43xx" only17:30
walidhSkipping over unsupported rfkill switch 'bcm43xx17:31
walidhmal: why BCM_RFKILL_NAME is "bcm43xx Bluetooth\n", can i change it in code to "bcm43xx" and rebuild ?17:32
malwalidh: so change it and rebuild, that should be made configurable anyway at some point17:45
walidhmal: change BCM_RFKILL_NAME to "bcm43xx\n" work (switch on/off BT not work)17:55
walidhmal: is this flag can cause issue : CONFIG_BT_MSM_SLEEP20:44
walidhand this flag is it needed CONFIG_MSM_BT_POWER ?20:44
malwalidh: not sure if your device needs some additional changes to rfkill event code, you should not change kernel configs21:08
malalso you didn't show debug output with the modified code so difficult to say what is wrong21:09
malI assume you have proper configuration file?21:09
maladapted for your device21:09
walidhmal: now BT work at boot, nut power off then on not work21:10
walidhlog at boot with BT disabled
walidhlog when power on BT
walidhat this point there is no pb21:14
walidhbut i can't power off/on many times , BT crash21:14
walidhafter turn off BT
walidhand turn on BT again
walidhBT will work only if i reboot system21:17
maldoes running the hciattach manually work?21:19
malhow does "rfkill list" look like?21:20
walidh running the hciattach manually gave me timeout21:21
walidh think when turn off BT is not well detached, device still opened , so its kernel pb21:21
walidhmal: power off BT, then ran this manually
walidhthen power on work21:28
malthat needs some more debugging later, it's getting late now21:33
malmaybe your device shouldn't be using the bluetooth-rfkill-event but instead only some script at boot to run the hciattach command21:40

Generated by 2.17.1 by Marius Gedminas - find it at!