libera/#maemo-leste/ Sunday, 2023-02-05

* enyc meows00:23
enycpeetah: don't remmeber that one, i wonder how it afflicts ipv6 addy assignment on wifi ;o00:23
sicelopeetah: to get the same MAC used in Fremantle, wl1251-cal needs to be fixed first06:10
SuperMarioSFhmmmm07:52
SuperMarioSFHi there07:52
SuperMarioSFIs there a way to manage charging speed?07:52
SuperMarioSFMy droid4 seems always charging at 532000, I changed to 1000000, will this affect something?07:53
siceloit's fine to do that08:20
freemangordonWizzup: in case normal sink is provided, there is no need to call pa_context_get_server_info(). Also, first commit removes the check if the provided normal actually correct10:10
freemangordondo you want me to rework those 2 commits the way I think it shall be and request back a review?10:10
Wizzupfreemangordon: fine10:17
Wizzupplease do10:17
freemangordonok10:17
WizzupI'll be away most of the daytime, dofosdem thistill10:21
rafael2kfreemangordon, lemme know, I can test here too10:47
rafael2kbtw, pp kernel bumped to 6.1.910:48
Wizzup:)10:52
freemangordonrafael2k: ok10:54
freemangordonWizzup: is this even possible? https://github.com/maemo-leste/maemo-statusmenu-volume/blob/find-sink-name/src/item.c#L69010:54
Wizzupfreemangordon: I took this from sphone, maybe pa dies during the code10:57
freemangordonseems like no, I'll remove the check10:57
Wizzupyou sure?10:57
freemangordonnone of the examples I found over the inet checks that10:57
freemangordonalso, who will call the callback if server dies?10:57
freemangordonnot to say that the check just warns and later on i is dereferenced10:58
freemangordonif that's what sphone does, it shall be fixed as wel10:58
freemangordonWizzup: see http://man.hubwiz.com/docset/FFmpeg.docset/Contents/Resources/Documents/api/pulse__audio__common_8c_source.html#l0017910:59
freemangordonI would trust ffmpeg10:59
freemangordonofc PA documentation is missing, but it is a common sense to not call callbacks with NULL data, unless you provide error too11:01
Wizzupwell the cb could be called from libpulse of course11:01
Wizzupit's not dbus interaction11:01
Wizzupin any case, fine with whatever11:01
freemangordonok I'll remove that check11:02
freemangordonhmm, ok, ok11:02
freemangordonwill fix it11:03
WizzupI have to try to find pavel today to give him a d411:04
freemangordoncheer him from fmg :)11:04
Wizzupwill do11:10
freemangordonWizzup: rafael2k: uvos__: https://github.com/maemo-leste/maemo-statusmenu-volume/pull/4/commits/c5c2e4bb4ef900441433749acd8a008b8a93715011:16
freemangordonseems to work in the VM11:16
freemangordonrafael2k: the branch to test is https://github.com/maemo-leste/maemo-statusmenu-volume/tree/find-sink-name11:17
freemangordonWizzup: I added uncrystify.cfg to the project :)11:27
freemangordon*uncrustify.cfg11:28
rafael2kok11:33
Wizzupty11:37
rafael2kworking!11:49
freemangordonrafael2k: please review https://github.com/maemo-leste/maemo-statusmenu-volume/pull/4 if you have couple of minute11:50
freemangordons11:50
freemangordonif there are no issues, I'll release it later on11:50
SuperMarioSFsicelo: so... why 532000 by default if 2000000 is just fine?16:58
SuperMarioSFsome workaround for conneting to a PC?16:58
SuperMarioSFand.. if we can know if a PC is connected or not, maybe we can make it automatically switch between those values?16:59
freemangordonSuperMarioSF: lots of kernel code is missing17:31
freemangordonI was about to send patches upstream. And I will, most probably, some day17:31
freemangordondefault of 500mA is because there is no charger type detection implemented17:35
freemangordoneven this is bad, but is better than defaulting to 1800mA17:36
SuperMarioSFokay... I guess I will create a script to change that value to 1800000 every boot.18:40
rafael2kfreemangordon, ok!18:45
buZzSuperMarioSF: yeah i default to 1200000 aswell19:03
buZzcant spend all day waiting for a charge to complete :D the 532000 is barely enough to run the whole phone, so i dont understand that default either19:03
buZzSuperMarioSF: i run this every boot ; http://space.nurdspace.nl/~buzz/maemo/bermbom.sh19:04
buZz(not just increase charge current, but also max voltage to the right value)19:04
SuperMarioSFseems good... but.... WTF is the /usr/bin/toilet ??19:06
SuperMarioSFoh19:08
SuperMarioSFsome ascii art generator19:08
SuperMarioSFnvm19:08
SuperMarioSFso... why change the voltage twice on USB? setting that on battery will reset that?19:12
buZzSuperMarioSF: it wont take in 1 try19:13
buZzno clue why19:13
SuperMarioSFbtw.. what is the proper way to add a script into rc.d? I used to systemd and basically forget how to write a SysV startup script...19:18
SuperMarioSFI guess I just add to some rc.local ?19:18
SuperMarioSFnvm I will learn that later19:18
buZzi just plonked it in rc.local , the toilet line doesnt make sense then19:20
SuperMarioSFI added that anyways, maybe it will look nice on boot.19:21
buZz:) you wont see it, alas19:21
buZzi was hoping rc.local would get executed earlier, but it'll only run after whole hildon is running already19:22
SuperMarioSFI basically forgot how SysV style startup looks like.19:22
buZzSuperMarioSF: you have many example in /etc/init.d/ ? :)19:22
SuperMarioSFis there a thing that could start early?19:22
buZzi'm not sure how to make something start earlier, never really had a need19:22
SuperMarioSFdoes the charger UI load everytime it boots?19:25
SuperMarioSFmaybe we can add there.19:25
buZznot sure which UI you mean?19:25
buZzthe statusmenu icon? i think hildon starts that19:25
SuperMarioSFthe fullscreen charger19:26
SuperMarioSFthat big battery19:26
buZzoh chargemode19:26
buZzactually, i think it does!19:26
buZzand always checks to see if charging etc19:26
SuperMarioSFso that is a nice place to setup some charging related thing.19:26
buZzcould plonk the 'go fast' stuff in its init script19:26
SuperMarioSF* Gotta go fast!19:27
buZz^_^19:27
buZzlive fast, charge hard!19:27
SuperMarioSFand try not catch on fire :P19:27
SuperMarioSFthat "Gotta go fast" were printed, but immediately ruined by other messages.19:33
SuperMarioSFnow it looks like this: https://paste.mozilla.org/iN1di8nP19:36
SuperMarioSFwell19:43
SuperMarioSFI guess i breaked the charge-mode19:43
SuperMarioSFit seems change those thing can break the detection of charge-mode19:43
SuperMarioSFso it never enter that screen19:43
SuperMarioSFlemme check that19:44
SuperMarioSFyup19:46
SuperMarioSFconfirmed19:46
SuperMarioSFthose settings should not be there, or need a 3 second delay19:46
SuperMarioSFwait for some time helped.19:50
WizzupSuperMarioSF: there are charger patches to make it better, but they are not ready/merged yet19:58
freemangordonseems I am out of the physical discomfort I had for the last two weeks so I can restart work on charger patches19:59
freemangordonrafael2k: BTW, I am not sure I understand the question on teh bugtracker, maybe Wizzup can answer20:00
* Wizzup just got back from fosdem, will read backlog in a bit20:04
WizzupI met with pavel and gave him another d4, he was quite happy with the latest image, but said the battery doesn't last long, we discussed the 4.2v vs 4.35v20:10
WizzupSuperMarioSF: also you just add a script to /etc/init.d/ and 'rc-update add <scriptname>' default20:11
SuperMarioSFHi Wizzup20:29
SuperMarioSFHow about those XT883s?20:30
Wizzupsec20:32
WizzupSuperMarioSF: I mailed you that I recieved them, they are in front of me now20:34
WizzupI just got back from FOSDEM2023, but I can try to turn them on tonight or tomorrow20:34
SuperMarioSFokay.20:40
SuperMarioSFI received the email but there is just "received", no first impression provided.20:41
rafael2kfreemangordon, hey, sorry, I just wanna know in case of a device with more than one sound device, if the setting in .ini will still be able to be used20:41
SuperMarioSFwhich is expected, you just came back.20:41
WizzupSuperMarioSF: yeah, I got back on thursday eve, then went to fosdem shortly thereafter20:51
freemangordonrafael2k: yes, in theory20:52
freemangordonmaybe try it, in case we broke something20:55
Wizzuptmlind: I think your idea about the modem dropping on a low battery seems more plausible now https://wizzup.org/droid-bionic-modem-drop.txt22:50
Wizzupnote that the battery of the droid wasn't low at all, it was at 50% at least22:51

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