libera/#maemo-leste/ Tuesday, 2023-02-21

buZzsicelo: i think you can do some USSD stuff from commandline, isnt it on wiki?00:14
buZzWizzup: yes, its a seperate distro, afaik 1-2 maintainers00:14
norayrradv, my friend managed to install it by using wiki instructions to emmc.10:45
radvyeah?10:51
radvi should try.10:57
radvdo you know what version was used?10:57
norayrit was a year ago, in the summer or autumn.11:10
norayrhe said it was straightforward. just repeated wiki instructions and it worked.11:10
norayri never tried.11:11
radvseems like a semiearly version11:23
radvi wonder when the note on the wiki was addes...i can go through the history and see11:24
radvthe not looks kinda out of place11:24
radv*note11:24
radv*added11:25
radvug, this keyboard is not great11:25
uvos__what keyboard? the vkb? yeah its not great12:30
radvthe note about leste currently not working on the pine phone emmc was added august 15 202212:48
radvwell, yeah, but i was refering to the pine phone hardware keyboard though...12:49
radvwhen i was complaining i was trying to hold it and type.  currently i have it set on a table while typing; its a little better this way12:51
rafael2kufff, pinephone keyboard working again!13:04
rafael2kIt seems much better than the one I bought and burned 1 year ago13:05
rafael2kkeys are smoother13:05
sicelo:-)13:06
sicelorafael2k: you may also want to look in backlog and assist the new pp user who arrived here a day or two ago13:06
rafael2ksure13:07
rafael2know I have the USB back for ethernet13:08
rafael2k: )13:08
siceloi found this interesting over the weekend regarding ppkb - https://xnux.eu/log/#07813:08
rafael2klets import this: https://xff.cz/git/pinephone-keyboard/13:11
rafael2kI can package13:11
rafael2kbtw, new 6.1.12 have a new cpuidle support it seems, better battery life13:14
rafael2kI'll upgrade the firmware of it13:15
rafael2kI think we could add a script in our boot that checks the kk kbd firmware version and updates it if needed13:16
rafael2kthe first impression, without upgrading the firmware, it all works as expected13:19
uvos__im kindof suprized they use 20mW for the keyboard - even when active this sounds extreamly excessive13:22
rafael2kfirmware upgraded, all smooth13:26
rafael2kI think what drained to zero my pp kbd last time was this issue13:27
rafael2k:/13:27
rafael2kgood it is fixed now13:27
rafael2kI have a feeling we could just upgrade both the modem and keyboard for the user, may be just ask the user when installing the modem or keyboard packages13:28
rafael2k https://xff.cz/git/pinephone-keyboard/plain/docs/PinePhone%20Keyboard%20Schematic%20V1.0-20211009.pdf13:30
rafael2kmay be also change the governor to powersave when running on battery, and schedutil when in mains13:30
uvos__the powersave gov is never a sane choice13:33
rafael2kI kind of... always use only it13:34
uvos__The CPUfreq governor "powersave" sets the CPU statically to the13:34
uvos__lowest frequency within the borders of scaling_min_freq and13:34
uvos__scaling_max_freq.13:34
uvos__Not what you want13:35
uvos__really ever13:35
uvos__it also costs power on most modern cpus13:35
uvos__because it keeps them out of idle states longer13:35
uvos__by forceing them to be clocked lower while working13:35
rafael2kdid not know that13:36
rafael2kso which scheduler to use when wanting to maximize battery life?13:36
rafael2kI remember compiling the kernel, powersave was the only option not to suck more battery then my wallcharger could pump in13:37
rafael2k*than13:37
uvos__that can only be if something is very wrong13:38
uvos__ie the cpu is busy at all times for some reason13:38
uvos__the traditional awnser would be ondemand or interactive13:38
rafael2kcpu-idle was broken btw13:38
rafael2kjust fixed13:38
uvos__but with schedutil and on cpu govoners its harder to say, needs benchmarking really13:39
rafael2kright, I'll take a look with the 6.1.1213:39
arno11Hi guys17:31
arno11Is FM transmitter enable in stable img kernel ?17:31
arno11*N90017:33
WizzupI think it ought to work in n900, through some alsa controls, but I haven't tried myself17:33
Wizzupsicelo might know17:33
siceloyes it works17:34
siceloi documented in wiki how to make it work17:34
Wizzupsweet :)17:34
rafael2k https://www.abradig.org.br/maemo-crazyness/ppkbd.jpg17:34
siceloarno11: "Install v4l-utils, then enable chip and set frequency using: v4l2-ctl -d /dev/radio0 -c mute=0,tune_power_level=120 -f <freq>"17:34
rafael2kFM tx works?17:34
rafael2khow coooool17:34
bencohneat17:35
siceloif it doesn't work for you, please ping :-)17:35
arno11ok cool but i already tried and nothing is present in dev/radio17:35
rafael2know I have my pocket notebook  : )17:36
arno11so that's why i'm asking17:36
siceloarno11: mmm, that's odd.17:36
sicelolsmod | grep 4713 - what does that return?17:36
arno11nothing lol17:38
sicelogrep for 4713 in the config ... /boot/config..17:38
sicelowhat do you get then?17:38
* sicelo doesn't have Leste install handy, but hopes that module is enabled17:39
arno11ok let's try just few sec plz17:39
rafael2know I have battery_axp20x_battery and battery_ip5xxx_battery :/17:41
rafael2kthere is some work to show a unified battery report17:41
Wizzuprafael2k: how would you expect it to work from ux point17:42
rafael2k1st approach - include kernel support to report a unified status17:43
rafael2k2nd - report both status somewhere17:43
arno11sicelo:  CONFIG_RADIO_SI4713 is not set17:43
sicelorafael2k: upower aggregates the batteries for you, and exposes them in DisplayDevice17:43
rafael2kstill need to think17:43
rafael2kupower -i /org/freedesktop/UPower/devices/DisplayDevice17:43
rafael2k  power supply:         yes17:44
rafael2k  updated:              Tue 21 Feb 2023 07:42:06 PM MSK (106 seconds ago)17:44
rafael2k  has history:          no17:44
rafael2k  has statistics:       no17:44
siceloarno11: so that's the problem. Wizzup , please assist with enabling that on Leste kernel17:44
rafael2k  battery17:44
rafael2k    present:             yes17:44
arno11sicelo: CONFIG_RADIO_SI4713 is not set17:44
rafael2k    state:               discharging17:44
rafael2k    warning-level:       none17:44
rafael2k    energy:              0 Wh17:44
rafael2k    energy-full:         0 Wh17:44
rafael2k    energy-rate:         0 W17:44
rafael2k    percentage:          198%17:44
rafael2k    icon-name:          'battery-full-symbolic'17:44
rafael2k198% ?17:44
arno11sicelo: radio not set17:44
rafael2kno good job :P17:44
sicelorafael2k: lol. yes something broke recently. see https://gitlab.freedesktop.org/upower/upower/-/issues/22317:44
* sicelo doesn't really like upower tbh ... but it seems to be what we're stuck with17:45
rafael2kwe can fix it17:45
rafael2kshould not be so hard17:45
siceloyes. in that issue, it was even tracked down to the offending commint17:45
rafael2kanyway, I read megi I think is working on a unified driver or something17:45
rafael2ksicelo, cool!17:45
rafael2klemme read it17:46
arno11sicelo: ok thx for the auick answer17:46
arno11*quick17:46
siceloyou can submit an issue on github, unless Wizzup has some free time sooner to add that config in kernel and rebuild17:47
Wizzupfree time in the last two weeks has been 0 unfortunately17:47
sicelo:-)17:47
Wizzupshould be better again after this week17:47
rafael2ksicelo, tks! read the issue... pretty cool screenshots indeed17:49
siceloyw17:50
siceloi'm not sure if Leste is using that version of upower though17:50
rafael2k1:0.99.11.1-1+m717:51
rafael2khum17:52
rafael2kit seems the issue was before either17:52

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