libera/#maemo-leste/ Sunday, 2023-11-12

arno11Wizzup: sicelo: it seems limits.conf can't do the trick. seems not possible to set very high nice or rt priority without sudo15:02
arno11and seems limits.conf not working very well on most modern distros15:03
arno11i tried to manually use my call stuff without sudo, it works but not as good as using sudo15:05
arno11on the other hand, (with custom transitions+daemon.conf integrated) and just a basic bash script to run, calls are working well15:09
Wizzupyou need to re-login if you change limits15:11
Wizzupfwiw15:11
Wizzupso sudo su - user15:12
Wizzupor reboot15:12
Wizzupnot sure if this is the problem, just fyi15:12
arno11i already tried15:14
arno11and doublecheck in lot of other distro docs/forums15:15
Wizzupok15:16
Wizzupi'm having lunch, but will look at the other prs today as well :)15:17
arno11ok cool :)15:17
Wizzupsicelo: the iproute2 stuff, is that two PRs, or is there more22:10
Wizzupsicelo: and does it need to depend on iproute2 explicitly?22:10
freemangordonugh https://github.com/community-ssu/qt-x11-maemo/commit/b235dac554f4b78060c62ff8eef6d6b92c5a762622:11
Wizzupfreemangordon: sounds like you had a fun evening :D22:11
freemangordonyeah22:11
Wizzupuvos: I wonder if Pavel's mail about no ringtone is related to the alarm not working per your earlier report22:18
arno11Wizzup: for few weeks, indeed, we have troubles with ringtones22:21
arno11tweaking priorities solves 60-70% of the problem22:22
arno11seems kind of wakeup issue22:22
arno11seems not n900 or d4 specific22:23
Wizzupreally? they work for me22:24
Wizzupso I think there's something else going on, I think uvos said it's not possible to set/change ringtone or something22:24
arno11just have a look on Pavel email, i have exactly same symptoms on n90022:25
arno11and yes impossible to change ringtone22:25
ac_laptophi, when booting maemo-leste the first time, is it normal to have no swap ? Is it normal if /etc/fstab contains only the /boot line ?22:25
arno11ac_laptop: hi, is it on n900 ?22:27
ac_laptoparno11: yes, sorry I didn't specify22:27
arno11ok it is supposed to be activated but if not you can easely activate it using sudo swapon /dev/mmcblk1p322:29
arno11see leste.maemo.org/Nokia_N900 for more info22:29
ac_laptoparno11: I did, it worked, I'd like to know if I should add it to the /etc/fstab file22:30
arno11iirc no22:30
Wizzupyou can add it to /etc/fstab, the swap22:31
arno11it should be done automatically22:31
ac_laptopok I'll reboot and see22:31
WizzupI thought I did this in leste-config but apparently not22:31
Wizzupah yes: debian/leste-config-n900.postinst22:31
Wizzupif egrep -q 'swap' /etc/fstab; then # No need to change anything true;22:31
Wizzupelse echo "/dev/mmcblk1p3    none   swap defaults          0    0" >> /etc/fstab22:31
Wizzupfi22:31
ac_laptopI still haven't figured out how to reboot the N900 so that U-Boot gives me a boot menu at startup though22:38
ac_laptopI thought booting from USB was the key but it doesn't work anymore now22:38
ac_laptopit keeps booting on the eMMC22:38
freemangordonWizzup: https://github.com/maemo-leste/qtstyleplugins/commit/c246f462f5496b1c2bd0ed99d9e4af69b46b2aad should fix lots of qt drawing artefacts (like in calucaltor buttons etc)22:39
Wizzupgreat22:42
Wizzupac_laptop: you need the keyboard open22:42
Wizzupac_laptop: literally just that22:42
ac_laptopWizzup: thanks , it works !22:43
ac_laptopis it unadvised to use commands such as reboot and halt ?22:50
ac_laptopI've just used halt and all I see is a TTY with Xorg error lines, not sure if the OS freezed or if it's taking its time rebooting22:51
ac_laptopok it was just taking its time I guess22:51
arno11ac_laptop: (it takes usually around 45 sec to shutdown)22:52
freemangordonac_laptop: you can user reboot and poweroff22:54
freemangordon*use22:54
freemangordonalso, if you manage to trace why reboot/poweroff takes so long, I will owe you a beer or whatever your favorite drink is22:55
ac_laptopfreemangordon: does the N900 allow to access a TTY without killing Xorg ?22:58
WizzupI think powervr isn't happy with it, but you can try chvt over ssh22:59
freemangordonit is not powervr, but xorg driver, but still22:59
ac_laptopoh also I need to know why U-Boot doesn't display Maemo-leste as a boot line and makes me go into the boot console and type sdboot23:00
freemangordonin theory it should work https://github.com/maemo-leste/xf86-video-omap/blob/master/src/omap_driver.c#L104423:00
freemangordonac_laptop: I think you should rebuild u-boot scripts/config files/ whatever23:01
freemangordondon't remember the command though23:01
* freemangordon checks23:01
WizzupI think it should just be picked up in the 2020 uboot23:01
Wizzupor maybe 2013 one :)23:02
freemangordonu-boot-update-bootmenu23:02
ac_laptopWizzup: this is also something I don't understand, the U-Boot I have still displays 2013.0423:03
freemangordonac_laptop: iirc you have to boot into fremantle and execute it from there23:03
freemangordonWizzup: does 'our' uboot have those scripts in the package?23:03
Wizzupyes, should23:04
Wizzupac_laptop: maybe you didn't load the new one?23:04
ac_laptopfreemangordon: fremantle is the name of the OEM Maemo, right ?23:04
freemangordonbut yeah, it was long ago I played with it23:04
freemangordonyes23:04
ac_laptop# ./0xFFFF -m u-boot-2020.12-pali.bin -l23:06
ac_laptopLoad image:23:06
ac_laptopFile: u-boot-2020.12-pali.bin23:06
ac_laptop    Image type: kernel23:06
ac_laptop    Image size: 270592 bytes23:06
ac_laptopSending image header...23:06
ac_laptopSending image...23:06
ac_laptop  100% [#################################################################]23:06
ac_laptopDone23:06
ac_laptopthat was the result of my flashing23:06
ac_laptopfreemangordon: I just ran u-boot-update-bootmenu from freemantle, it didn't seem to change anything23:11
WizzupI think you should be able to select 'boot from sd card' or something23:12
Wizzupac_laptop: I'm too late to tell you this now, but if you flash it directly like that, there is (I think) a chance that you cannot boot to fremantle anymore, as I think that is normally where the attached kernel resides, but I might be wrong23:12
freemangordondid you add the appropriate entry in /etc/bootmenu.d ?23:12
Wizzupnothing that can't be fixed, but fyi (also I might be wrong :) )23:12
Wizzupfreemangordon: I am not sure if we have this documents on our wiki23:13
freemangordonWizzup: yes, you are right23:13
Wizzupdocumented*23:13
ac_laptopfreemangordon: no, I'll try :)23:13
freemangordonit is documented in u-boot23:13
Wizzupsure, but that's another place to search :)23:13
freemangordonhttps://talk.maemo.org/showthread.php?t=81613&highlight=u-boot23:13
freemangordonyeah23:13
arno11ac_laptop: see https:leste.maemo.org/Nokia_N900 and look at 'Existing Fremantle'23:16
arno11definitely the easiest way23:16
ac_laptopWizzup: So you think the 2020.12 u-boot was flashed somewhere in the eMMC ?23:17
arno11sorry https://leste.maemo.org/Nokia_N90023:18
siceloWizzup: iproute2: it's one PR (just split into to two commits. they can be squashed if necessary), and yes, i think it is safe to add an explicit dependency on iproute2, otherwise it seems something else in the system already pulls it in23:24
ac_laptopshould ${EXT_CARD} expand to /etc/mmcblk0 under freemantle ?23:28
ac_laptopasking for https://leste.maemo.org/Nokia_N900#Existing_Fremantle (i'm editing the file by hand)23:32
Wizzupac_laptop: nand, yes23:37
Wizzupsicelo: ok, shall I make the debian/control change, or will you?23:37
ac_laptopWizzup: well it doesn't23:42
Paliac_laptop: "./0xFFFF -m u-boot-2020.12-pali.bin -l" this just loads image into volatile RAM, it does not flash image nor boot it; use -f for flashing or -b for booting from RAM23:42
siceloWizzup: may i ask you to? :-)23:43
ac_laptopWizzup: you confirm I should replace ${EXT_CARD} with /dev/mmcblk0 in this case ? not just mmcblk0 ?23:44
Wizzupsicelo: ok, sure23:45
Wizzupac_laptop: my reply was to 'did I flash it somewhere to eMMC', and I corrected it to yes, to nand, not emmc23:46
WizzupI don't know about the expansion of ${EXT_CARD}, what is the context23:46
ac_laptophttps://leste.maemo.org/Nokia_N900#Existing_Fremantle23:46
ac_laptopmaybe it's a variable thats interpreted by u-boot23:47
ac_laptopI'll leave it23:47
ac_laptopIt works !23:48
Wizzupgreat23:51
sicelowhat i wanted to look at some time is - it should be possible to run the u-boot scripts from inside leste, i.e. without needing to boot into fremantle23:56
siceloi.e. u-boot-update-bootmenu23:57
ac_laptopWhich type of microSD do you use to run lesteĀ ? I'm using a 32GB class-10 U-1 , I'll try to get my hands on a class-10 U-3 to see if it's better23:59

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