libera/#maemo-leste/ Saturday, 2021-09-11

^-^hiWizzup, others, Have you inspected Halium? It seems it takes hardware support of Android to Linux for free.15:26
^-^hiSo you can focus on Hildon and stuff.15:27
Wizzupit is for non mainline kernels I think15:28
Wizzupwhich we don't care about as much15:28
^-^hiWell, the Android kernels are pretty widely used (on billions of devices I think) so you don't lose much I guess.15:30
Wizzupwe don't aim to support vendor kernel15:31
Wizzups15:31
Wizzupbrb15:31
^-^hiI mean Android's kernel got a big developer base behind it, and Halium allows for better hardware support, so it seems like good trade-off.15:36
^-^hiAnd if blobs are a concern, one can use Android kernel without the blobs I guess (Not much point for doing so, but one can do that if one wants to go fully libre)15:39
uvos^-^hi: the reason we dont use android vendor kernels or vendor kernels in general has very little to do with blobs or free software concerns15:56
uvosthere are vendor kernels and hals which are fully or allmost fully foss, the ti vendor kernel comes to mind, but we would not support those either15:57
uvosthere are instead 2 other main reasons why we dont use vendor kernels:15:57
uvos1. vendor kernels add non standart interfaces. particularly on older android devices manny devices are exposed using interfaces that where custom desinged by the vendor for this one deivce, as sutch instead of just supporting one mainline interface for this device type we would need to support a infinte number sutch vendor interfaces.16:00
^-^hiFor 1, well Halium seeks to make a compatibility interfaces vanilla Linux can use. (Like ofono and friends)16:01
uvosnow of course you could use a userspace hal that abstracts these interfaces and the android hal is a wide spread one you could use, as you mention. but that is hardly a real soultion as even if you do use the android had different vendor implementations support different version of the android hal and we would still have to support non android vendor kernels and mainline kernels16:02
uvosso we would still need several backends16:02
uvosadmittely problem 1 is mutch smaller if you focus on new android devices16:02
uvosas google has made a large push to make android chip makers use mainline iterfaces instead16:03
uvosand this has resulted in android just about almost runing on mainline linux16:03
uvosanyhow16:03
uvos2.16:03
^-^hiWell, I don't know about Android HAL but Hallium seems to do the exact thing you describe, and they have gotten so far.16:03
^-^hiLook at the number of devices Ubuntu touch supports. Plasma mobile is also using it.16:03
^-^hiI mean they already deal with that part for you.16:05
uvosvendor kernels are unsuportable, because they are huge forks of mainline linux and are almost universally of terrible code quality making forward porting them to never versions of linux almost impossible even for the vendors themselves. for this reason the vendor kernels are coded once against some kernel version and almost never updated at all. this causes manny issues for us if we where to use these kernels, we cant use newer16:07
uvosinterfaces, we cant guarantee that our development devices will continue to work in the long run, we are unable to provide adiquate security patches to our devcies with old vendor kernels, the list goes on.16:07
uvosfundamentaly we cannot guarantee any level of support for vendor kernel devices16:07
uvosthat said an afore mentiond modern android device with mainline style interfaces will work with leste as is16:07
uvosin manny cases16:08
WizzupI don't see what we need from halium other than supporting more devices than we can manage16:08
uvosthats the next thing, we could port for instances mce to also use halium interfaces16:09
uvosbut then all we would gain is a bunch of devices we can never polish to any working order16:09
uvoswhile for instance the droid 4 provides a working  mostly stable base for us to develop our system on without needing the added complexity of halium and an android hal of dubious quality in between16:10
uvosanyhow ^-^hi is there some specific device you are thinking about?16:11
^-^hiNexus 5 perhaps.16:14
uvosnexus 5 has a close to mainline kernel it can boot16:15
uvosleste should just work on it16:15
uvosif you are so inclined16:15
WizzupI had leste running on it in some form a few years back16:18
Wizzupbut then we still had h-d rotation problems, which are fixed now16:18
Wizzupparazyd: do you have my n5? I vaguely recall that16:18
parazydNexus 5? Yes16:19
parazydIt's here16:19
sicelobuZz: but is it true? [Leste being] 'only foss phone distro with bitcoin tools'18:46
buZzsicelo: well, only i know!19:10
buZz:D19:10
buZzafaik debian etc dont have bitcoind anymore?19:11
buZzoh, debian has electrum, nevermind19:11
buZz:D19:11
Wizzupwill be fun to have others test the wireguard and tor stuff soon20:28
Wizzupit's working quite well20:28
buZznice20:28
Wizzupwe just need to finish openvpn now20:28
uvoshow is power usage with opvpn20:36
Wizzupno idea, I'm just working on it20:37
uvosi could not keep it resonable even with keepalive 60 1200 set on the server20:37
uvosnot sure what else would help20:38
uvosbut openvpn keeps the device awake with manny wakeups20:38
Wizzupopenvpn is probably not that great sw in general, but it's in the deliverable :)20:40
Wizzupi'd personally opt for wireguard easily20:40
uvosok well i have a farily big really old legacy setup i use thats also used by some frends/family so i cant really switch away from opvpn easly20:41
uvosnot entirely anyways20:42
uvosi could go and bridge a wireguard vpn20:42
buZzwhat was the link to that battery replacement pcb?20:58
buZzwas it for a flex pcb? or a normal one20:58
uvosits a normal pcb20:58
buZzbut on the original batteries, the connector is a flex pcb20:58
uvosdosent matter20:58
buZzok20:58
uvoslook at http://uvos.xyz/maserati/20:58
buZzbut would be cooler, no? :P20:58
uvossure20:59
uvosyeah20:59
uvosas would though plating the holes and gold plating them20:59
uvos(thats serious you should do that if you have them made)20:59
dreamerbling20:59
uvosits optimized for me to be able to make it in my shop20:59
buZzmaybe i can remix the pcb into a tiny sliver of pcb20:59
buZzand plate it, so 1 pcb = 6x21:00
uvosshounds like a good idea21:00
buZzand then, put one into phone, and use it to solder 'max fitting lipo' in it21:00
uvosalso though plate the hole and adds some pad to the backside to improve contact21:00
buZzyeah21:00
uvosdont forget to remove the solder mask21:00
uvosalso spec it for tin plating at least21:01
uvosor gold would be even better21:01
uvosalso maybe21:01
uvos(but this is getting more advanced)21:01
uvoswe could identfiy the connector used on some popular modern smartphone battery that fits into the bay21:02
uvosand make a pcb that has that connector21:02
buZzbut that would still be limited to availability of that battery21:02
buZza pcb thats a solderable connector wouldnt21:03
uvosyeah but most people are not goint to be able to spot weld a wire to a random lipo21:03
buZzthe 'random sized lipos from aliexpress' usually have wires bonded already21:03
uvostrue but they one i bought (this one http://uvos.xyz/maserati/screenshots/IMG_20201015_185706.jpg) dident work in the d421:04
buZzhttps://www.aliexpress.com/item/32899881441.html21:04
uvosbecause its picky about internal resitance21:04
uvoshence the n4 battery21:04
buZzhmm ok, we could maybe alter the resistance with some tricks21:05
uvosno21:05
buZzimpedance you mean then?21:05
uvosyou could add some capacitance to make it work better21:05
uvosbut there is not enough room21:05
buZzhm21:05
uvosthe battery simply has to have low ir21:05
uvosthose rc car batterys have low ir for sure21:06
uvosbut they ususaly have poor energy desity21:06
uvosso yeah not sure what the best soltion is21:07
uvoshaveing some more of those wire connector pcbs would be good allready21:07
siceloWizzup: available to test already? (openvpn integration)21:11
Wizzupno21:11
* sicelo remembers to apt upgrade d421:12
buZzuvos: yeah21:14
uvosif you make some that are flex/gold plated i want one :P21:14
uvosbuZz: https://www.seeedstudio.com/fusion_pcb.html 100x100mm  x 10 boars of those pcbs should @ 1.00mm bord thinkess + ENIG at 35$ shold make enough of the pcbs for everyone who wants one21:23
uvossince you should be able to get at least 36 on one 100x100 pannel21:23
uvosso 360 bits21:23
uvoseven Wizzup dosent have that manny d4s21:23
uvosand Wizzup and clort probubly own 60% of the worlds inventory of d4s :P21:24
WizzupI doubt that21:25
uvosexaggerating for effect ofc21:29
uvosyou own lots21:29
Wizzuptrue21:30
freemangordonuvos: libiphb0 FTW22:30
freemangordonhi there, did I miss something? :)22:31
Wizzupfreemangordon: hi hi22:55
uvosfreemangordon: hi22:59
buZzuvos: dreamer just bought 5 or something :P23:30
buZznearing clorts pile23:30
dreamernah, you'll take one. I'll take one. then couple more for those interested @ nurdspace23:32
buZzsure23:34
buZz:)23:34

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