libera/#maemo-leste/ Thursday, 2024-04-25

yifei1Wizzup: the easiest way to get an interactive shell on that ppp port image seems to be using the keyboard case to switch to a tty and login there.10:15
WizzupDid you manage?10:15
yifei1yes, using the actual serial port seems to reset the cpu more often than it should.10:16
yifei1I'm using Ctrl + Fn + Alt + 310:17
yifei1how do I disable auto suspend from commandline?10:21
yifei1from the tty you can config a ip address on the usb0 interface and then ssh into it.10:30
Wizzup10:22 < yifei1> how do I disable auto suspend from commandline?10:32
Wizzupsuspend of what10:32
WizzupI think this might be mce turning off the screen10:32
yifei1The screen turns off automatically after a timeout10:33
Wizzupthat is mce10:33
Wizzupyou can try to stop it, but yeah it's annoying10:33
yifei1mce?10:33
Wizzupit is maemo daemon10:33
yifei1how do I restart the desktop? I crashed xorg...10:34
Wizzupdsmetool -k '/usr/bin/mce --force-syslog'10:34
WizzupXorg crash should reboot the device normally10:34
Wizzupare you sure Xorg is dead?10:34
WizzupI would try to just disable the wrong output in xrandr, and then pkill hildon-desktop and see if it starts to work10:34
yifei1Yes, I have a core dump of it.10:36
yifei1nvm I will restart the device.10:37
Wizzup(sorry on the phone, back in a bit)10:44
yifei1take your time ;)10:47
yifei1It's working now with correct resolution. the magic seems to be `xrandr --output DSI-1 --auto`10:55
yifei1to reproduce: - boot the device with keyboard attached, wait until screen turns off10:57
yifei1- press power key to turn on screen, switch to a tty with Ctrl + Fn + Alt + 3 and configure an ip for usb0 for ssh10:58
yifei1- ssh login as user, xrandr --output DSI-1 --auto && pkill hildon-desktop10:59
yifei1There is only one output listed by xrandr.10:59
yifei1Interestingly the random SoC resets don't seem to be correlated to serial usage, it just happens.11:03
WizzupI would suggest to put this fix in an xsession script for now, before hildon-desktop is started11:13
WizzupI will try this in a bit, what happens on rotation?11:13
yifei1ah yes I forgot that11:15
yifei1xrandr --output DSI-1 --rotate right11:15
yifei1I'm now looking into the random reset problem, the uptime for now is too short to do anything...11:15
Wizzupare you sure it's like a kernel reset, or something else maybe?11:29
yifei1Wizzup: actually, I'm not sure.14:03
yifei1Wizzup: how is hildon-desktop started on maemo leste? I'm trying to make sure my fixup runs before it.14:04
Wizzupdpkg -L hildon-desktop - but I think it is xsession14:21
Wizzupso /etc/init.d/Xsession.d or /etc/init.d/Xsession.post/ or so14:21
yifei1got it.14:47
yifei1How much of the current maemo leste is from Nokia's code? I still see warnings on the email and app manager clients about Nokia (e.g. 'this app is not provided by nokia' 'your info will be send to nokia for processing...'), should those reference be removed?14:49
uvos__yes these referances should be removed14:54
uvos__the portion of leste that is nokia code is tiny14:54
WizzupI think those are probably just in the translations14:55
uvos__the vast vast majority is the shared linux ecosystem14:55
uvos__Wizzup: jup14:55
uvos__still the need to go14:55
uvos__the warning about the package not being signed should be disabled entirely14:55
uvos__since we dont have any infrastructure to sign anything like that14:55
Wizzupis this in the app mgr?14:58
uvos__yeah14:58
yifei1yes, try install anything14:58
yifei1I think it just uses apt underneath, right?14:58
Wizzupyes14:59
uvos__yes except it deals in some custom nokia extensions too14:59
yifei1so the packages are still signed like regular debian packages.14:59
uvos__no14:59
yifei1oh.. so packages are not validated/verified at all?14:59
uvos__the app mgr only shows extras packages which are not signed15:00
Wizzup14:59 < yifei1> so the packages are still signed like regular debian packages.15:00
Wizzupyes  they are, by our extras key15:00
Wizzupuvos__: ^^15:00
uvos__oh ok sorry15:01
yifei1well that's good to know ;)15:03
uvos__regardless they are ofc not signed by nokia15:03
Wizzupbut yes that needs to be improved for sure15:11
Wizzupit's quite easy really..15:11
Wizzupyifei1: does the device boot ok with your fix now?19:17
Wizzupthe freeze/resets we can take a stab at then, there is probably also a newer kernel avail19:17
Wizzupuvos: do you think the BACKEND_FLAG_CELLULAR? relates to the audio issues?19:38
Wizzupmaybe I suppose19:38
Wizzupuvos: should we try a newer kernel re: cpufreq missing?20:00
Wizzupor should we investigate some more since iirc this is/was lts?20:00
uvos__Wizzup: BACKEND_FLAG_CELLULAR - no not related22:06
uvos__Wizzup: newer kernel: yes newer linux stable of 6.622:06
uvos__should be tried22:06
Wizzupok22:52
WizzupI still wonder if it's not a config issue somehow22:52
Wizzupit must be, right? :D22:53

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