T42 | <rodrisola> I don't understand your question, but the super partition is the new thing as system, | 00:01 |
---|---|---|
T42 | <elros34> ok so assume yes otherwise you woudn't have /dev/block/dm-* | 00:03 |
T42 | <rodrisola> of course, I suppose that dm is dynamic mount, but I would like to mount the system, in SFOS telnet, but there is no dm * partition, which would be the system in that case, the super? | 00:08 |
T42 | <elros34> I don't get you, from your past system is already mounted: "dev/block/dm-0 on /system_root". Isn't ths from sfos? | 00:14 |
T42 | <rodrisola> no, in twrp there is the dm partition, in sailfish os not, only sda partitions, I take twrp as a reference | 00:22 |
T42 | <elros34> so make it clear of what you paste contains. One way to solve it parse-android-dynparts and some script, you can find info about it in channel logs. There is at least 1 porter which use it | 00:25 |
T42 | <elros34> here is package which you need to build and install: https://github.com/sailfish-on-nabu/parse-android-dynparts for script required to get partitions working you need to ask other porter or create it yourself | 00:30 |
T42 | <rodrisola> https://pastebin.com/AQqA1wet | 07:27 |
T42 | <rodrisola> i moun super partition | 07:28 |
T42 | <rodrisola> but | 07:28 |
T42 | <rodrisola> how to create service for exec comand automatic after few seconds | 07:29 |
T42 | <rodrisola> ? | 15:27 |
T42 | <Herrie1982> Anyone has any thoughts on how to find the correct values for transformation_matrix for the accelerometer for sensorfw? Trying to get the PinePhonePro to work here, but rotation and orientation are off a bit | 15:35 |
T42 | <adampigg> and youve used the pinephone values? (re @Herrie1982: Anyone has any thoug...) | 15:49 |
T42 | <Herrie1982> Yes | 15:49 |
T42 | <Herrie1982> And tried other readily available values | 15:49 |
T42 | <Herrie1982> Just couldn't really find any proper documentation on it | 15:50 |
T42 | <rodrisola> As commented by @elros34, the dinamics partitions package was correctly built in middle ware (mw), and I was able to install it, now according to the readme of the original developer dynamic requests are mounted as shown in the log; now I have the dynamic partitions that I could mount for example system, in ext4, but first I want to Any help | 15:50 |
T42 | <elros34> why don't you ask foxclore, he might have already working script? | 15:55 |
T42 | <elros34> @Herrie1982 maybe messwerk will help you to figure out proper matrix. After all it's just a matter of -1, 0 or 1 combination | 15:59 |
T42 | <Herrie1982> Yeah I have Messwerk, just not sure how it would help me (re @elros34: @Herrie1982 maybe me...) | 15:59 |
mal | @Herrie1982 how wrong are the values, I have done some magic hacks before for the transformation matrix | 16:01 |
mal | I mean how does it behave now | 16:01 |
T42 | <elros34> IIRC some mainline iio accelerometer drivers have also wrong scale value. Correct one would have +/-10m/s^2 in messwerk | 16:04 |
mal | wasn't there some way to scale those? or is the driver just buggy? | 16:06 |
T42 | <Herrie1982> It's rotated 90 degrees to the right and rotates counterclockwise (re @SailfishFreenodeIRCBridgeBot: <mal>@Herrie1982 how...) | 16:07 |
T42 | <elros34> driver was buggy but there were commit in sensorfw to override it | 16:07 |
T42 | <Herrie1982> That's with transformation_matrix = "0,1,0,-1,0,0,0,0,1" for mpu6500 | 16:07 |
T42 | <Herrie1982> These are the values that were OK with original PP but that one uses mpu6050 | 16:07 |
T42 | <Herrie1982> Also not sure where I could find the intervals etc values | 16:08 |
T42 | <Herrie1982> With "1,0,0,0,1,0,0,0,1" it's rotating OK but screen is turned 180 degrees | 16:09 |
mal | hmm | 16:15 |
mal | how does transformation_matrix = "0,-1,0,1,0,0,0,0,1" work? | 16:16 |
T42 | <elros34> in messwerk when you hold your phone vertically, I think Y should be something arnound: +10m/s^2, when on table: 0 | 16:17 |
T42 | <Herrie1982> Rotated 90 degrees to the right instead of 180 (re @SailfishFreenodeIRCBridgeBot: <mal>how does transf...) | 16:19 |
mal | @Herrie1982 how about transformation_matrix = "-1,0,0,0,-1,0,0,0,1"? | 16:22 |
T42 | <Herrie1982> Mal, that's getting close! | 16:24 |
T42 | <Herrie1982> Only when rotated 180 degrees it's showing 0 degrees, otherwise it's OK it seems | 16:25 |
mal | hmm | 16:25 |
T42 | <TheVancedGamer> -1,0,0,1,-1,0,0,0,1? | 16:25 |
T42 | <Herrie1982> Rotating 90 degrees counter clockwise doesn't do anything now (re @TheVancedGamer: -1,0,0,1,-1,0,0,0,1?) | 16:28 |
T42 | <TheVancedGamer> so I have forgotten the syntax, well F (re @Herrie1982: Rotating 90 degrees ...) | 16:28 |
T42 | <Herrie1982> 180 degrees counterclockwise still shows normal instead of upside down | 16:28 |
T42 | <rodrisola> I already have it mounted, automatically, after the reboot, now I have these partitions, help me to mount them, since there is no system, odm product system system_ext vendor | 16:44 |
T42 | <elros34> but why reinventing wheel if other porter probably already did all of this so you can reuse it | 16:51 |
T42 | <TheVancedGamer> try 1,0,0,0,-1,0,0,0,1 (re @Herrie1982: 180 degrees counterc...) | 17:33 |
T42 | <TheVancedGamer> that should probably (perhaps) fix it | 17:36 |
T42 | <foxclore> Hey, when trying to build | 19:16 |
T42 | <foxclore> hybris-hal droidmedia | 19:16 |
T42 | <foxclore> there is an error: | 19:16 |
T42 | <foxclore> flex: fatal internal error, exec of m4 failed | 19:16 |
T42 | <foxclore> Any ideas? | 19:16 |
T42 | <Herrie1982> Nope, rotates counter clockwise and when rotated 180 degrees shows 0 (re @TheVancedGamer: that should probably...) | 19:28 |
mal | @foxclore show more output | 19:29 |
T42 | <elros34> @Herrie1982 why don't you check values in messwerk, at least Y next z and X | 19:34 |
T42 | <elros34> or even better compare it with some working correctly device | 19:35 |
T42 | <Herrie1982> Yeah I should do that actually (re @elros34: or even better compa...) | 19:41 |
T42 | <elros34> put it on table: x:0,y:0,z:10, vertically❌0,y:+10 if not adjust matrix to make it behave correctly | 19:42 |
mal | @Herrie1982 how does "1,0,0,0,1,0,0,0,-1" behave? but this is just guess work | 19:50 |
mal | @Herrie1982 what combinations have you tried so far? | 20:01 |
T42 | <foxclore> mal: | 20:01 |
T42 | <foxclore> https://pastebin.com/72DTfWDg | 20:01 |
mal | what did you change from previous built attempts? | 20:03 |
T42 | <foxclore> nothing! | 20:04 |
T42 | <Herrie1982> This is the best one so far, sorry for poor camera work (re @SailfishFreenodeIRCBridgeBot: <mal>@Herrie1982 wha...) | 20:04 |
mal | @foxclore so the same build worked before? | 20:06 |
T42 | <Herrie1982> That's with: [accelerometer] | 20:06 |
T42 | <Herrie1982> input_match=mpu6500 | 20:06 |
T42 | <Herrie1982> intervals = "200=>2000" | 20:06 |
T42 | <Herrie1982> default_interval=500 | 20:06 |
T42 | <Herrie1982> transformation_matrix = "-1,0,0,0,-1,0,0,0,1" | 20:06 |
mal | @Herrie1982 I assume you tried to show some image but that probably is not working in irc | 20:07 |
T42 | <Herrie1982> Took a while for the video to upload to the Telegram server (I guess it was compressing it) (re @SailfishFreenodeIRCBridgeBot: <mal>@Herrie1982 I a...) | 20:08 |
T42 | <Herrie1982> It shows here now, but could be that on IRC it doesn't show | 20:08 |
T42 | <foxclore> mal: yep | 20:09 |
T42 | <foxclore> Have no clue what m4 is | 20:09 |
mal | did you just try to build again, does it always fail? did you remember to run the usual command to setup the build environment | 20:10 |
T42 | <elros34> poor video, why didn't you use accelermeter page like suggested? Where is view from table position? Also lock orientation so it's possible to read something from it | 20:10 |
T42 | <elros34> @fx | 20:11 |
T42 | <elros34> @foxclore I bet another server build right? which failed at some point because of not enough ram? "Using prebuilt kernel binary instead of source" is also something you must fix | 20:12 |
mal | @Herrie1982 maybe try QT_QPA_EGLFS_ROTATION=180 in compositor config and use the default "1,0,0,0,1,0,0,0,1" matrix? | 20:18 |
mal | forget that, it seems that is only in newer qt | 20:20 |
T42 | <Herrie1982> We'll LuneOS is on Qt 5.15 ;) (re @SailfishFreenodeIRCBridgeBot: <mal>forget that, it...) | 20:20 |
mal | still sailfish needs fix also | 20:21 |
mal | @Herrie1982 have you tried all of the most logical matrices already? | 20:23 |
Generated by irclog2html.py 2.17.1 by Marius Gedminas - find it at https://mg.pov.lt/irclog2html/!