ChanServ changed the topic of #aarch64-laptops to: Linux support for AArch64 Laptops (Asus NovaGo TP370QL - HP Envy x2 - Lenovo Mixx 630 - Lenovo Yoga C630)
<konradybcio> the meme says: "nobody: [...]" "men in a new flat" and is about the sheer fact that a man can live with a chair and a computer heh
rmsilva- has joined #aarch64-laptops
rmsilva has quit [Ping timeout: 480 seconds]
<gabertron> ls
<gabertron> whoops wrong window :-)
hexdump01 has joined #aarch64-laptops
hexdump0815 has quit [Ping timeout: 480 seconds]
godvino has joined #aarch64-laptops
iivanov has joined #aarch64-laptops
iivanov_ has joined #aarch64-laptops
iivanov has quit [Read error: Connection reset by peer]
rmsilva- is now known as rmsilva
<jhovold> qzed: no worries, and thanks for the update. Was just gonna ask how your move was going.
<jhovold> travmurav[m]: that looks like an impressive write up, will take a look
godvino has quit [Quit: WeeChat 3.6]
<jhovold> travmurav[m]: nice work indeed
<matalama> any progress on acpi boot?
hightower2 has quit [Ping timeout: 480 seconds]
apalos_ has quit [Quit: ZNC 1.7.2 - https://znc.in]
mani_s- has quit []
hightower2 has joined #aarch64-laptops
<konradybcio> acpi boot can't and won't be supported, as qualcomm gives us the bare minimum to boot windows (plus dvfs settings) and the meat&potatoes part is hardoded in their windows driver
bryanodonoghue has quit [Quit: The Lounge - https://thelounge.chat]
shawnguo has quit [Quit: The Lounge - https://thelounge.chat]
apalos has quit [Quit: ZNC 1.7.2 - https://znc.in]
mani_s has quit [Quit: ZNC 1.7.2 - https://znc.in]
srinik has quit [Quit: ZNC - http://znc.in]
vkoul has quit [Quit: ZNC 1.7.2 - https://znc.in]
apalos has joined #aarch64-laptops
vkoul has joined #aarch64-laptops
mani_s has joined #aarch64-laptops
srinik has joined #aarch64-laptops
baozich has joined #aarch64-laptops
apalos has quit [Quit: ZNC 1.7.2 - https://znc.in]
vkoul has quit [Quit: ZNC 1.7.2 - https://znc.in]
mani_s has quit [Quit: ZNC 1.7.2 - https://znc.in]
srinik has quit [Quit: ZNC - http://znc.in]
apalos has joined #aarch64-laptops
mani_s has joined #aarch64-laptops
<matalama> well,
vkoul has joined #aarch64-laptops
srinik has joined #aarch64-laptops
<steev> time to make the kernel understand windows drivers :D
<matalama> I've got another sc8280 laptop and try to write a dts for it base on works on x13s. I only have the acpi tables file to get some hardware information like i2c and spi device and i have no clue how to write those regulators properly. I think just copy those from x13s dts is not a good idea :(
<konradybcio> no don't do that
<konradybcio> a tool that would assist this is high on my to-do list.. but i have a couple of deadlines before that can happen
<konradybcio> for now you should be able to boot without regulators
<konradybcio> just make sure you describe hid-over-i2c devices (keyboard, touchpad)
<konradybcio> and you'll need to append "clk_ignore_unused pd_ignore_unused" to your command line
<matalama> thx, i'll try it
<HdkR> clover[m]: Oh, I completely missed the ping on the SSD I'm using. I'm using the 2TB SN740 2230 drive with an adapter to make it fit. https://frame.work/products/western-digital-sn740-nvme-m-2-2230
<HdkR> Sabrent sells a 2TB 2242 M.2, but it's double sided which doesn't fit in the laptop correctly. So avoid that one.
<HdkR> Well, avoid any double sided M.2 drives on it
<Jasper[m]1> HdkR: Oh damn they don't sell those here
<HdkR> They're a bit hard to get ahold of yea
<Jasper[m]1> Hope the MP600 isn't doublesided I guess
<HdkR> Looks single sided from their website photos
<HdkR> They offer 2TB on MP600 2230?
<Jasper[m]1> HdkR: Don't think so, but I wasn't sure if 1TB could be double sided aswell
<HdkR> ah
<HdkR> Ideally these companies would start releasing some 2242 drives with dram caches so the perf is more consistent
apalos_ has joined #aarch64-laptops
mani_s- has joined #aarch64-laptops
vkoul_ has joined #aarch64-laptops
vkoul_ has quit []
apalos- has joined #aarch64-laptops
mani_s| has joined #aarch64-laptops
apalos| has joined #aarch64-laptops
apalos_ has quit [Ping timeout: 480 seconds]
vkoul has quit [Ping timeout: 480 seconds]
apalos has quit [Ping timeout: 480 seconds]
mani_s has quit [Ping timeout: 480 seconds]
srinik has quit [Ping timeout: 480 seconds]
mani_s- has quit [Ping timeout: 480 seconds]
vkoul has joined #aarch64-laptops
mani_s has joined #aarch64-laptops
srinik has joined #aarch64-laptops
<matalama> how to know hid-descr-addr?
shawnguo has joined #aarch64-laptops
apalos- has quit [Quit: ZNC 1.7.2 - https://znc.in]
mani_s| has quit []
<konradybcio> matalama: can you dump and upload your ACPI tables to https://github.com/aarch64-laptops/build/?
<matalama> konradybcio: https://github.com/5-Super-Rookie-5/Huawei-Matebook-E-GO here is a repo
<matalama> Ill upload the dsl files later
agl7-x13s has joined #aarch64-laptops
<konradybcio> thanks ill take a look a bit later
agl7-x13s has quit [Remote host closed the connection]
agl7-x13s has joined #aarch64-laptops
bryanodonoghue has joined #aarch64-laptops
agl7-x13s_ has joined #aarch64-laptops
agl__ has joined #aarch64-laptops
agl7-x13s has quit [Ping timeout: 480 seconds]
agl7 has joined #aarch64-laptops
agl7-x13s_ has quit [Ping timeout: 480 seconds]
agl__ is now known as agl-x13s
agl-x13s has quit [Quit: Leaving]
agl7-x13s has joined #aarch64-laptops
agl7-x13s has quit [Quit: Leaving]
<jenneron[m]> matalama: hid descriptor is the result of _DSM method in ACPI with Arg2=1
hexdump01 has quit [Quit: WeeChat 1.9.1]
hexdump0815 has joined #aarch64-laptops
hightower3 has joined #aarch64-laptops
hightower2 has quit [Ping timeout: 480 seconds]
<clover[m]> <HdkR> "clover: Oh, I completely..." <- what kind of adapter do i need?
iivanov_ has quit [Remote host closed the connection]
<clover[m]> also i wonder why frameworks sells these when they don't fit in their laptops
<HdkR> clover[m]: https://www.amazon.com/gp/product/B084VLMQWC/ Basic little passive physical extension adapter
<HdkR> They sell them specifically because they're already ordering drives, and they saw that it was hard to purchase these OEM only drives. So they order them and sell them for the benefit of Steamdeck users
<clover[m]> and x13s users ;)
<HdkR> Pretty much
<Jasper[m]1> clover[m]: They were easy to get and oem only
<HdkR> OEM only parts suuuck
<Jasper[m]1> So they just bought em, slapped a margin on them and started selling as a Steam Deck expansion
<HdkR> They're constantly selling out of them as well, so seems to be worth it
<steev> bryanodonoghue: so i finally found some time to play around with your camss stuff, and it seems to work (no errors except when i typo ;) ) so I have a bunch of .bin files... what do i do with them?
<konradybcio> steev: you'll be interested in adding a device config to https://gitlab.com/postmarketOS/megapixels
<steev> ah
hightower3 has quit [Ping timeout: 480 seconds]
<clover[m]> welp, i ordered the 2 TB drive + adapter
<HdkR> Welcome to the 2TB club
<steev> kinda close :D
<agl7> clover[m] At this moment I am installing your archiso or EndeavourOS. But I want to install it on a USB stick and not on the internal NVME SSD.
<agl7> all on the X13s
<clover[m]> it wont work
<agl7> Why?
<clover[m]> no one can boot recent linux from usb. there is a regression after 5.19
<clover[m]> (on X13s)
<steev> okay back to work things
<agl7> I can boot Debian-Linux from an USB-Stick.
<clover[m]> what kernel?
<agl7> From steev
<clover[m]> what version?
<agl7> 6.3.4
<agl7> I can boot also 6.2.x
<clover[m]> interesting, that's news to me
<agl7> I try it, I must mount /mnt to the /dev/sdbX and the rest it seems ist the same.
<clover[m]> i wasn't able to and neither were ubuntu devs. but last i checked was a couple months ago, i guess
<clover[m]> good luck, i hope you don't fill up your ESP paritition if you have kernels for different distros
<agl7> clover[m]: I don't know if it's because I have a USB-C box on USB-C port 1 from the x13s. And in a USB port of the USB-C box is a USB stick on which I now try to install your EndeeavorOS. So far I have always had a USB stick with Debian Linux (unstable) and Steev's kernel (currently 6.4.3) inside and booted from it. Works flawlessly that way.
Cyrinux94 has quit []
Cyrinux94 has joined #aarch64-laptops
<agl7> clover[m]: At compiling Steev's kernel I use "laptop_defconfig" to generate .config
<clover[m]> yes that's fine. i do that too
sally has quit [Remote host closed the connection]
<agl7> clover[m]: How to compile Steev's kernel under ARCH-Linux? Under Debian I know how to build .deb packages which I can install with apt. What kind of make instructions do I have to give under ARCH-Linux?
<clover[m]> you can make it yourself with makepkg or use my precompiled binaries
<agl7> good I look
<agl7> clover[m]: I see under linux-x13s that you have a PKGBUILD, a config file, an install file and some hooks and other files
sally has joined #aarch64-laptops
<clover[m]> everything you need to build an arch package, yeah.
<agl7> clover[m]: I have started "pacstrap -K /mnt base ..." but it needs a long time because the USB stick is slow.
<clover[m]> haha, yeah that's not surprising
<agl7> clover[m]: But at this step all works ...
<agl7> I see at the LED on the USB stick that it works
<bryanodonoghue> steev that's a bayer encoded image
<bryanodonoghue> media-ctl --reset
<bryanodonoghue> media-ctl -d /dev/media0 -V '"ov8856 '16-0010'":0[fmt:SGRBG10_1X10/3280x2464 field:none]'
<bryanodonoghue> media-ctl -d /dev/media0 -V '"msm_csid0":0[fmt:SGRBG10_1X10/3280x2464]'
<bryanodonoghue> media-ctl -d /dev/media0 -V '"msm_csiphy0":0[fmt:SGRBG10_1X10/3280x2464]'
<bryanodonoghue> media-ctl -d /dev/media0 -V '"msm_vfe0_rdi0":0[fmt:SGRBG10_1X10/3280x2464]'
<bryanodonoghue> media-ctl -l '"msm_csiphy0":1->"msm_csid0":0[1],"msm_csid0":1->"msm_vfe0_rdi0":0[1]'
<bryanodonoghue> yavta -B capture-mplane --capture=5 -n 5 -I -f SGRBG10P -s 3280x2464 --file=ov8856-SGRBG10-3280x2464-000-#.bin /dev/video0
<bryanodonoghue> raw10packed-to-SGRBG8/raw10p-to-grbg8 -f SRGGB10P -s 1296x972 -b ov5675-SGRBG10-1296x972-000000000.bin ov5675-SGRBG10-1296x972-000000000.grbg8
<bryanodonoghue> raw2rgbpnm/raw2rgbpnm -f SGRBG8 -s 1296x972 ov5675-SGRBG10-1296x972-000000000.grbg8 ov5675-SGRBG10-1296x972-000000000.pnm
<bryanodonoghue> should give you a "greenwashed" simple conversion from bayer to pnm
<bryanodonoghue> I haven't been able to get gstreamer to sensibly convert from bayer on the fly
<bryanodonoghue> So we do have some libcamera work to do to tidy this up, debayer, demosaic and perhaps even apply some of the 3As
<bryanodonoghue> should happen in the next few weeks
akaWolf0 has quit [Ping timeout: 480 seconds]
hightower2 has joined #aarch64-laptops
akaWolf0 has joined #aarch64-laptops
jhovold has quit [Ping timeout: 480 seconds]
<clover[m]> Coll
<clover[m]> Cool*
<agl7> clover[m]: I know why this is so slow! When compiling the kernel, in .config the option "...DMA_LAZY=y" must be set to "...=y" (and the other two to "=n") so that the USB-C ports run with (much) higher speed. There are also kernel parameters to turn on "...DMA_LAZY" when loading the kernel. But I don't know them at the moment.
<clover[m]> ok. if you need to change parameters please create a pull request for linux-x13s
<agl7> ok
sally has quit [Remote host closed the connection]
agl7-x13s has joined #aarch64-laptops
sally has joined #aarch64-laptops
agl7-x13s has quit [Remote host closed the connection]
agl7-x13s has joined #aarch64-laptops
<steev> i posted them a few days ago
<gabertron> steev: by chance does the headphone jack work on the x13s? I assume that internally uses the WCD9... dac output somehow so might be a special thing?
<gabertron> (6.4.y kernel branch)
<steev> yeah it should
<steev> i've only tested with apple earpods
<steev> clover[m]: the command line equivalents are *both* iommu.passthrough=0 iommu.strict=0
<clover[m]> i was wondering about those when you posted the other day