belcher_ has joined #maemo-leste
belcher has quit [Ping timeout: 252 seconds]
belcher_ is now known as belcher
kvw_5_ has joined #maemo-leste
kvw_5 has quit [Ping timeout: 260 seconds]
xmn has joined #maemo-leste
Pali has quit [Ping timeout: 240 seconds]
* enyc meows
xmn has quit [Quit: ZZZzzz…]
xmn has joined #maemo-leste
<kek> parazyd closed a pull request: https://github.com/maemo-leste/libmatchbox2/pull/7 (Fix fullscreen handling for fullscreen override redirect windows)
<kek> parazyd closed an issue: https://github.com/maemo-leste/bugtracker/issues/18 (Proper fullscreen support)
<kek> parazyd closed an issue: https://github.com/maemo-leste/bugtracker/issues/458 (Discuss fullscreen hack in libmatchbox)
uvos has joined #maemo-leste
<Wizzup> parazyd: so what is your problem with gps and ofono modem status?
<Wizzup> looks like gpxsee has evolved a lot, it's on version 9.0, maemo has 0.5something
<Wizzup> ok, cloudgps kinda works (has static window size), but of course keyboard input doesn't work yet (sdl)
<uvos> why would keyboard input not work in sdl
<uvos> ?
<parazyd> Wizzup: I'm wondering how to actually probe the modem state, but since ofono sees it wrongly, I am unable to.
<parazyd> Wizzup: GPS itself works from boot as the modem is actually powered, but this is not something we can just bluntly assume
<parazyd> Plus ofono reports it is NOT powered
<Wizzup> uvos: this is a very old bug that we should fix and once that clort has been going on about for a while
<Wizzup> I need to revisit, but I think our maemo sdl patches actually break it
<Wizzup> parazyd: what component would check modem state? liblocation?
<parazyd> It doesn't matter which component, there should be a generic way of querying modem state
<parazyd> Whether through ofono, mce, or something else
<parazyd> This implies flight/offline mode as well, where we have to do these kind of checks
<Wizzup> I think you should assume the modem is online unless offline mode is set
<uvos> i think last time we disccused this we decided mce should take care of this
<Entitlement> Wizzup - [ png (1184 x 671) ]
<Wizzup> uvos: yes, but another thing is that when ofono starts and modem is always powered (by kernel module), ofono doesn't know
<uvos> sure thats a totaly different issue
<uvos> ofono needs to not be buggy
<Wizzup> I think this is what ofono does everywhere
<Wizzup> pine phone modem, n900 modem, my laptop modem, droid 4 modem
<Wizzup> ofono restart = it assumes modem is offline
<uvos> wel on d4 you cant turn off the modem so ofono needs to lern
<Wizzup> why? because it crashes?
<uvos> i mean kernel wise
<uvos> you could turn of the regulator
<uvos> hw wise you can
<Wizzup> I guess AT cannot be used to see if modem is already powered?
uvos has quit [Ping timeout: 252 seconds]
<kek> MerlijnWajer created a repository: https://github.com/maemo-leste-extras/gpsrecorded
<kek> MerlijnWajer renamed a repository: https://github.com/maemo-leste-extras/gpsrecorder
cr4y1 has joined #maemo-leste
peetah_ is now known as peetah
<kek> parazyd assigned an issue: https://github.com/maemo-leste/bugtracker/issues/520 (Decide and implement gpsd (auto)start policy)
<kek> parazyd labeled an issue: https://github.com/maemo-leste/bugtracker/issues/520 (Decide and implement gpsd (auto)start policy)
<kek> parazyd labeled an issue: https://github.com/maemo-leste/bugtracker/issues/520 (Decide and implement gpsd (auto)start policy)
<kek> parazyd labeled an issue: https://github.com/maemo-leste/bugtracker/issues/520 (Decide and implement gpsd (auto)start policy)
<kek> parazyd closed an issue: https://github.com/maemo-leste/bugtracker/issues/520 (Decide and implement gpsd (auto)start policy)
uvos has joined #maemo-leste
<uvos> Wizzup: sure if it responds, its powerd
<Wizzup> right
<uvos> did we solve gpsd distryoing the battery even with no clients jet?
<parazyd> Did it ever?
<parazyd> With no clients gpsd sits in a select
<uvos> im pretty sure it had gnss0 open
<uvos> witch causes the modem to not sleep
<parazyd> Might be
<parazyd> I need to ping gemiller about this
<uvos> test youreself first
<uvos> i might have made some mistake
<parazyd> ok
<uvos> if modem dosent sleep the usb interface cant sleep
<uvos> so the omap 4 cant enter ret
<uvos> so check ret
<Wizzup> /proc/<pid of gpsd>/fd can tell you if it keeps it open
<uvos> sure
<Wizzup> :)
<sicelo> Btw, just booted my droid 4. Ofono says modem powered. I didn't do anything to affect that. E.g. I did not touch the connection dialog
uvos has quit [Ping timeout: 240 seconds]
<sicelo> And iirc, it always say powered true when I boot
<sicelo> Oh damn, now pvr crashed or something:p
Pali has joined #maemo-leste
<Wizzup> sicelo: no, we power it I tihnk
<Wizzup> it's just a no-op if it is already powered
<sicelo> Okay. I saw in backlog that there was apparently a problem with ofono thinking modem is powered off ...
<Wizzup> yes, but icd2 powers the modem via ofono, even if it is already powered
<Wizzup> so that's probably what you are seeing
<parazyd> sicelo: For example I'm doing a check with mdbus
<parazyd> mdbus2 -s org.ofono /motmdm_0 org.ofono.Modem.GetProperties
<sicelo> I check with mdbus too
<parazyd> sicelo: Do you boot with SIM?
<sicelo> Yes, I have a sim
<parazyd> Try without
<sicelo> Ok
<parazyd> uvos, Wizzup: I have gpsd without clients now on bionic, and "lsof | grep gnss" lists nothing
<parazyd> The node is /dev/gnss0
<Wizzup> what about /proc $(pidof gpsd)/fd
<Wizzup> that will print all open file descriptors
<Wizzup> (ls it)
<parazyd> 0,1,2 are dev/null, 3,4,6 are some sockets
<sicelo> Still powered true, without sim
<parazyd> ...
<parazyd> I never had that happen
<sicelo> Looks like we're about to get a new customer for Leste/N900 :-)
<parazyd> hm?
<xmn> sicelo ? who's the new customer? or did I miss something? :)
<sicelo> I meant ... someone wants to try out Leste on their N900. They're currently in #maemo
thejsa has joined #maemo-leste
<Pali> now I know why Nokia did not release source code of flasher-3.5 and neither of fiasco-gen application...
<Pali> whole FIASCO image format is just encapsulation of BB5 packets
<Pali> and whole BB5 is (or was) secret of Nokia
<parazyd> haha
<Pali> lot of header bytes from FIASCO images can be found on different gsm forums about BB5 hacking
<Pali> as diagnostic output from their (re)flashing BB5 tools
<parazyd> Why is it secret?
<parazyd> I mean, what could be done with those?
<xmn> sicelo ah ... lol. cool I though some love from a hw manufacturer :P
<Pali> IIRC whole BB5 was secret because it implementent critical parts of "phone locking" etc
<parazyd> I see
<Pali> BB5 was that broadband modem part of Nokia phones
<Pali> so Nokia wanted to kept it secret so other manufactures would not use their intelectual property...
<xmn> makes sense
<thejsa> xmn: haha, unfortunately not unless you consider a pi zero hacked into and wired up to the buttons of an old calculator 'hardware manufacturing'... but hi!
<Pali> also today, all information about existing broadband modems is secret
<parazyd> Hi thejsa!
<parazyd> Pali: True
<parazyd> It often bites us
<parazyd> Like, the whole SUPL stuff is a black box
<xmn> lol thejsa
<Pali> funny part is that also mmc fiasco image contains bb5 information that device is NAND :D
<Pali> probably even developers of fiasco-gen in Nokia did not know all bits in that format and just use hardcoded values used for other images (which are written to nand)
<parazyd> >The system is designed to prevent unlocking of certain key capabilities of the handsets (such as usable network or installation of unsigned operating system[1]), which has not been approved by Nokia or the network
<Entitlement> parazyd - [ Base Band 5 - Wikipedia ]
<Pali> yes, that it is!
<parazyd> I should get in touch with this Dejan
<parazyd> :D
<Pali> in my opinion, this BB5 chip is also some kind of DSP where GSM/2G/3G (at that time) was implemented
<Pali> so they have to keep everything about it in secret
<parazyd> DSP meaning audio?
<Pali> DSP - digital signal processor
<xmn> maybe gov requirements too
<Pali> DSP it is not used only for audio... IIRC all GSM implementations are running on DSP
<Pali> or were running at that time
<parazyd> *nod*
<parazyd> Right, I forget it's also related to GPRS/3G
<Pali> I would like to ask, has somebody in hands N8x0 or 770?
<parazyd> Not me, but there were some people here IIRC
<parazyd> Or in #maemo
<Pali> now when I'm updating 0xFFFF I would like to see "kernel" header dumps also from N8x0 or 770
<Pali> according to old documentation in 0xFFFF project from pancake these devices had different header
<sicelo> buZz: ^ I think you're a culprit :-)
<buZz> waaaat
<buZz> Pali: i have 700, 800 and 810 here
<buZz> eh 770*
<sicelo> There we are :-)
<buZz> only 810 is charged
<Pali> [02.05] [15:03:52] <Pali> it can be read (dumped to file header.bin) by following command on N8x0/770 device: nanddump --omitoob -s 0 -l 2048 -f header.bin /dev/mtd2
<buZz> running it -on- n810?
<buZz> eh
<buZz> not sure what you want me to do :P its running ancient maemo
<Pali> also on old maemo there was nanddump command
<Pali> or at that time was available in Extras somewhere...
<Pali> I do not know if it was pre-installed or not, so check if you have somehere in PATH it...
<buZz> i dont even have root on it :)
<buZz> i dont see nanddump in path of non-root
<Pali> ah, without root it is not possible to access /dev/mtd2
<xmn> is it hard to get root on the old devices?
<sicelo> It's not preinstalled (nanddump). My other n900 didn't have it yesterday
<sicelo> xmn: no :-)
<parazyd> PSA; GPS stuff is all in main now
<xmn> ic
<parazyd> You can get it with: apt install hildon-connectivity-location
<xmn> was so close to getting the n810, but waited for the n900 instead.
<parazyd> And there is an app "gpsrecorder" in HAM
<Wizzup> the status applet is still lacking, jfyi
<buZz> the n810 is a much nicer formfactor than n900
<buZz> imho
<buZz> but, i dont really use any of these devices, they're just artifacts
<xmn> yeah it was nice device. And the lovely kickstand was amazing :)
<xmn> I still daily drive my n900
<xmn> but its on its last leg-ish. But have a PinePhone to replace it till a good keyboard phone come out that can support maemo-leste and others OS I want
<buZz> n900 is just a childsized keyboard
<Entitlement> Wizzup - [ png (960 x 540) ]
<Wizzup> (actually on the beach but yeah)
<buZz> the trend of 'smaller devices' was still alive in n900 times
<buZz> it wasnt valuable
<buZz> Wizzup: nice, OSM data?
<buZz> rendered on device? or just downloaded tiles
<sicelo> I would be happy to own N810 definitely!
<parazyd> It just werkz
<parazyd> buZz: Maep caches the downloaded tiles, yeah
<Wizzup> maep auto downloads maps from whichever provider you pick
<Wizzup> this is open street map
<buZz> tiles? or maps
<parazyd> Tiles
<buZz> ah
<thejsa> xmn: yeah, atm I’m using an iPhone 7 as my main but would love a decent keyboard phone with not-Android
<Wizzup> I think it can use offline map downloads too though
<sicelo> WiFi on the beach!
<buZz> offline tiles is a lovely datawaste :P
<Wizzup> 4G in my laptop actually
<sicelo> Ah :-)
<Wizzup> I just share my laptop wifi
<Wizzup> hostapd and stuff :p
<parazyd> buZz: Not really because you don't have to be online when you want to navigate
<buZz> parazyd: you dont have to be online to selfrender tiles from OSM data either
<xmn> lol, yeah the KB on the n900 is small. but I'm used to it now. Also I was coming from a sharp zuarus 5500, smaller keys and vertical layout!
<buZz> plus takes a lot less storage for 'whole europe' compared to tiles
<parazyd> Well, someone has to write this code :p
<sicelo> buZz: yes, some of us would rather waste space than pay hugely for online tile downloads over expensive mobile links
<buZz> there's many foss tools to render thus tiles
<parazyd> uvos: I looked at gpsd a few times, and it looks like the /dev/gnss0 fd is properly closed when there are no clients.
<thejsa> having map data stored locally is useful anyway for poor signal
<buZz> sicelo: sure, its a fine bandaid , just not holygrail
<sicelo> :-)
<buZz> you can have -MAP DATA- stored locally and render tiles on demand
<buZz> for ~1GB for whole of europe
<xmn> well buZz you could use a fxtec pro 1/x with phosh , sailfish or ubports
<buZz> xmn: that has no relevance to anything i said
<kek> MerlijnWajer created a repository: https://github.com/maemo-leste-extras/cloudgps
<buZz> i could use a banana with 340V triplephase
<xmn> buzz , you mention that you would love to run a hardware keyboard on a phone I thought?
<buZz> xmn: nope
<xmn> wish a foss OS
<xmn> with*
<buZz> xmn: you're projecting
<xmn> ah, okay .. then never mind :P
<thejsa> mightve been me since i said that a moment ago
<buZz> i one literally zero 'phones' without a hardware keyboard
<xmn> haha
<buZz> and over 10 with
<thejsa> aren't the fxtec phones stuck with halium?
<buZz> and using 0 of them as 'phone' , so gross
<parazyd> There's a mainlining effort going
<xmn> yup it was thejsa. My bad
<thejsa> parazyd: oh nice; well, if the price comes down enough / I get rich might consider one :p
<parazyd> :D
<xmn> yeah there are issues with them kinda of needing blobs, but they are working on it and making great progress
<parazyd> We'll do a Leste port eventually
<xmn> But I like the ideal of never needing google blobs at all
<Entitlement> buZz - [ Astro Slide 5G Transformer | Indiegogo ]
<parazyd> 5G :o
<buZz> doubt any good software will ever get released for it, but ok
<buZz> parazyd: yeah he doesnt believe in vaccins
<parazyd> lol
<parazyd> This looks a lot like the Pinephone keyboard
<xmn> hey to each there own
<buZz> the sliding mechanism looks cool
<buZz> but beside that i saw nothing noteworthy
<parazyd> To me the N950 and the fxtec slides are the most satisfying
<parazyd> *SNAP*
<xmn> I like the the look of the plant new device. But here to many neg about support
<xmn> meaning looking at the forums you'll find some ppl complaining about lack of updates for the previous models
<buZz> yep
<xmn> which is too bad, since it look like a interesting design
<xmn> I'll wait for the ginormous keyboard battery case for the Pinephone ... lol
<xmn> then I'll have a n900 replacement ... haha
<thejsa> haha yeah that sounds ace
<bencoh> the astro seems nice, if not for the (almost universal) modem-on-soc design
<xmn> yup
<bencoh> it's exactly the kind of thinkg I'd have wanted back 10 years ago when I wanted to carry along a pocket computer
<xmn> They should team up with pine or someone and make an open version of it. Now that more mobile foss sw exist in a working state ... including maemo-leste
<xmn> the n900 is actually a great size for carrying around. I never once worried about it breaking in my pocket
<bencoh> yeah, me neither
<bencoh> it's just not powerful enough, apart from that it's great
<buZz> droid4 is practically ideal
<buZz> nice sized keyboard, cheap to replace once ded
<buZz> fast enough to run blender
<thejsa> n900 feels kind of reassuringly chunky
<bencoh> yeah, now that battery last more than a day, droid4 is a best bet these days
<xmn> lol, yeah
<xmn> the droid makes sense. But I just don't like the look and verizon logo.
<xmn> dumb reasons, I guess
<Wizzup> you can make a diff case
<buZz> yeah twodays on wifi is not such a stretch for droid4, even on ancient batteries
<xmn> nice
<sicelo> I still have hope that N900 idling will also improve
<Wizzup> I'm sure it will
<Wizzup> worst case we have to port the old pvr userspace
<Wizzup> kernelspace*
<xmn> how is it now?
<sicelo> power management on n900 with leste? Bad
<xmn> ah, too bad. Since the community maeo get really great battery for me.
<bencoh> cssu on n900 is awesome battery-wise
<Wizzup> any idea which of these two we use? https://github.com/maemo-leste?q=libsdl&type=&language=&sort=
<Entitlement> Wizzup - [ Maemo Leste · GitHub ]
<xmn> bencoh yeah
<Wizzup> looks like it's libsdl1.2
halftux has joined #maemo-leste
<Wizzup> ok, removing all maemo patches from libsdl1.2 makes the input work
<halftux> btw is there a favorite indent style for maemo leste or extras? Or a file which I can use with universalindent gui
<Wizzup> we kind of need to settle on one :)
<Wizzup> we stick to what projects have usually
<Wizzup> unless it's draconian
<halftux> ok I see
<Wizzup> interesting, so leaving out both of these makes input work, but including just one of them, or both, makes input not work:
<Wizzup> 310_no_fullscreen_wm_window.diff
<Wizzup> 320_no_fullscreen_grab.diff
<Wizzup> should not simple to fix them I think
<parazyd> halftux: Our code uses either `indent -gnu` or `indent -linux`
<parazyd> halftux: If you're working on existing code, just use one or the other.
<parazyd> GNU is "two spaces" and Linux is tabs
<halftux> ok good to know then I will use it also for new things
<parazyd> For code like python/go/rust just use some formatter
<parazyd> yapf is nice for Python, and the latter two have their own
<Pali> now I pushed all changes to 0xFFFF git repository
<Pali> if you have a time, please test :-)
<Pali> 0xFFFF can now unpack all partitions from mmc/vanilla image
<Pali> I did not know that ext3 home partition is also included in mmc/vanilla fiasco image
<Pali> but it is stored as tar file, not as ext3 image
<halftux> thats nice
<Pali> so seems that it is (or was) possible to create fiasco image which contains full backup of n900 device
<Pali> (nolo, kernel, initfs, rootfs, home+opt, mydocs)
<Pali> just nobody wrote such backup tool
<Pali> including nokia...
<parazyd> hah I wonder if we could eventually make flashable Leste images
<parazyd> To replace Fremantle
<Pali> which is pity... as restoring of all data could be possible just by production nokia's flasher-3.5
<Pali> I think it should be possible to create any image
<Pali> just 0xFFFF does not support including /home partition into fiasco
<Pali> and mmc flashing is not implemented yet
<Wizzup> parazyd: sure, we should be able to do that @ flashable images
pagurus has joined #maemo-leste
xmn has quit [Ping timeout: 268 seconds]
jonsger has joined #maemo-leste
jonsger has quit [Read error: Connection reset by peer]
jonsger has joined #maemo-leste
sicelo_ has joined #maemo-leste
sicelo has quit [Ping timeout: 246 seconds]
sicelo_ is now known as sicelo
<Wizzup> uvos: do you recall what tools we use to debug which window had input focus?
<Wizzup> Ah, I think xdpyinfo
<Wizzup> I might be wrong but it looks like the wrong libsdl window has focus
<Wizzup> 001:<:001f: 16: Request(2): ChangeWindowAttributes window=0x01800002 value-list={event-mask=StructureNotify}
<Wizzup> 001:<:0034: 16: Request(2): ChangeWindowAttributes window=0x01800003 value-list={event-mask=KeyPress,KeyRelease,KeymapState,StructureNotify,FocusChange,PropertyChange}
<Wizzup> but:
<Wizzup> $ xdpyinfo |grep focus
<Wizzup> focus: window 0x1800002, revert to PointerRoot
<Wizzup> looks like 0x1800002 gets all the events but doesn't want any
<Wizzup> but maybe I am reading the masks wrong
jonsger has quit [Remote host closed the connection]
<Wizzup> Yeah, I think that means that the window that accepts events doesn't actually have focus?
<Wizzup> so that might be specific to fullscreen only
<Wizzup> ok
halftux has quit [Quit: leaving]
<thejsa> hey there :) just flashed the latest Leste image onto an SD card for my N900 and got it booting which is awesome, though after the boot log messages it heads to a black screen (with LCD backlight) — is this just a bit wobbly generally?
<thejsa> oh hmm I got a somewhat broken slide to unlock screen pressing the power button after the screen goes auto off
<Wizzup> which image is this?
<thejsa> 20210502
<Wizzup> you're probably the first to try todays image
<Wizzup> do you have a pin in there?
<Wizzup> and/or sim
<thejsa> no SIM; I had a custom PIN set in fremantle, though I rebooted back into fremantle, disabled auto lock, and changed the code to 12345 for good measure
<thejsa> seems to persist even with that done, though I don’t totally understand how the device lock code works admittedly
<Wizzup> I think the lock code should work now, so that can't be it
<Entitlement> Wizzup - [ N900 20201227 image is not usable: black screen, buggy lock screen · Issue #497 ... ]
<thejsa> ah yeah, I saw that when I did a quick search to see if this was a known bug (hence having adjusted the pin settings already)
<Wizzup> check
<Wizzup> I'd have to try it on my n900
<Wizzup> (won't happen tonight)
<thejsa> I can try the previous image and see how that goes
<Wizzup> sounds like a good i dea
<thejsa> update- 20210425 seems to boot fine, takes a minute or so to show the interface after boot logs disappear but otherwise very snappy and responsive (nice!)
<Wizzup> ok, sounds like X is broken then
<Wizzup> in lates timage
<parazyd> Fun
<parazyd> It's too late for me to check it today
Oksana has joined #maemo-leste
Oksana has quit [Remote host closed the connection]
Oksana has joined #maemo-leste
cr4y1 has quit [Ping timeout: 252 seconds]
diejuse has joined #maemo-leste
<diejuse> hello
<Wizzup> hi
* Wizzup going to sleep soon, so if you have a question :)
Pali has quit [Ping timeout: 252 seconds]
<diejuse> Yes, I am a question
<diejuse> *have
<diejuse> I am trying to chroot Maemo Leste on my Android phone
<diejuse> I would like to get some help
<Wizzup> Is the intention to run the full UI?\
<Wizzup> I need to sleep now, but stick around :)
<diejuse> Yes, that is my intention
<diejuse> I have downloaded arm64 image
<diejuse> arm64-generic image
<diejuse> I have to extract in /data/local/leste on my phone
<diejuse> I have got chroot succefully but I have problems with "apt update" and I don't know to launch Hildon Desktop
<diejuse> I want to export display to XSDL XServer or VNC viewer