00:30
Shigenta[m] has joined #msm8937-mainline
00:30
<
Shigenta[m] >
barni2000: can i currently build mainline for santoni and boot it with ui and stuff?
00:31
<
barni2000[m] >
You can, i only not uploaded the panel compatible change
00:32
<
barni2000[m] >
Change it to "xiaomi,santoni-panel"
00:33
<
barni2000[m] >
And build an lk2nd with clock pr
00:33
<
barni2000[m] >
The device dt is merged now
00:33
<
Shigenta[m] >
wait, which kernel branch and repo should i use to build?
00:35
<
barni2000[m] >
My repo, ugglite-6.10 branch
00:36
<
semfault[m] >
Has anyone gotten rolex to boot?
00:37
<
barni2000[m] >
Yes lanik but rolex is like riva only fg and charger are different
00:38
<
barni2000[m] >
I dont have rolex so i dont ported it
00:40
<
Shigenta[m] >
<barni2000[m]> "Change it to "xiaomi,santoni-..." <- line 160 in santoni dts?
00:41
<
Shigenta[m] >
line before is "panel@0 {" so ig yes
00:45
<
barni2000[m] >
Wait i have forgot to upload panel drivers also
00:45
<
semfault[m] >
<barni2000[m]> "Yes lanik but rolex is like riva..." <- Lanik's dts has a different panel compatible from my panel the last time I checked it
00:50
<
Shigenta[m] >
<barni2000[m]> "Wait i have forgot to upload..." <- 🥸
00:50
<
barni2000[m] >
Check msm89x7/linux-panel-drivers repo
00:51
<
barni2000[m] >
Shigenta[m]: I have uploaded some ugly temp commit
00:52
<
barni2000[m] >
Panel drivers can be generated rolex config is easy beacuse it will be almost same like riva's only c3b should be replaced to c3a
00:53
<
barni2000[m] >
Same should be done in lk2nd dt
00:53
<
barni2000[m] >
board id is also similar
00:53
<
semfault[m] >
Once I get my rolex battery I'll try booting with framebuffer
00:54
<
barni2000[m] >
It can boot with panel
00:54
<
semfault[m] >
I tried booting with panel and what I assume is the right panel compatible and only tux appeared
00:55
<
barni2000[m] >
You need to make an lk2nd build with panel selection and generate the panel drivers as i said everything will be the same like at riva
00:55
<
Shigenta[m] >
barni2000[m]: anyway, what works with that mainline kernel?
00:56
<
Shigenta[m] >
does audio work?
00:56
<
barni2000[m] >
cpufreq, gpu, wifi, bt, touch
00:56
<
barni2000[m] >
I have not tried to bring up audio yet
00:56
<
Shigenta[m] >
alright
00:57
<
barni2000[m] >
charging can be easily added, cameras and hw decode also
00:58
<
barni2000[m] >
But i don't want to add more features until my branch is clean enough and it is promoted as a stable stuff
00:58
<
barni2000[m] >
Also there are couple of stuff what should be sent upstream
01:03
<
semfault[m] >
<barni2000[m]> "You need to make an lk2nd..." <- so something like this?
01:05
<
barni2000[m] >
Based on riva's would be better
01:06
<
barni2000[m] >
And you should change compatible to xiaomi,rolex-panel
01:06
<
semfault[m] >
Didn't notice that, oops
01:07
<
barni2000[m] >
":%s/riva/rolex" ":%s/c3b/c3a"
01:09
<
barni2000[m] >
At board-id 2 should be replaced to 1
01:10
<
barni2000[m] >
iirc
01:15
<
semfault[m] >
<barni2000[m]> "iirc" <- Yep it is 1
01:26
<
barni2000[m] >
Qcdtb?
01:26
<
barni2000[m] >
match-device?
04:37
<
hacker420[m] >
<barni2000[m]> "charging can be easily added..." <- possibly modem too?
04:41
fossdd has quit [Read error: Connection reset by peer]
04:41
fossdd has joined #msm8937-mainline
10:06
<
barni2000[m] >
for msm8937 modem is very similar to msm8916 for msm8940 we need to cherry-pick ipa2-lite from msm8953-mainline but it is only working with msm8953 atm sdm660 is crashing 8996 is crashing
10:07
<
barni2000[m] >
maybe 8940 would work fine idk
10:15
<
hacker420[m] >
how fast does STK run for you on 8937?
10:29
<
barni2000[m] >
i have only played on 8940 30-40fps on the lowest preset
11:16
<
hacker420[m] >
<barni2000[m]> "But i don't want to add more..." <- yeah think I will wait as well
11:16
<
hacker420[m] >
just to stabilize everything
11:16
<
hacker420[m] >
so we can use one common fork
11:25
<
hacker420[m] >
FieryFlames I see your change was commited, shouldn't the quirk part be removed then?
12:28
<
barni2000[m] >
lk2nd cpufreq part is merged
13:13
<
FieryFlames[m] >
<hacker420[m]> "FieryFlames I see your change..." <- Wym quirk part
13:13
<
hacker420[m] >
comment in dtsi
13:13
<
hacker420[m] >
comment in dts
13:14
<
FieryFlames[m] >
TravMurav wants affected devices to have a comment
13:15
<
FieryFlames[m] >
It's kinda a quirk but it's also kinda not
13:15
<
FieryFlames[m] >
Schrödinger's Quirk
13:22
<
hacker420[m] >
fine then
13:33
<
hacker420[m] >
<barni2000[m]> "i have only played on 8940 30-..." <- I get like 16-26 FPS
13:34
<
hacker420[m] >
but it's perfectly fun and playable
13:34
<
hacker420[m] >
especially with the touch controls
13:34
<
barni2000[m] >
i guess it is fine since 8937 is limited a bit
13:35
<
barni2000[m] >
i only missing from stk auto enable the touch controls
13:35
<
barni2000[m] >
it is disabled by default and i need to go in settings to enable it
13:36
<
barni2000[m] >
and it also could handle gyro+accel somehow but it is not working
13:47
<
hacker420[m] >
<barni2000[m]> "and it also could handle gyro+..." <- do you have gyro and accel sensors accessible
13:48
<
barni2000[m] >
on other soc but i have hack for it
13:52
<
hacker420[m] >
guess it expects them to be exposed somehow?
13:52
<
barni2000[m] >
it can be bitbanged
13:53
<
barni2000[m] >
there is an WIP smgr driver but Toonis was stopped work on it
13:54
<
hacker420[m] >
think stk expects gyro but in a controller
13:58
<
barni2000[m] >
yeah maybe i think it cannot get values from iio proxy
14:14
<
Danct12[m] >
awesome :)
14:14
<
Danct12[m] >
i should get back to msm8937
14:22
<
barni2000[m] >
can i get permission for make a new branch i would upload my wip branch under the organziation
15:35
<
hacker420[m] >
<barni2000[m]> "yeah maybe i think it cannot get..." <- did you see if it works with iio-sensor-proxy
15:35
<
hacker420[m] >
there is a command where you can make it list values
15:35
<
hacker420[m] >
I have very little chance of getting sensors so yeah
15:43
<
barni2000[m] >
I have not checked STK code yet
15:46
<
hacker420[m] >
first get it working with phosh
15:46
<
FieryFlames[m] >
Does 8937/8917 have ssc?
15:48
<
hacker420[m] >
pretty sure no
15:49
<
barni2000[m] >
FieryFlames[m]: if you finde sensors in downstream i2c nodes then they have not use ssc but i think they are using but let me check
15:55
<
hacker420[m] >
that is if your device doesn't have a sensor hub
15:57
<
FieryFlames[m] >
I was wondering overall if they have SSC
15:57
<
FieryFlames[m] >
sounds like no
15:58
<
barni2000[m] >
it seems it is using ssc
15:58
<
barni2000[m] >
msm8916 last what is not
15:58
<
barni2000[m] >
* msm8916 is the last what
16:00
<
FieryFlames[m] >
I don't see SSC mentioned in the product brief for 8917
16:01
<
barni2000[m] >
it is 8937
16:02
<
barni2000[m] >
but i don't see any sensor under i2c nodes so ig it is using ssc
16:02
<
barni2000[m] >
8974 also have ssc
16:05
<
barni2000[m] >
it has a config
16:05
<
barni2000[m] >
they are ssc SoCs
16:06
<
FieryFlames[m] >
Unfortunate
16:06
<
barni2000[m] >
they can be bitbanged
16:06
<
barni2000[m] >
and we have ssc driver
16:06
<
barni2000[m] >
* ssc driver also
16:08
<
barni2000[m] >
as i see this is the minimal config for riva
16:08
<
hacker420[m] >
are there any msm8940/37 devices with charging in dts?
16:09
<
barni2000[m] >
you can copy it from msm8953-mainline devices it will be totaly same
16:10
<
barni2000[m] >
pmi8950_fg pm8950_charger and battery node
16:17
<
barni2000[m] >
<FieryFlames[m]> "Unfortunate" <- under 8996 sensor hub is not secure fortunatelly
16:28
<
FieryFlames[m] >
I think Motorola might've set it up securely on Ali
16:28
<
FieryFlames[m] >
I'm not messing with my msm8917 device yet
16:29
<
barni2000[m] >
FieryFlames[m]: don't think so just copy the bitbang example from xiaomis
16:30
<
FieryFlames[m] >
I already tried and used i2cdetect on it to check what was available, nothing showed up
16:30
<
barni2000[m] >
if you have sch for your device you can check which sensors ali have or you can use smgr driver for list it
16:30
<
FieryFlames[m] >
Unless i2cdetect doesn't work on i2c-GPU I
16:30
<
FieryFlames[m] >
s/GPU I/gpio/
16:30
<
barni2000[m] >
FieryFlames[m]: you will not see them until you don't power on the related regulators
16:32
<
FieryFlames[m] >
I forgot about regulators lmao true
16:32
<
FieryFlames[m] >
Not too sure how to get slave address from this tho
16:34
<
barni2000[m] >
if you know the sensors mostly they are using the default adress
16:34
<
barni2000[m] >
s/adress/address/
16:39
<
FieryFlames[m] >
SSC is always on i2c4 right (atleast for msm8953)
16:39
<
barni2000[m] >
FieryFlames[m]: ig
16:40
<
barni2000[m] >
it is soc "feature"
16:47
<
hacker420[m] >
minetest also works nicely
16:57
<
barni2000[m] >
You have tried all of the playable games
16:57
<
barni2000[m] >
0AD is unplayable because it needs mouse
17:08
<
FieryFlames[m] >
magnometer shows up :)
17:37
<
hacker420[m] >
<barni2000[m]> "You have tried all of the..." <- lol
17:37
<
hacker420[m] >
xonotic works but you need a bt gamepad
17:37
<
hacker420[m] >
think there is something missing and it won't connect
18:15
<
Danct12[m] >
<barni2000[m]> "can i get permission for make..." <- yes
18:19
<
Danct12[m] >
should now have access
18:39
<
hacker420[m] >
I saw it report as FD506 in gnome settings
18:39
<
hacker420[m] >
is this just a name change or what
18:39
<
hacker420[m] >
or did it not work fully
18:43
<
hacker420[m] >
it seems accelerated to me already
19:04
<
barni2000[m] >
<FieryFlames[m]> "magnometer shows up :)" <- Which one?
20:40
<
barni2000[m] >
<hacker420[m]> "I saw it report as FD506 in..." <- because we are using temp hack for it but David already sent Mesa update for alpine with A505 and A306A (308)
20:50
<
barni2000[m] >
cedric drivers also there
22:23
<
FieryFlames[m] >
<barni2000[m]> "Which one?" <- akXXXX I forgot what, at work now
22:24
<
FieryFlames[m] >
I have bmi160 too but I don't know what addr
22:24
<
FieryFlames[m] >
Something on 0x1d but idk what