libera/#maemo-leste/ Friday, 2025-05-02

freemangordonsicelo: no idea, I have no issue on virtualbox with the command:07:13
freemangordonxrandr --output Virtual1 --rotate normal07:13
freemangordonumm,07:13
freemangordonxrandr --output Virtual1 --rotate right07:13
gnarfacei've seen issues on PC where certain drivers don't have full support for all the different rotation and movement coordinate shortcuts07:27
gnarfaceit seems to be X11 driver specific07:28
gnarfacesometimes you have to fall back to doing it by pixels or degrees or whatever07:28
freemangordonor just use virtualbox :)07:29
gnarfaceseen this originally where nvidia's official drivers at the time didn't support "right of" and "left of" relative positioning shortcuts, but the nouveau equivalent did on the same hardware07:29
freemangordonit's free for personal use07:29
gnarfacemay be trackable by what particular randr version is claimed as supported, but not sure07:29
gnarfaceoh, in a VM, i thought he meant on a phone07:29
freemangordongnarface: mhm07:29
freemangordonon n900 rotation is not supported07:30
freemangordonbecause kernel lacks omap3 VRFB support07:30
freemangordonand noone seems to be interested and capable enough to implement it :)07:31
siceloi'm interested, so for me it's the latter. but thanks for the information07:34
freemangordonthat's why I included the second condition :)07:35
freemangordonsicelo: BTW, implementing it should not be that hard, you may want to have a look in the TRM07:36
freemangordonsearch for VRFB07:37
freemangordonand see how it is implemented in omap1 kernel07:37
freemangordonand then similar to TILER support shall be implemented in upstream07:44
siceloah, nice. i will check it out.08:20
sicelotbh while rotation would be nice, i guess i am more interested in 1. bluetooth (to unlock the FM receiver) and 2. the dsp (hoping it would be able to offload some work off our CPU, e.g. for calls)09:24
siceloi'm happy to have worked on the fuel gauge, and it's now mostly in a state (in linux 6.15) where it is as sane as possible ootb :-)09:25
sicelofreemangordon: Wizzup: https://git.maemo.org/leste/bugtracker/issues/766#issuecomment-745909:40
saeedhello people11:24
sicelohi saeed12:20
siceloWizzup: probably need to start locking down the GH side ... there's a new issue created there12:21
Wizzupsicelo: ack12:27
sicelofinding a battery for the D4 is proving to be difficult. There's one I've just found, but to get it to fit, looks like I'll need to enlarge the battery bay a little13:02
Wizzupand you need to replace the charging pcb with the original battery one13:05
siceloyes, that's what i did with the first replacement13:10
sicelothis one is slighly wider than the bay, so i'm thinking to trim off a bit of the plastic on the left of the bay (about 1mm), since on the right there's a piece of metal (where the pogo pins are)13:12
sicelohttps://aksmob.ru/akkumuljator-dlja-planshetauk-045065p2200mah-3.7vrazmer-72mm-na-48mm.html13:12
siceloquite sure the advertised capacity isn't true, but as long as the phone boots. :p13:13
sicelogiven up on the endeavor.  even with trimming that 1mm, battery still doesn't fit.  took a smaller one that advertises 1800mAh. didn't cost much, and if it lasts me a couple of months or a year, I guess it'll be acceptable14:16
siceloarno11: Murphy's law ... last night I tested a dozen calls on N900, and in general all went well. today I got real calls and hit issues right away. sux15:02
arno11omg...15:17
arno11only the ringtone or ?15:17
sicelothe call itself15:18
siceloWizzup: your D4 still good/happy with new mce/upower/status-battery combo?15:19
arno11sicelo: what were the issues ? no sound, crashes ?15:19
sicelothere was no sound, but i did hear/feel the vibration. then i answered the call, then nothing15:20
arno11with silent profile ?15:21
sicelogeneral profile, i think15:22
siceloand that's what i was testing with last night :p15:23
arno11btw: https://git.maemo.org/leste/sphone/pulls/1215:23
arno11sicelo: ah ok15:23
arno11now on my device, only the first call after boot is buggy with general profile (with mute tweak) btw15:25
siceloleft small review on your sphone PR. ignore the approval ... i'm not too used to the forgejo ux yet15:28
arno11ok np15:31
arno11sicelo: +100 @fmrx and dsp16:08
sicelothey're both difficult targets for my skill level though :-p16:17
arno11me too ofc...16:20
arno11sicelo: btw the root cause of random ringtone issue seems gstreamer: even from sphone -c options, it takes 10 sec to launch a ringtone (cold). then it works fine until you let the device @idle for a while16:30
saeedhi16:35
sicelohi saeed16:37
siceloarno11: yes, i've noticed some issues with gst as well16:38
arno11ok cool16:39
sicelommm, Wizzup, that issue with `check` is affecting a lot of packages. e.g. i was trying to install `gstreamer1.0-tools` and the same is happening16:45
siceloeven though it appears to be available in daedalus, https://pkginfo.devuan.org/cgi-bin/package-query.html?c=package&q=gstreamer1.0-tools=1.22.0-2+deb12u116:47
siceloseems all the troublesome ones have `pool/DEBIAN` in the URL16:48
arno11hmm weird, i didn't encounter any trouble to install gstreamer tools16:53
arno11and check is available to install16:57
siceloor something is wrong with my sources.list? https://paste.debian.net/hidden/df958aab/16:59
arno11(able to install check 0.15.2-2)16:59
siceloplease share your sources.list17:00
Wizzupsicelo: yes @ happy17:00
Wizzupsicelo: about the E960?17:00
Wizzuphttps://www.polarcell.de/en/mobile-phone-batteries/lg/others-polarcell-li-polymer-replacement-battery-for-lg-google-nexus-4-e960.html17:00
sicelono, E960 i can't find here :-)17:02
arno11sicelo: my sources.list is the same17:02
sicelobtw, i might have burned my old bms  on the d4. will see when i'm home17:03
siceloarno11: mmm, so why would i get this issue while you don't17:04
arno11really no idea17:05
arno11so from apt search you can't find check pkg ?17:11
siceloyup17:12
arno11i don't get it, we have same devuan daedalus sources17:13
siceloN: Unable to locate package check17:13
sicelo$ apt-cache policy gstreamer1.0-tools17:13
sicelogstreamer1.0-tools: Installed: (none) Candidate: (none)17:13
arno11wth17:18
arno11maybe try to remove all deb-src and re update ?17:19
sicelointerestingly, now it works. i didn't modify the sources.list17:23
arno11cool17:24
siceloarno11: so `gst-launch-1.0 -v playbin uri=file:///usr/share/sounds/Nokia_tune.aac` does take quite a bit of time to start on N90017:26
siceloiirc this is something the dsp used to help with under Fremantle ... maybe one should try a WAV file17:27
arno11yeah takes 9-10 sec17:28
arno11already tried wav17:29
siceloalso slow/heavy?17:29
arno11yeah iirc17:29
arno11hmm aac 10 sec cold, 4 sec warm17:36
arno11wav 2 sec but all are very small files17:36
siceloarno11: wav ringtone works really good!!18:00
siceloi simply converted Nokia_tune.aac to wav, which resulted in a 6MB file. rings perfectly everytime now.18:01
Wizzupmaybe we take the free software song ogg, turn it into wav and make it our ringtone18:03
sicelobut, now call is completely silent :p18:03
Wizzupit'll probably make more of our users willing to figure out how to change the ring tone18:03
Wizzupsicelo: in these cases, please keep an eye on whether PA just crashes or not18:03
sicelono idea what would have broken now ... maybe the rate?18:03
arno11sicelo: cool @wav18:04
arno11for no sound, please try to mute ringtone before answering18:04
siceloat least in the very last call, neither PA nor cmt_pulse crashed ... because i can see they both still have the same PIDs from last time18:04
siceloarno11: doesn't help :-/18:05
arno11really weird, let me try18:05
sicelobut yeah the wav ringtone makes night and day difference ... even clicking buttons in sphone is finally responsive18:08
siceloah, now ringtone issues again :-D18:10
arno11it works fine on my device with wav18:10
arno11ringtone and call. you should reboot imo18:10
siceloso when there was no audio, cmt_pulse was broken, and ringtone was perfect. then, now cmt_pulse is working, and ringtone starts behaving erratically18:11
arno11you definitely need to reboot :P18:12
sicelohehe, that takes ages :-)18:13
arno11yea i know...18:14
arno11bbl18:14
siceloWizzup: which free software song?18:17
WizzupI was mostly joking :)18:20
Wizzuphttps://www.youtube.com/watch?v=9sJUDx7iEJw18:20
sicelohehe, didn't know the guy was an artist too :-D18:22
dsc_xD18:40
f_lol heard that one too much already19:21
f_:D19:21
siceloarno11: i think something we should in cmtspeech is to register ourselves with PA the moment we start it. atm, it only registers itself as a client when the call starts, which is quite a racy time19:39
siceloWizzup: unfortunately i burned the d4 bms this time :-(19:40
sicelophone itself seems fine, but the BL doesn't allow it to boot due to the absent signals i guess. it just shows Motorola logo for a short time, then powers off19:41
arno11sicelo: @PA, worth a try22:30
arno11@ringtone, seems to work fine now (but with sphone mute modif)22:31
arno11*wav ringtone22:32
arno11it also seems to work fine with ogg files and indeed sphone is more responsive with 'lightweight' ringtones22:59
arno11*more responsive while ringing22:59
siceloabsolutely @ more responsive. nice to hear ogg is also lean22:59
arno11yep that's cool23:00
arno11i tried mauy23:07
arno11sorry23:07
arno11i tried maybe 20 calls, (cold, warm) no troubles atm23:07

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