00:24
antranigv has joined #maemo-leste
00:59
maxwelld has quit [Ping timeout: 240 seconds]
01:00
antranigv has quit [Ping timeout: 268 seconds]
01:09
antranigv has joined #maemo-leste
01:17
maxwelld has joined #maemo-leste
02:17
xmn has quit [Ping timeout: 240 seconds]
04:03
norly has quit [Quit: Leaving.]
04:04
norly has joined #maemo-leste
04:52
joerg has quit [Ping timeout: 240 seconds]
04:54
joerg has joined #maemo-leste
05:00
elastic_dog is now known as Guest9547
05:00
elastic_1 has joined #maemo-leste
05:00
Guest9547 has quit [Killed (lead.libera.chat (Nickname regained by services))]
05:00
elastic_1 is now known as elastic_dog
05:06
Twig has joined #maemo-leste
05:50
<
freemangordon >
can this be done any shorter?
05:51
<
freemangordon >
this query get all album names, plus count and total length of songs in each album
05:51
<
freemangordon >
*gets
05:54
ceene has joined #maemo-leste
06:33
fab_ has quit [Quit: fab_]
07:03
Twig has quit [Remote host closed the connection]
07:08
fab_ has joined #maemo-leste
07:09
pere has quit [Ping timeout: 240 seconds]
07:11
moparisthebest has quit [Ping timeout: 246 seconds]
07:13
juiceme_ has quit [Read error: Connection reset by peer]
07:13
juiceme has joined #maemo-leste
07:15
moparisthebest has joined #maemo-leste
07:43
pere has joined #maemo-leste
08:28
<
Wizzup >
freemangordon: let me get a coffee and check
08:28
<
Wizzup >
freemangordon: this already seems pretty good to me
09:11
xmn has joined #maemo-leste
09:32
<
freemangordon >
Wizzup: it is good, but I shall replace tracker_metadata_get_unique_values_with_aggregates_async by creating sparql query from unique keys and aggregate functions (SUM/COUNT)
09:32
<
freemangordon >
so the above query is not usable :(
09:33
<
freemangordon >
the 'query' that produces the same results in fremantle is tracker-unique Audio:Album -c Audio:Album -u Audio:Duration
10:10
<
sicelo >
please help me here - i am not (yet) sure how to make backend->priv and daemon->priv available in the up_device_supply_battery_refresh function
10:11
<
sicelo >
also, i don't see who/what calls up_device_supply_battery_refresh, but more especially, how arguments are supplied to it
10:15
<
freemangordon >
you shall not make ->priv available to any other class but the one that defines it
10:15
<
freemangordon >
that's why it is called 'private' :)
10:16
<
freemangordon >
create appropriate functions instead, that manipulate private members
10:16
<
freemangordon >
but keep in mind this mean API change ;)
10:16
<
sicelo >
so from daemon, i want to know what action and low_percentage are, and from backend, i need to access config
10:17
<
freemangordon >
*means
10:17
<
freemangordon >
sorry, don;t have time now to look at
10:18
* sicelo
really hopes to avoid anything related to API changes ... i would like to see this merged with the least friction
10:19
<
Wizzup >
did you check out spinals upower work? maybe he did similar things
10:20
<
sicelo >
yes, i know it. his work is a massive change though, and would be a bit harder (for) me to convince upower people to merge it
10:23
<
sicelo >
with hardcoded action/low_percentage, it works fine, at least on my N900 and it would work for uncalibrated Droid 4 too
10:24
* sicelo
doesn't know C .. that's the bigger problem :-p
10:30
<
sicelo >
but i think i understand what fmg is saying. will see about writing some 'getter' function in daemon* and backend*
10:36
asriel has quit [Quit: Don't drink the water. They put something in it to make you forget.]
10:38
asriel has joined #maemo-leste
10:40
fab_ has quit [Remote host closed the connection]
10:50
<
sicelo >
solved for backend ... there's already a function for that, up_config_new()
10:51
<
sicelo >
oddly, the whole thing built without errors now, after only fixing backend->priv->config
11:10
Danct12 has quit [Remote host closed the connection]
11:10
Danct12 has joined #maemo-leste
11:44
fab_ has joined #maemo-leste
11:46
fab_ has quit [Remote host closed the connection]
11:49
fab_ has joined #maemo-leste
11:54
fab_ has quit [Remote host closed the connection]
12:03
fab_ has joined #maemo-leste
13:06
Boshtannik has joined #maemo-leste
13:07
<
Boshtannik >
Hi. I look for the way to start my SD card under qemu to do some compilation of python library
13:08
<
Boshtannik >
Was this already done by someone?
13:18
Boshtannik has quit [Ping timeout: 248 seconds]
13:20
fab_ has quit [Quit: fab_]
13:21
fab_ has joined #maemo-leste
13:22
jack_ has joined #maemo-leste
13:22
jack_ is now known as boshtannik
13:22
boshtannik has quit [Client Quit]
13:23
boshtannik has joined #maemo-leste
13:34
<
boshtannik >
test that i have connected successfully
13:34
<
freemangordon >
why not use VM image?
13:34
<
freemangordon >
boshtannik: ^^^
13:35
<
boshtannik >
i want to compile python kivy module on my PC, and then unplug the sd card, and use it on my n900
13:35
<
sicelo >
cross-compile :-)
13:35
<
freemangordon >
why not compile no n900?
13:36
<
boshtannik >
after long time hangs down.
13:36
<
freemangordon >
do you have swap enabled?
13:36
<
boshtannik >
if i kill Xorg, to let memory to be at least 70+ mb, it will least a bit longer.
13:36
<
boshtannik >
no swap enabled.
13:36
<
freemangordon >
well...
13:36
<
freemangordon >
enable some 1G swap
13:36
<
freemangordon >
or emmc swap that's already there
13:37
<
boshtannik >
i'am afraid to burn down my mem card. I'am from ukraine, and here no much opportunity for me to buy new one.
13:37
<
freemangordon >
how is it different if it is N900 or in PC?
13:38
<
freemangordon >
*if it is in
13:38
<
boshtannik >
i believe, i shall be able to unlock more ram, or cpu speed? No?
13:38
<
freemangordon >
sure, but from 'burning sd card' POV, I see no difference
13:39
<
boshtannik >
in case of using qemu, i assume not using swap from sd card, but ram memory of my pc instead.
13:39
<
freemangordon >
also, if compiling a single python lib burns you sd card, you;re better without it
13:39
<
freemangordon >
that's why I said emmc swap, the one that's used by fremantle
13:40
<
boshtannik >
frequent writings to flash card, burns mem card down. It has write resource.
13:40
<
freemangordon >
I know
13:40
<
boshtannik >
I was able to burn down mem cards in weeks, while using swap, with high frequence write onto it, during working with embedded devices.
13:40
<
freemangordon >
but, I am using swap on uSD card here for the last... how many? 5? years
13:41
<
boshtannik >
did you limit frequency of it's usage?
13:41
<
boshtannik >
(i'am not sure in quality of my mem card)
13:41
<
freemangordon >
my n900 with fremantle (which is my primary device) uses swap on uSD card
13:41
* freemangordon
checks what are file dates on that card
13:43
<
boshtannik >
just one more time got `cc: fatal error: Killed signal terminated program cc1
13:43
<
freemangordon >
still, a single lib compilation should not bring any sd card down
13:43
<
freemangordon >
check dmesg
13:43
<
freemangordon >
OOM kill, most-probably
13:43
<
boshtannik >
is there no possibility easily to launch OS from my SD card on Intel PC?
13:43
<
freemangordon >
you better cross-compile, as sicelo said
13:44
<
boshtannik >
'check dmesg' - ok
13:44
<
freemangordon >
also, you can enable swap only temporarily (for the time it is needed)
13:44
<
boshtannik >
better to use file, or whole partition?
13:44
<
freemangordon >
still, I don't think n900 with leste without swap can be used for anything but to test that it boots :)
13:45
<
freemangordon >
you already have swap partition on emmc
13:45
<
freemangordon >
it should be /dev/mmcblk1p3
13:45
<
boshtannik >
don't have it
13:46
<
freemangordon >
check with (s)fdisk -l
13:46
<
freemangordon >
you should see "786432 82 Linux swap / Solaris" or somesuch
13:47
fab_ has quit [Quit: fab_]
13:47
<
boshtannik >
where did it come from?
13:48
<
boshtannik >
i saw guide to launch it on. I will look for it in the net
13:48
<
freemangordon >
sorry, I have only fremantle n900 ATM, can;t check on leste
13:49
<
freemangordon >
well, it is basically "sudo swapon /dev/$whatever"
13:49
<
freemangordon >
where $whatever is the swap partition
13:49
<
boshtannik >
i would like to make it up to 2g
13:49
<
freemangordon >
you can;t
13:50
<
freemangordon >
this is on internal n900 memory
13:50
<
freemangordon >
which is already partitioned for fremantle
13:50
<
freemangordon >
well, you
*can* re-partition, but you will break fremantle
13:50
<
boshtannik >
on my pc, i have 8 cores, 32 gb ram, i guessed, i could compile anything in glimpse.
13:50
<
boshtannik >
ohhh. I see
13:51
<
boshtannik >
i'am not using it at all
13:51
<
freemangordon >
cross-compile is not that easy
13:51
<
boshtannik >
i just wanted to practice to write some gui applications with python + kivy.
13:51
<
boshtannik >
```freemangordoncross-compile is not that easy``` - I know
13:51
<
boshtannik >
ton of dependencies..
13:52
<
freemangordon >
it really does not worth the effort for a single lib
13:52
<
freemangordon >
:nod:
13:52
<
boshtannik >
that's why i was wondering, if i just could start OS from SD under emulated system
13:52
<
freemangordon >
we don;t have ARM qemu image
13:53
<
freemangordon >
well...
13:53
<
freemangordon >
there is qemu-n900
13:53
<
freemangordon >
but I am not sure it will boot to shell
13:53
<
freemangordon >
and still - does not worth the effort
13:53
<
boshtannik >
i have built it from source from qemu documentation guide
13:54
<
freemangordon >
it is a fork that's not maintained
13:54
<
freemangordon >
also, why not develop under VM?
13:54
<
boshtannik >
architecture?...
13:54
<
freemangordon >
x86-64
13:55
<
boshtannik >
kivy require window provider, which shall be got from: X11, or egl, or pygame, or whatever it has..
13:55
<
boshtannik >
or SDL2
13:55
<
boshtannik >
there is need to build sdl2 deps from source. and it does hangs during build sdl2-hid lib
13:56
<
freemangordon >
umm... I am not sure I understand the issue
13:56
<
freemangordon >
it is leste VM
13:56
<
freemangordon >
which boots to leste
13:56
<
boshtannik >
python -> kivy library. It is for drawing guid - pretty well. To draw window it needs window provider, as dependency.
13:57
<
freemangordon >
leste runs x11
13:57
<
boshtannik >
Ok. then i will need to port it to my n900 somehow, to enjoy, that i could write it to n900
13:57
<
boshtannik >
hmmm...
13:57
<
freemangordon >
what to port if it is pythion?
13:57
<
freemangordon >
*python
13:57
<
boshtannik >
it's python libreary, that depends on binaries
13:57
<
boshtannik >
compiled binaries
13:58
<
freemangordon >
and those are not in debian?
13:58
<
boshtannik >
now, i'am in the wondering if i could run under x11 window provider.
13:58
<
freemangordon >
sorry, I am missing the point
13:58
<
freemangordon >
leste runs hildon-desktop (WN) which runs in x11
13:58
<
freemangordon >
*WM
13:59
<
freemangordon >
leste is based on devuan chimaera, which is debian stable without systemd
13:59
<
boshtannik >
more than half year ago, i did not succeed to run my written program in leste, due to the some errors, i do not remember.
13:59
<
freemangordon >
you have debian repositories enabled by default, so you can install whatever is tehre
14:00
<
freemangordon >
well, things changed a lot since then
14:00
<
freemangordon >
we were on oldstable, now we are on stable
14:00
<
freemangordon >
so, if that library is in debian repos, there is no need for you to compile anything
14:00
<
boshtannik >
i glanced that it begun eat much more ram, but got better in some way. I can not tell what's changed, but i feel it more solid.
14:01
<
boshtannik >
so i will try to install prebuilt python package.
14:01
<
freemangordon >
sudo apt install python-kivy should work
14:02
<
boshtannik >
ok, will do just now.
14:02
<
freemangordon >
if you dist-upgraded to chimaera ofc
14:02
<
freemangordon >
or if you use recent enough image
14:02
<
boshtannik >
i flashed latest n900 image onto my sd card few days ago
14:02
<
freemangordon >
then it should be chimaera
14:03
<
freemangordon >
(debian stable)
14:03
<
boshtannik >
i will write gui for fm transmitter- if it will work
14:04
<
freemangordon >
iirc module is not enabled in the kernel, there is an issue for that
14:04
<
freemangordon >
but it is kind of low prio
14:05
<
boshtannik >
it would be nice, i think, if nokia would pick up forked jolla company, in order to continue it's work on good phones.
14:06
<
boshtannik >
or, at least would enable bootloader to let install other os's
14:07
<
boshtannik >
by the way' Got for some reason ``` python-kivy : Depends: python-docutils but it is not installable
14:07
<
boshtannik >
Depends: python-pygments but it is not installable
14:07
<
boshtannik >
when write python, what does it assums, use python2 or python3?
14:08
<
freemangordon >
hmm, hard to say :)
14:08
<
freemangordon >
Wizzup: ^^^
14:08
<
freemangordon >
I think python2
14:09
<
boshtannik >
regular call python (assume /usr/bin/pyhon) - gets python 2.7
14:10
<
freemangordon >
hmm I guess it should be python3-kivy
14:11
<
boshtannik >
now i guess it too
14:11
<
freemangordon >
yep, "sudo apt install python3-kivy" works in the VM
14:12
<
boshtannik >
is it workable to run simple hello world kivy app?
14:12
<
freemangordon >
no idea?
14:12
<
freemangordon >
where it is?
14:12
<
freemangordon >
python-kivy-examples?
14:12
<
boshtannik >
i will find some.
14:13
<
freemangordon >
don;t
14:13
<
freemangordon >
sec
14:15
<
freemangordon >
I installed only python3-kivy and python-kivy-examples
14:15
<
boshtannik >
it shall be enough
14:15
<
freemangordon >
no idea if it will work on n900 though
14:15
<
boshtannik >
even with no examples installed
14:15
<
boshtannik >
ignored.
14:16
<
boshtannik >
sdl2 ignored.
14:16
<
freemangordon >
not really
14:16
<
freemangordon >
] Backend used <sdl2>
14:16
<
boshtannik >
there are some env variables to say to kivy what window provider to use
14:16
<
freemangordon >
still, that example runs. wanna screenshot?
14:17
<
boshtannik >
output seems fine!
14:17
<
freemangordon >
sure
14:17
<
boshtannik >
would be great
14:17
<
freemangordon >
maybe install python3-kivy and python-kivy-examples on n900 and try to start some example there
14:18
<
freemangordon >
though I still recommend using VM for application development
14:18
<
boshtannik >
python-kivy-examples - i assume will pull python-kivy which is python2.
14:18
<
freemangordon >
no idea what it will pull
14:19
<
boshtannik >
I'am glad being using that method too.
14:19
<
freemangordon >
I installed python3-kivy and python-kivy-examples, in that order
14:19
<
boshtannik >
ok. will install examples too
14:21
<
boshtannik >
blk1p3 for swap?
14:21
ceene has quit [Ping timeout: 264 seconds]
14:21
<
boshtannik >
never mind
14:22
<
freemangordon >
can't check now
14:22
<
boshtannik >
yes, i have checked
14:22
<
boshtannik >
just forgot where to search from
14:24
<
boshtannik >
about transmitter: it was on the main page ` FM Transmitter Yes Install v4l-utils, then enable chip and set frequency using: v4l2-ctl -d /dev/radio0 -c mute=0,tune_power_level=120 -f <freq>`
14:25
<
freemangordon >
right, but int the recent kernels we kinda forgot to enable the driver in kernel config :)
14:26
<
freemangordon >
sicelo: that is still the case, right? ^^^
14:26
<
sicelo >
please ask uvos__
14:27
<
boshtannik >
ahh. Got it. No, Transmitter is that's not so much important, but would be better to have it.
14:27
<
freemangordon >
boshtannik: also, there is fmtxd, I am not sure a standalone application is a good idea
14:27
<
boshtannik >
i just love having fun in the public transport, launching some porn sounds, and seing passengers being angry.
14:28
<
freemangordon >
heh
14:28
<
freemangordon >
we have to port that to leste
14:29
<
boshtannik >
Too much work is done.
14:29
<
boshtannik >
This project just has to get it's own hardware!
14:30
<
freemangordon >
I would prefer to see more hardware supported by upstream kernel
14:30
<
freemangordon >
that would automagically (more or less) mean - more devices supported by leste
14:30
<
boshtannik >
with much possible interfaces included. IrDa, Bluetooth, Fm, Lora, 433Mhz, etc..
14:31
<
boshtannik >
just to let it to be raw, and let it to be done by community, as nokia did
14:31
<
maxwelld >
pmos folks upstream drivers so leste gradually benefits from this.
14:31
<
boshtannik >
to be written as modules
14:31
<
freemangordon >
maxwelld: :nod:
14:31
<
boshtannik >
i have this funny error
14:32
<
boshtannik >
Please follow the installation instructions and make sure to compile Kivy
14:32
<
boshtannik >
in other words, it's like said to me GFYS
14:32
<
maxwelld >
boshtannik, pine64 tried that all... it's pretty hard and it's another world and work at all.
14:33
<
maxwelld >
leste supports pinephone.
14:33
<
boshtannik >
and it does have hardware keyboard?
14:33
<
freemangordon >
yes
14:33
<
freemangordon >
well, as an attachment
14:33
<
freemangordon >
not built-in
14:34
<
freemangordon >
no idea, I don;t hav eone
14:34
<
freemangordon >
anyway, /me is afk
14:34
<
freemangordon >
bbl
14:34
<
boshtannik >
i would love to purchase at least gpd pocket few years ago, but it was not in my country
14:47
<
boshtannik >
how can i check, that sdl2 is using in my n900? or might be used?
14:56
hexagonwin has quit []
14:56
hexagonwin has joined #maemo-leste
15:07
pere has quit [Ping timeout: 256 seconds]
15:12
dza has quit [Quit: Ping timeout (120 seconds)]
15:14
dza has joined #maemo-leste
15:23
<
sicelo >
rephrase question
15:24
<
dsc_ >
if an app is using sdl2 -> check via the dynamic linker `ldd`
15:24
<
dsc_ >
if sdl2 is installed -> check the package(s)
15:28
<
aczid >
something like this right: dpkg -S libsdl2
15:44
<
boshtannik >
Thanks.
15:45
<
boshtannik >
i have run vds of leste. On first boot the popup appeared with hints about lock code, swap, etcc. And here is no way to close it.
15:49
<
sicelo >
click the X on top right
15:50
<
boshtannik >
no x at top right
15:51
<
boshtannik >
this wellcome screen is so wellcome, that it has no X button to close it. But i can scroll over it
15:51
<
boshtannik >
and scroll it back
15:58
<
boshtannik >
Did someone tried to run doom3 on n900 leste?
16:00
<
dsc_ >
boshtannik: probably a bit too heavy for n900 ;)
16:00
<
boshtannik >
someone did on previous maemo version
16:03
pere has joined #maemo-leste
16:10
<
boshtannik >
i saw screenshow somewhen on the internet, can no longer find it
16:14
uvos__ has quit [Ping timeout: 240 seconds]
16:18
fab_ has joined #maemo-leste
16:20
<
boshtannik >
I have started leste in VM. How can i connect it to the internet?
16:21
<
dsc_ >
are you using QEMU?
16:37
uvos__ has joined #maemo-leste
16:45
<
boshtannik >
I tried
16:45
<
boshtannik >
Now it is under virtualbox
16:50
<
Wizzup >
it should have ethernet already
16:50
<
Wizzup >
but you can install the libicd-network-dummy to trick maemo into tihnking it has internet
16:54
fab_ has quit [Ping timeout: 268 seconds]
16:54
<
boshtannik >
thanks. But i need internet. LL try reboot
17:00
<
boshtannik >
it helped
17:04
Twig has joined #maemo-leste
17:38
ceene has joined #maemo-leste
18:01
akossh has joined #maemo-leste
18:02
arno11 has joined #maemo-leste
18:15
arno11 has left #maemo-leste [#maemo-leste]
18:56
fab_ has joined #maemo-leste
19:15
ceene has quit [Ping timeout: 240 seconds]
19:16
Twig has quit [Remote host closed the connection]
19:31
arno11 has joined #maemo-leste
19:33
<
sicelo >
Wizzup: do you have Librem5 devkit btw?
19:46
<
boshtannik >
Compilation of python-kivy dependencies on my n900 jst failed
19:46
<
boshtannik >
it was last for about 4+ h
19:47
<
boshtannik >
is there any other way to compile directly onto sd card under qemu?
19:48
<
boshtannik >
very frustrating
20:10
elastic_1 has joined #maemo-leste
20:10
elastic_dog has quit [Killed (calcium.libera.chat (Nickname regained by services))]
20:10
elastic_1 is now known as elastic_dog
20:11
<
Wizzup >
sicelo: no
20:37
fab_ has quit [Quit: fab_]
20:43
boshtannik has quit [Quit: boshtannik]
21:02
arno11 has left #maemo-leste [#maemo-leste]
21:20
elastic_dog has quit [Read error: Connection reset by peer]
21:20
elastic_dog has joined #maemo-leste
22:59
akossh has quit [Quit: Leaving.]
23:57
uvos__ has quit [Ping timeout: 240 seconds]