*** ChanServ sets mode: +v T4 | 02:40 | |
*** ChanServ sets mode: +v T4 | 08:06 | |
T4 | <adampigg> So, all BT devices fail to bond/connect with status 4..... | 12:53 |
---|---|---|
r0kk3rz | @adampigg: take a look at krnlyng's patches to sony kernel for bt | 13:01 |
r0kk3rz | https://github.com/mer-hybris/android_kernel_sony_msm/commit/3c1bbedc12aa43525964db5801ac5a6967596b05#diff-89f687683b7191a514dc376b98c92229 | 13:03 |
PocketCalculator | good day! I finally managed to build an image | 14:20 |
PocketCalculator | but no gui | 14:20 |
PocketCalculator | hwcomposer_test does nothing | 14:20 |
PocketCalculator | but the device seems to boot fine. at least i can telnet and execute commands no problem | 14:21 |
PocketCalculator | where can i read more about this stuff? the device has an adreno 405 | 14:22 |
r0kk3rz | telnet 2323? | 14:22 |
PocketCalculator | yes, already did that | 14:22 |
PocketCalculator | init.log doesnt give anything useful | 14:23 |
r0kk3rz | no, im asking you which telnet you got into | 14:23 |
r0kk3rz | was it 23 or 2323 | 14:23 |
PocketCalculator | 2323 | 14:23 |
r0kk3rz | ok good | 14:23 |
r0kk3rz | look through journalctl to make sure all the services are starting correctly | 14:23 |
*** ChanServ sets mode: +v T4 | 14:24 | |
PocketCalculator | basically everything fails with result "timeout" | 14:42 |
PocketCalculator | including bluetooth, mce, droid-hal-init | 14:42 |
r0kk3rz | well that wont help things | 14:48 |
r0kk3rz | try to find the first thing that fails | 14:48 |
PocketCalculator | i think that would be ohmd. its the first one to time out and enter failed state | 15:10 |
PocketCalculator | before that there are some errors with ofond and i2c | 15:13 |
PocketCalculator | the first error would be "Sailfish kernel: /cpus/cpu@100: Missing clock-frequency property" | 15:15 |
PocketCalculator | should i upload to a pastebin? journalctl is quite extense | 15:15 |
r0kk3rz | yeah upload the whole log from boot | 15:17 |
PocketCalculator | there it is: https://pastebin.com/GUqZWY6N | 15:36 |
r0kk3rz | PocketCalculator: can you grab dmesg from boot as well? | 15:52 |
r0kk3rz | PocketCalculator: ah i see, you need to mask ofono i think | 16:04 |
T4 | <adampigg> R0kk3rz, just noticed my bt adapter comes up even if i remove the FW symlink..so, it eaither doesnt need it, or doesnt load it | 16:24 |
r0kk3rz | it probably isnt loading it | 16:27 |
r0kk3rz | because it definitely needs it | 16:27 |
T4 | <adampigg> Probably...could it sort of work without it? how can i check the path is correcr? | 16:27 |
T4 | <adampigg> Or, would it load it from /system/etc without a symlink | 16:28 |
r0kk3rz | its really annoying that they took the line out in bluez5 | 16:28 |
T4 | <adampigg> Ah | 16:28 |
r0kk3rz | it might show up in strace hciattach | 16:28 |
r0kk3rz | alternatively, you port this line to bluez5 https://git.merproject.org/mer-core/bluez/blob/master/bluez/tools/hciattach_bcm43xx.c#L93https://git.merproject.org/mer-core/bluez/blob/master/bluez/tools/hciattach_bcm43xx.c#L93 | 16:31 |
PocketCalculator | here's the dmesg output: https://pastebin.com/EN6CiKf7 | 16:31 |
mal | which android base? | 16:34 |
mal | PocketCalculator: ^ | 16:35 |
PocketCalculator | linege 14.1 | 16:39 |
PocketCalculator | lineage | 16:39 |
r0kk3rz | PocketCalculator: did you run the magic script? | 16:47 |
PocketCalculator | you mean the one on the faq under "LOS14.1 porting"? | 16:49 |
PocketCalculator | yes | 16:49 |
mal | what device is that? | 16:52 |
PocketCalculator | asus zenfone 2 laser | 16:53 |
PocketCalculator | Z00T | 16:53 |
mal | looks like there could be some udev issues | 16:58 |
mal | @adampigg was your problem that udev somehow failed? | 17:08 |
T4 | <adampigg> R0kk3tz, pairing fails.... | 17:21 |
T4 | <adampigg> Scans and.finds ok, but thats it | 17:21 |
T4 | <adampigg> I wonder if the backport drivers work for bcm43xx | 17:24 |
r0kk3rz | @adampigg: fixed firmware loading? | 17:56 |
r0kk3rz | fail to pair sounds like that bluesleep issue i linked you to earlier | 17:56 |
piggz | r0kk3rz: ok, ill try that | 17:56 |
piggz | i havnt done anything with firmware loading ..... just got home man!!! | 17:57 |
r0kk3rz | oh ok | 17:59 |
r0kk3rz | well do that first | 17:59 |
r0kk3rz | but i expect if you're scanning ok then the firmware must be loading | 17:59 |
piggz | r0kk3rz: by _magic_ i guess .... its weird ... i cant run hciattach manually, it always says it timed out, but seems to run with your script addons, i guess im missing a bit | 18:10 |
r0kk3rz | by script addons, which bits specifically | 18:14 |
piggz | r0kk3rz: well, that thing that fires events wrt rfkill | 18:36 |
piggz | r0kk3rz: did github stop supporting .patch? | 18:42 |
piggz | r0kk3rz: ah, no it works | 18:43 |
r0kk3rz | which thing though piggz :P | 18:45 |
r0kk3rz | the jolla one? | 18:45 |
piggz | r0kk3rz: ha, no, just getting the .patch... | 18:45 |
piggz | i havnt even applied it yet! | 18:45 |
piggz | r0kk3rz: i suppose it would apply if i had a bcm43xx driver in my kernel ... lets check what ive got! | 18:47 |
r0kk3rz | im confused | 18:49 |
piggz | as am i .... lets start fromt he start.... | 18:54 |
piggz | r0kk3rz: device is | 18:57 |
piggz | [ 3.768071] rfkill_gpio BCM47521:00: BCM47521:00 device registered. | 18:57 |
piggz | no, that seems like a gps chi[ | 19:03 |
piggz | but i didnt think this had gps! | 19:04 |
piggz | r0kk3rz: so ..... | 19:16 |
piggz | my firmware is BCM4356A2_001.003.015.0084.0268_ORC.hcd | 19:16 |
piggz | r0kk3rz: but, regarding the patch you sent, i dont have a drivers/bluetooth/bcm43xx.c | 19:19 |
piggz | i wonder if its in staging or somthing | 19:19 |
piggz | nope | 19:21 |
piggz | r0kk3rz: so, is it a combined bluetooth/wifi chip | 19:34 |
piggz | yes https://www.broadcom.com/products/wireless/wireless-lan-bluetooth/bcm4356/ | 19:35 |
piggz | r0kk3rz: so, that patch from the sony kernel is not applicable, unless i can find equivalent code | 19:42 |
mal | piggz: what chip does it have? | 19:45 |
piggz | malbcm4356 combine wifi/bt | 19:46 |
T4 | Srp3n6u1n was added by: Srp3n6u1n | 19:54 |
T4 | <Srp3n6u1n> is there any port of sailfish os for the xiaomi redmi note 4x ? | 19:55 |
mal | which codename is that device? | 19:57 |
piggz | note 4x is mido iirc, same as note 4 | 20:00 |
piggz | (ie, my port ;) | 20:00 |
mal | piggz: I was wondering is 4 and 4x are compatible | 20:01 |
mal | *if | 20:01 |
piggz | i think they are | 20:01 |
piggz | mal: r0kk3rz: oh, i paired with my computer | 20:18 |
piggz | r0kk3rz: i have also paired my keyboard ... but the actual input from it is horrible | 20:30 |
*** ChanServ sets mode: +v T4 | 20:39 | |
mal | @adampigg what fixed it? | 20:46 |
PocketCalculator | IT WORKS | 20:47 |
PocketCalculator | all i had to do was add the ofono thingies from the faq | 20:48 |
mal | PocketCalculator: which ones? | 20:51 |
piggz | mal: maybe just trying different devices ... I havnt tried my headphones yet..... | 20:56 |
piggz | they were failiing | 20:56 |
piggz | the keyboard however is unusable | 20:56 |
piggz | every keypress results in 2 presses | 20:56 |
PocketCalculator | mal: the ones under "SIM card not detected" and "Ofono problems" | 21:00 |
PocketCalculator | audio works, haptics work | 21:00 |
PocketCalculator | wifi and bluetooth doesnt | 21:00 |
PocketCalculator | yet | 21:01 |
mal | PocketCalculator: good | 21:02 |
mal | PocketCalculator: depending on the wlan chip the driver is often built as a module, at least if the uses pronto wlan driver, check faq | 21:03 |
mal | also check which bluetooth chip the device uses | 21:04 |
PocketCalculator | there are several entries for wlan in defconfing | 21:07 |
PocketCalculator | "pronto_wlan" and "prima_wlan" | 21:08 |
piggz | mal: would I be better of building bcmdhd as a module? | 21:13 |
mal | PocketCalculator: which ones are enabled in there | 21:14 |
PocketCalculator | all of them | 21:18 |
PocketCalculator | theres 5, but i guess most of them are settings or something | 21:20 |
mal | PocketCalculator: what? can you give a link to the defconfig of your device on github | 21:20 |
PocketCalculator | i havent uploaded anything yet | 21:21 |
PocketCalculator | but it looks like this | 21:21 |
PocketCalculator | "CONFIG_PRONTO_WLAN=y" "CONFIG_PRIMA_WLAN_LFR=y" "CONFIG_PRIMA_WLAN_OKC=y" "CONFIG_PRIMA_WLAN_11AC_HIGH_TP=y" | 21:21 |
piggz | r0kk3rz: do you have bcmdhd for BT and wlan? | 21:21 |
mal | PocketCalculator: the first one as module, others you mean as =y | 21:22 |
mal | *leave as | 21:22 |
PocketCalculator | thanks | 21:34 |
PocketCalculator | that'll take a while | 21:34 |
mal | PocketCalculator: note that after rebuilding the kernel you need to only run "build_packages.sh -d" and then rebuild the image | 21:35 |
PocketCalculator | that's a relief | 21:36 |
PocketCalculator | the faq mentions in the ofono section that a couple of lines should be added to the droid-config-$DEVICE | 21:37 |
mal | PocketCalculator: also after build_packages.sh -d run also build_packages.sh -c to build te config package | 21:37 |
PocketCalculator | should i rebuild packages or just build_packahes.sh -c? | 21:38 |
mal | -c is enough for config package | 21:38 |
PocketCalculator | thanks. i'll call it a day for now | 22:01 |
PocketCalculator | see ya | 22:01 |
piggz | well, bcmdhd wors as a module | 22:16 |
mal | piggz: did it work as builtin? | 22:17 |
piggz | mal: it did | 22:17 |
piggz | i was just trying it out | 22:17 |
piggz | eugenio: any sensor joy? | 22:38 |
eugenio | not yet, but guess I'm close | 22:56 |
piggz_ | mal: eugenio: one oddity with wlan i noticed, when it was connected it was fine, (tetherd to phone) but if phone lost 4g connection, and then regained it tablet was unable to connect until turn off/on wifi | 23:05 |
eugenio | yup happened to me too (with it being simply attached to the home wifi) | 23:06 |
eugenio | suddenly I was unable to ssh in, off/on and it worked | 23:07 |
piggz_ | eugenio: did you say you got pulseaudio working? | 23:07 |
eugenio | nope, got only the card detected by alsa (by manually loading the firmwares) | 23:08 |
eugenio | there aren't any UCMs available for the rt5659 (or at least I haven't found any) | 23:08 |
piggz_ | UCM? | 23:08 |
eugenio | Use Case Manager, should be used to properly set-up the audio routes | 23:09 |
eugenio | https://github.com/plbossart/UCM <--- some UCMs for a bunch of cards on bay trail / cherry trail devices | 23:10 |
eugenio | unfortunately rt5659 is missing :/ | 23:10 |
eugenio | piggz_, to load firmwares I use the following: https://pastebin.com/kn48C894 | 23:11 |
eugenio | although it would be nice to get the kernel to load them instead of fallbacking to userspace | 23:11 |
eugenio | but for now that would do the trick :D | 23:11 |
eugenio | you should execute that as soon as possible as the fallback timeout will eventually elapse and the kernel will give up | 23:12 |
piggz_ | eugenio: what are the 3 fw? | 23:14 |
eugenio | first two are for the audio card, last one is to speed-up media decoding I guess | 23:16 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!