spiiroin | @edp_17 like @elros34 says it is more or less expected to have >1 charger devices - e.g. charger.online = usb.online or ac.online or wireless.online -type situations | 04:00 |
---|---|---|
T42 | Rizwan %lastname% was added by: Rizwan %lastname% | 05:18 |
T42 | <Rizwan %lastname%> Guys anyone port sailfish os for redmi note 8 pro | 05:19 |
T42 | <Ori %lastname%> I don’t know if it’s possible on mtk | 05:59 |
r0kk3rz | of course it is | 06:00 |
T42 | <Rizwan %lastname%> @Ori %lastname% [I don’t know if it’s possible on mtk], Oh ok | 08:27 |
T42 | <edp_17> Can somebody let me know the purpose of this file, please?: /var/lib/environment/ofono/noplugin.conf | 10:47 |
r0kk3rz | disables ofono plugins | 10:47 |
T42 | <edp_17> @r0kk3rz : Thanks. And why do we need to disable them? | 10:48 |
r0kk3rz | because you dont want to use all of them | 10:49 |
T42 | <edp_17> I see, so it is recommended to keep. Thanks. | 10:49 |
r0kk3rz | well yeah, its kinda important | 10:50 |
r0kk3rz | you shouldnt go around deleting things :P | 10: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 |
r0kk3rz | its there by default | 10:51 |
r0kk3rz | theres a few scripts that figures out its contents | 10: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 https://paste.mozilla.org/Q5EO3o9P | 11:29 |
mal | @adampigg is the interface name correct? | 11:36 |
T42 | <birdzhang> 3.3.0.14 is out? | 12:26 |
mal | not yet | 12:27 |
T42 | <birdzhang> i'm updating now, packages refreshed and start downloading | 12:42 |
pketo | if it breaks you can keep the pieces :) | 12:49 |
T42 | <adampigg> mal: device name is usb0 | 13: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 now | 13:18 |
T42 | <Lukapanio> @vknecht [@Lukapanio: keep in mind that generally, 10% o …], Nope | 13:18 |
T42 | <Lukapanio> I have only 20% used | 13:18 |
T42 | <adampigg> mal: yes... | 13:19 |
T42 | <adampigg> [configfs] | 13:20 |
T42 | <adampigg> gadget_conf_directory = configs/c.1 | 13:20 |
T42 | <adampigg> function_rndis = rndis.usb0 | 13:20 |
T42 | <adampigg> sh-3.2# ls /config/usb_gadget/g1/configs/c.1/ | 13:20 |
T42 | <adampigg> MaxPower bmAttributes rndis.usb0 strings | 13:20 |
T42 | <adampigg> sh-3.2# ls /config/usb_gadget/g2/configs/b.1/ | 13:21 |
T42 | <adampigg> MaxPower bmAttributes strings | 13:21 |
walidh | mal: sorry i can't understand you about rfkill name , how can i check it ? | 16:06 |
mal | walidh: check /sys/class/rfkill/rfkill0/name (and different number for 0 in that) and compare to this https://github.com/mer-hybris/bluetooth-rfkill-event/blob/master/bluetooth-rfkill-event/bluetooth_rfkill_event.c#L78 | 16:07 |
walidh | mal: cat /sys/class/rfkill/rfkill0/name --- > bcm43xx | 16:10 |
walidh | mal: i will debug it, and see what is the pb | 16:59 |
T42 | <adampigg> mal: on mido, in developer mode, iptables liiks like this https://paste.mozilla.org/p54xoWVp | 17:03 |
T42 | <adampigg> in the pro1 it is a differetn story.... | 17:03 |
T42 | <adampigg> https://paste.mozilla.org/5z8e29nY | 17:04 |
mal | walidh: did you try adding -d to the command in /lib/systemd/system/bluetooth-rfkill-event.service https://github.com/mer-hybris/bluetooth-rfkill-event/blob/master/bluetooth-rfkill-event/bluetooth-rfkill-event.service#L9 | 17:13 |
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 that | 17:14 |
T42 | <Nebrassy> @Nebrassy [<reply to media>], this | 17:15 |
walidh | mal: 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 |
walidh | BCM_RFKILL_NAME="bcm43xx Bluetooth\n" but /sys/class/rfkill/rfkill0/name contains "bcm43xx" only | 17:30 |
walidh | Skipping over unsupported rfkill switch 'bcm43xx | 17:31 |
walidh | mal: why BCM_RFKILL_NAME is "bcm43xx Bluetooth\n", can i change it in code to "bcm43xx" and rebuild ? | 17:32 |
mal | walidh: so change it and rebuild, that should be made configurable anyway at some point | 17:45 |
walidh | mal: change BCM_RFKILL_NAME to "bcm43xx\n" work (switch on/off BT not work) | 17:55 |
walidh | mal: is this flag can cause issue : CONFIG_BT_MSM_SLEEP | 20:44 |
walidh | and this flag is it needed CONFIG_MSM_BT_POWER ? | 20:44 |
mal | walidh: not sure if your device needs some additional changes to rfkill event code, you should not change kernel configs | 21:08 |
mal | also you didn't show debug output with the modified code so difficult to say what is wrong | 21:09 |
mal | I assume you have proper configuration file? | 21:09 |
mal | adapted for your device | 21:09 |
walidh | mal: now BT work at boot, nut power off then on not work | 21:10 |
walidh | log at boot with BT disabled https://paste.ubuntu.com/p/nvpZsv3tjh/ | 21:13 |
walidh | log when power on BT https://paste.ubuntu.com/p/b4r7Fr2zys/ | 21:13 |
walidh | at this point there is no pb | 21:14 |
walidh | but i can't power off/on many times , BT crash | 21:14 |
walidh | after turn off BT https://paste.ubuntu.com/p/2wBX72pnfC/ | 21:15 |
walidh | and turn on BT again https://paste.ubuntu.com/p/g7MSfybSw9/ | 21:16 |
walidh | BT will work only if i reboot system | 21:17 |
mal | does running the hciattach manually work? | 21:19 |
mal | how does "rfkill list" look like? | 21:20 |
walidh | running the hciattach manually gave me timeout | 21:21 |
walidh | think when turn off BT is not well detached, device still opened , so its kernel pb | 21:21 |
walidh | mal: power off BT, then ran this manually https://paste.ubuntu.com/p/HnPG79wThg/ | 21:28 |
walidh | then power on work | 21:28 |
mal | that needs some more debugging later, it's getting late now | 21:33 |
mal | maybe your device shouldn't be using the bluetooth-rfkill-event but instead only some script at boot to run the hciattach command | 21:40 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!