libera/#maemo/ Wednesday, 2019-05-29

brolin_empeyI used my N900 again to test the composite video input of a greyscale composite video monitor from 1998 I have that may have been powered off for at least a decade until tonight:11:44
brolin_empeyhttps://lh3.googleusercontent.com/-YTiaAkg7UbY/XO5SF9YKapI/AAAAAAAACuU/GtMG9TdmCMAaV5z-TN9T-WlwY1nr3HXUACK8BGAs/s0/2019-05-29.jpg11:44
dreamerwow the keys on that one are properly worn out o.O11:53
dreamerwhat's that thing with all the dots in the icon bar?11:54
brolin_empeyThe keys are not worn out, only the paint (?) is worn/scraped off from my fingernails.12:02
brolin_empeyIt is a 24-hour binary clock (not BCD).  I learned to quickly read it whilst I still used the N900 every day because I use my handheld computer as a pocket watch.12:02
siceloon the subject of phones capable of using external dispalys, those that support HDMI - do they also output audio via HDMI, or generally video-only?13:08
KotCzarnyif pinephone goes to fruitition, it will be with audio13:08
KotCzarnycant comment on androids or samsungs13:08
sicelonice - about pinephone13:11
CcxWrkHad two Xperias with HDMI out but both died before I had chance to try it out. (Doesn't really work with contemporary kernel anyway)13:11
KotCzarnysicelo, but i assume they go with audio13:12
KotCzarnyotherwise it wouldnt make sense13:12
siceloKotCzarny: now that you're on Android, areyou going to try porting oscp?13:12
KotCzarnysicelo, it's in the todo from the very beginning13:13
siceloright, it makes sense for both audio & video13:13
KotCzarnybut it will be quite a rewrite, so only protocol will remain the same13:13
bencohKotCzarny: wait, you moved to android?13:14
KotCzarnybencoh, had to, i need few apps available on droid, but as i've said before, i still carry n900 as a tablet/ssh/linux/media player13:14
bencoh:)13:15
sicelobut i think termux might cover those uses too, no?13:16
KotCzarnynah, i like n90013:16
KotCzarnyboth the os and design13:16
sicelo:-)13:16
KotCzarnyand ability to write/compile tools on the go13:17
bencoh:)13:17
KotCzarnythat's why there is 'linux' along the uses13:17
KotCzarnymaybe pinefolks could be convinced to do pinephonekb model ;)13:18
KotCzarnybut i guess that depends on the success of pinephone13:18
sicelosomeone was saying thee will be something done in connection with hwkbd13:19
bencohKotCzarny: if anything, I'd rather buy a droid4 tbh13:19
KotCzarnybencoh, i like allwinner too13:19
bencohmainline linux works there13:19
KotCzarnyand i hate pvr13:19
bencohI hate pvr as well tbh13:20
bencohI don't use it thus far (on droid4)13:20
siceloon the droid you're using Android then? version?13:20
KotCzarny6.013:20
bencohuh?13:21
KotCzarnygot the phone for free and replaced screen for ~20usd13:21
KotCzarnyasus_x007d13:21
siceloi wanted to say, bencoh, on the droid413:21
KotCzarny:)13:21
bencohdevuan + patched mainline (from ~4.18)13:22
KotCzarnywhat wm?13:22
bencohI don't use it as a phone thus far though13:22
bencohwmii :]13:22
sicelois there an LOS build for your phone KotCzarny13:22
KotCzarnyis it touch friendly?13:22
KotCzarnysicelo: los?13:22
bencohwmii is a keyboard-driven tilingwm13:22
KotCzarnyheh13:22
sicelonice @ bencoh. how is the battery consumption?13:22
bencohyou could run maemo-leste though13:23
bencohsicelo: awful13:23
KotCzarnynot without pvr13:23
siceloKotCzarny: lineage OS (LOS)13:23
bencohKotCzarny: well, that's the leste show stopper on droid4 yeah. one would have to either find a way to disable compositing, or bringup pvr on recent kernels13:23
bencohsicelo: a day at most13:24
KotCzarnysicelo: nice to know about los, although for now all the needed apps work without a problem13:24
KotCzarnyno need to sideload etc13:24
bencohit's more of a pocket computer for now13:24
KotCzarnymissing gps is a slight ugh13:25
bencohtalking about gps, it looks like I have a fix for the n900/maemo5 gps issues13:25
bencoh(allowing to use supl.google.com)13:25
siceloi'm happy with that kind of functionality @ bencoh - i hope to get a droid4 sometime in the future, so it's good to hear from others13:26
siceloseems pavel is using his droid4 as a daily driver13:26
bencohwell then as a pocket computer it's pretty nice and handy13:26
bencohyeah13:26
sicelobencoh: n900 - gps - i guess many of us are now all ears. :)13:27
bencohI don't think it's stable/mature enough for that though, but ... :)13:27
bencohn900/gps - it involves running supl-proxy13:27
bencohI thought it didn't work at first, but as a matter of fact it might very well be working13:27
KotCzarnybencoh, maybe prepare package ?13:27
bencohKotCzarny: I want to patch supl-proxy first to allow daemonizing13:28
KotCzarnyi suspect it's something that might need perpetual support13:28
bencohfor now it exits after first connection13:28
sicelothis is good news.13:28
bencoh(meaning I run it manually everytime I want to use gps)13:29
bencohI'm still not certain it does everything needed to get the full expected info from supl, but since I started using it I haven't had gps fix issues13:29
siceloi would like to test this too13:31
bencohyou can already install the supl package13:32
bencohand setup cert as explained at https://www.tajuma.com/supl/supl-proxy-ex.html13:33
bencohfor some reason you need to create a cert for a domain with a valid-ish domain.tld form13:34
bencoh(I used a subdomain of a personal one)13:34
bencohoh and, maemo.muarf.org is down for the moment, I'll have to run a mirror until main server gets back up13:45
sicelothanks lots. will test it.13:45
i336wow, more people here than I expected :)14:30
i336hi everyone. I seek to acquire some hens' teeth!14:30
i336I am trying to get OS200x running in qemu-system-arm.14:30
KotCzarnymasochist, eh?14:31
i336haha14:31
i336I'm quite happy to info-dump what I've done/tried thus far, but want to start first with a question: which would be better, here or t.m.o?14:32
KotCzarnybetter start with 'what are you trying to achieve'14:32
i336I've just realized I can best explain this with screenshots14:32
i336give me about 3 minutes... actually make that 5, I kind of need to close some tabs lol and everything's swapping14:33
i336OK, here is the answer to "what are you trying to achieve" in 7,000 words :) https://imgur.com/a/JsqQPzr14:42
i336TL;DR: the Garnet VM for x86 is a stupid simulator.14:43
i336but the ARM version... well, it's just a Linux armel binary.14:43
i336so, if you give it Linux armel, it will run.14:43
i336as demonstrated in the screenshots. and it's the "real" version of GVM.14:43
i336it runs real actual ARM Palm 5.x applets and everything.14:44
i336about... 4-5 days ago I went "...hang on a minute, surely this must work??", downloaded a debian squeeze ARM image from https://people.debian.org/~aurel32/qemu/, and tried it.14:45
i336it promptly crashed with "Illegal instruction" :)14:45
i336so then I learned about armv7 and downloaded the debian wheezy image and tried to make that work... except now I wasn't using debian squeeze :/14:46
i336so I converted the squeeze disk image from ext3 to ext4 so it would work with the debian wheezy kernel (yes, also copying /lib/modules over), and had a working armv7 debian squeeze system14:47
i336which boots GVM just fine!14:47
i336....and now to the problem: "hi I mushed a bunch of random things together" isn't maemo.14:47
i336in the 2nd-to-last screenshot, in the Settings window, I'm about to click on "background image"14:48
i336when I click that, it tries to talk to the hildon file manager process, fails somehow, and asplodes.14:48
i336so, for the past ~day or two I've been scp-ing random directories and files from this random scratchbox VM I found into the debian armel environment14:50
i336and progressively getting more and more things working14:50
i336but unfortunately I am completely stuck at: (let me see if I still have the terminal open)14:50
i336# maemo-invoker /usr/bin/hildon-desktop.launch14:50
i336"Tidy - unable to load shader: GLSL shaders not supported"  //  "ClutterEGL - clutter_stage_get_configs: eglChooseConfig failed"  //  "ClutterEGL - clutter_stage_egl_realize: Unable to create an EGL surface"14:51
i336and several tons of Pango - ... assertion ... failed14:51
i336how do I opengl? :<14:51
i336I found http://www.tuug.fi/~toni/serendipity/index.php?/archives/18-N900-running-on-Mac-OS-X.html but it mentions that the version of QEMU with n900 support doesn't support SGX graphics emulation14:53
i336I'm honestly happy to run OS2008 in an emulated N81014:53
KotCzarnyhmm14:53
KotCzarnyanother idea would be finding n8x0 ?14:53
i336hmmmmm14:53
* i336 laughs14:53
KotCzarnyand i think some people ran garnet on n900 too14:54
i336yeah the version of GVM I "found" is "for" OS200914:54
i336garnet-vm-1.0.6b-itos2009-armel.deb14:54
KotCzarny~garnet14:54
KotCzarny~ping14:54
infobot~pong14:54
i336~gvm14:55
infobotGeneric Virtual Machine for Perl. URL: http://www.sabren.com/code/gvm/14:55
KotCzarny~garnetvm14:55
i336the idea about finding an n[89][10]0^W n8x0 is an interesting one, because my actual goal is to see how semi-portable GVM can be14:56
i336which means sandboxing whatever things it expects14:56
i336gvm itself works; gvmlauncher is what's crashing. so on the one hand if I can get gvmlauncher running in the environment it expects (maemo inside qemu), it'll be easier to see if/how I might port everything over14:57
KotCzarnyi think you can install those debs you have in n900 too14:59
KotCzarnyyou might get working n900 for ~20-30usd15:01
KotCzarnyalthough in australia it might be tad more15:02
i336something to keep in mind, yeah (both things :) )15:08
i336also I found the .deb online, it's floating around :D15:08
KotCzarnyi suspect there is no other way to get it now, company might be defunct15:09
i336yep, ACCESS stopped mentioning it years ago. kind of sad15:16
i336I actually just started thinking about this about 3-4 days ago or so, surprised it was easy as it was to get it like 70% or so working (the other 30% being that there's no mouse cursor \o/, I don't have audio redirection working (probably easily fixed), the launcher (which also does hotsync) crashes, etc)15:17
i336I think I'll do a t.m.o post and dump all the links/references I've found thus far, since the forum is better at async communication than IRC is15:18
i336I'll post the link here in a bit15:18
sicelobencoh: did you have to specify the mcc, mcn, lac, and ci info, or supl.google is forgiving?17:14
sicelo(i haven't yet got around to configuring the server and certs, but reading through the documentation)17:15
bencohsupl.google isn't too forgiving, you need specify gsm 'position'17:15
bencoh+to17:15
sicelointeresting. :)17:18
bencohthat's for supl-client though17:23
sicelothe supl-client is good though ... i just tested with the gsm details and the location it returns is good enough. must move on the the proxy now18:46
sicelotrying to compile supl-proxy on my pc - http://paste.debian.net/1084595/20:30
siceloi guess this error has a simple solution, but i haven't found it and would appreciate help from anyone20:31
KotCzarnyopenssl mismatches20:31
KotCzarnythat supl-proxy will run on pc or n900/20:32
siceloit will run on pc.20:33
KotCzarnythen it might require different openssl version than the one you have20:33
KotCzarnyor you have headers/libs mismatched20:33
KotCzarnycheck if you dont have libs/headers in /usr/local/20:38
siceloi have libs - libssl-dev is installed21:03
bencohsicelo: supl is already present in extra-devel21:31
bencohI wouldn't bother building it for pc21:32
sicelook. guess i'm missing something else then. here's what i did: 1.) on N900 control panel > Location, i set the name of my own subdomain, 2. created and imported certificate for this domain name, 3. in /etc/hosts set this domain to point to localhost, 4. run on N900, `supl-proxy supl.google.com`, and then open a maps application.21:52
sicelothe above steps result in supl-proxy just exiting, with nothing printed to console.21:54
sicelohowever, if i use supl-client to talk to the proxy, it works and returns info, `supl-client --cell=gsm:653,10:0xc9,0x5a53 --format human sicelo.kozue.info`, and i see a lot of output from supl-proxy.21:59
sicelo"proxy just exiting with nothing printed to console" is incorrect sorry. i meant, with nothing more than the three lines, Connection from 127.0.0.1:56016 // SSL connection using AES256-SHA // Client does not have certificate.22:12
bencohit doesn't sound that bad, but lemme see22:24
bencohI get SSL connection using AES256-SHA22:26
bencohClient does not have certificate.22:26
bencohthen the whole transfer22:27
bencohif you don't then I suspect supl-proxy certificate wasn't properly added22:27
bencoh(either that, or domain is considered invalid)22:27
sicelommm, that's odd. let me reboot22:28
bencohWhat does cmcli -v returns on your domain?22:29
bencohlike cmcli -v n900.muarf.org:727522:30
bencoh(this isn't a real subdomain, it just points to 127.0.0.1 on my phone)22:30
sicelocmcli -v sicelo.kozue.info:727522:32
sicelo74d057d94d690c0d5bf3b167714b164c05ad66fb sicelo.kozue.info Verification failed: unable to get local issuer certificate22:32
bencohwhich is basically what I get as well22:33
sicelonow i get a transfer. seemed i needed that reboot22:35
bencohcmcli -T common-ca -v n900.muarf.org:727522:36
bencohthat returns verification okay22:36
siceloverification OK for me too with that one22:37
bencoh(I hate the whole maemo certman thing)22:37
siceloand voila! fix - right inside the house. thanks bencoh :)22:40
bencoh:-)22:41
bencohdo you have all the steps somewhere?22:42
siceloin my head, yes22:42
bencohtbh I never really bothered writing it down, apart from keeping it in my .bash_history22:42
bencohhuhu22:42
siceloi can job something down22:42
sicelo*jot22:42
DocScrutinizer05((output audio via HDMI,)) samsung does, with the USB<->HDMI adapter22:43
bencohwe'll probably need that if we're ever to make a configuration package22:43
bencoh(that would load the supl-proxy cert to certman, edit /etc/hosts, and possibly configure location-proxy to point to it)22:44
DocScrutinizer05damn now, my printers are elsewhere next room, PC and kbd/moni on the floor - what a mess22:45

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