#
…

2022-03-04

00:39yuyichao_ has quit [Ping timeout: 480 seconds]
00:59yuyichao_ has joined #asahi-dev
01:22kov has joined #asahi-dev
02:16user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
02:34cynthia has quit [Server closed connection]
02:34cynthia has joined #asahi-dev
03:04user982492 has joined #asahi-dev
03:14user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:16user982492 has joined #asahi-dev
03:32user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
03:32PhilippvK has joined #asahi-dev
03:35phiologe has quit [Ping timeout: 480 seconds]
03:40kov has quit [Quit: Coyote finally caught me]
04:16marcan has quit [Server closed connection]
04:16marcan has joined #asahi-dev
04:40user982492 has joined #asahi-dev
05:21TheLink has quit [Server closed connection]
05:21TheLink has joined #asahi-dev
05:22aleasto has quit [Server closed connection]
05:22aleasto has joined #asahi-dev
05:57the_lanetly_052___ has joined #asahi-dev
06:09trouter has quit [Server closed connection]
06:09trouter has joined #asahi-dev
06:34Esmil has quit [Server closed connection]
06:34Esmil has joined #asahi-dev
06:45user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
06:51gladiac is now known as Guest1204
06:51gladiac has joined #asahi-dev
06:54user982492 has joined #asahi-dev
06:57Guest1204 has quit [Ping timeout: 480 seconds]
07:18sven has quit [Server closed connection]
07:18sven has joined #asahi-dev
07:36nico_32_ has quit [Ping timeout: 480 seconds]
07:55nico_32 has joined #asahi-dev
08:15user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
08:44Retr0id has quit [Server closed connection]
08:44Retr0id has joined #asahi-dev
09:05the_lanetly_052___ has quit [Ping timeout: 480 seconds]
09:07chengsun| has quit [Ping timeout: 480 seconds]
09:22Major_Biscuit has joined #asahi-dev
09:27the_lanetly_052___ has joined #asahi-dev
09:41klaus has joined #asahi-dev
10:12the_lanetly_052___ has quit [Ping timeout: 480 seconds]
10:21Glanzmann has joined #asahi-dev
10:25marcanjust pushed another asahi update with macsmc-hid and also added backlight support to simpledrm (and hooked it up in the DT)
10:26marcanthat's enough to make DPMS work as expected in desktop environments, including shutting down the backlight when you close the lid
10:26marcanwill build the package/new installer later, got a thing now :)
10:26marcankinda surprised simpledrm didn't have backlight support, it's trivial
10:27j`eymarcan: did you manage to get the LID working with userspace?
10:27j`eythe laptop lid
10:27marcanyes, it all works as expected
10:27marcanwas there something that was supposed to be hard about that? :-)
10:27marcanit's just a HID switch
10:28j`eywell I wrote a basic macmsc-hid yesterday, but wasn't sure what I needed on the userspace side :P
10:28marcanworks out of the box in plasma
10:28marcanno need to do anything
10:28j`eyfair enough
10:28marcanbut as I said the actual display blanking/backlight off stuff needed a hook in simpledrm, otherwise it doesn't actually turn off
10:29marcanbacklight control is kind of split; the kernel is expected to tie drm/fb power state events to backlight power, and userspace is expected to control backlight brightness
10:29marcanthe former was missing
10:29j`eyI was trying to log uevents, but didn't get any, so I guess it's a different mechanism
10:29marcanit's evdev
10:29marcanuse evtest to get them
10:30j`eyah ok, I thought it might be evtest, but I had to sleep and didnt end up using it
10:30j`eybut hey, my driver must have worked at least, I was just testing it wrong :D
10:30Glanzmannmarcan: Do I need anything else than? INPUT_MACSMC_HID
10:31marcanno, other than macsmc in general (and the existing gpio-backlight stuff, and updated devicetrees)
10:33j`eyI guess they're always going to have bHLD, but makes sense to be defensive
10:39marcando you have the backlight class enabled?
10:39marcanit's probably missing some dep but I'd hope you have that if you have gpio-backlight...
10:40GlanzmannShould I set it to =Y ?
10:42svenmarcan: btw. any idea how stuff like https://lore.kernel.org/lkml/202203031806.f1pqGvO7-lkp@intel.com/ can happen?
10:55mpsmarcan: thanks for update, going to test
10:56mpsoh, do we need SIMPLEFB ot SIMPLEDRM is enough
10:57Glanzmannmps: CONFIG_BACKLIGHT_CLASS_DEVICE=y otherwise it does not build.
10:59mpsGlanzmann: I have it already with, added when you created first patch
11:11bisko has quit [Remote host closed the connection]
11:11bisko has joined #asahi-dev
11:16konr-72[m] has joined #asahi-dev
11:31kit_ty_kate has quit [Server closed connection]
11:31kit_ty_kate has joined #asahi-dev
11:32Deewiant has quit []
11:32hug[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Eighth_Doctor has quit []
11:32maxim[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32HayashiEsme[m] has quit []
11:32N3ros[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32FieryFlames[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32perigoso[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32rowang077[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32emilazy has quit [Quit: Bridge terminating on SIGTERM]
11:32rkjnsn has quit [Quit: Bridge terminating on SIGTERM]
11:32unrelentingtech has quit []
11:32KrushnaDeore[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Dementor[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Dcow[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32ar88kk[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32astrorion26[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32bastilian[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32bngs[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32AnalogDigital[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32AnushervonTabarov[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32dcavalca has quit [Quit: Bridge terminating on SIGTERM]
11:32daniel0611[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32AdwyzzOLEDEdition[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32AkihikoOdaki[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Augur[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32IbrahimMAkrab[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32h_ro[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Jamie[m]1 has quit [Quit: Bridge terminating on SIGTERM]
11:32facez[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32fried_dede[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Ferluci[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32jason1923[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32kdwk-l[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32krirogn[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32LilleCarl[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32long[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32mariogrip[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32lucifer178[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32cgv[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32casperes1996[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32citruscitrus[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32DanielHuisman[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32digitalfx[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32CristianMgheruan-Stanciu[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32ey3ball[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32faiz_abbas[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32houlton[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32NightsOnly[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32ogimgd[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32latosca[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32lovesegfault has quit [Quit: Bridge terminating on SIGTERM]
11:32not_a_weeaboo[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32nirusu[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32DanStrong[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32tophevich[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32tuxcaeli[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32unevenrhombus[m] has quit []
11:32vivg[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32xorly[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Xichao[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32pulpy_orange2[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32roxiun[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32JacksonR[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32spokv[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32sproede[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32steffen[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32thebrinkoftomorrow[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32GregoryRWarnes[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32zelig_[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32mr_sq[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32drwhax[m]1 has quit [Quit: Bridge terminating on SIGTERM]
11:32exhan[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32landscape15[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32as400[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32javier_varez[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32jeh[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32mofux[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32LorenzKofler[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32NotHere[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32matthewayers[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32pwn0rz[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32BingDennis[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32RianSouzaSantos[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32rusty-nail[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32ryanhrob1[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32NightRaven[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32ryanhrob[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32rhys has quit [Quit: Bridge terminating on SIGTERM]
11:32s-urabe[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32sajattack[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32RowanGoemans[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32M0x8FF[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32simjnd[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32stelleg[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Sebhl[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32uur[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32vimsos[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32spot[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32user1tt[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32feeleep[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32hectour[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32pikabo[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32DiscoPenguin[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32gpanders[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32izzyisles[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32legarts[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32peerp[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32ah-[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32petermlyon[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32ducc[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32nilsi[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32wollymilkcap[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32TellowKrinkle[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32bmrgz[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32booffo[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32blassphemy[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32josipknezovic[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32kedde[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32BenPetterborg[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32_alice has quit [Quit: Bridge terminating on SIGTERM]
11:32PthariensFlame[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32bluetail[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32xerpi[m] has quit []
11:32foxlet has quit [Quit: Bridge terminating on SIGTERM]
11:32furrylover420[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32abbas_faiz[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32psydroid[m]1 has quit []
11:32blazra[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32butterfly[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32msmith12[m] has quit []
11:32enick_53 has quit [Quit: Bridge terminating on SIGTERM]
11:32Amey has quit [Quit: Bridge terminating on SIGTERM]
11:32M1bn3mar[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32sikkileo[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32abilash1994[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32brentr123[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32bpalmer4[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32BastienSaidi[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32daftfrog[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Dcow[m]1 has quit [Quit: Bridge terminating on SIGTERM]
11:32fetsorn[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32denden[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32etsukata[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32ghantaz[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32kdrag0n[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32l3k[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32kjm99[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32mmlb[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32obflv[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32notyou[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32HaoYanQi[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32latko[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32plantaintion3[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32RasmusEneman[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32ponkey364[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32rohin[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32rgort10[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32sppdqd[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Hinata[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32xiaomingcc[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32YichaoYu[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Bastian[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32davay[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32David[m]1234 has quit [Quit: Bridge terminating on SIGTERM]
11:32IsfarSifat[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32GraysonGuarino[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32MatthewLeach[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32null-nop[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32dnjmis[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32zbotpath[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32fezhead[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32ograff has quit [Quit: Bridge terminating on SIGTERM]
11:32Redecorating[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32quentin[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32retonlage[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32samfromspace[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32rethematrix[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32SocioProphet[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Synth[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32shaman_br[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32enick_375 has quit [Quit: Bridge terminating on SIGTERM]
11:32gryfbane[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32alexanderwillner[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Liam[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32ianlienfa[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32katatafjsh[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32joerosenberg[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32lockna has quit [Quit: Bridge terminating on SIGTERM]
11:32ybk[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Name[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32IanPlatt[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32JuniorJPDJ has quit [Quit: Bridge terminating on SIGTERM]
11:32IvanMaksimovic[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32cde[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32user974[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32ella-0[m] has quit []
11:32jevinskie[m] has quit []
11:32alicela1n has quit [Quit: Bridge terminating on SIGTERM]
11:32therealminzii[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32thebigbossch[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32konr-72[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32fridtjof[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32djk121[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Emantor[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32gamble[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32arnidg[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32happy-dude[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32Andre[m]1 has quit [Quit: Bridge terminating on SIGTERM]
11:32deathdisco[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32sunyiynus[m] has quit [Quit: Bridge terminating on SIGTERM]
11:32c1truz[m] has quit [Quit: Bridge terminating on SIGTERM]
11:35chengsun has joined #asahi-dev
11:39chengsun_ has joined #asahi-dev
11:39chengsun has quit [Read error: Network is unreachable]
11:40marcansven: the menu is enabled on COMPILE_TEST, but the objects aren't:
11:40marcanobj-$(CONFIG_ARCH_APPLE)+= apple/
11:40mpsevtest shows KEY_POWER and KEY_LID
11:41mpsuhm, intended to write this on #asahi
11:41marcanshould probably just be obj-y at that point
11:44roxfan2 has joined #asahi-dev
11:46kettenisdamn, now I need to update the device trees in u-boot again! ;)
11:49svenoh... that makes sense
11:49M1bn3mar[m] has joined #asahi-dev
11:50roxfan has quit [Ping timeout: 480 seconds]
11:52marcanonly problem with the backlight dep is it means I have to build in rtkit, macsmc, macsmc-gpio, because there's no reasonable way to attach the backlight device post facto, and we definitely want simpledrm built in
11:52marcanbut oh well, at least I proved that modules work now (mostly)
11:53chengsun has joined #asahi-dev
11:55chengsun_ has quit [Ping timeout: 480 seconds]
12:01dhewg has quit [Server closed connection]
12:01dhewg has joined #asahi-dev
13:12n1c has quit [Server closed connection]
13:12n1c has joined #asahi-dev
13:58amarioguy has joined #asahi-dev
14:13DragoonAethis has quit [Server closed connection]
14:13DragoonAethis has joined #asahi-dev
14:27Hinata[m] has joined #asahi-dev
14:27abbas_faiz[m] has joined #asahi-dev
14:27abilash1994[m] has joined #asahi-dev
14:27AdwyzzOLEDEdition[m] has joined #asahi-dev
14:27Andre[m]1 has joined #asahi-dev
14:27ah-[m] has joined #asahi-dev
14:27alexanderwillner[m] has joined #asahi-dev
14:27_alice has joined #asahi-dev
14:27alicela1n has joined #asahi-dev
14:27petermlyon[m] has joined #asahi-dev
14:27Amey has joined #asahi-dev
14:27AnalogDigital[m] has joined #asahi-dev
14:27AkihikoOdaki[m] has joined #asahi-dev
14:27ar88kk[m] has joined #asahi-dev
14:27arnidg[m] has joined #asahi-dev
14:27astrorion26[m] has joined #asahi-dev
14:27Augur[m] has joined #asahi-dev
14:27davay[m] has joined #asahi-dev
14:27Bastian[m] has joined #asahi-dev
14:27BastienSaidi[m] has joined #asahi-dev
14:27bastilian[m] has joined #asahi-dev
14:27blassphemy[m] has joined #asahi-dev
14:27blazra[m] has joined #asahi-dev
14:27bluetail[m] has joined #asahi-dev
14:27bmrgz[m] has joined #asahi-dev
14:27bngs[m] has joined #asahi-dev
14:27booffo[m] has joined #asahi-dev
14:27bpalmer4[m] has joined #asahi-dev
14:27BenPetterborg[m] has joined #asahi-dev
14:27brentr123[m] has joined #asahi-dev
14:27butterfly[m] has joined #asahi-dev
14:27c1truz[m] has joined #asahi-dev
14:27AnushervonTabarov[m] has joined #asahi-dev
14:27casperes1996[m] has joined #asahi-dev
14:27cde[m] has joined #asahi-dev
14:27cgv[m] has joined #asahi-dev
14:27citruscitrus[m] has joined #asahi-dev
14:27Eighth_Doctor has joined #asahi-dev
14:27CristianMgheruan-Stanciu[m] has joined #asahi-dev
14:27daftfrog[m] has joined #asahi-dev
14:27daniel0611[m] has joined #asahi-dev
14:27DanielHuisman[m] has joined #asahi-dev
14:27David[m]123 has joined #asahi-dev
14:27dcavalca has joined #asahi-dev
14:27Dcow[m] has joined #asahi-dev
14:27deathdisco[m] has joined #asahi-dev
14:27Deewiant has joined #asahi-dev
14:27denden[m] has joined #asahi-dev
14:27digitalfx[m] has joined #asahi-dev
14:27djk121[m] has joined #asahi-dev
14:27Dcow[m]1 has joined #asahi-dev
14:27dnjmis[m] has joined #asahi-dev
14:27drwhax[m]1 has joined #asahi-dev
14:27ducc[m] has joined #asahi-dev
14:27ella-0[m] has joined #asahi-dev
14:27Emantor[m] has joined #asahi-dev
14:27emilazy has joined #asahi-dev
14:27Liam[m] has joined #asahi-dev
14:27etsukata[m] has joined #asahi-dev
14:27exhan[m] has joined #asahi-dev
14:27ey3ball[m] has joined #asahi-dev
14:27facez[m] has joined #asahi-dev
14:27faiz_abbas[m] has joined #asahi-dev
14:27feeleep[m] has joined #asahi-dev
14:27Ferluci[m] has joined #asahi-dev
14:27fetsorn[m] has joined #asahi-dev
14:27hectour[m] has joined #asahi-dev
14:27FieryFlames[m] has joined #asahi-dev
14:27DiscoPenguin[m] has joined #asahi-dev
14:27foxlet has joined #asahi-dev
14:27fridtjof[m] has joined #asahi-dev
14:27fried_dede[m] has joined #asahi-dev
14:27furrylover420[m] has joined #asahi-dev
14:27gamble[m] has joined #asahi-dev
14:27GraysonGuarino[m] has joined #asahi-dev
14:27ghantaz[m] has joined #asahi-dev
14:27Guest1256 has joined #asahi-dev
14:27gpanders[m] has joined #asahi-dev
14:27gryfbane[m] has joined #asahi-dev
14:27h_ro[m] has joined #asahi-dev
14:27happy-dude[m] has joined #asahi-dev
14:27HayashiEsme[m] has joined #asahi-dev
14:27houlton[m] has joined #asahi-dev
14:27IanPlatt[m] has joined #asahi-dev
14:27ianlienfa[m] has joined #asahi-dev
14:27IbrahimMAkrab[m] has joined #asahi-dev
14:27IsfarSifat[m] has joined #asahi-dev
14:27IvanMaksimovic[m] has joined #asahi-dev
14:27MatthewLeach[m] has joined #asahi-dev
14:27izzyisles[m] has joined #asahi-dev
14:27Jamie[m]1 has joined #asahi-dev
14:27jason1923[m] has joined #asahi-dev
14:27javier_varez[m] has joined #asahi-dev
14:27jeh[m] has joined #asahi-dev
14:27jevinskie[m] has joined #asahi-dev
14:27joerosenberg[m] has joined #asahi-dev
14:27josipknezovic[m] has joined #asahi-dev
14:27JuniorJPDJ has joined #asahi-dev
14:27katatafjsh[m] has joined #asahi-dev
14:27kdrag0n[m] has joined #asahi-dev
14:27kdwk-l[m] has joined #asahi-dev
14:27kedde[m] has joined #asahi-dev
14:27kjm99[m] has joined #asahi-dev
14:27mofux[m] has joined #asahi-dev
14:27konr-72[m] has joined #asahi-dev
14:27krirogn[m] has joined #asahi-dev
14:27KrushnaDeore[m] has joined #asahi-dev
14:27lockna has joined #asahi-dev
14:27l3k[m] has joined #asahi-dev
14:27landscape15[m] has joined #asahi-dev
14:27latosca[m] has joined #asahi-dev
14:27legarts[m] has joined #asahi-dev
14:27LilleCarl[m] has joined #asahi-dev
14:27NotHere[m] has joined #asahi-dev
14:27long[m] has joined #asahi-dev
14:27LorenzKofler[m] has joined #asahi-dev
14:27lovesegfault has joined #asahi-dev
14:27lucifer178[m] has joined #asahi-dev
14:27as400[m] has joined #asahi-dev
14:27mariogrip[m] has joined #asahi-dev
14:27matthewayers[m] has joined #asahi-dev
14:27maxim[m] has joined #asahi-dev
14:27mmlb[m] has joined #asahi-dev
14:27mr_sq[m] has joined #asahi-dev
14:27fezhead[m] has joined #asahi-dev
14:27msmith12[m] has joined #asahi-dev
14:27N3ros[m] has joined #asahi-dev
14:27NightRaven[m] has joined #asahi-dev
14:27NightsOnly[m] has joined #asahi-dev
14:27nilsi[m] has joined #asahi-dev
14:27nirusu[m] has joined #asahi-dev
14:27not_a_weeaboo[m] has joined #asahi-dev
14:27notyou[m] has joined #asahi-dev
14:27null-nop[m] has joined #asahi-dev
14:27obflv[m] has joined #asahi-dev
14:27ogimgd[m] has joined #asahi-dev
14:27ograff has joined #asahi-dev
14:27HaoYanQi[m] has joined #asahi-dev
14:27DanStrong[m] has joined #asahi-dev
14:27latko[m] has joined #asahi-dev
14:27peerp[m] has joined #asahi-dev
14:27perigoso[m] has joined #asahi-dev
14:27philhug has joined #asahi-dev
14:27RasmusEneman[m] has joined #asahi-dev
14:27pikabo[m] has joined #asahi-dev
14:27plantaintion3[m] has joined #asahi-dev
14:27ponkey364[m] has joined #asahi-dev
14:27rohin[m] has joined #asahi-dev
14:27psydroid[m]1 has joined #asahi-dev
14:27PthariensFlame[m] has joined #asahi-dev
14:27pulpy_orange2[m] has joined #asahi-dev
14:27pwn0rz[m] has joined #asahi-dev
14:27quentin[m] has joined #asahi-dev
14:27BingDennis[m] has joined #asahi-dev
14:27Redecorating[m] has joined #asahi-dev
14:27rethematrix[m] has joined #asahi-dev
14:27retonlage[m] has joined #asahi-dev
14:27rgort10[m] has joined #asahi-dev
14:27rhys has joined #asahi-dev
14:27rkjnsn has joined #asahi-dev
14:27RowanGoemans[m] has joined #asahi-dev
14:27rowang077[m] has joined #asahi-dev
14:27roxiun[m] has joined #asahi-dev
14:27RianSouzaSantos[m] has joined #asahi-dev
14:27rusty-nail[m] has joined #asahi-dev
14:27ryanhrob1[m] has joined #asahi-dev
14:27ryanhrob[m] has joined #asahi-dev
14:27s-urabe[m] has joined #asahi-dev
14:27sajattack[m] has joined #asahi-dev
14:27samfromspace[m] has joined #asahi-dev
14:27Sebhl[m] has joined #asahi-dev
14:27shaman_br[m] has joined #asahi-dev
14:27M0x8FF[m] has joined #asahi-dev
14:27sikkileo[m] has joined #asahi-dev
14:27simjnd[m] has joined #asahi-dev
14:27SocioProphet[m] has joined #asahi-dev
14:27JacksonR[m] has joined #asahi-dev
14:27spokv[m] has joined #asahi-dev
14:27spot[m] has joined #asahi-dev
14:27sppdqd[m] has joined #asahi-dev
14:27sproede[m] has joined #asahi-dev
14:27steffen[m] has joined #asahi-dev
14:27stelleg[m] has joined #asahi-dev
14:27sunyiynus[m] has joined #asahi-dev
14:27Guest1258 has joined #asahi-dev
14:27Synth[m] has joined #asahi-dev
14:27TellowKrinkle[m] has joined #asahi-dev
14:27Dementor[m] has joined #asahi-dev
14:27thebigbossch[m] has joined #asahi-dev
14:27thebrinkoftomorrow[m] has joined #asahi-dev
14:27therealminzii[m] has joined #asahi-dev
14:27tophevich[m] has joined #asahi-dev
14:27tuxcaeli[m] has joined #asahi-dev
14:27unevenrhombus[m] has joined #asahi-dev
14:27unrelentingtech has joined #asahi-dev
14:27user1tt[m] has joined #asahi-dev
14:27user974[m] has joined #asahi-dev
14:27Name[m] has joined #asahi-dev
14:27uur[m] has joined #asahi-dev
14:27vimsos[m] has joined #asahi-dev
14:27vivg[m] has joined #asahi-dev
14:27GregoryRWarnes[m] has joined #asahi-dev
14:27wollymilkcap[m] has joined #asahi-dev
14:27xerpi[m] has joined #asahi-dev
14:27xiaomingcc[m] has joined #asahi-dev
14:27Xichao[m] has joined #asahi-dev
14:27xorly[m] has joined #asahi-dev
14:27ybk[m] has joined #asahi-dev
14:27YichaoYu[m] has joined #asahi-dev
14:27zelig_[m] has joined #asahi-dev
14:27zbotpath[m] has joined #asahi-dev
14:39yuyichao_ has quit [Ping timeout: 480 seconds]
14:52amarioguy has quit [Ping timeout: 480 seconds]
14:54CME has quit [Server closed connection]
14:54CME has joined #asahi-dev
14:55yuyichao_ has joined #asahi-dev
14:56amarioguy has joined #asahi-dev
15:07marcanok, so there's at least two issues with s2idle
15:08marcanone is that brcmfmac refuses suspend
15:08marcanthe other is that it actually apparently tries to powergate ANS2 and then explodes
15:08marcannot sure what the codepath for that is...
15:09alyssamarcan: I would have assumed rtkit+ans+sart kinda have to be =Y / =m in the distro initramfs, if we want things to work?
15:10marcanyes, they are =m in the initramfs right no
15:10* alyssadoesn't understand the benefit of =m in an initramfs, over =y
15:10alyssalower memory footprint i guess?
15:11povikis it lower? i just wondered about the same an hour ago
15:11bisko has quit [Read error: Connection reset by peer]
15:11marcanthe benefit is it doesn't eat memory on non-apple systems
15:12bisko has joined #asahi-dev
15:13mpsI doubt it is lower
15:14mpsif the kernel target is M1 I don't see reason to build needed parts as module (especially essential ones)
15:17_jannau_the goal is to have a general distro kernel work well enough (to install a special apple silicon 16k kernel)
15:17marcanthe goal is to have a general distro kernel be what everyone uses
15:17marcanand for distros to offer 16k general distro kernels because they should do that too
15:18alyssaor we get 4K working
15:18mpsdistros usually build LCD (least common denominator) kernels and I think 16K will not be soon there
15:19mpsalyssa: 4K works but is somewhat slower
15:21mpsI maintain two separate kernels for two machines on alpine linux, looks like I will add third one soon ;)
15:21_jannau_yes, a standard distro (uefi) install media will have such a kernel with everything apple specific as module
15:22_jannau_so we need that to work to install the distro on an apple silicon machine
15:23mpsmaintaining one kernel for a lot of SoCs is not easy task, I do this for alpine and it takes care and time
15:23* alyssagives thanks to Ben Hutchings
15:23mpsneeds care*
15:43Guest328 has quit [Server closed connection]
15:43foxtrot has joined #asahi-dev
15:44foxtrot is now known as Guest1274
15:49mrkajetanp has quit [Server closed connection]
15:49mrkajetanp has joined #asahi-dev
15:52suricato_ has quit [Ping timeout: 480 seconds]
15:56suricato has joined #asahi-dev
15:59amarioguy has quit [Ping timeout: 480 seconds]
16:01svenhm.... trying to device on my weekend project: continue hacking on atcphy, preparing sart/rtkit/nvme for submission or continue working on that 4k pagesize thing
16:02marcanhttps://mrcn.st/p/pRYg9jVh current state of s2idle :')
16:03marcanat least I got nvme to do a clean shutdown, and macsmc-hid to do button wakeups, quite trivially
16:03marcan... now I need to fix the carnage of devices getting powergated and having no idea how to restore
16:04j`eysven: is there a vote or? :P
16:06svenprobably not :D
16:08j`eymarcan: how do you setup the power button == s2idle, or is that just automatic with plasma too?
16:10marcanyou mean for triggering suspend? that's up to userspace, works fine with kde/plasma
16:10marcanthis driver thing is for resuming from suspend when you press it again
16:12j`eyoh so was it around: [ 6.484968] macsmc-rtkit 290400000.smc: RTKit: syslog message: apComms.cpp:373: SMC HID Event: 01 06 01 wheere you pressed the button to resume again?
16:15nsklaus has joined #asahi-dev
16:16marcanok, I see why ans2 explodes, it's the nested power domain thing
16:19nsklaus has quit []
16:30off^ has quit [Remote host closed the connection]
16:55marcanahahaha okay this was fun
16:55marcansven: remember that cpu run bit?
16:55marcanyeah, it turns out if we leave it set, ans2 will boot as soon as the power domain is re-enabled
16:56marcan... before we can re-enable the other critical power domains
16:56marcanand then rtkit goes on merrily initializing things in its worker, and kaboom
16:59svenjust didn’t think it was important I guess :/
17:01marcanwe knew it happened on reset assert
17:01marcanI didn't know it happened on ungate
17:01marcaner, deassert
17:01svenah, fair
17:19the_lanetly_052___ has joined #asahi-dev
17:22marcansven: ok, I got it to boot to RTKit on resume but nvme identify fails; I dumped my worktree on nvme/suspend in case you're bored
17:22amarioguy has joined #asahi-dev
17:22marcanbrcmfmac (and everything pcie) is borked in general, you need to at least unbind that one
17:22marcanecho 0000:01:00.0 > /sys/bus/pci/drivers/brcmfmac/unbind
17:22marcanecho mem > /sys/power/state
17:22marcanthat's what I use to trigger suspend
17:22marcanthen just hit the power button to resume
17:22svenI’ve never even used that one before :D
17:23marcanwhich one, suspend?
17:23marcanthen yeah, just don't load that driver :p
17:23svenhow does identify fail?
17:23sventhe command just doesn’t complete?
17:23marcan[ 10.012885] nvme-apple 393cc0000.nvme: RTKit: syslog message: cmd.c:6025: boot mode normal
17:23marcan[ 10.014446] nvme-apple 393cc0000.nvme: Starting admin queue
17:23marcan[ 10.014457] nvme nvme0: Identify Controller failed (-19)
17:23marcan[ 10.014460] nvme nvme0: Reset failure status: -5
17:24marcanit's probably something dumb
17:24marcan19 is ENODEV apparently?
17:25marcanthere's a lot of crap in my wd, but the main things are: the suspend/resume callbacks (obviously), including clearing that run bit, and also I had to always disable after shutdown, because otherwise the CC bit actually stays on and then on resume it tries to disable the controller again (prior to the RTKit boot) and fails
17:26svenhmmm… maybe it doesn’t pick up the admin queue for some reason
17:26svenill give it a shot later
17:27* marcanoff to sleep
17:29svenGoodnight!
17:42amarioguy has quit [Ping timeout: 480 seconds]
17:44amarioguy has joined #asahi-dev
17:56svenmarcan: I think the admin queue is marked as dying with blk_cleanup_queue and then it won’t allow allocating new requests there
18:00Major_Biscuit has quit []
18:01svenI think it’ll just work if you just remove that call in apple_nvme_disable
18:05svennow I just wonder why I added it there in the first place
18:11bisko has quit [Read error: Connection reset by peer]
18:12roxfan2 is now known as roxfan
18:13bisko has joined #asahi-dev
18:37leah2 has quit [Server closed connection]
18:37leah2 has joined #asahi-dev
18:37Guest1256 has left #asahi-dev [#asahi-dev]
18:42dottedmag has quit [Server closed connection]
18:42dottedmag has joined #asahi-dev
18:52Guest1258 is now known as svenpeter[m]
19:04the_lanetly_052___ has quit [Ping timeout: 480 seconds]
19:14user982492 has joined #asahi-dev
19:41bisko has quit [Remote host closed the connection]
19:43bisko has joined #asahi-dev
19:48amarioguy has quit [Ping timeout: 480 seconds]
20:08user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
20:33akemin_dayo has quit [Server closed connection]
20:34akemin_dayo has joined #asahi-dev
20:36kloenk has quit [Server closed connection]
20:36kloenk has joined #asahi-dev
20:37user982492 has joined #asahi-dev
20:39eragon has quit [Server closed connection]
20:39eragon has joined #asahi-dev
20:56gladiac has quit [Quit: k thx bye]
21:00mini has quit [Server closed connection]
21:00mini has joined #asahi-dev
21:03m42uko_ has quit [Server closed connection]
21:03m42uko has joined #asahi-dev
21:04skoobasteeve_ has joined #asahi-dev
21:07skoobasteeve has quit [Ping timeout: 480 seconds]
21:11bisko has quit [Read error: Connection reset by peer]
21:12bisko has joined #asahi-dev
21:51user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:14user982492 has joined #asahi-dev
22:22user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
22:38user982492 has joined #asahi-dev
22:40user982492 has quit []
23:12user982492 has joined #asahi-dev
23:44klaus has left #asahi-dev [Konversation terminated!]
…