ChanServ changed the topic of #linux-cros-arm to:
hexdump0815 has joined #linux-cros-arm
hexdump01 has quit [Ping timeout: 480 seconds]
<Jasper[m]> Sadly
<Jasper[m]> <f_> "Hope they're doing well.. heard..." <- May be a __regional__ problem
<Jasper[m]> I was just about to ask if he had a semi-working nouveau setup on K1 and if I could replicate it on X1
<Jasper[m]> Nouveau loads on my Pixel C (semi-ontopic), firmware is present on device, then it just crashes out and runs everything at 1fps
<Jasper[m]> I'm trying my best to have a better working setup for pmOS when the next LTS comes out hahaha
<weirdtreething[m]> pixel c is close enough to a chromebook
<alpernebbi> jenneron says "although i'm fine, just have a full-time job with overtimes so i don't really work on open source anymore"
<alpernebbi> "i don't have too many of Russia problems, but that may change in 1-2 years if it continues like this"
<alpernebbi> dcz[m]: ellyq: I should get back to coreboot/u-boot stuff real soon (TM), supposed to talk to Gerben but I can't do it out of guilt & anxiety & lack of opportunity
<alpernebbi> at least I'm productive again, have been working on fixing linux for hana, cozmo, magneton
<weirdtreething[m]> oh hey alpernebbi
<weirdtreething[m]> I haven't seen you in a while either
<alpernebbi> o/
<alpernebbi> being social is hard work
<alpernebbi> and I am very lazy
<weirdtreething[m]> good to know you are still around
<weirdtreething[m]> what kinds of linux fixes have you been working on?
<alpernebbi> investigating/fixing some boot problems because I wanted to keep building most things as modules
<alpernebbi> reported some display color corruption on mt8173 and tested the fix
<alpernebbi> likewise for wifi on magneton
<alpernebbi> I still have things I need to report but got interrupted in the meantime
<alpernebbi> now I'm thinking I should just make things built-in on Debian to get it working by the next release
<alpernebbi> (the interruptions being about fixing a PipeWire UCM bug and then trying to package PulseAudio 17.0 for Debian, which was a weird rabbit hole)
<weirdtreething[m]> do you know anything about why mt8186 wont stay in suspend?
<weirdtreething[m]> (this also happens on mt8192 and mt8195)
<weirdtreething[m]> hmm
<weirdtreething[m]> this doesnt seem to be the issue ive seen on mt8192, so that must have a different issue than mt8192 and mt8195
<weirdtreething[m]> the issue ive seen is i suspend the device, and about 5 seconds later it wakes back up
<weirdtreething[m]> in the ec console I see "sleep hang detected, waking up host"
<alpernebbi> interesting, but I have no idea
jenneron[m] has joined #linux-cros-arm
<jenneron[m]> Jasper: i don't work on that stuff anymore
<jenneron[m]> i think they have nvk partially working on k1 though, maybe it will help one day
<Jasper[m]> jenneron[m]: Ahhh bummer, good to hear you're alright though
<jenneron[m]> if by "regional problem" you mean Russian terrorists - i'm fine for now
<jenneron[m]> Jasper[m]: i had 2 jetson tk1 boards 3 years ago, i send them to someone for repairs and haven't got them back though
<jenneron[m]> these devices would be cool to set up some ip kvm and give access to other developers
<weirdtreething[m]> <alpernebbi> "interesting, but I have no idea" <- its fine
<weirdtreething[m]> i have no idea either
<Jasper[m]> <jenneron[m]> "if by "regional problem" you..." <- Yep
<jenneron[m]> ellyq: WeirdTreeThing: btw do you need/want any of my devices to work on? https://wiki.postmarketos.org/wiki/User:Jenneron#Devices
<weirdtreething[m]> I think I'm fine
<weirdtreething[m]> elly probably wants lazor though
<jenneron[m]> that one was the most difficult to obtain :P
<weirdtreething[m]> also, shipping them to the US would probably cost a decent amount
<jenneron[m]> but i'm okay with giving that away
<jenneron[m]> ah, US
<jenneron[m]> yeah
<jenneron[m]> need to find someone in Europe
<weirdtreething[m]> I got super lucky with my limozeem
<weirdtreething[m]> s/limozeem/limozeen/
<weirdtreething[m]> elly is in europe
<jenneron[m]> you're in US then?
<weirdtreething[m]> yep
<Jasper[m]> <jenneron[m]> "i had 2 jetson tk1 boards 3..." <- rip, I mostly have some arm64 stuff from nv
<jenneron[m]> Jasper: it seems that ip kvms got really cheap nowadays, we should be able to do cool stuff with that
<Jasper[m]> Would be cool indeed
<jenneron[m]> WeirdTreeThing: it seems that sending a laptop to US would be 40$
<jenneron[m]> which is about price of a chromebook..
<weirdtreething[m]> yeah, I already have enough chromebooks lol
<jenneron[m]> right
<weirdtreething[m]> not really interested in rk3399, and I already have all other SoCs
<jenneron[m]> yeah something similar
<jenneron[m]> just need to get rid of them :P
<weirdtreething[m]> I may be misremembering but didn't you have an ayn odin?
<weirdtreething[m]> that seems interesting
<jenneron[m]> yeah i have that
<jenneron[m]> this one i'm not ready to send for free yet
<jenneron[m]> but half a year more and who knows
<weirdtreething[m]> thats fine
<jenneron[m]> the device is cool though, it has no secure boot
<jenneron[m]> managed to run some games on pmOS with fex-emu, but steam eats like 70+% of RAM
<ellyq> alpernebbi: i have magneton here, so i'm also *slowly* working on it
<alpernebbi> o/
<ellyq> day job is a bit overwhelming though, because i got assigned high-priority project with deadline of December 1st
<ellyq> hi :D
<weirdtreething[m]> ah the odin is sdm845
<weirdtreething[m]> i have a op6t with the same soc
<jenneron[m]> yeah, but it has better cooling
<weirdtreething[m]> good point
<jenneron[m]> it should be as performant as something in between 855 and 865 in a phone
<weirdtreething[m]> and about the ram, I found that creating a larger zram disk helps
<ellyq> jenneron[m]: lazor does look interesting
* alpernebbi cries in turkish customs
<ellyq> btw, i'm thinking about getting an M4 Mac Mini for the project
<alpernebbi> would have liked having access to a lazor
<ellyq> smuggling chromebooks into Turkey?
<ellyq> "yes, i need 10 devices for work, why is that a problem"
<jenneron[m]> it seems that sending something to Turkey would cost almost twice more than sending to US..
<jenneron[m]> ellyq: what country are you from though?
<ellyq> jenneron[m]: I recently moved to Germany
<alpernebbi> oh, importing second-hand or refurbished devices needs some special permission from a ministry
<jenneron[m]> ellyq: if you want lazor you can email me the shipping details
<jenneron[m]> it will take 5 days
weirdtreething has quit [Ping timeout: 480 seconds]
<jenneron[m]> alpernebbi: what about sending broken devices? e.g. if someone takes out motherboards and sends them separately
<jenneron[m]> i suppose they are not that dumb though
<ellyq> jenneron[m]: my living situation is a bit... complicated at the moment, but if you address it to 9elements's office with my name, parcel will magically appear on my desk :D
<ellyq> how should i pay you for shipping though?
<jenneron[m]> ellyq: sounds good
<alpernebbi> usually they want a lot of paperwork and documentation like an online store page etc. and inspect whatever is sent, a motherboard from a non-company person would be flagged I guess
<ellyq> yikes
<jenneron[m]> yeah that sounds bad..
<ellyq> i could fly there and just hand it to you, got my passport last week
<jenneron[m]> it seems a bit better in Ukraine, i have a lot of stuff from ebay, but there is a tax for 150+€
weirdtreething has joined #linux-cros-arm
<jenneron[m]> ellyq: send the details to jenneron@protonmail.com
<alpernebbi> yep, best way to import things is having someone bring it physically as a personal item
<ellyq> flight back and forth would cost 150eur, so yeah
<alpernebbi> but I don't need the lazor that much lol
<alpernebbi> at least not yet
<ellyq> i can setup remote CI once i get a flat and proper internet connection
<ellyq> instead of fucking 20Mb/s ADSL
<jenneron[m]> someone uses ADSL..
<jenneron[m]> i'm actually looking for a way to get more than 1 gbit in my apartment
<jenneron[m]> i doubt i can get 10g, but getting link aggregation thus 4 gbit would be really cool
<jenneron[m]> ellyq: any details on that CI? sounds interesting
<alpernebbi> for now I'd just like to get the kernel configs in place for Debian
<ellyq> project i'm working on at work ATM would be useful here, and it's not under NDA
<weirdtreething[m]> what project
<ellyq> it would allow us to emulate network, storage, keyboard, serial and few other devices
<ellyq> we could build a debugger that gives us access to CR50 debug + functionality above using a single USB-C cable
<alpernebbi> sounds like hardware test bench stuff
<jenneron[m]> ellyq: yeah i had in mind something like this
<jenneron[m]> but my idea was to use rpi acting as usb storage instead of pxe
<weirdtreething[m]> ellyq: nice
<ellyq> i tested prototype i have on my desk with magneton, booted pmOS just fine and was faster than eMMC (~220MB/s, 0.2ms access time)
<jenneron[m]> that comes down to network that people have at home
<jenneron[m]> they may not have a 2.5g switch
<alpernebbi> is it just software? or like a custom hardware similar to servo v4 etc.?
<ellyq> no, it was over USB
<jenneron[m]> ellyq: sounds similar to pikvm which can do this all with API
<jenneron[m]> except maybe network, it would probably require some configs
<ellyq> jenneron[m]: but it's much cheaper and faster
<jenneron[m]> ellyq: nice
<weirdtreething[m]> ellyq: does it need to be that sbc?
<ellyq> WeirdTreeThing[m]: anything with USB3.0 OTG will work
<jenneron[m]> i wired my pikvm with 8 port kvm switch, so i got ip kvm for 20-25$ per port
<jenneron[m]> there is also a sipeed thing for 40$
<jenneron[m]> can't say anything about their API
<ellyq> WeirdTreeThing[m]: that board you got from CoolStar should work
<weirdtreething[m]> ah nice
<weirdtreething[m]> I havent actually tested role switching on the type c port yet
<weirdtreething[m]> it works in host mode though
<ellyq> you'll likely have different UDC address though
<weirdtreething[m]> of course
<weirdtreething[m]> should have made it a variable
<ellyq> first start storage, then network, then pipe full path of image you want to use to '/sys/kernel/config/usb_gadget/$UDC.usb/functions/mass_storage.usb0/lun.0/file'
<weirdtreething[m]> i thought you could only have one function enabled at a time
<ellyq> you need to enable ip forwarding in sysctl, configure static IP on usb0, dnsmasq that will serve DHCP on usb0 and iptables/nftables rules to pass traffic from usb0 to public interface
<ellyq> yeah i couldn't get it to work on RPi4, but works on SBCs with DWC3
<weirdtreething[m]> i dont think the rpi4 has data lines hooked up to the type c port?
<weirdtreething[m]> could be wrong
<ellyq> it does
<weirdtreething[m]> oh
<ellyq> you would need to split power/data though
<ellyq> or power it from GPIO pins
<weirdtreething[m]> wonder if arm chromebooks have dwc3
<ellyq> yes, you would need to figure out the devicetree though
<alpernebbi> rk3399 had some gadget mode thing iirc, not sure if anyone made it work
<ellyq> speaking of
<ellyq> I found SERVOv2 at work alpernebbi
<ellyq> if i find matching connector to solder to HANA, we can get debug on MT8173
<weirdtreething[m]> [1390929.344912] configfs-gadget.fc000000.usb gadget.0: HOST MAC 7e:51:8d:e9:8a:3a
<weirdtreething[m]> [1390929.344920] configfs-gadget.fc000000.usb gadget.0: MAC 86:98:da:5e:5d:cf
<weirdtreething[m]> looks like it worked
<ellyq> congrats
<weirdtreething[m]> thanks for the script
<ellyq> the way i configured it works with Linux, macOS and Win11
<alpernebbi> you know what servo v2 would really be great for? exynos and tegra chromebooks
<ellyq> i don't have any though
<weirdtreething[m]> for serial?
<ellyq> i think you can even get JTAG on it
<ellyq> lemme find the picture
<alpernebbi> I'd mostly be interested in serials and spi flashes
<weirdtreething[m]> not sure about spi, but for serial you dont even need the servo hardware
<alpernebbi> v2 to hana would need a special cable I think
<weirdtreething[m]> ellyq: i wonder if having an actual servo would help me unbrick the ec on my one chromebook
<alpernebbi> (I have servo micro)
<ellyq> 04?
<ellyq> 404?*
<ellyq> ah no it was just weechat being a dingus
<ellyq> i'll order some tomorrow
<alpernebbi> there are three heights actually
<ellyq> i also talked to Jon Murphy recently
<ellyq> if we need any help, we can hit him up
<weirdtreething[m]> i did email him, no response
<ellyq> hm
<ellyq> so if you now pipe something like "echo /home/tree/Downloads/ultramarine.iso" > <sysfs path i mentioned> you will be able to use it as storage
<weirdtreething[m]> yep I did that
<weirdtreething[m]> after that output obivously
<weirdtreething[m]> good to know role switching works just fine
<ellyq> this script has few bugs, but i can't share the next version
<weirdtreething> appreciated anyway
<weirdtreething> btw
<ellyq> i hacked it together in like 2 hours in the beginning of the project, i would definitely get in trouble if i shared anything more
<weirdtreething> if/when you get lazor, would you mind joining #u-boot-qcom on liberachat to try to get u-boot working on it
<ellyq> sure
<weirdtreething> ive currently made zero progress
<weirdtreething> i get nothing over uart
<ellyq> just keep in mind i'll be busy until the end of the month
<weirdtreething> thats fine
<ellyq> also, i looked at 9lore's tomato today
<ellyq> i grabbed tweezers too hard and made audio codec fly
<ellyq> so... i need to buy him new chip lol
<weirdtreething> lol
<weirdtreething> which codec is it
<weirdtreething> because I've look for certain ones in the past and couldn't find them at all
<ellyq> good question
<ellyq> ALC5682I
<weirdtreething> have you figured out why it doesnt work yet?
<ellyq> no
<weirdtreething> you know
<weirdtreething> i wonder if his suspend issue is related to whatever happened to the audio
<ellyq> well, it did not suspend with audio codec gone lmao
<weirdtreething> maybe it expects the codec there and something fails
<weirdtreething> it just seems a lot more extreme that what I've seen on mt8192 and what I remember you telling me on mt8186
<ellyq> i don't think missing i2c device would cause it
<weirdtreething> i really dont know
<weirdtreething> the mt8192 issue is really confusing me because it seems like everything is working as expected
<ellyq> well, it still makes more sense than eldrid
<ellyq> we pinpointed the issue to temperature problem, but no idea why it only happens on his device, only on battery
<weirdtreething> computers are weird