libera/#maemo-leste/ Friday, 2022-07-01

missMyN900uvos: xt1602 has even worse specs than the PP00:01
missMyN900I think that SDM845 devices would still be better then00:02
uvoswell its gpu is mutch faster00:02
missMyN900if you are going to go with Qualcomm-based devices anyway00:02
missMyN900I guess00:02
missMyN900but 1/3 of the RAM00:02
uvosand its cpu can idle00:02
missMyN9001/4 of the eMMC00:02
uvos1/3?00:02
uvospp has 3g no00:02
missMyN900mine does ;)00:02
uvosxt1602 has 200:02
missMyN9001 according to GSMArena00:02
missMyN900https://www.gsmarena.com/motorola_moto_g4_play-8104.php00:03
uvosthere are different versions00:03
uvosthats xt160100:03
uvosxt1602 has 2x the flash00:03
missMyN900I have a 3 GB/32 GB Beta Edition00:03
uvosand 2x the ram00:03
missMyN900last version of the original PP00:03
uvosof the one you linked00:03
missMyN900hmm that is better then00:03
missMyN9002 GB RAM is acceptable00:03
missMyN900but how likely is that idle to actually ever work with mainline?00:03
uvosno idea really00:04
uvosthe kernel is quite active00:04
uvosso maybe some day but i dont active follow it00:04
sicelomissMyN900: btw N900 *has* idled before with ML. just bitrot because only one person has worked on it so far, and they're stretched thin00:04
uvoswell not with all drivers loaded00:05
missMyN900that is good, I was never discussing the N900 though?? ;)00:05
uvosif you load nothing00:05
uvosit sill idles00:05
uvosbut you dont have any devices then00:05
uvosanyhwo the plus points of xt1602 are: its cheep as chips (30 euro street price), volte, well supported by mainline, sill removable battery.00:06
missMyN900I doubt that VoLTE works in America though00:06
missMyN900because I have heard of even G7 not being supported00:06
missMyN900I don't know if that is with all networks00:06
missMyN900or just one00:06
missMyN900the whitelists are really nasty00:06
uvoswell idk what insane us carriers are doing00:07
missMyN900I am glad T-Mobile does not have one00:07
uvosin eu it has volte00:07
missMyN900AT&T has a whitelist00:07
missMyN900they won't allow any device that is not on it00:07
missMyN900does not matter what it can do00:07
missMyN900theoretically it could 6G already00:07
uvosthat must really fuck with tourists then00:07
missMyN900they do not care at all00:07
missMyN900they are actually kicking existing customers off00:07
missMyN900I don't know what kind of business strategy that is but whatever00:08
missMyN900well, you already need to pay attention that your phone even supports American LTE bands00:08
missMyN900I don't know if those bands are also used in Latin America00:08
uvossure but thats easy00:08
missMyN900or only in US/Canada00:08
missMyN900some low-end Android phones apparently do not00:09
missMyN900they will only work well in Europe and Asia00:09
missMyN900I have been doing some limited research lately00:09
missMyN900I discovered that some countries are using completely different bands00:09
missMyN900some Europe/Australia oriented modems are completely useless in the US00:10
missMyN900so basically we are back to the bad old days00:10
missMyN900when you had dual band GSM phones00:10
missMyN900that were not suitable for worldwide use00:10
uvosyes us has allways had silly incompatabil cell networks00:11
missMyN900you need to pay more to get the LTE equivalent of a "quad band" phone00:11
uvoscdma anyone? :P00:11
missMyN900Korea was also using CDMA though00:11
missMyN900and some other countries00:11
uvossure, was quite rare really00:11
missMyN900it is similar to ATSC00:11
missMyN900and DVB-T00:11
missMyN900of course, with digital television there are even different standards in Asia00:12
missMyN900Korea and Japan have their own, China probably too00:12
uvossure00:12
uvosdosent make it less silly00:12
missMyN900it made Qualcomm *a lot* money though00:12
missMyN900and gave them a lot of power in the market00:13
missMyN900why do you think that my North American BB Z10 has a Snapdragon when the international version had an OMAP4?00:13
missMyN900uvos: if you want to learn more: https://www.reddit.com/r/OutOfTheLoop/comments/qvdawd/whats_going_on_with_att_and_the_whitelist/00:14
missMyN900"Because they have to pay ATT to have their phones whitelisted. Many phone manufacturers decided that they don't want to pay to have their older or unpopular models whitelisted. Many others simply didn't want to pay ATT for the whitelisting."00:15
missMyN900you literally could not come up with something worse than this...00:15
missMyN900be glad that this is not happening in Europe00:16
missMyN900and fight hard to keep that from changing00:16
missMyN900because this will totally kill any alternative phone project00:16
uvosif they tried this in europe the eu would probubly nuke them from orbit with anti-trust00:17
* sicelo should try LOS again on the d400:17
missMyN900"You cant. And the work around wont work permanently, because phones are not included or excluded only by the IMEI. At&t sweeps imei regularly. I was able to get VoLTE on 6t, but a few weeks later it was kicked out."00:18
missMyN900they are actually actively policing what phone their customers are using00:18
missMyN900if this mentality spreads, then all alternative phone (OS) projects can start converting themselves to (WiFi) tablet projects...00:19
missMyN9006T is of course the OnePlus 6T00:20
missMyN900so these are not old or obscure devices even00:20
missMyN9006T is by the way also a relatively well supported pmOS phone00:21
missMyN900I think it maybe an SDM845 device actually00:21
missMyN900*may be00:21
siceloyes it is00:21
siceloboth 6 and 6T have really good mainline support00:22
missMyN900at least we have Verizon and T-Mobile in the US, for now...00:25
missMyN900norayr: by the way, have you tried GNU Jami? I have heard of it but never used it00:26
sicelodon't those also lock phones?00:26
missMyN900it is not about locked/unlocked00:27
missMyN900sicelo: you can have a fully VoLTE compatible, unlocked phone and they (AT&T) won't allow it on their network because they haven't been bribed by the manufacturer for that specific model00:28
missMyN900AFAIK, it is possible to unlock your phone anyway, idk00:28
missMyN900I have never had locked phones, except for my Z10 (and Galaxy Nexus that I gave away) but I don't have a SIM in those anyway00:29
missMyN900actually I do not know if the Z10 is locked00:29
missMyN900I know it is Canadian, ex-Rogers (GSM)00:29
missMyN900it could maybe on T-Mobile US00:29
missMyN900don't think it does VoLTE though00:29
missMyN900sicelo: like the 6T example, that person could have bought it directly from OnePlus (unlocked) for all I know00:30
missMyN900still they do not allow it00:30
missMyN900locked phones are really a lesser evil compared with this00:31
missMyN900like locked (but unlockable) bootloaders00:31
missMyN900one of those things that we used to complain/cry about in the past00:32
missMyN900but they have been surpassed by far greater evils since00:32
siceloah, still got los on my droid 4 after all. just needed to change slots :p00:32
missMyN900:)00:32
missMyN900but why run Lineage on it?00:32
missMyN900aren't there much better devices for that?00:32
missMyN900seems like a waste of a D4 also00:32
sicelowhat else can i run on it?00:32
missMyN900ML00:32
missMyN900pmOS maybe00:33
missMyN900it should be able to run sxmo+pmOS well00:33
uvosnote that los on a safestrap slot is quite a bit slower than installing it natively to the main system partition00:33
uvos(on d4)00:33
siceloi do00:33
missMyN900oh wait is sxmo wayland?00:33
uvoswayland works fine on d400:34
missMyN900hmm that wouldn't work well on PowerVR...00:34
uvoswell mostly00:34
uvosPowerVR has perfecly complinant drm drivers00:34
sicelouvos: meaning install over the stock android?00:34
missMyN900actually, is it not time to beg Imagination to release the source code?00:34
uvossicelo: yes00:34
missMyN900Do you guys know they are open sourcing their Rogue (6000 series) driver?00:35
uvosyes and they went to the effort of reimplmenting the driver00:35
siceloi thought overwriting stock was risking a bricked phone. did things change?00:35
uvosinstead of releasing it00:35
uvossicelo: that was never the case00:35
missMyN900so those Mediatek (and Allwinner) devices will be freed00:35
sicelomissMyN900: i have run phosh on the N90000:35
missMyN900it is great news00:35
siceloi mean, droid 400:35
missMyN900hell has official frozen over00:35
uvosso they went to the effort of reimplementing the rogue driver00:36
uvosso they clearly cant release the current one00:36
missMyN900I would never have imagined that even Nvidia and Imagination would go down this path00:36
missMyN900uvos: yes00:36
uvosthe nviida "open source" driver00:36
missMyN900it is something00:36
uvosis less open source then the powervr driver00:36
uvosthe "closed source" one00:36
uvosand less compliant00:36
missMyN900AMD still has a proprietary driver component00:37
uvosonly fw00:37
missMyN900amdgpupro it is called00:37
missMyN900no00:37
missMyN900not just fw00:37
uvosno one uses that00:37
missMyN900it is for certain standards00:37
uvosits wors perf and worse compliance00:37
uvosits only exists for cad certs00:37
missMyN900hmm00:37
uvosamd has service contracts with cad vendors00:38
uvosthat require the maintiaince of the gl pipeline00:38
uvosthis forces the existance of amdgpu-pro00:38
uvoseven amd dosent really want it00:38
missMyN900still, ATI used to be horrible00:39
missMyN900people forget that00:39
missMyN900so Nvidia can change too, theoretically at least00:39
missMyN900and now we have Imagination as an example too :)00:39
uvosati was apathetic nvidia is hostlie00:40
missMyN900libv (Luc Verhaegen) would beg to differ00:40
uvos(even when ati was maintaing the close source driver they did release specs/ datasheets for foss devs)00:40
uvossure00:40
uvosnot this radionhd shit again00:40
missMyN900you disagree?00:40
missMyN900I was reading some of his stuff yesterday00:40
uvoslets not go there00:40
missMyN900because I did not know anything about that history00:41
missMyN900anyway, according to him ARM was also actually really hostile00:42
missMyN900don't know if that is true00:42
missMyN900I guess I need to read some different points of view as well00:42
missMyN900but yeah it is not a big priority for me honestly00:43
missMyN900there is enough in the present, after all00:43
missMyN900this TowBoot stuff is really confusing00:48
missMyN900apparently there are three different ways to install Mobian with it00:48
missMyN900and for one option the wiki says "Pinephone Pro"00:48
missMyN900so now I don't know if it is just outdated or if that option actually only works on the PPP00:49
missMyN900I guess I will have to try...00:49
missMyN900I should charge extra for this service of installing all this stuff...00:49
sicelomaybe don't do it :-)00:50
missMyN900what?00:50
sicelowhat if the buyer wants to run ML? or Manjaro00:50
missMyN900from what I have heard, Mobian runs the best currently00:51
missMyN900so I think that most people will want that00:51
missMyN900personally I have a dislike of GNOME/phosh00:51
missMyN900but for the people who want a Linux phone that works as well as possible00:52
missMyN900which is probably the majority00:52
missMyN900the number of people who want to run ML is very small honestly00:52
missMyN900ML needs better advertising00:52
missMyN900but yeah, as long as the PP is not a priority for ML, it is maybe better to keep it this way00:52
missMyN900rather than getting a negative reputation00:52
sicelounfortunate00:53
missMyN900it is for sure00:53
missMyN900but it is just one of many distros listed on the Pine64 wiki00:53
siceloi only learned about these priorities today too00:53
missMyN900only reason I tried it is because I know what "Maemo" is :)00:53
missMyN900because I am an ex-N900 user00:53
missMyN900for the newer "generations" it is different00:54
missMyN900first time Linux phone users00:54
missMyN900or maybe people who have only used Jolla or Ubuntu Touch00:54
siceloplamo and phosh for those00:54
missMyN900or run SFOS on Xperia00:54
missMyN900maybe I will still buy a DB eventually to replace my Z10 as music player, if there is a good deal00:56
missMyN900for now, I would rather save the time and money00:56
missMyN900I already have so many devices00:56
missMyN900it is working01:03
missMyN900PP eMMC shows up as /dev/sdd01:03
missMyN900now I am just going with the old dd method and not this newfangled bmap stuff, whatever that is01:04
missMyN900because otherwise I will have to download the bmap image first...01:04
unege[m]<sicelo> "unege: http://repository.maemo...." <- Thanks! This helped out, did a apt-get u-boot- tools and flasher and now I am om Leste as a dual boot! Will try to summarize on either of the wiki pages.01:04
missMyN900unege[m]: did you already have an N900?01:06
sicelounege[m]: yay!01:06
unege[m]No bought it yesterday01:07
missMyN900congrats01:07
missMyN900is it in good condition?01:07
unege[m]Worth it already01:07
missMyN900also, I read of some people using an external charger and never using the microUSB port01:07
unege[m]missMyN900: Subliminsl01:07
missMyN900wait I need to download the normal mobian image...01:08
missMyN900sigh01:08
siceloi'm sure they could easily help you in the mobian chat. i don't have pp, otherwise i'd try01:08
missMyN900I do not like that towboot does not even provide a checksum either01:09
unege[m]missMyN900: Yeah lets see, i might check if i can solder on a usb c01:09
siceloall i know is PP is working very well for many people with mobian and pmos. and we also know it's working very well with ML for rafael here, as it did for parazyd at least01:09
missMyN900but I mean, I can't be the only person with horrible battery life?01:10
missMyN900Wizzup was complaining about it as well, actually01:10
siceloi know :-)01:10
unege[m]missMyN900: So many pieces of normie software don’t, and asking for it somehow does not make sense to most. Plain lame.01:10
missMyN900I used to never bother with it until I became more educated01:11
siceloi don't have pp, nor do i think i'll ever have one. and yes, it doesn't do idle like the droid 4. but the suspend works for myriads of other people. sounds good enough to me01:11
missMyN900it is also the hardware issues that have scared me frankly01:12
missMyN900it is one thing with a device like my $20 Z1001:12
missMyN900or a $40 DB01:12
missMyN900but $200 is still a decent amount of money01:12
missMyN900it is not just one thing01:12
missMyN900it is a lot of little things stacked on top of each other if that makes sense01:12
missMyN900that led me to decide to sell it01:13
missMyN900I just think I can get something less risky and a lot more usable for that money01:13
missMyN900that is all01:14
sicelonp01:14
unege[m]Guys where do I post any feeback?01:14
missMyN900I just reported it here :)01:15
sicelowiki, or talk.maemo.org01:15
missMyN900I did file one issue on the ML github01:15
missMyN900but yeah of course for Maemo 5 it is different01:15
unege[m]Nah ML01:15
missMyN900TMO ML section seems kind of dead to me01:15
unege[m]Tmo?01:16
missMyN900talk.maemo.org01:16
sicelounege[m]: what kind of feedback btw?01:16
unege[m]Minor usability stuff01:16
missMyN900it is acronym that us "old timers" use01:16
unege[m]Lol01:16
missMyN900*an01:16
missMyN900even though I am not old and was far from the first to get an N90001:16
missMyN900only got mine in 201201:17
sicelounege[m]: elaborate a bit01:17
unege[m]unege[m]: And possibly some more01:17
missMyN900I would say do I like I did01:17
missMyN900post it here first01:17
missMyN900then if someone ask if you can file an issue do so on GH01:17
missMyN900*asks01:17
missMyN900unege[m]: even back then N900 was already showing its limits01:18
missMyN900actually I only bought it as a stop gap until the Jolla became available01:19
missMyN900since I was following them from the very beginning01:19
missMyN900but I ended up using it longer than expected ;)01:19
missMyN900not that I ended up minding that01:19
missMyN900I actually look back to it more fondly than I do towards my Jolla01:20
missMyN900even though the Jolla was not at all a bad device overall01:20
unege[m]missMyN900: It shows01:20
missMyN900but yeah back then with things like web browsing it was already showing its limits01:20
missMyN900not comparable to the current situation of course01:21
missMyN900I was mostly using Opera Mini or Mobile01:21
missMyN900that worked pretty great except for the outdated standards support01:21
missMyN900I would have a ton of tabs open01:21
missMyN900back then I also did not have mobile data01:21
missMyN900so I would use an Opera feature to save tabs for offline reading01:22
missMyN900I also used MicroB, the Hildon browser, sometimes but not nearly as much01:22
missMyN900Fennec was pretty useless IIRC01:22
missMyN900it was already really outdated01:22
missMyN900and also slow/too bloated for the N900 IIRC01:22
siceloi got mine in 2011, and i'm still using it today (for calendar, alarms, and music playback). modem has died, otherwise i'd still be using it as a phone too.01:22
missMyN900I would still be using mine today probably if I had not sold it thinking that it was slowing down my WiFi network...01:23
missMyN900then, I would never have bought the Galaxy Nexus and Z1001:23
sicelo:-D01:23
missMyN900I would have used it for music at least01:23
missMyN900it is almost painful to think of it01:24
missMyN900I would have come up with lots of cool uses for it01:24
missMyN900and it would have saved a lot of time01:24
missMyN900compared to having to buy the Galaxy Nexus and Z10, flash them, set them up etc01:24
missMyN900I could have done awesome things like run NetBSD in QEMU01:25
missMyN900I think ARMv7 already had virtualization extensions01:25
sicelorecently i have less free time, but i really want to spend some of it hacking away on the N900's bluetooth, power mgmt, etc.01:25
missMyN900I have discovered my Apple AirPods (yes, I do cringe typing that) work really well with my Z1001:26
missMyN900despite the Z10 being much older ;)01:26
missMyN900Galaxy Nexus did not support the minimum Bluetooth version01:27
siceloaren't airpods just bt headset?01:27
missMyN900basically, yes01:27
missMyN900although they do have some nice features that only work with iOS devices01:27
missMyN900but overall it works really well with BB1001:27
missMyN900I resisted Bluetooth headphones/earbuds for a long time01:28
missMyN900still do not like them01:28
missMyN900but it is still *really* convenient sometimes01:28
missMyN900I can use them when I could never use my big headphones01:28
missMyN900especially those with a heavy coiled cord...01:29
missMyN900sicelo: but yeah if they weren't just BT earbuds there is no way they would have worked with the Z1001:29
missMyN900since BlackBerry had no way of knowing that they would be invented/released when they were designing the Z1001:30
missMyN900or when BB10 10.3.1 was released01:30
unege[m]<sicelo> "unege: elaborate a bit" <- Running an apt-get while then moving to the graphical app manager and clicking downloads simply says operation failed, where with M5 it was more verbose02:25
missMyN900unege[m]: you should check out the GSMArena N900 review :D: https://www.gsmarena.com/nokia_n900-review-421.php03:44
missMyN900finally, PP is booting Mobian03:59
missMyN900managed to install it03:59
lelrafael2k opened a pull request: https://github.com/maemo-leste/pine64-kernel/pull/5 (Added proper v4l support for PP cameras)07:21
sicelounege[m]: that's a candidate for a github issue08:14
rafael2k_dual boot in maemo's u-boot is supported out-of-the-box through holding "key up" and "key down" volume keys08:25
rafael2k_always when I wake up is the same monologue by missMyN900... mamma mia!08:26
rafael2k_morning people!08:26
rafael2k_(maemo's pinephone u-boot)08:26
rafael2k_at some point I'll document this in wiki08:28
sicelorafael2k: actually not volume keys. just have the keyboard slider open, then it'll kick in08:32
siceloah, you mean pinephone?08:32
rafael2kright, in N900 right?08:35
rafael2kyes, I was mentioning the PP08:36
siceloin maemo :-p08:36
rafael2kin maemo, yes!08:37
siceloi'm just being pedantic ...08:37
rafael2k-Opeđantic08:37
sicelonice work on the PP! not a pinephone user myself, but really appreciate it08:38
rafael2ktrying a advance a bit... now I'll try to get stop-gap solution for a user to be able to take pics in ML beowulf, before going to chimaera (that will be needed for libcamera + gstlibcamera)08:43
rafael2kI can hear the camera shutter already08:43
rafael2k: )08:43
rafael2khttps://github.com/raspberrypi/libcamera-apps <- I like these command like tools... code could be put in a simple hildon gtk2 for taking pics09:20
rafael2kyay, both cameras are working!10:20
bencoh\o/10:22
rafael2kfront camera image seems a bit greenish10:23
rafael2kbut the rear one (main one I'd say) is pretty ok10:23
rafael2khttps://www.abradig.org.br/maemo-crazyness/back_camera.jpg10:24
rafael2khttps://www.abradig.org.br/maemo-crazyness/front_camera.jpg10:25
rafael2ktwo samples from the phone holding in the hand... a bit shacky, so far from optimum10:25
rafael2kalso poor light10:26
rafael2kand this just with command line tools10:26
rafael2klibcamera "cam" sample app, plus ffmpeg to convert from raw to jpg10:26
Wizzupnice :)10:29
bencohrafael2k: the ov5640 has a builtin ISP if you want10:33
bencohyou can use it to convert from raw (bayer) to rgb or yuv, and do some automatic whitebalance10:34
rafael2kinteresting... forgot what ISP is10:35
rafael2kI'm using this to convert to jpg:10:35
rafael2kffmpeg -f image2 -vcodec rawvideo -s $size -pix_fmt bayer_bggr8 -i $input $output.jpeg10:35
bencohimage signal processing10:35
rafael2kah yes, sorry10:35
bencohffmpeg's bayer conversion is kinda flaky imho10:35
rafael2kshould I use ImageMagic one may bẻ10:36
bencohoh, if you're looking for a good raw image tool, look at ufraw10:36
bencoh(and dcraw)10:36
rafael2kright, I have it here, MegaPixels use it10:36
bencohit needs a DNG header, but you can add using makeDNG10:37
rafael2khopefully we'll not need to call system() from our app... eheheheh10:37
bencohnah, it's just for debugging purpose10:37
rafael2ksure, indeed, I'm still in the "initial bringup" phase10:37
bencohlibcamera should have some kind of support for that (assuming you're still willing to use it)10:38
rafael2kI'm using it10:38
bencoh:)10:38
rafael2kthese images where captured with libcamera "cam" sample application10:38
bencohhttps://libcamera.org/api-html/classlibcamera_1_1BayerFormat.html#aa419b8f69f498c9653169eec3c06b21f10:38
bencoh:)10:38
rafael2kcool10:39
rafael2kit might me I'll leave gstreamer aside a but10:40
rafael2k*bit10:40
rafael2kas libcamera gstlibcamera is a bit clunky, could not really make it work, even in bullseye / chimaera10:41
rafael2kbut libcamera I'm hopefully to make it compile in ML beowulf... with some small backport work (plus newer meson)10:42
rafael2k*I'm hopeful10:42
bencohI wonder how good libcamera is with 3A10:42
bencoh(if at all)10:43
rafael2kwhat 3A is?10:43
bencohauto exposure/whitebalance/focus10:45
bencohonce you have that and decent bayer conversion, you'll be good to ship :)10:45
rafael2kuhum, afaik, libcamera has API for all these10:47
bencoh(you could also rely on the ov5640 for that part btw, but that would be very specific/non-reusable, and iirc it's not *that* good/reliable)10:47
rafael2kov5640 support is indeed getting good10:48
bencohdid you have a working example for the MIPI/CSI part btw?10:48
bencoh(on sunx6i)10:48
bencoh-x10:48
rafael2ka guy from libcamera mailing submitted lots of improvements (which will be in our kernel as soon as Wizzup accepts the PR)10:48
rafael2kyes!10:48
bencohah, nice10:49
rafael2khttps://github.com/maemo-leste/pine64-kernel/pull/510:49
rafael2k^^10:49
bencoh:)10:50
rafael2kwith these kernel, we can already start to play in the userland... of course there are things to improve in the drivers, but the minimum is there already10:52
rafael2k*this kernel10:52
bencohyeah ... honestly that's super cool :)10:52
rafael2k: ))10:53
rafael2kindeed!10:53
Wizzuppoke me in a few hrs and I'll merge ;)11:50
Wizzuprafael2k: do you think you could rebase/squash the commits a bit?12:05
Wizzupotherwise, looks good!12:05
rafael2kWizzup: If you think this is better, can't you just eđit the changelog, patches/series, and ađd patches/maemo/24[4-7]-* ?12:26
rafael2k: )12:26
Wizzupit's more like  fix for sun6i rework12:29
Wizzup@rafael2k12:29
Wizzupsorry for the @ highlight there12:29
Wizzupyou can mark those as fixup right/12:29
Wizzupbut I can do it if you want12:29
sicelorafael2k: wow! that looks great indeed12:39
rafael2kyes indeed, I forgot to put in the changelog a more meaningful text12:56
rafael2kindeed, there are both cameras patches plus sun6i-csi patches12:56
rafael2kWizzup: if you can do, perfect! if not, lemme know I edit the changelog12:57
rafael2k<- taking a look on pixel formats and conversion stuff... checking for next steps tbd13:06
Wizzuprafael2k: it's not about the changelog, it's about the 'fixup' commits13:11
Wizzupalso using the same tag is bound to give trouble13:11
Wizzupin our build system13:11
rafael2kcant you just copy over the patches and ađd the lines to series?13:13
rafael2k: )13:13
Wizzupkk13:15
rafael2kif you leave to me, I'll just use rm -r, delete repo, fork repo13:29
rafael2k:P13:29
Wizzupkk13:29
Wizzupsec13:29
rafael2kI'll get better eventually13:29
rafael2k:P13:30
WizzupI can help with git stuff13:30
rafael2k: )14:43
rafael2kok, but for this new features, can you just import and trigger the packages creation?14:46
Wizzupif I do that as it, it will fail, as we alread y have a source package for this kernel14:47
Wizzupfor this specific version14:47
rafael2kI don't get it14:52
rafael2kI added a -2 to the kernel version in the changelog14:52
Wizzuplet me check14:55
Wizzuphttps://www.ebay.com/itm/174585831228 razr m lot's available14:56
uvos__Wizzup: xt907 is not a mapphone15:03
uvos__its xt91x that are mapphones15:03
uvos__(and called razor *)15:03
uvos__and xt890 is a phone with efi and a an atom processor (but medfield, kernel dropped support recently)15:05
uvos__was well supported in the past iirc15:05
uvos__(another "razr" phone)15:05
Wizzupuvos__: ah15:08
Wizzuphttps://www.ebay.com/itm/175293049844 these then15:08
uvos__right15:08
Wizzupbut I have some of those here15:08
uvos__but i would buy xt91015:08
WizzupI think I might have those here on my desk15:09
uvos__since xt910 is xt912 with a unlocked bootloader15:09
uvos__(sold in europe)>15:09
Wizzupah15:09
Wizzuplike this then I guess https://www.ebay.com/itm/12526893493915:09
uvos__i would look on eu ebay15:10
uvos__since they where sold mostly in eu15:10
uvos__you can ususly have some on german ebay15:10
Wizzupyeah I think I see some15:12
tmlindi recall xt910 modem is custom.. qmi over spi, no support for that likely ever in the mainline kernel15:13
tmlindsame modem but on spi15:14
uvos__same ith xt912 or?15:14
uvos__iirc15:14
uvos__*with15:14
tmlindi think xt912 is wired the same way as bionic and droid 415:15
uvos__Wizzup: if you want something new maybe buy mb86515:17
uvos__there are lots on us ebay15:17
uvos__i dont think anyone of us has one of those15:17
humpelstilzchen[uvos__: for PP sleep/crust. Change to mce.ini worked15:18
Wizzupah, yeah15:18
WizzupI also have like 20 xt610's here still15:18
Wizzuphumpelstilzchen[: what change was that?15:18
uvos__mb865 is a mapphone15:18
uvos__xt610 is not .)15:18
uvos__:)15:18
Wizzupyeah15:18
Wizzupalso have a bunch of mz617 here15:19
Wizzupdid I ever send you one of those?15:19
uvos__yes15:19
uvos__i have one15:19
uvos__it runs mainline15:19
uvos__with no display thus far15:19
Wizzupright, that I do remember15:20
uvos__but most stuff works15:20
Wizzupok15:20
Wizzupheh15:20
uvos__Wizzup: humpelstilzchen[ is talking about disabeling the power button handlin in mce15:20
uvos__Wizzup: it interfers with waking up from sleep15:20
Wizzuphmmm15:20
uvos__so the problem is15:21
uvos__that when you go to sleep mce dosent run15:21
uvos__obviously15:21
uvos__and then you press power to wake15:21
uvos__by the time the phone wakes up the timestamp of the powerkey press is really old15:21
uvos__so mce thinks its a long pres15:21
uvos__and the action of longpress is shutdown15:22
uvos__so it looks like the phone crashes on resume15:22
uvos__we need to reagange the default key actions anhow imo15:23
uvos__make singepless lock the device15:23
uvos__etc15:23
uvos__current setup is nonsensical on anything not the n90015:23
Wizzupright15:24
Wizzupuvos__: not for now, but later I'd love to try to make the mz617 run mainline, even without display15:24
uvos__Wizzup: its fun15:25
Wizzupwrt the Motorola ATRIX 2 MB865, that's not a mapphone I guess?15:25
uvos__Wizzup: since you can brick it if you look at it wrng15:25
uvos__yes it is15:25
uvos__http:/uvos.xyz/maserati/mapphones.ods15:25
Wizzupok15:25
uvos__please refer to the spreadsheet15:25
Wizzupsorry, I forgot15:25
Wizzupmaybe we can put it on the wiki :)15:26
uvos__its exaustive15:26
Wizzup*nod*15:26
uvos__since it comes from a dump of motorals update tree15:26
Wizzuprafael2k: do I need to change the tag, or is it the same mobian kernel otherwise?15:47
lelMerlijnWajer closed a pull request: https://github.com/maemo-leste/pine64-kernel/pull/5 (Added proper v4l support for PP cameras)16:13
rafael2kWizzup: same tag!16:17
rafael2ksome mobian kernel as base16:18
rafael2k*same16:18
Wizzuprafael2k: it's running now, but I think it will fail16:19
Wizzupwe'll just see16:19
Wizzupeasier this way16:19
rafael2ktks!16:22
rafael2khttps://phoenix.maemo.org/job/pine64-kernel-source/79/16:24
rafael2k: )16:24
rafael2kI can see a spinner!16:24
Wizzupthe failure will be at -repos16:24
Wizzupafter the full kernel build16:24
Wizzupbut we'll see16:24
rafael2khum, ok16:27
rafael2kit will clash with the source of the older kernel?16:28
Wizzupyes, that's what I said :P16:28
Wizzupafaik the source packages don't care about -1 or -216:28
Wizzupbut we'll see16:28
rafael2kright, I'm with fingers crossed16:40
rafael2kbtw, we'll need to backport a newer meson, can I just put in git the bullseye / chimaera version and we build it for ourselves (this is for libcamera)?16:41
rafael2kI don't see any problem on having a newer meson16:41
rafael2k(of course I'll do the needed changes for it to build and play nice in beowulf(16:42
rafael2kor, we build add a libcamera package built somehow in a đirty system16:43
Wizzuprafael2k: looks like it passed17:04
Wizzuprafael2k: want to check that it works?17:04
rafael2ksure17:05
rafael2klinux-image-pine64 arm64 5.15.48-2+2m717:07
Wizzup:)17:10
rafael2kI think I'll have to buy another pp keyboard by myself... pine64 does not even answer me anymore17:13
rafael2kuname -a Linux devuan-pinephone 5.15.48 #1 SMP Fri Jul 1 14:32:07 UTC 2022 aarch64 GNU/Linux17:24
rafael2kall good17:24
rafael2kany advice on libcamera ? I'll just go ahead backporting the need stuff, _if_ it is not too much...17:30
Wizzuprafael2k: how much do you need17:35
rafael2kok17:36
Wizzupwhat packages I mean17:37
rafael2kI'll not build gstlibcamera for now, as I don't plan to backport gstreamer... as it is waaay to invasive17:37
rafael2kmy dream plan is just meson17:37
rafael2kwe leave that for ML chimaera17:38
rafael2kbut just with libcamera we can already have a simple hildon app17:38
Wizzuprafael2k: we need meson for libcamera?17:58
rafael2ka newer one, yes18:33
rafael2khummm, wait, it is in buster-backports18:33
rafael2kis there a beowulf-backports?18:34
Wizzuphttp://deb.devuan.org/devuan/dists/beowulf-backports/18:34
rafael2kyay18:35
rafael2klibcamera is already in sid, lemme see if I get it "for free"18:38
rafael2kjust tweak a bit the rules18:38
Wizzuprafael2k: yeah imported is not usually too hard, although in sid it might need a lot of really new stuff18:54
rafael2klibcamera itself (without tools and plugins) does not need that much dependencies19:08
rafael2kwow, installing just meson and debhelper from beowulf-backports compilation started... that is good news... only build tools, so the package (if compilation finishes) will be fine to be in the distro19:17
Wizzupok19:40
Wizzupso just libcamera then?19:40
rafael2kuhum!19:55
rafael2kit was creating the package, but my daugher playing madbomber plus package creation crashed the phone - but it worked!19:56
rafael2kjust debhelper and meson from beowulf-backports19:57
rafael2khttps://packages.debian.org/sid/libcamera019:58
rafael2k: )19:58
rafael2kI forgot to set the cpu scheduler to powersave20:00
rafael2kX still has some glitches, I need to disable auto-reboot20:03
rafael2kmy 4 yr old daughter sometimes still manages to crash it20:04
rafael2khttps://github.com/rafael2k/libcamera21:47
rafael2kI'm doing some last tweaks for us21:47
rafael2kbut generally, we'll keep tracking libcamera git21:48
rafael2kthe tweaks are just in "debian" folder, we'll use stock libcamera, as it should be21:48
rafael2k: )21:48
rafael2kwhich gtk2 / hildon widget should I use to display the image in a simple app?21:49
rafael2kI think for now I would want the simplest possible app the select front / back camera, and take a pic21:49
rafael2k(and record the jpeg or heif somewhere)21:51
rafael2kI'm not if these sensors can get 10-bit depth... but reading "bayer" it seems they dont do not even 8 bit... eheheheh21:52
rafael2k(per channel)21:52
rafael2kbencoh: some insight?21:53
rafael2kbtw, is the N900 camera supported somehow?22:57
rafael2k(people asked in the libcamera mailing)22:57
uvosthe n900 could take (terrible) images with the mainline kernel in the past22:58
uvosi dont think anyone has tried it half way recently22:58
uvosin theory all bits are floating around22:59
rafael2kright22:59
rafael2kwe could advance it a bit... in case it is something wish for22:59
uvosoh sure would be neat22:59
rafael2kmay be have a common low level camera stack22:59
rafael2k(for Maemo-Leste)23:00
rafael2kI'm learning a bit about modern v4l2 drivers and its fancy ioctl for controls23:01
rafael2klibcamera in theory can take care of the rest (control management / post-processing)23:02
rafael2kN900 has a OMAP3 based ISP right?23:04
uvosofc23:04
rafael2kright23:05
rafael2kmay be I'll want to have a N900 again23:06
rafael2k: )23:06
rafael2kso much memories, I'm not sure I should, but anyway23:07
rafael2klibcamera has a concept of pipelines to support ISP, need to understand it a bit better23:09
rafael2khttps://github.com/rafael2k/libcamera23:31
rafael2kok, this is libcamera-0.123:31
rafael2kI just create libcamera_0.1.orig.tar.gz for source, I packages build with debhelper and meson from beowulf-backports23:32
norayrwe also don't have portable flashlight, right? which will work on all devices.23:52
norayrwe need to have a default configuration of long press to become right click.23:53
sicelono application yet, yes, because in most cases the torch is controlled over v4l, and in most devices the camera isn't working (fully?) yet23:53
sicelohowever you can use the torch on both droid 4 and n900 at least by manually playing with i2c. instructions in the wiki. something similar should be possible with pp i guess, although probably that one can already be controlled over v4l23:54
norayryeah, because i was in need of a flashlight several times, and droid is the default device i am carrying with me, sometimes also with pp.23:54
norayrso i was thinking maybe i need to write  a simple non-portable app which will only work for my devices.23:54
norayrbut this default xorg configuration for long press is really necessary. to open links in other tabs for example.23:56

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