<norayr>
sicelo, Wizzup: it is much more useful than shazam. shazam doesn't work in background. you never know when shazam listens to your talks, and when not.
<norayr>
songrec on the contrary has a key to disable microphone
<norayr>
also has a check box to detect what is played from the phone's speaker.
<sicelo>
yes, i can see it's foss. i just wish to know how it talks to shazam servers - does apple explicitly provide an api, or this depends on undocumented behavior, which Apple could change anytime? ... the readme only explains how fingerprinting works
<norayr>
i guess it was written somewhere that there is an api.
<norayr>
and it can continiously recognize melodies.
<norayr>
you just leave it and then you have a list of songs.
<norayr>
and you can export it as csv.
<norayr>
(:
<norayr>
also the interface is reflowable, you use landscape mode, the bottom part comes to the right part
<norayr>
of the screen.
<norayr>
i guess it is some feature of gtk4, and we maybe don't have gtk4 in chimaera and that software may not have gtk3 source so i may not be able to package it.
<norayr>
also it is in flathub, i found it there.
<norayr>
and installed on pmos on pinephone.
<norayr>
it is very useful.
<norayr>
but i don't like flatpak's i like packages.
<norayr>
and even more i like gentoo ebuilds. (:
xmn has joined #maemo-leste
joerg has quit [Ping timeout: 260 seconds]
joerg has joined #maemo-leste
jrayhawk has quit [Ping timeout: 268 seconds]
jrayhawk has joined #maemo-leste
<dsc_>
I forgot how to show the battery percentage
<dsc_>
whats the command (or program) to see battery status?
doc has quit [Remote host closed the connection]
ikmaak has quit [Read error: Connection reset by peer]
ikmaak has joined #maemo-leste
tvall has quit [Quit: You have been kicked for being idle]
xmn has quit [Ping timeout: 268 seconds]
rafael2k has joined #maemo-leste
rafael2k_ has joined #maemo-leste
rafael2k has quit [Ping timeout: 272 seconds]
rafael2k_ is now known as rafael2k
<sicelo>
what kind of output does the command you want produce?
<Wizzup>
rafael2k: will do in a bit
<sicelo>
there's, of course, cat /sys/class/power_supply/battery/uevent
<sicelo>
and upower -d
<Wizzup>
rafael2k: in any case just to be clear, for crust to work, years ago, we had to pull in newer uboot
<Wizzup>
rafael2k: that's what I mentioned
akossh has joined #maemo-leste
rafael2k has quit [Remote host closed the connection]
<norayr>
uvos is not here. i want to tell him, i guess i need to tell him specifically that the volume up key on pp doesn't trigger the keyboard as it was before.
<norayr>
search key on droid triggers.
<norayr>
rafael2k: thank you for your work. i am waiting impatiently for the piggz camera on maemo. do you think you can package it?
<norayr>
once i built megapixels-legacy, now megapixels probably uses gtk4, which we probably don't have in chimaera, not sure. if gtk3, maybe we can build it. i like megapixels actually because i can customize it with my luts.
<norayr>
dsc_ i guess you are searching for upower -d
<norayr>
or you can just go to /sys/class/power and somewhere there you'll find some 'bat' files that contain the percentage.
<buZz>
its in /sys/class/power_supply/battery/capacity
<buZz>
but -only- if previously hit 100% since boot
<buZz>
thats such a drag imho
<buZz>
i generally just look at /sys/class/power_supply/battery/uevent , as its got voltage and discharge current too
<Wizzup>
rafael2k: so do you need me to package crust-firmware ?
<Wizzup>
rafael2k: sorry, do you need me to make a repo for you and add it to ci and such?
<dsc_>
norayr: ty
<dsc_>
& buZz
<buZz>
upower -d only updates once every 120 seconds :(
<Wizzup>
buZz: that is perfect for power management
<buZz>
right
<Wizzup>
you definitely would not want it any faster
<Wizzup>
it will be faster when on wall charger though I believe
<buZz>
but do you want to wait 2 minutes to see if charger is connected and charging? :D
<buZz>
aha > Gio is a library providing useful classes for general purpose I/O, networking, IPC, settings, and other high level application functionality
<Wizzup>
buZz: no, there is a upower.h include there
<buZz>
isnt that only for the constants?
<Wizzup>
no
<Wizzup>
up_client_get_devices2 etc
<buZz>
oh up_client_get_devices2()
<buZz>
lol @ 2
<buZz>
:D
<buZz>
and then with the device use g_ptr_array_index , which is gio.h i think?
<Wizzup>
that's what people do when they change the api :)
<buZz>
:P
rafael2k has quit [Remote host closed the connection]
<buZz>
the purple is 'remainder of USB current' which is powering the phone during charging
<buZz>
red is discharge, green is charge
<buZz>
background green is batt voltage
<buZz>
(not using any historic data btw, just realtime)
<buZz>
i think the purple one is 'always higher than red' because of the voltage differences
<buZz>
i'm not really sure why 'USB voltage' is below 5V in class/power_supply/usb/uevent
<buZz>
but maybe the current needs to be calculated to match the battery voltage, or something
<Wizzup>
cool!
<buZz>
still need to figure out why its using >5% cpu while not updating
<buZz>
or why pyqtchart's 'sized to window' chart extends above Y=0
<buZz>
:D
<sicelo>
because you're polling, maybe?
<buZz>
its not polling when not updating
<buZz>
maybe its running some eventloop thats not mine, normally these charts also allow panning/zooming, i disabled that but maybe the loop for it is still active
Pali has joined #maemo-leste
<Wizzup>
uvos: ping
norayr has left #maemo-leste [Error from remote client]
mro has quit [Quit: Leaving...]
xmn has joined #maemo-leste
uvos has joined #maemo-leste
<uvos>
Wizzup: yeah?
<uvos>
"1673712315 <norayr> i think forcing the vkb to appear by volume up is broken on pp."
<uvos>
yeah i know, but it works on mapphones and on vm so idk someone else who has a pp needs to debug this one
<rafael2k>
which will be nice to use at some for the alarm clock
<rafael2k>
this SCP processor which keeps running the ARM CPU is halted is pretty interesting indeed
<Wizzup>
rafael2k: what I mean is preventing sleep when say mpv is playing
<Wizzup>
or when a file is downloading
<rafael2k>
we can definitely do "wake locks" by using the alarmtimer wakeup device and "waking up" the device, for example, to check for new incoming messages (from internet) for eg
<Wizzup>
and yes we also need to set up what wakes it up
<Wizzup>
rafael2k: wake locks keep the device awake no matter what iiuc
<rafael2k>
ah, ok
<rafael2k>
this is easy to implement
<rafael2k>
it should be just a flag to mce as far as I understand
<uvos>
sure
<uvos>
imo just add a dbus if to flag mce awake
<uvos>
and a tiny wrapper script
<Wizzup>
there is also the actual kernel wake locks in mainline afaik
<uvos>
that the user can then put infront of relevant applications
<rafael2k>
I like this
<Wizzup>
maybe we can have an issue with a writeup
<Wizzup>
in any case just suspending on lock or screen off won't work well, as you can lock during calls even
<freemangordon>
ве алреадъ хаже либплаъбацк
<freemangordon>
oops
<freemangordon>
we already have libplayback
<freemangordon>
which does exactly what you're discussing
<bencoh>
rafael2k: ufraw might be a nice addition to the list btw
<bencoh>
in case you want an alternative to dcraw/qcam
<rafael2k>
bencoh: did not know it. cool!
<rafael2k>
I'm annoyed that Megapixel sets some white-balance related registers so the image looks fine, and I'm capturing I get greenish pictures clearly with no white-balance setting
<rafael2k>
btw, I'm using latest 5.15 kernel in the PP, as the new 6.1 in Chimaera I still did not manage to finalize the patchset for the cameras
<sicelo>
`dbus-send --system --type=method_call --print-reply --dest=com.nokia.mce "/com/nokia/mce/request" com.nokia.mce.request.req_shutdown` no idea if this does work in leste, but i guess it should