07:51
incogninto1-1[m] has joined #msm8937-mainline
07:52
<
incogninto1-1[m] >
Hellos
07:52
<
incogninto1-1[m] >
I am having an issue with the Moto G5s backlight at startup
07:55
<
barni2000[m] >
montana
07:55
<
barni2000[m] >
which panel?
07:55
<
barni2000[m] >
2 of my montanas is working fine
07:57
<
barni2000[m] >
can you describe the issue, montana is using pmi8950_wled for backlight
08:02
<
incogninto1-1[m] >
It's good from boot-up to LK2nd
08:03
<
incogninto1-1[m] >
But as soon as Linux take over it gets so dark even the light from my lamp is too much
08:03
<
incogninto1-1[m] >
I tried to change the brightness and I got no change
08:04
<
barni2000[m] >
it can be the issue in the generated panel driver there were similar issues with other motos
08:05
<
barni2000[m] >
maybe --dumb-dcs param in panel generator config will fix it
08:06
<
barni2000[m] >
can you tell me wich panel do you have?
08:06
<
barni2000[m] >
s/wich/which/
08:06
<
incogninto1-1[m] >
?
08:06
<
incogninto1-1[m] >
Do I have to take appart the device?
08:06
<
barni2000[m] >
check the loaded modules
08:07
<
barni2000[m] >
lsmod | grep panel
08:07
<
incogninto1-1[m] >
ok
08:07
<
incogninto1-1[m] >
It's a nt35596_inx
08:10
<
incogninto1-1[m] >
<barni2000[m]> "maybe --dumb-dcs param in..." <- How do I do that?
08:12
<
barni2000[m] >
i will generate you the driver
08:13
<
incogninto1-1[m] >
Thank!
08:14
<
barni2000[m] >
i have tianma btw panel_motorola_montana_r63350_tianma 12288 0
08:17
<
incogninto1-1[m] >
Lemme see...
08:20
<
incogninto1-1[m] >
MSM8916 defconfig?
08:20
<
incogninto1-1[m] >
Just to make sure
08:26
<
barni2000[m] >
get the config from pmaports
08:26
<
incogninto1-1[m] >
Should I just rip out the config from my device?
08:26
<
incogninto1-1[m] >
Ah
08:33
<
incogninto1-1[m] >
It's building...
08:34
<
barni2000[m] >
on my T560 with 6300u it takes about 30 minutes
08:40
<
incogninto1-1[m] >
aaand it's done!
08:43
<
barni2000[m] >
btw it would be enough only just build the module, sorry i have forgot to say that
08:43
<
incogninto1-1[m] >
I decided to build the whole kernel and just rip out only the module lol
08:43
<
barni2000[m] >
don't forget to run mkinitfs
08:44
<
barni2000[m] >
because panel drivers are in the intfs
08:44
<
barni2000[m] >
s/intfs/initfs/
08:45
<
incogninto1-1[m] >
Aight. Fresh lil Initramfs
08:46
<
incogninto1-1[m] >
Time for a reboot
08:47
<
incogninto1-1[m] >
Good news the screen is lit
08:47
<
incogninto1-1[m] >
Bad news the screen is black
08:52
<
barni2000[m] >
can you write the process how did you update the module
08:52
<
barni2000[m] >
* the module?
08:52
<
incogninto1-1[m] >
So I built the kernel
08:52
<
incogninto1-1[m] >
Copied the nt panel KO file
08:53
<
incogninto1-1[m] >
Put it on my phone
08:53
<
incogninto1-1[m] >
and replaced the KO in the lib/modules
08:53
<
barni2000[m] >
have you replace the source in the kernel?
08:53
<
incogninto1-1[m] >
Yes
08:53
<
incogninto1-1[m] >
I copied the source you gave me to the c source of the nt panel
08:54
<
barni2000[m] >
so git diff shows you the differences
08:55
<
incogninto1-1[m] >
Here's the output (patch)
08:55
<
incogninto1-1[m] >
I formated it wrong
08:56
<
barni2000[m] >
"```"
08:57
<
barni2000[m] >
incogninto1-1[m]: have you executed `sudo mkinitfs` after this?
08:57
<
incogninto1-1[m] >
Yes
08:57
<
barni2000[m] >
your phone is cursed :D
08:58
<
incogninto1-1[m] >
I have the output if necessary
08:58
<
barni2000[m] >
check dmesg for errors
08:58
<
incogninto1-1[m] >
That might explain something
08:58
<
incogninto1-1[m] >
[ 4.479203] panel_motorola_montana_nt35596_inx: version magic '6.14.0-msm89x7+ SMP preempt mod_unload aarch64' should be '6.14.0-msm89x7 SMP preempt mod_unload aarch64'
08:59
<
barni2000[m] >
update the whole kernel
08:59
<
incogninto1-1[m] >
noooooooo
08:59
<
incogninto1-1[m] >
fine
09:05
<
incogninto1-1[m] >
Do I just cpy the built source of the kernel?
09:05
<
incogninto1-1[m] >
Because it's quite big
09:06
<
barni2000[m] >
pmbootstrap build --envkernel linux-postmarketos-qcom-msm89x7
09:06
<
barni2000[m] >
pmbootstrap sideload --install-key linux-postmarketos-qcom-msm89x7
09:07
<
incogninto1-1[m] >
I didn't use pmaports
09:07
<
incogninto1-1[m] >
I have the git
09:07
<
barni2000[m] >
you can copy only the modules and the kernel image
09:09
<
incogninto1-1[m] >
I should probaby learn how to use it
09:09
<
incogninto1-1[m] >
s/probaby/probably/
09:09
<
incogninto1-1[m] >
I never used it before
09:38
<
incogninto1-1[m] >
Aaand now I bricked my instalation
09:39
<
barni2000[m] >
how?
09:39
<
incogninto1-1[m] >
I couldn't select to compress the kernel into a vmlinuz file instead of vmlinux
09:39
<
incogninto1-1[m] >
So I decided to just GZip the VMLinux
09:39
<
incogninto1-1[m] >
Big mistakre
09:39
<
incogninto1-1[m] >
* Big mistake
09:40
<
incogninto1-1[m] >
Oh well. I'm just gonna rebootstrap the ting
09:40
<
incogninto1-1[m] >
s/ting/thing/
09:40
<
barni2000[m] >
you can use fastboot boot vmlinuz-dtb initramfs
09:56
funderscore has joined #msm8937-mainline
10:21
<
incogninto1-1[m] >
Aight I reinstalled it and now it works
10:22
<
incogninto1-1[m] >
But how do I modify and build the kernel before installing?
10:22
<
incogninto1-1[m] >
Using pmaports?
10:28
<
barni2000[m] >
pmbootstrap chroot -r
10:30
<
incogninto1-1[m] >
now, as Gordon Ramsay said: Where's the sauce?
10:33
<
barni2000[m] >
Maybe this help
10:35
<
barni2000[m] >
if panel is working i will update the kernel in pmaports
11:13
funderscore is now known as f_|DSR
13:13
jugsonany[m] has joined #msm8937-mainline
14:01
<
M0xCAFEBABE[m] >
barni2000: have u tried enabling audio on ugglite?
14:13
<
barni2000[m] >
It is enabled
14:24
<
M0xCAFEBABE[m] >
<barni2000[m]> "It is enabled" <- really..? i didn't even see audio related stuff on ugglite dts
14:25
<
M0xCAFEBABE[m] >
* even see any audio related
14:26
<
barni2000[m] >
Wait let me check maybe i have forgot to copy paste it from ugg
14:27
<
M0xCAFEBABE[m] >
and, no sound card comes up
14:27
<
barni2000[m] >
Yeah it is missing
14:28
<
barni2000[m] >
I have not added because touch is not working on my devices because of sh** replacement displays
14:28
<
barni2000[m] >
All my 3 ugglite is wrong
14:34
<
M0xCAFEBABE[m] >
is that our latest alsa ucm conf?
14:51
<
barni2000[m] >
i will add audio for ugglite next release, modem on msm8917, maybe venus for msm8917, maybe smgr, and i can try cherry-pick ipa2 lite for 8940
14:51
<
barni2000[m] >
and i should finalize initial sdm439 support
16:08
<
M0xCAFEBABE[m] >
do we support bluetooth now?
16:10
<
barni2000[m] >
bluetooth was always working
16:10
<
M0xCAFEBABE[m] >
cool
16:10
<
barni2000[m] >
if wifi is working bluetooth also works
16:14
<
M0xCAFEBABE[m] >
mhh, why is sdcard broken?
16:18
<
M0xCAFEBABE[m] >
btw, is there any device with IR working right now?
16:19
<
M0xCAFEBABE[m] >
and which xiaomi have camera working right now?
16:29
<
barni2000[m] >
it was fixed
16:29
<
barni2000[m] >
<M0xCAFEBABE[m]> "btw, is there any device with IR..." <- land
16:30
<
barni2000[m] >
<M0xCAFEBABE[m]> "and which xiaomi have camera..." <- land
16:30
<
barni2000[m] >
ugglite have s5k3l8 so it can be enabled easily
22:05
f_|DSR has quit [Remote host closed the connection]
22:05
f_|DSR has joined #msm8937-mainline
22:10
f_|DSR is now known as funderscore
22:10
funderscore is now known as f_|DSR
22:16
f_|DSR has quit [Remote host closed the connection]
22:16
f_|DSR has joined #msm8937-mainline
22:18
f_|DSR is now known as funderscore
22:19
funderscore is now known as f_|DSR