**** BEGIN LOGGING AT Tue Oct 18 02:59:59 2016 Oct 18 04:21:24 JaMa: Late re-ping Oct 18 04:21:33 You in the US? Oct 18 04:21:51 * DougReeder waves Oct 18 04:23:03 DougReeder: Hi Oct 18 04:23:52 I'm backtracking images to see where BT stopped behaving like it should. Trying March release now Oct 18 04:24:18 * DougReeder nods Oct 18 04:35:36 Hmmz even as early as March is was finicky Oct 18 04:35:43 Will try Feb now Oct 18 04:35:58 Thanks for grinding through this. Oct 18 04:36:34 I like automated tests, but I doubt you could write a test for this. Oct 18 04:37:10 It's probably something smalll.. Seeing it was there in March that pretty much excludes all our major component upgrades it seems ;) So might actually be something relatively small to fix Oct 18 04:37:34 That would be nice. Oct 18 04:38:14 When people can dogfood it, these things will be caught faster. Oct 18 04:40:46 DougReeder: Yeah we should probably extend testing a bit before releases to catch these earlier Oct 18 04:41:35 I wish I knew how to recruit testers, that needn’t be programmers. Oct 18 04:54:08 Seems even in Feb it wasn't working properly and that's when we initially added it Oct 18 04:54:16 So seems something is just broken in general Oct 18 04:54:21 Hrm. Oct 18 04:54:25 I tried both my LG 730 headset and keyboard Oct 18 04:54:41 My LG headset gives me audible feedback it has paired Oct 18 04:55:03 And I can play audio but it seems UI doesn't behave and it seems to disconnect after a little while in some cases Oct 18 04:55:27 I might have a go and trying BT directly in Qt instead of going through Settings & C++ plugin Oct 18 04:55:29 That will be harder to track down. Oct 18 05:00:50 My N4 can detect my TP keyboard, but no characters are received Oct 18 05:01:32 What’s the screen supposed to look like after pairing? Oct 18 05:01:33 DougReeder: Same here.. Well QT actually has built in bits for BT ;) https://doc.qt.io/qt-5/qtbluetooth-qmlmodule.html Oct 18 05:01:39 Is there a checkmark on the row? Oct 18 05:01:52 DougReeder: I think it become bright blue Oct 18 05:01:56 Also not very consistent Oct 18 05:02:08 It does turn blue for a while Oct 18 05:02:57 Yeah for a while Oct 18 05:03:03 Log doesn't show anything really :S Oct 18 05:04:45 Is there a particular unit I should specify to journalctl? Oct 18 05:07:31 When I filter journalctl against “Blue”, among other things I get: CRITICAL: 01:06:12.309: Couldn't register agent at "/com/canonical/SettingsBluetoothAgent/90_7F_61_00_98_EC" Oct 18 05:07:50 and WARNING: 01:06:12.510: CONSOLE JS: Bluetooth.handleBluetoothPropertyChanged(): Ought to do something with this Devices list! Oct 18 05:08:24 It does displaye the name: HP TouchPad Wireless Keyboard Oct 18 05:11:36 For my Plantronics headphones, it knows they are headphones, but no name show up in journalctl nor the UI. Oct 18 05:12:17 .. unless I turn off BT, then turn it back on. Weird. Oct 18 05:13:29 DougReeder: I just write the whole journalctl to media internal and look inside my text editor Oct 18 05:13:45 A lot of logging comes from LunaWebAppManager[1541]: WARNING: 17:30:44.198: CONSOLE JS: Bluetooth.handleDeviceChanged(): name: HP TouchPad Wireless Keyboard Oct 18 05:14:00 * DougReeder nods “I get that” Oct 18 05:18:12 My LG phone is detected, with name, and I’m offered the options “Phonebook Access” and “Message Access” Oct 18 05:18:53 Most things seem to work, just somethign small seems off somewhere Oct 18 05:19:20 Problem is a bit we have BlueZ4, ConnMan, PulseAudio, BT plugin in LunaWebAppManager & Settings app that all could be culprits :P Oct 18 05:21:47 Can we work from the bottom up? Does BlueZ4 have a command-line interface? Oct 18 05:22:09 DougReeder: connmanctl has ;) Oct 18 05:24:36 connmanctl technologies gives: https://bpaste.net/show/53fcf6149c10 Oct 18 05:25:40 Mine’s the same, without cellular Oct 18 05:27:03 Seems there's hcitool as well for scanning etc Oct 18 05:27:09 ConnMan doesn't do that it seems: http://www.stlinux.com/kernel/bluetooth/how-to-run-BlueZ Oct 18 05:28:18 Let me first update to a recent image instead of 8+ months old one :P Oct 18 05:29:56 Is this correct? Oct 18 05:29:57 connmanctl> scan bluetooth Oct 18 05:29:58 Error /net/connman/technology/bluetooth: Not supported Oct 18 05:30:18 DougReeder: You need hcitool for that, see the stlinux link and this one: https://blog.lacklustre.net/posts/Bluetooth_Recon_With_BlueZ/ Oct 18 05:30:42 ConnMan mainly provides a uniform status for BlueTooth through BlueZ, but no scanning AFAIK Oct 18 05:30:56 * DougReeder nods Oct 18 05:31:47 Did we ever consider NetworkManager? Oct 18 05:33:00 DougReeder: I think we did but consensus was ConnMan ;) Oct 18 05:33:17 Ok, I just know they both exist. Oct 18 05:34:00 ConnMan is also used in Jolla I know. Not 100% sure about Ubuntu touch Oct 18 05:35:01 Would installing bluez-utils to get bluetoothctl help? Oct 18 05:35:46 DougReeder: I think it would add little extra compared to hcitools Oct 18 05:35:48 But maybe Oct 18 05:35:56 * DougReeder nods Oct 18 05:41:07 I’m not seeing an hcitool command for turning bt on and off. Oct 18 05:42:37 Anyway, I’m off to bed. Oct 18 05:43:17 OK gn8 Oct 18 05:43:20 I'll dig a bit further Oct 18 06:11:51 Morning. Oct 18 06:33:39 Herrie: pong back, nope still in Europe Oct 18 07:19:59 morning Oct 18 07:24:57 JaMa: Is there anyone besides us still using meta-smartphone? Oct 18 07:25:10 elvispre: morning Oct 18 08:17:54 Morning Oct 18 08:27:10 Tofe: Morning Oct 18 09:50:18 JaMa: Is there anyone besides us using meta-smartphone that you're aware off? Oct 18 12:06:02 Herrie|Pre3: that would be a real surprise! Oct 18 12:06:40 Tofe: What? Oct 18 12:06:49 If others use meta-smartphone? Oct 18 12:06:52 yes Oct 18 12:07:14 I know it was used by others like shr previously but not sure if that's still the case. Oct 18 12:40:07 oh, ok Oct 18 12:55:45 Herrie|Pre3: is it still useful that I test bluetooth on my end? Oct 18 12:55:55 I didn't fully follow your progress with DougReeder Oct 18 12:59:38 Tofe: Yeah it might be useful but I suspect you'll have the same symptoms Oct 18 14:05:12 Tofe: Conclusion is that we seem to get some kind of pairing however it seems to disconnect after a while and the indicator in statusbar doesn't update Oct 18 14:54:53 ok Oct 18 14:58:57 It has detected mine, with right name, paired it, but not redirected audio (I only tested mp3 in testr) Oct 18 15:01:31 Tofe: Hmmz in last months stable I get audio routed. I need to test this again with current release/nightly. Oct 18 15:01:59 When I tested it I had the volume up/down audio through the headset but YouTube not :s Oct 18 15:03:09 So, said differently, direct Qt was ok, but not within QtWebEngine Oct 18 15:03:35 Let me do a more complete test Oct 18 15:07:57 Tofe: Not 100% sure. My image might be a bit borked. I'd need to test with a proper image. My YouTube refused to play with my latest local image and headset paired. As soon as I stopped pairing YouTube would play. Might be some DRM acting up, not sure. Oct 18 15:08:43 mmmh... appart from the pairing "bliip", nothing is rerouted Oct 18 15:09:13 and in systemui I get 'unable to connect" if I force it to connect to the headset Oct 18 15:09:20 Tofe: Yeah I had that with recent one on my side too Oct 18 15:09:23 No audio Oct 18 15:09:34 Last months one was working better Oct 18 15:09:49 then we lost something along the way Oct 18 15:09:54 Though we didn't really change anything except for some systemd startup order Oct 18 15:12:12 It could be we "forget" to start something somehow :s Oct 18 15:12:23 I can have a look into that tonight I guess Oct 18 15:15:04 Or something in meta-oe or oe-core is causing issues but that doesn't sound very likely. Oct 18 15:19:50 Tofe: Hmmz seems there might be one that could be trouble. See e416832 in oe-core for pulseaudio Oct 18 15:21:00 Since this is pulseaudio specific with regards to headsets & bluez Oct 18 15:21:28 Might interfere with what we have patch wise already or maybe the plugin. Oct 18 15:24:25 I guess adding this patch and removing our 0006 one created some havoc :'( Oct 18 15:24:36 For meta-webos-ports that is. Oct 18 15:39:49 Herrie|Pre3: how do you pair mako with keyboard? do you enter some pin code? Oct 18 15:40:26 nizovn: No I don't think so. Oct 18 15:40:55 I just power on the tp keyboard and it will be in pairing mode for 1 minute Oct 18 15:42:33 you can try to uncomment this line: https://github.com/webOS-ports/org.webosports.app.settings/blob/master/source/views/Bluetooth.js#L1179 Oct 18 15:45:57 nizovn: Will give that a go tonight, thnx Oct 18 15:49:26 nizovn: Seems HP had some magic in 3.0.x to not having to enter it but reading on webOS Nation seems that we might need 0000 on the Mako & then also entered on the keyboard itself to pair. Oct 18 15:50:50 ok Oct 18 16:25:10 Herrie|Pre3: I still use it for regular SHR builds (which nobody is using) so not much Oct 18 16:42:39 JaMa: OK Oct 18 16:42:54 Did you see I did a PR over the weekend? Could you pick this to krogoth and other branches? Oct 18 17:12:57 Tofe: You seen https://github.com/qt/qtwebengine/commit/ee6f018a67b6443100a1454c9ab9a7a897289535 ? Oct 18 17:13:11 Would that be of any help for some of the issues we have with these funny overlay windows? Oct 18 17:14:28 no, this is about the QtWidget UI of QtWebEngine, which we don't use Oct 18 17:15:09 you're talking about the calendar webengine widgets ? Oct 18 17:16:10 Tofe: Yeah Oct 18 17:16:15 I thought it might be related Oct 18 17:16:56 I don't think so Oct 18 17:17:34 it's not a positionning issue, but more a rendering issue somehow Oct 18 17:42:51 Tofe: OK Oct 18 18:32:29 nizovn: I retested your FirstUse code and it seems to behave a lot better now ;) Oct 18 18:41:14 ok, good Oct 18 18:41:30 i'll squash commits and PR it again Oct 18 19:34:05 nizovn: I'm not too happy with the red links still but that's cosmetics mainly anyway **** ENDING LOGGING AT Wed Oct 19 02:59:58 2016