libera/#maemo-leste/ Friday, 2023-04-21

Wizzuparno11: got a new polarcell n900 battery :)00:04
Wizzupsicelo: if I plug in a new battery in n900, will the calibration figure that out eventually?00:15
siceloyes. may take many cycles, but it'll get there06:35
shhwiphello!06:43
sicelohi06:55
shhwiphi sicelo, do you use Maemo Leste?07:01
sicelosometimes. what would you like to know07:01
shhwipwhat made you choose that OS over all the other ones?07:02
siceloum ...07:02
shhwipim writing a research paper for my operating systems class and my focus is on FOSS mobile OS07:03
sicelobecause it's debian-based07:03
shhwipdo you have any issues with it?07:05
sicelono, not that i can think of.07:25
shhwipwhat device do you use it on?07:26
sicelonokia n900, and occasionally, motorola droid 407:40
shhwipyou say that you use it sometimes, does that mean its not your daily driver?07:40
siceloyes. droid 4 is more daily drivable in general, but i had to give mine away for a while07:41
shhwipwhy do you not use maemo-leste as a daily driver? is it just the n900 hardware that gets in the way?07:44
siceloI'd say so, yes.07:46
shhwipany plans to get the pinephone?07:47
siceloi was daily driving droid 4 for just over a month07:47
shhwipthen you had to give it away?07:48
siceloyes, temporarily. my mom needed a phone07:49
shhwipoh! did you leave it on maemo for her?07:50
sicelonah, she doesn't use linux, and I'm not looking to provide tech support to anyone. i don't even have enough time now to contribute to leste07:52
shhwipdid you used to contribute?07:53
siceloyeah and i plan to get back to it07:54
freemangordonuvos: any idea what   lid_cover_pipe in mce should be? also, isn;t it supposed to be inited to   COVER_OPEN?08:23
freemangordonyeah: https://github.com/community-ssu/mce/blob/88a69e02c61e24aa272e1f63971e03424c051b09/event-switches.c#L507 :(08:34
freemangordonnow this will change the things :(08:34
uvosfreemangordon: change what?08:41
uvosfreemangordon: this is to wake the device when the camera shutter is openend on n90008:41
freemangordonuvos: sure, but it is not inited properly in our mce08:43
uvosah ok08:44
freemangordonalso, I am not sure this is camera cover08:44
freemangordonsee   ts_enable_policy08:44
freemangordon"if (lid_cover_state == COVER_CLOSED)"08:44
uvosok08:45
uvosmaybe we should initalize all datapipes somewhere centrally08:45
freemangordonwell, the one who creates shall inti I guess08:46
freemangordonbut anyway08:46
uvosbut they are global08:46
uvosthey are created in mce.c08:46
freemangordonanyway, I'll try to fix that08:46
uvossetup_datapipe(&system_state_pipe, READ_WRITE, DONT_FREE_CACHE,08:47
uvoshttps://github.com/maemo-leste/mce/blob/f941e5fbd51f9245776d023fbc6fb56b4d4b8901/src/mce.c#L54608:47
freemangordonI suspect this is the reason why  ts_event_control() is called in more places than in fremantle08:47
freemangordon:nod:08:47
freemangordonevent-input shall init it08:47
uvosit is inited  to 008:47
uvosright there08:47
freemangordonwhich is wrong08:47
uvossure but this is where it shal be changed08:48
freemangordonshould be COVER_OPEN (1_08:48
freemangordonmaybe08:48
freemangordonthe point is that change will broadly change the behaviour08:48
freemangordonas now we have at least one   extra ts_event_control(TRUE) call08:49
freemangordonI'll have to clean-up them all08:49
freemangordon ttyl08:49
arno11Wizzup: (powercell) great !09:06
arno11*polarcell09:43
Wizzuparno11: I pushed the cmt_speech perms fix to leste-config10:35
freemangordonuvos: I think I fixed input-ctrl coding style, please have a look when you have som espare time14:55
freemangordontmlind: btw, I saw ants on n900 as well14:56
freemangordonWizzup: alarm TS issue should be fixed, please test15:04
norayrFolks libnotify notifications dont trigger vibration? I enabled vibrations but dino doesnt cause vibration. I need to not miss notifs, what can i do?16:10
freemangordonnorayr: leste notifications daemon lacks such functionality, see backscroll for what we're going to do16:15
freemangordonnoraso, ht exactly vibration pattern do you expect?16:24
tmlindfreemangordon: sounds like some pvr bug then16:26
tmlindmaybe firmware?16:26
norayrI dont know16:33
norayrDz once16:33
norayrTo notice that i got a message16:34
freemangordontmlind: mm16:36
freemangordon*mhm16:36
freemangordonnorayr: ok, but how the system should know what kind of vibration it should play? what is dino?16:37
freemangordon(that question is asked by both me and libnotify)16:38
norayrDino is a jabber client that sends notifs via libnotify16:38
freemangordonlike, for email we have one vibration pattern, but for sms (for example) another16:38
norayrAnd maemo shows maemo notifications16:38
norayrSo system knows16:39
freemangordonsure, but vibration is not part of desktop notifications specs, AFAIK16:39
norayrBut when does vibration happen?16:39
norayrI enabled it in settings16:39
norayrFor a call?16:39
norayrCan we add it to desktop notification spec?16:39
freemangordonwe?16:40
freemangordonhttps://specifications.freedesktop.org/notification-spec/notification-spec-latest.html#hints16:40
norayrHow people are supposed to get notified?16:40
freemangordonwell, those specs are maintained by freedesktop org, iiuc, ask them maybe16:40
norayrUnderstand16:40
freemangordonnative maemo applications use exensions16:40
norayrStill lets discuss it or think16:41
freemangordonsure16:41
norayrBecause we have libnotify16:41
norayrAnd maemo feels it16:41
norayrAnd i always miss notificatiions16:41
freemangordonI am not saying we shall not discuss, what I am saying that vanilla desktop notifications specs does not support vibration16:41
norayrBecause even if i look at the droid every 10 minutes i miss16:42
norayrAnd sometimes my internal clock doesnt work well16:42
norayrAnd 10 is 20 or 3016:42
freemangordonand in order dino to make phone vibrate, somebody shall teach it to tell maemo that it wants vibration16:42
norayrAnd imiss important stuff16:42
freemangordonnorayr: got it16:42
norayrBut we r a linux distro, and we use desktop programs here and desktop programs use libnotify already16:43
freemangordonbut, libnotify does not support vibration16:43
freemangordonthere is no standard way an application to tell libnotify that it wants device to vibrate16:43
freemangordonsee the link ^^^16:44
norayrBut can we when showing msg about notification also vibrate ourselves? We cannot change every linux program.16:44
freemangordonfor every notification?16:44
freemangordonmaybe, but I am not convinced this is a good idea16:45
norayrSince january i only use d4, i have only it and pinephone, pinephone i dont really use so i am a real case of usage16:45
norayrThank u16:45
norayrPlease discuss it16:45
freemangordonnorayr: there is no use to convince me about you having a real usecase :)16:45
freemangordonI understand that16:46
norayrMaybe someone else would use some mail client or something else.16:46
norayr(((:16:46
freemangordonthe point is that when we make system-wide changes/decisions, we shall consider all possible usecases16:46
norayrSure16:46
norayrI understand16:46
freemangordonBTW, do you know what category dino uses when calling libnotify?16:49
freemangordonnorayr: BTW, it seems that dino does not use libnotify16:50
freemangordonat least upstream seems to use GNotify16:52
freemangordonwhich, seems to not even support sound16:52
freemangordongh16:54
freemangordon*ugh16:54
freemangordonthey seem to play their own sound16:54
freemangordonhmm, not reall16:56
freemangordony16:56
freemangordonnorayr: I think I will be able to do something these days16:57
freemangordonuvos: I think we can get vibration for free, basically: https://github.com/maemo-leste/hildon-plugins-notify-sv/blob/master/lib/nsv-plugin.c#L4117:32
norayrfreemangordon: sorry, i am back online. thank you.19:24
arno11Wizzup: success ! latency removed: 20-30 ms in real conditions. it was tricky. Another process was the cause of latency (cmtspeech_ofono_test). And the code is not running exactly the same way for inbound and outbound calls22:20
arno11few lines modified and it's ok22:24
arno11but the code needs to be improved a bit22:28
Wizzuparno11: ok, great, please share22:55
* Wizzup zzz first22:55
arno11yes lol22:56
arno11gn22:56

Generated by irclog2html.py 2.17.0 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!