| Wizzup | freemangordon: I'll see if I can't make headset stuff work in 6.6 then, maybe you could help me just set up the right stuff, it should be relatively simple since we already have the regs for it | 11:05 |
|---|---|---|
| Wizzup | headset in calls I mean | 11:05 |
| pere | hi. how is maemo-leste doing these days? time for me to test it again? | 11:23 |
| Wizzup | well, depends on your device and needs :) | 11:55 |
| pere | Still got a N900 useful for such testing. :) | 11:58 |
| pere | what exactly depend on device? | 11:58 |
| Wizzup | good or bad power management, realistic ram/cpu constraints, if everything for call audio is supported, etc | 12:00 |
| Wizzup | but generally n900 and droid4/mapphones can work quite well | 12:08 |
| arno11 | Wizzup: (for headset) i just realise that ucm is actually wrong on n900 and seems wrong on mapphones too | 12:55 |
| arno11 | on n900 it works fine 'by hand', selecting the right mic | 12:56 |
| arno11 | in mapphones/n900 ucm, it uses the internal mic by default (for headset) | 12:57 |
| arno11 | so i can fix it for n900 but no idea what to do on mapphone ofc | 13:01 |
| arno11 | i mean, even if you set up the right stuff on d4, you have to check ucm stuff as well imo | 13:03 |
| arno11 | and find the correct mic | 13:04 |
| Wizzup | arno11: on mapphones uvos had not hooked up the headset stuff yet | 13:25 |
| Wizzup | so it very likely is wrong for mapphones, but that is known | 13:25 |
| arno11 | ok ;) | 13:25 |
| Wizzup | but yes, changing the ucm would need to happen too, but kernel side first | 13:25 |
| arno11 | sure | 13:25 |
| sicelo | let me check on D4 if there's no /dev/input event for headphone insertion and removal | 13:43 |
| * sicelo hardly uses earphones | 13:43 | |
| Wizzup | sicelo: d4 has notification og plug event | 13:47 |
| sicelo | indeed no event. just tested | 13:47 |
| Wizzup | what doesn't work is specifically call audio using headset mic and such | 13:47 |
| Wizzup | pa picks up on the event just fine | 13:47 |
| Wizzup | but it might be udev instead evdev or something | 13:47 |
| sicelo | arno11: i think someday it would be good to upstream the N900 (and D4) ucm2 configs | 14:21 |
| arno11 | sicelo: ah maybe | 14:24 |
| arno11 | i'll fix the headset mic stuff later today btw (n900) | 14:25 |
| Wizzup | arno11: sounds good | 14:43 |
| uvos | sicelo: headphone jack reporting via /dev/input is a legacy thing that i think you can enable via kconfig for modern alsa drivers | 15:14 |
| uvos | sicelo: d4 reports jack state via alsas event interface | 15:14 |
| arno11 | sicelo: Wizzup: ok so headset stuff is fixed localy and it is possible to switch between headset and 'normal' call on the fly during the call | 16:20 |
| arno11 | i'll make a PR this evening | 16:20 |
| sicelo | you're doing great work :-) | 16:20 |
| sicelo | btw, do you know if SIP works with telepathy-haze yet, or not? | 16:21 |
| arno11 | ty :) sip only works fine with twinkle ATM | 16:23 |
| arno11 | bbiab | 16:23 |
| Wizzup | sicelo: sip calls start but the audio fails | 16:28 |
| Wizzup | sicelo: could be turn, or perhaps more like gstreamer | 16:28 |
| Wizzup | it wouldn't be with tp-haze though | 16:28 |
| Wizzup | it'd be with telepathy-rakia which uses sofiasip | 16:28 |
| arno11 | yes indeed, at least msgs only work with sofiasip | 16:45 |
| arno11 | but not with tls | 16:48 |
| arno11 | tls works fine through twinkle btw | 16:48 |
| arno11 | for both msgs and calls | 16:48 |
| arno11 | but stun and proxy stuff are usually tricky | 16:49 |
| arno11 | tls ofc depends of providers | 16:50 |
| Wizzup | chat messages do not work with tls enabled? that would be strange | 16:51 |
| Wizzup | arno11: would love you help in debugging some of the sofiasip stuff next week or the week after | 16:52 |
| arno11 | i don't know exactly how it works but it works for sure with tls enabled (in twinkle) | 16:53 |
| arno11 | for debugging, no probs | 16:53 |
| Wizzup | yeah the stun and proxy stuff could be a part of why the audio not works, but there might be more I think | 16:55 |
| arno11 | probably | 16:56 |
| arno11 | Wizzup: btw PA can also cause troubles: sip calls work on n900 because of the custom daemon.conf, otherwise, with default 44.1Khz samplerate it doesn't work iirc | 17:16 |
| arno11 | it seems to mix everything to 48Khz | 17:18 |
| arno11 | and it records at 16Khz iirc, but maybe i'm wrong. i have to doublecheck | 17:19 |
| Wizzup | arno11: that is true, but then it should work on the vm or droid4 at least | 17:30 |
| arno11 | ok but why it should work ? PA is not involved with sip on D4 | 17:41 |
| arno11 | sounds weird to me | 17:42 |
| arno11 | (but ok i still have troubles to understand audio stuff on mapphones :P) | 17:42 |
| sicelo | for SIP, the behavior should be the same on all devices. the quirky stuff is the modems | 17:46 |
| sicelo | i can't comment on the sample rates though | 17:46 |
| arno11 | ok | 17:47 |
| Wizzup | arno11: uh, how is pa not involved? | 17:50 |
| Wizzup | pa is involved for all audio, just on mapphone the specific call audio is not done through pa (but still controlled with pa) | 17:51 |
| arno11 | it was just a question | 17:51 |
| Wizzup | since sip is all userspace PA must be involved | 17:51 |
| arno11 | ok so that's fine | 17:51 |
| arno11 | i just asked because of all tricky/quirky mapphones audio stuff i'm not aware of | 17:53 |
| arno11 | :P | 17:53 |
| sicelo | modem audio is quirky on the droid 4, as well as N900 :-p | 17:53 |
| sicelo | and many other phones too | 17:53 |
| arno11 | true lol | 17:53 |
| Wizzup | there isn't too much quircky stuff, just that the audio doesn't need to go through userspace (record / playback) | 17:53 |
| Wizzup | but yeah | 17:54 |
| sicelo | that's what i mean by quirk ... i.e. it's not straightforward like "regular" audio | 17:54 |
| Wizzup | right | 17:54 |
| Wizzup | I have my main sim back in leste now with 6.6 | 17:56 |
| Wizzup | internet context somehow doesn't work still, but at least call audio is ok | 17:56 |
| arno11 | same for me (main sim + 6.6) | 17:57 |
| sicelo | yes also haven't had call audio problems anymore on D4 with fmg's recent work | 17:57 |
| Wizzup | maybe I'll put my prev droid sim in the n900 here then, with leste | 17:57 |
| uvos | i mean from a software perspective the d4 call audio setup is as simple as it could reaslictly be | 17:58 |
| Wizzup | of couse when I inevitably have to travel to the us for work again I will have to switch it to bionic :D | 17:58 |
| uvos | you just have to set a couple of registers and the hw dose literally everything else | 17:58 |
| uvos | its just alsa being dificult | 17:58 |
| arno11 | alsa is so complicated... | 17:58 |
| arno11 | Wizzup: (for internet context) you mean no 3G/hsdpa connection ? | 18:07 |
| arno11 | 'PA is not involved with sip on D4 | 18:14 |
| arno11 | lol i forgot the '?' | 18:14 |
| arno11 | sorry for the misunderstanding | 18:14 |
| Wizzup | arno11: right the context doesn't want to activate | 18:39 |
| arno11 | ah ok | 18:40 |
| arno11 | maybe roaming is needed ? (it doesn't work on my device without it) | 18:44 |
| arno11 | (even with a local operator) | 18:46 |
| arno11 | and maybe 'sudo ip route add default dev gprs0' is also needed | 18:49 |
| Wizzup | it is roaming, it's a ofono bug | 18:54 |
| Wizzup | back later, probably tomorrow | 18:55 |
| Wizzup | will look a fstab for n900 then | 18:55 |
| Wizzup | for swap | 18:55 |
| arno11 | ah yes ok | 18:55 |
| sicelo | arno11: sudo ip route add default dev gprs0 ... this should not be needed anymore | 18:58 |
| sicelo | https://github.com/maemo-leste/libicd-network-ofono/commit/803f91fdd9bd1e68383c93b0f52190ad4e72732f | 18:59 |
| sicelo | arno11: roaming while local ... weird. it's an MVNO? | 18:59 |
| arno11 | i tried with an MVNO and a 'normal' one, same | 19:01 |
| arno11 | ok for ip route, i didn't remember :P | 19:02 |
| arno11 | but at least gprs0 works very well (14 or 15 hours with no disconnection on 6.6) | 19:05 |
| arno11 | and idle is better with hsdpa (compared to wifi) | 19:07 |
| arno11 | 52-55mA hsdpa connected vs 65-68mA with wifi | 19:09 |
| sicelo | my operator terminates idle gprs sessions ... so i think in my case it would draw more | 19:10 |
| arno11 | ah yes maybe | 19:13 |
| arno11 | Wizzup: i made a PR for ucm headset: /leste-config/pull/48 | 19:37 |
Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!