libera/#maemo-leste/ Wednesday, 2022-06-29

buZzrafael2k: yeah its normal on irc00:17
buZzits called a netsplit00:17
missMyN900buZz: what does it do?00:18
buZzirc is made of networks, and each network is multiple servers00:20
buZzsometimes those servers die or lose connection00:20
buZzthen ppl move to a random other one usually00:20
buZzone thats the same network00:21
missMyN900ok that makes sense thanks00:21
buZzjust a tiny hickup00:21
rafael2k Maemo - providing a true tablet PC experience, full support for keyboard and mouse - much beyond a traditional phone Linux distro - from phone calls and everything you expect from a phone distro plus a true Linux experience - conversations, X, glibc and good ol' debian/devuan base!10:19
rafael2k(for our PR team - sent during the net split)10:20
rafael2k: P10:20
Wizzuphehe10:36
norayrso i don't know. i spent whole night, but it looks like the 'live-wallpaper' icon is ok and visible in 'settings' on pp, but not on droid4. i did development on pp.12:49
norayralso shermans-aquarium plugin runs on pp for me, but not on droid. on droid it crashes the 'settings' app instead.12:49
norayrthat's weird. i tried to add -O0 to builds because i had an issue before when with -O2 compiler was removing healthy code.12:50
norayrbut that i guess didn't help this time, or i didn't add it correctly. need to look in to it again.12:50
norayranyway i'll open wiki pages for all apps i added.12:50
Wizzupthat would be sweet @ wiki, ty12:51
norayroh i just thought... may it be i installed something as a build dep on pp, which is not installed on droid from HAM. hmmm.12:52
Wizzupnorayr: could also perhaps be graphics driver differences13:13
unege[m]Hello all. Thanks, first of all, for your amazing efforts keeping maemo alive. I was thinking of ditching android and ios as their privacy visions are not in line with what I feel to be ethical. I have been researching my options, my current understanding of the situation is the following.         1. [Pixel 5 with Gos]         2. [PinePhone (pro) with any workable distro]         3. [N900 or droid 4 if usable in EU, with PMos, Maemo 5 or13:37
unege[m]Maemo-leste]       4.  [Fxtec pro 1(x) with U touch]        5. [Librem 5 with PureOS]13:37
Wizzuphi, will get back to you momentarily13:38
unege[m]1. For the pixel I am getting the feeling this is a pretty workable solution, yet I am placing a lot of trust in google still. The device is of reasonable size, powerful, but it’s a google device and I guess the firmware is not open source?13:43
unege[m]2. For the pinephone I think the price is very attractive and I like where the software is going, the device is for me, way to large though.13:45
unege[m]3. N900 etc. My main questions here: I am a bit worried about how safe this is in use, and how usable it is. Prefarably (minimal) browsing, signal, matrix, calls and sms should be working. Is that manageable on n900? And on droid 4? That possible in EU? Can I still run maemo 5? What should I be looking into safety or usability wise?13:50
unege[m]4. Nice keyboard, too large of a device, relatively expensive, will it arrive any time soon? 5. Nice, too pricey, is this usable already though? And of course I don’t like the shipping time.13:52
unege[m]What are your views on this?13:53
unege[m]And i hope everything is getting through to irc properly, let me know if it did not13:53
humpelstilzchen[I agree with "too large device", but it seems that is what customers want...14:00
r3boot_privacy -> that depends on your threat model14:01
WizzupCan't comment on (1, 4 and 5).14:03
Wizzupthe pinephone battery life is the killer for me14:03
WizzupI'm looking to use a droid 4 in the near future, I use it as mostly daily driver already14:03
Wizzupbut signal doesn't work yet, and in europe you might get only 2g in your country phased out 3g14:03
uvosso IMO:14:14
uvos1. Not surewhat gos is, pixel 5 afaik has no mainline linux support so whatever its is its liekly runing android base.14:14
uvos2. not ready to be you primary phone14:14
norayrWizzup, me to, i use droid and pinephone only. my android and sailfish phones are shut down and lay in the drawer.14:14
uvos3. not ready to be your primary phone Maemo 5 was very mutch closed soruce (mutch more so than android even) and with all the work we have done in replaceing the closed stuff it still dosent have manny manny features you would expect from a phone14:15
norayrWizzup, uvos - the question was about pinephone pro, not regular pinephone. pinephone pro uses the same chipset i have on pinebook, and i think pinebook battery life and pm support is in much better shape.14:15
norayrso i don't use pinephone pro, and i don't know, but would you comment on that?14:16
uvos4. mainline work seams stalled/slow going with that one, original fxtech has a serious hardware bug with the touchscreen, ut uses propriatary android base14:16
unege[m]r3boot_: I would want to disagree on that, I see things happening which I think are plain unethical as they limit people’s freedom. The effect has been researched as wel as it being a personal experience, but the plain knowledge that any picture or video others take of me gets analysed already gets me into a “brave new world” kind of mindstate, where I feel that at any kind of behaviour accepted in that current context can be used14:16
unege[m]against you in a later point in time in a different context. It is not a matter of being invisible but being limited in freedom of expression and the like.14:16
r3boot_unege[m]: if your threat model includes nation states, having a mobile at all is a risk14:17
norayri would say to me this is very uncomfortable that 'they' have my location because of my phone.14:18
norayrthat's why on phones i have no sim cards, because sim cards mean identity. at least for our country one needs an id to get a phone number.14:18
norayrand first thing i did after unpacking the pinephone, i turned off the gsm switch on it.14:19
unege[m]Wizzup: Thanks, good info, how did you get your hands on one? US version? Working in the EU then? How? Any links? I thought droid 4 was a 4g phone?14:19
norayrmaemo is great that it has wireguard and tor support via applets.14:19
uvosunege[m]: droid 4's lte modem works nowhere14:19
norayrand you can route all your traffic from the device via those connections.14:19
uvosit supports only verizons US band14:19
uvosand verizon dosent allow sutch old phones on there network14:20
uvosso its useless14:20
norayrbut maemo doesn't have a full disk encryption (yet). though it is doable if you dedicate some time.14:20
uvosunege[m]: it was never sold in eu14:20
sicelorafael2k: nice PR, but ... :-)14:20
uvoswe imported them14:20
uvos(or bought in us)14:20
uvosalso note that atm14:21
Wizzupunege[m]: 2g/3g works everywhere afaik14:21
WizzupFDE really isn't that hard14:21
uvosthere are no phone calls with the droid 414:21
* Wizzup calls a friend now with the d4 ;) 14:21
uvosit can not atm be used as your primary device14:21
norayron n900: fremantle is not usable now. i guess you can make calls by sim card, but it has very old and vulnerable libssl, so almost nobody accepts encrypted connections from it.14:22
uvosWizzup: right but this is not a workable solution to deploy to someone who ants to use it14:22
uvosas a user14:22
norayryou can run leste on it, or pmos, but the device is very weak, so i guess you don't want to.14:22
uvosn900 is also a lot futher away from phone calls14:22
uvosso its either only a phone with maemo 5 or its a extreamly slow tiny tablet with mainline linux14:23
siceloWizzup: ,uvos ... people on other distros are getting more than a day's usage with pp actually. Yes, it's suspend, but most people don't really mind.14:23
WizzupI like being able to check my email and that stuff regularly14:24
Wizzupor listen to music14:24
WizzupI do that all the time, every day14:24
unege[m]uvos: gos is grapheneos14:24
siceloThey do too :-)14:24
Wizzupif I wanted to just make calls I'll get a dumb phone :P14:24
Wizzupsicelo: they listen to music in suspend?14:25
uvosunege[m]: so android14:25
norayri would say in generally: choose a distro which runs mainline kernel. if you are ready that your phone will have only several hours of life, and you need to keep it charged while you are indoors, then pinephone pro might be a workable solution for you. the community work is mostly around phosh/plasma, most distros have full disk encryption with luks. mostly everything works, but here and there there ar14:25
norayre problems, and everything is slow at least on pp, not sure about ppp.14:25
uvosunege[m]: if you wan to use android without google any los phone will do14:25
siceloIt doesn't suspend for music playback. Droid4 goes into RET/OFF while playing music?14:25
uvosunege[m]: note the closed source firmware / drivers / framework plugins tho14:25
uvossicelo: no14:25
uvossicelo: not atm (on android yes014:26
uvos)14:26
norayrtrue. and i have opened terminals and jabber chats connected from devices.14:26
norayrand ssh sessions i don't want to disconnect.14:26
uvosbut d4 uses farily little power in running mode14:26
WizzupI think it can do into ret some of the time14:26
Wizzupactually14:26
Wizzupbut yeah it still lasts a long time doing that14:26
Wizzupeven with something like mpv which is not optimised for pm14:26
uvosnegligibly14:26
norayruvos, d4 is amazing. i run pidgin and email clients on it.14:27
uvosbut yes14:27
norayrif we were able to run modern dino (i'll try to build, but i doubt it is possible) it'll also have video and audio calls.14:27
siceloI'm just saying there's no need to bash pp that much. Suspend is definitely less optimal than the TI stuff, but their crust works somewhat14:27
WizzupI am not bashing it :)14:28
norayrso probably for the one who asked the question, ppp will be a workable solution. i think it'll suspend and have a decent battery life. it'll accept calls. it'll have full disk encryption.14:28
Wizzupbbiab14:28
uvosnorayr: maybe, but rn no14:29
norayri myself think of ppp. just i already invested in pp and i save money.14:29
uvosim not bashing the pp, but i feal like its allways a worse option vs soemthing like a MSM8916 phone14:29
sicelounege[m]: n900 is too old for everything now. Use it if you already have it, but buying one doesn't make any sense anymore14:29
uvosbut then again i dont have one14:29
norayrpp is too big for me too, by the way. but well, what can i say.14:29
norayrunege, you can run sailfish on sony devices. it's very fast. you don't even need to buy android support. but it's not mainline kernel.14:30
uvosalso sailfish is proprietary14:31
norayri used sailfish for years but i realize they have proprietary libs and software written for sailfish requires a lot of efforts to port, or practically rewrite guis for generic linux devices.14:31
norayrso i gave up on it.14:31
uvosi dont really understand why you would want to run that over just LOS or something14:31
norayrso now i am on maemo only.14:31
uvosandroid is way more foss frendly than them14:31
norayryep.14:31
siceloActually i believe pp has better power mgmt than any msm891614:32
uvossicelo: right so msm8916 dosent enter any idle states atm (at least xt1602 dosent)14:36
uvosbut they can do dynamic pm14:36
uvosstill lastst about 10 ish h14:36
uvosor so14:36
sicelounege[m]: (5) L5 is a very good device, with nearly everything working. If it wasn't for the price, maybe I'd go after one14:36
uvospoint is the chip can do dynamic pm14:36
uvoswhile the pp can not14:36
uvossicelo: i dont know the state of the l514:41
uvosdo you? hows pm etc14:41
unege[m]sicelo: thanks, did decide to buy and try though14:44
siceloI don't know about pm, but everything else is quite perfect. At least clayton (its maintainer in pmos) is able to daily it. Cameras working too14:44
siceloHehe, decided to buy N900? :-)14:45
unege[m]<norayr> "unege, you can run sailfish on..." <- Thanks, will look into the sony option too, I believe nemo is an option too right, to get rid of the proprietary stuff?14:45
norayrno no, my understanding is on sony devices you'll have proprietary kernel.14:46
unege[m]sicelo: Haha yes, for that pricepoint and the nostalgia, size and keyboard I just had to try anyways14:46
norayrand my problem with lineage/graphene is also that (am i right folks?) they use proprietary vendor kernel.14:47
siceloOh great. It's a nice choice tbh, as long as you understand that it's resource constrained. FYI, with some luck, I'll be getting a mint N909 or two in a couple of months, and will make it a daily driver ;-)14:48
norayri will try to use fremantle soon because it has infrared option. we are moving to the place which has AC but that AC has no remote. i'll try to use n900's infrared for that.14:48
uvosnorayr: right, altho android can now run on mainline kernels14:48
uvosnorayr: so i have wanted to try that with xt875 or xt1602 for a while now14:49
norayri'll also try to use n900 as a camera, that shoots raw files with Fcamera. purely nostalgic reasons. and i hope to be able to transfer the files via infrared to the very old instax printer.14:49
uvosin theroy either of those should be able to run a fully foss android stack14:49
uvos(with lots of features missing ofc)14:49
unege[m]norayr: Haha you just made my day14:50
norayr> xt875 or xt160214:51
norayrsorry missed the point, try what?14:51
norayrah, try to run mainline kernel?14:51
norayrbut xt875 already has maemo port right14:51
uvosrun android on mainline kernel14:52
norayroh!14:52
unege[m]<sicelo> "I don't know about pm, but..." <- What is pm?14:52
uvospower management14:52
norayri don't like android anyway. i like to have similar software stack on a computer and phone.14:52
uvosall devices besides the droid 4 have pretty poor power managment on mainline linux14:53
uvos(afaik)14:53
sicelonorayr you can't transfer files with N900 infrared. It's CIR ... i.e. output only.14:53
uvos(do correct me if i missed some device)14:53
norayrwhat about droid3?14:53
uvosnorayr: right i mean mapphones generally14:53
norayrsicelo: can i send photos to printer with infrared?14:53
norayrout only means send, not receive, right?14:54
siceloI don't think so. Even though you're sending, there will probably be a need for the printer to send acknowledgements, etc.14:54
norayroh... maybe to send files there should be some error correction which will require receive option.14:54
norayryeah, that's what i thought. :/14:54
uvosprining over otg should work14:57
uvosi gues ;)14:57
uvosaltho n900 sorta broken otg14:57
norayri opened pmos page... when you say p1 which device do you mean?14:59
norayrthere's no p1 there.14:59
buZzweird bug? i had my d4 on nightstand with battery still, tried to turn screen on, remained black, connected charger, green led went on like everything was fine, power button still didnt turn screen on15:06
buZzeventually held down power+voldn for 7-10 secs, connected power, boom, Motorola logo15:07
WizzupbuZz: yes, this can happen with some problem in X15:24
buZzah, ok, i wonder if a way to restart X from just buttons could work15:27
buZzmaybe power+volup or something15:27
buZzbut w/e , rebooting works15:27
Wizzupwell, we need to fix the X issue15:30
buZzany idea what it is?15:36
Wizzupno, perhaps a memory leak15:36
buZzquite sure i didnt have a high uptime on it yet15:36
joerguvos: N900 has no OTG but can do hostmode when you kick it hard16:08
joergfor this you need kernel patches that are very unlikely to be found in upstream kernels16:10
uvosWizzup: its not x its drm, x hangs looping on a failing drm ioctl16:12
uvosthe same thing happens to sdl16:12
uvos(but it hangs there beacuse it uses blocking io)16:12
bencoh(if it can comfort you, similar stuff happen even on this mainstream intel-based desktop $here)16:13
bencoh(it probably doesn't comfort you though)16:13
Wizzupuvos: right16:13
uvoshttps://github.com/maemo-leste/bugtracker/issues/61416:15
Wizzupyeah afaik this is on blank & unblank only16:16
uvosno16:16
uvosi can happen any time16:16
WizzupI haven't had it at other times16:16
uvosi def have16:16
uvosff can trigger this faily often16:17
Wizzupok16:17
rafael2kfull disk encryption with maemo is pretty simple if you have a keyboard... just need to set an initrd in uboot16:19
uvosif you dont have a kyboard you could use fbkeyboard in initrd16:20
bencohit might even work out-of-the-box with devuan actually16:20
rafael2kPP with the keyboard is the most useable Maemo if one wants 4G... the pp keyboard is important as it has a large battery, giving autonomy to use16:20
rafael2kuvos: true16:20
rafael2kindeed16:20
rafael2kI just heard the full disk encryption might break some alarm functionality of maemọ... but I think it is worth for one needing extra security16:21
rafael2kPP kernel already has all the bits for full disk encryption... will just work16:21
rafael2k: )16:21
uvosnothing in leste will break16:22
uvosat some point rtc alarms would break yes16:22
uvosbut they work atm anyhow16:22
rafael2kmay be we could consider officially supporting encryption, by having an installer and setting a proper initrd16:23
rafael2kright16:23
uvos *dont16:23
rafael2kso nothing that works will break16:32
rafael2k: )16:32
rafael2kbtw, I read someone mentioning Verizon, the PP also has a explicit Verizon VoLTE profile, so PP should fully support LTE + VoLTE on Verizon16:33
rafael2kjust like with T-Mobile16:34
rafael2k(not MTS thoụ... could not get VoLTE working here yet, but still trying)16:34
rafael2kI'm getting close to get the main PP camera working16:38
rafael2ka couple more patches to sun6i to implement a couple of ioctl()'s...16:38
rafael2kufff16:38
rafael2kI wish I had not started it... now I want to finish16:38
rafael2k:P16:39
rafael2kthen I'll need help with the userland bringup16:39
rafael2krecover some old maemo code, port to gstreamer 1.0 (I think it was using gst 0.10 if my memory is still working)16:39
humpelstilzchen[fremantle is 0.10, yes16:40
rafael2kright16:41
joergbencoh: >>similar stuff happen even on this mainstream intel-based desktop $here<< and here17:02
sicelorafael2k isnt the pp camera working since long ago?17:18
sicelojoerg: regarding otg on n900 with linux mainline, there are some commands pali gave me, at least for enabling vbus on mainline. I've recently got an adapter and intend to test once I have time17:36
siceloI hope it can work to some extent17:38
rafael2ksicelo: v4l has maaaany ioctl()17:38
rafael2kPP camera in mainline has a bare minimum support...17:39
rafael2kno app works at all17:39
siceloMegapixels?17:39
rafael2k(the only one that works is MegaPixels)17:39
rafael2kwhich is a software with very specific implementation17:39
rafael2kthe implementation of the drivers is very poor17:39
siceloOk17:40
rafael2kI'm working on improving it17:40
rafael2kmy goal is having libcamera and gstlibcamera working17:41
rafael2kand for this we need a minimum support from the drivers17:41
rafael2k(which is not available in the mobian branch we use)17:41
rafael2kanyway, even if we wanted to use MegaPixels, it is a gtk4 and does not run in Maemọ..17:42
siceloI understand now17:42
rafael2k: )17:42
joergsicelo: Vbus is simple, it's the state machine in MentorGrafscks MUSB that sucks. you need to literally force it into a test mode to enable it working as USB host17:47
joergsicelo: see H-E-N hostmode easy now, it has a bash script to enable VBUS. I don't know if and where I have stored that script17:52
joerghttps://wiki.maemo.org/N900_Hardware_USB_Host17:54
siceloIt'd be great if we somehow make it work again :-)17:54
joerghttps://talk.maemo.org/showthread.php?t=65232  needs kernel patches, so it's unlikely it will ever work on maemo-leste AIUI17:56
joergthe kernel patches needed by N900 H-E-N are a terrible hack and we didn't even consider pushing them upstream18:04
joergthey would be useless for any other hw platform except the fubar USB PHY of N90018:05
bencohactually sw-driven manual host/gadget switching can be pretty handy on other platforms as well, since currently they either support id-detection built-in, or rely on some custom mechanism to enforce it18:07
bencohso having it unified in the usb/musb infrastructure doesn't sound that bad to me18:07
bencohand exporting it to the userspace once it's unified would be super easy18:08
bencoh(not that I expect that change to happen though, but it wouldn't be useless)18:08
joergbencoh: the problem with N900 is : this generic host/gadget switching doesn't work on N900 hardware, you need to exploit a test mode in MUSB that comes with a lot of limitations18:08
bencohfor the records, all samsung phones have some "notification" mechanism to handle ID detection (or the usb3/type-c equivalent) and configure the actual usb block accordingly18:09
bencoh(since samsung relies on some external chip for that)18:10
joergthe problem is MG MUSB state machine relies in that ID-detection getting signaled from PHY "uplink" to the USB interface core in SoC, and there's no way to send that "ID" from CPU "downlink" to the USB core. Any forced mode switching works literally by sending a command via core to PHY: "please fake a IS detect signal" so the PHY sends that signal uplink to the MUSB core. N900 PHY can't do this, it doesn't provide ID faking18:15
joergs/ IS / ID /18:18
siceloThe commands he gave me are,18:34
siceloecho 'force host full-speed' > /sys/kernel/debug/musb-hdrc.0.auto/testmode18:34
siceloecho host > /sys/bus/platform/devices/musb-hdrc.0.auto/mode18:34
siceloecho 1 > /sys/kernel/debug/musb-hdrc.0.auto/softconnect18:35
siceloecho disconnect > /sys/bus/platform/devices/musb-hdrc.0.auto/musb-hdrc.0.auto/soft_connect  i guess this one is for afterwards18:35
rafael2kin the old days, I managed to use USB host in the N900, it used to work and was very useful!19:04
joergsicelo: oh, that looks good (if it works :-> ) - probably missing is the part for VBus boost then19:08
joergsicelo: https://talk.maemo.org/showpost.php?p=1086598&postcount=85719:19
siceloGreat. I should actually try all this in next couple of days.19:24
lelMerlijnWajer closed an issue: https://github.com/maemo-leste/conversations/issues/11 (Telepathy not receiving IRC messages)20:48
rafael2kdpkg-source: info: building pine64-linux using existing ./pine64-linux_5.15.48.orig.tar.gz21:25
rafael2k: )21:25
rafael2khere we go again... lots of things in sun6i, lets see21:26
rafael2kbtw, how do we deal to "backport" needed softwarẻ21:28
rafael2kI'll need newer meson to builđ libcamera on buster21:28
rafael2kcan we just bump the version of specific software for our own uses?21:29
Wizzupwe typically try not to backport, but we can if we have to (we've done it for mesa)21:29
Wizzupthe idea is that the least time we spend on backporting, the more we can spend on porting to chimaera21:29
Wizzupbut that's always a balance21:29
Wizzupwe have https://github.com/maemo-leste-upstream-forks/21:29
rafael2khummmm21:29
rafael2kgood point21:29
rafael2kchimaera++21:30
rafael2kjust to get an iđea21:30
rafael2kwhat would be the challenges to go to chimaerả21:30
WizzupI haven't assessed it yet, but there's a bunch, gconf is one, maybe even gtk2 -- not sure21:30
WizzupI plan to submit a request for funding to do it in july21:31
Wizzup(doesn't mean we'll get it, but we might21:31
Wizzup)21:31
rafael2kI'm totally for it21:31
Wizzupwe have a foundation to handle it as well now21:31
rafael2kwe really need a newer stack... specially for multimedia / camera stuff21:31
Wizzupyeah they change that up all the time :)21:32
rafael2kI'm doing some work with the camera on bullseye / chimaera bullseye indeed, as I agree with yoụ..21:32
Wizzupstill, first a few other things on my plate.21:32
rafael2ksure21:32
rafael2klemme know if you need help asking for some grant / funding21:33
rafael2kour pine64-linux_5.15.48-2 shoulđ have proper main camera support21:34
rafael2kcompiling it now...21:34
rafael2k(for PP)21:34
Wizzupwell, we have a foundation now for it21:34
rafael2kcool21:35
rafael2kdid not know about that21:35
rafael2kI'm kind of keen of asking funds... in the ngo I work for, we do it all the time21:35
rafael2kmy pay check comes from it21:35
Wizzupwell, if you know funds to apply to :)21:36
WizzupI have one in mind21:36
Wizzupthey like us and we've mostly successfully finished the last call21:36
rafael2kok, there are many indeed... lemme put my daughter to sleep, lets talk in private about it21:36
Wizzupok21:36
rafael2k: ))21:37
rafael2kGo Maemo!21:37

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