Danct12 changed the topic of #msm8937-mainline to: Boot Linux on your MSM8917/37/40 and QM215 mobile! | GitHub: https://github.com/msm89x7-mainline | Logs: https://oftc.irclog.whitequark.org/msm8937-mainline
<dr_shui[m]> if this package is usable in debian?
Daanct12 has joined #msm8937-mainline
<dr_shui[m]> redmi4x entered ubuntu-base !
<dr_shui[m]> but usb-otg not working
<dr_shui[m]> maybe kernel config didn't open?
<dr_shui[m]> rndis can be opened
<dr_shui[m]> but usb-otg not working, no voltage out
<dr_shui[m]> once otg pluged in, rndis can't be found untill reboot
<Danct12[m]> dr_shui[m]: USB OTG is currently not supported
<Danct12[m]> as you can tell the current support is pretty barebone
<dr_shui[m]> oh, what a pity🥲
<Danct12[m]> dr_shui[m]: i know, but i think you can change from "peripheral" to "host" in dts and then externally supply power for devices and then it works :P
<Danct12[m]> the issue is that you're stuck in that mode forever
<dr_shui[m]> how? i'm really a beginner for this🥲, but i would try it
<dr_shui[m]> simply change this line? `dr_mode = "peripheral"` -> `dr_mode = "host"`?
<Danct12[m]> <dr_shui[m]> "simply change this line? `..." <- yep, untested but could work
<Danct12[m]> change usb_vbus to usb_id too
<dr_shui[m]> also there?
<Danct12[m]> yep
<Danct12[m]> hmm, i'm sure S88536AA2 is china redmi 4x because there's a pattern
<Danct12[m]> if i recall correctly xiaomi launches their phone in china first, then global
<Danct12[m]> mine is global and has S88536BA2
<Danct12[m]> and india has CA2
<Danct12[m]> india got redmi 4x months later after global launch
<dr_shui[m]> Very reasonable
<dr_shui[m]> adding some code can make lk2nd display all 4x model information correctly?
<Danct12[m]> yes
<Danct12[m]> instead of "Unknown (FIXME!)" you'll see redmi 4x
<Danct12[m]> it won't display the board region though since i can't support that yet and i haven't got the accurate information for it
<Danct12[m]> dr_shui: can you git pull lk2nd and see if this new version properly detects your board?
<dr_shui[m]> <Danct12[m]> "dr_shui: can you git pull..." <- okey,I'll try it soon
<dr_shui[m]> i made this to provide power
<dr_shui[m]> now keyboard plugin seems no response
<dr_shui[m]> usb-disk plugin got this
<dr_shui[m]> usb-hub plugin got this
<dr_shui[m]> got error -71
<dr_shui[m]> and the current is higher than not using usb-otg convertor
<Danct12[m]> dr_shui[m]: will have to see why that is then, are you sure the keyboard addon is working in first place?
<dr_shui[m]> <dr_shui[m]> "and the current is higher than..." <- i found this current is normal, my another wire to test not using usb-otg convertor is broken
<dr_shui[m]> what is error 71?
<dr_shui[m]> <Danct12[m]> "dr_shui: can you git pull..." <- which branch? I haven't seen changes at `https://github.com/msm89x7-mainline/lk2nd`
<Danct12[m]> dr_shui[m]: r4x/rebase_ro
<Danct12[m]> <dr_shui[m]> "what is error 71?" <- Protocol Error
<dr_shui[m]> <Danct12[m]> "Protocol Error" <- that's too hard for me to solve
<dr_shui[m]> i haven't seen new push here
<Danct12[m]> dr_shui[m]: sorry I pushed to wrong branch
<Danct12[m]> check it again
<dr_shui[m]> it works
<dr_shui[m]> expecting for the usb-otg fix🥲, thats really needed~
<dr_shui[m]> <Danct12[m]> "will have to see why that is..." <- keyboard works well on redmi2
<Danct12[m]> <dr_shui[m]> "9317eaff3d9fb51cb7793347b585bdd..." <- great! now all variants of redmi 4x is supported in lk2nd
<Danct12[m]> so we can dynamically update device tree when the device has a different panel than ebbgDJN, which we'll support in the future :)
<Danct12[m]> <dr_shui[m]> "expecting for the usb-otg fix..." <- is this phone gonna go to some 3d printer? :P
<dr_shui[m]> <Danct12[m]> "is this phone gonna go to some..." <- yep, mainly for 3d printers, and some ros robot devlopment ! I had made ubuntu 20.04 rootfs for redmi2 before, running ros1 projects well~😀
<Danct12[m]> cool
<Danct12[m]> sounds like the best solution to pi shortages 😂
<dr_shui[m]> yes! very good exchange for pi, and include a good touchscreen
<Danct12[m]> don't think my giant finger can use that one reliably :) i guess you have one of those capacitive pen?
<Danct12[m]> <dr_shui[m]> "yes! very good exchange for pi..." <- speaking of pi i have orange pi 2g-iot.. still need to do something with it someday
<Danct12[m]> i have orange pi 5 mainly as a powerful arm computer
<M0xCAFEBABE[m]> it'd be nice if it's possible to simulate a trackpad with the touchscreen
<Danct12[m]> M0xCAFEBABE[m]: there's a x11 module for that
<M0xCAFEBABE[m]> i've also found this for that
<M0xCAFEBABE[m]> sounds cool
<M0xCAFEBABE[m]> * looks cool
<dr_shui[m]> Using mouse and keyboard mainly
<dr_shui[m]> And “klipper screen”project provided a good touch screen interface for 3d printer controllers
<Danct12[m]> seen someone selling a rockchip board for klipper on ali
<Danct12[m]> not sure if it was rockchip or allwinner h313
<dr_shui[m]> I have one, based on h313
<dr_shui[m]> About 25usd
<Danct12[m]> wasn't this one, it was a sbc like a pi with different interface
<dr_shui[m]> This? Based on h616
<dr_shui[m]> About 100$
<Danct12[m]> not this one but that's the brand name
<Danct12[m]> it's a raspberry pi sized board
<Danct12[m]> optionally with the screen
<dr_shui[m]> Oh, i know, btt pi
<dr_shui[m]> I have that one too
<dr_shui[m]> Also h616
<dr_shui[m]> Biqu Company gave me a piece to make an evaluation video on Chinese social media.
<Danct12[m]> oh they have their own case too
<Danct12[m]> interesting
<dr_shui[m]> The whole is quite good, but it is only USB2.0, and the running memory is relatively small.
<dr_shui[m]> Danct12[m]: They provide the 3d model, and i printed it.
<dr_shui[m]> This is around 24usd
<dr_shui[m]> But i got it for free😁
<Danct12[m]> cool
<Danct12[m]> do you have to return the board after review or you get to keep it?
<dr_shui[m]> No, they give it to me, as a present
<barni2000[m]> <dr_shui[m]> "Also h616" <- problem with h616 it has only initial support at the mainline
<barni2000[m]> h6, h5 are more mature
<barni2000[m]> but h6 has design flaws
<dr_shui[m]> <barni2000[m]> "problem with h616 it has only..." <- No wonder I asked them for support from ubuntu20.04, but at that time they replied that this generation of products would probably not be updated, and they asked me to wait for their next generation of products.
<barni2000[m]> with a little uboot config you can use anything on it
<barni2000[m]> bsp distros the worst kind of stuff what you can use on an SBC
<Danct12[m]> seems like the battery current max changed to 2A after i fully discharged it
<Danct12[m]> weird
<Danct12[m]> also one thing i havent noticed is that the thing charges at 9V
<Danct12[m]> dafaq
<dr_shui[m]> 9V ?
<dr_shui[m]> 18W ?
<dr_shui[m]> i remember it's default charger is 5V2A
<Danct12[m]> <dr_shui[m]> "i remember it's default charger..." <- that's the stock charger, redmi 4x supports fast charge protocol
Daanct12 has quit [Quit: WeeChat 4.1.2]
<dr_shui[m]> Does anyone have Redmi 4(Prada)?
<dr_shui[m]> Based on 430
<dr_shui[m]> Pmos device page even don’t have this one
<Danct12[m]> <dr_shui[m]> "Does anyone have Redmi 4(Prada)?" <- maybe Sid_key has it? i think they talked about it a few weeks ago
<Danct12[m]> looking at gsmarena i immediately got mixed up by 4 and 4X
<Sid_key[m]> <Danct12[m]> "maybe Sid_key has it? i think..." <- Cafebabe has it
<Danct12[m]> i actually consider the santoni to be a downgrade from prada btw
<Danct12[m]> no 5 ghz wifi
<M0xCAFEBABE[m]> <dr_shui[m]> "Does anyone have Redmi 4(Prada)?" <- I have two
<M0xCAFEBABE[m]> <dr_shui[m]> "Pmos device page even don’t have..." <- well, that device doesn't even have kernel opensource...
<M0xCAFEBABE[m]> so that device's community is used to be very small
<M0xCAFEBABE[m]> and so nobody cared ig
<M0xCAFEBABE[m]> M0xCAFEBABE[m]: I brought up that device by reverse engineering dts and kanging drivers from similar devices, now the only issue left is the battery State-of-Charge reporting is inaccurate
<M0xCAFEBABE[m]> s/so/therefore/
<Sid_key[m]> <M0xCAFEBABE[m]> "so that device's community is..." <- Was cery big tho
<Sid_key[m]> therefore that device's community is used to be very small
<Sid_key[m]> * In reply to @me_cafebabe:matrix.org
<Sid_key[m]> Was quiet big tho
<M0xCAFEBABE[m]> * brought up downstream kernel for that device
<M0xCAFEBABE[m]> <Danct12[m]> "looking at gsmarena i immediatel..." <- santoni's india variant is actually called "Redmi 4" without the "X"
<M0xCAFEBABE[m]> meanwhile prada is called "Redmi 4" too