ChanServ changed the topic of #asahi-dev to: Asahi Linux: porting Linux to Apple Silicon macs | General development | GitHub: https://alx.sh/g | Wiki: https://alx.sh/w | Logs: https://alx.sh/l/asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
yuyichao_ has joined #asahi-dev
kov has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cynthia has quit [Server closed connection]
cynthia has joined #asahi-dev
user982492 has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
PhilippvK has joined #asahi-dev
phiologe has quit [Ping timeout: 480 seconds]
kov has quit [Quit: Coyote finally caught me]
marcan has quit [Server closed connection]
marcan has joined #asahi-dev
user982492 has joined #asahi-dev
TheLink has quit [Server closed connection]
TheLink has joined #asahi-dev
aleasto has quit [Server closed connection]
aleasto has joined #asahi-dev
the_lanetly_052___ has joined #asahi-dev
trouter has quit [Server closed connection]
trouter has joined #asahi-dev
Esmil has quit [Server closed connection]
Esmil has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
gladiac is now known as Guest1204
gladiac has joined #asahi-dev
user982492 has joined #asahi-dev
Guest1204 has quit [Ping timeout: 480 seconds]
sven has quit [Server closed connection]
sven has joined #asahi-dev
nico_32_ has quit [Ping timeout: 480 seconds]
nico_32 has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Retr0id has quit [Server closed connection]
Retr0id has joined #asahi-dev
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
chengsun| has quit [Ping timeout: 480 seconds]
Major_Biscuit has joined #asahi-dev
the_lanetly_052___ has joined #asahi-dev
klaus has joined #asahi-dev
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
Glanzmann has joined #asahi-dev
<marcan> just pushed another asahi update with macsmc-hid and also added backlight support to simpledrm (and hooked it up in the DT)
<marcan> that's enough to make DPMS work as expected in desktop environments, including shutting down the backlight when you close the lid
<marcan> will build the package/new installer later, got a thing now :)
<marcan> kinda surprised simpledrm didn't have backlight support, it's trivial
<Glanzmann> Nice.
<j`ey> marcan: did you manage to get the LID working with userspace?
<marcan> LID?
<j`ey> lid
<j`ey> the laptop lid
<marcan> yes, it all works as expected
<marcan> was there something that was supposed to be hard about that? :-)
<marcan> it's just a HID switch
<j`ey> well I wrote a basic macmsc-hid yesterday, but wasn't sure what I needed on the userspace side :P
<marcan> works out of the box in plasma
<marcan> no need to do anything
<j`ey> fair enough
<marcan> but as I said the actual display blanking/backlight off stuff needed a hook in simpledrm, otherwise it doesn't actually turn off
<marcan> backlight 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
<marcan> the former was missing
<j`ey> I was trying to log uevents, but didn't get any, so I guess it's a different mechanism
<marcan> it's evdev
<marcan> use evtest to get them
<j`ey> ah ok, I thought it might be evtest, but I had to sleep and didnt end up using it
<j`ey> but hey, my driver must have worked at least, I was just testing it wrong :D
<marcan> :D
<Glanzmann> marcan: Do I need anything else than? INPUT_MACSMC_HID
<marcan> no, other than macsmc in general (and the existing gpio-backlight stuff, and updated devicetrees)
<j`ey> I guess they're always going to have bHLD, but makes sense to be defensive
<marcan> do you have the backlight class enabled?
<marcan> it's probably missing some dep but I'd hope you have that if you have gpio-backlight...
<marcan> >module
<Glanzmann> Should I set it to =Y ?
<sven> marcan: btw. any idea how stuff like https://lore.kernel.org/lkml/202203031806.f1pqGvO7-lkp@intel.com/ can happen?
<mps> marcan: thanks for update, going to test
<mps> oh, do we need SIMPLEFB ot SIMPLEDRM is enough
<Glanzmann> mps: CONFIG_BACKLIGHT_CLASS_DEVICE=y otherwise it does not build.
<mps> Glanzmann: I have it already with, added when you created first patch
bisko has quit [Remote host closed the connection]
bisko has joined #asahi-dev
konr-72[m] has joined #asahi-dev
kit_ty_kate has quit [Server closed connection]
kit_ty_kate has joined #asahi-dev
Deewiant has quit []
hug[m] has quit [Quit: Bridge terminating on SIGTERM]
Eighth_Doctor has quit []
maxim[m] has quit [Quit: Bridge terminating on SIGTERM]
HayashiEsme[m] has quit []
N3ros[m] has quit [Quit: Bridge terminating on SIGTERM]
FieryFlames[m] has quit [Quit: Bridge terminating on SIGTERM]
perigoso[m] has quit [Quit: Bridge terminating on SIGTERM]
rowang077[m] has quit [Quit: Bridge terminating on SIGTERM]
emilazy has quit [Quit: Bridge terminating on SIGTERM]
rkjnsn has quit [Quit: Bridge terminating on SIGTERM]
unrelentingtech has quit []
KrushnaDeore[m] has quit [Quit: Bridge terminating on SIGTERM]
Dementor[m] has quit [Quit: Bridge terminating on SIGTERM]
Dcow[m] has quit [Quit: Bridge terminating on SIGTERM]
ar88kk[m] has quit [Quit: Bridge terminating on SIGTERM]
astrorion26[m] has quit [Quit: Bridge terminating on SIGTERM]
bastilian[m] has quit [Quit: Bridge terminating on SIGTERM]
bngs[m] has quit [Quit: Bridge terminating on SIGTERM]
AnalogDigital[m] has quit [Quit: Bridge terminating on SIGTERM]
AnushervonTabarov[m] has quit [Quit: Bridge terminating on SIGTERM]
dcavalca has quit [Quit: Bridge terminating on SIGTERM]
daniel0611[m] has quit [Quit: Bridge terminating on SIGTERM]
AdwyzzOLEDEdition[m] has quit [Quit: Bridge terminating on SIGTERM]
AkihikoOdaki[m] has quit [Quit: Bridge terminating on SIGTERM]
Augur[m] has quit [Quit: Bridge terminating on SIGTERM]
IbrahimMAkrab[m] has quit [Quit: Bridge terminating on SIGTERM]
h_ro[m] has quit [Quit: Bridge terminating on SIGTERM]
Jamie[m]1 has quit [Quit: Bridge terminating on SIGTERM]
facez[m] has quit [Quit: Bridge terminating on SIGTERM]
fried_dede[m] has quit [Quit: Bridge terminating on SIGTERM]
Ferluci[m] has quit [Quit: Bridge terminating on SIGTERM]
jason1923[m] has quit [Quit: Bridge terminating on SIGTERM]
kdwk-l[m] has quit [Quit: Bridge terminating on SIGTERM]
krirogn[m] has quit [Quit: Bridge terminating on SIGTERM]
LilleCarl[m] has quit [Quit: Bridge terminating on SIGTERM]
long[m] has quit [Quit: Bridge terminating on SIGTERM]
mariogrip[m] has quit [Quit: Bridge terminating on SIGTERM]
lucifer178[m] has quit [Quit: Bridge terminating on SIGTERM]
cgv[m] has quit [Quit: Bridge terminating on SIGTERM]
casperes1996[m] has quit [Quit: Bridge terminating on SIGTERM]
citruscitrus[m] has quit [Quit: Bridge terminating on SIGTERM]
DanielHuisman[m] has quit [Quit: Bridge terminating on SIGTERM]
digitalfx[m] has quit [Quit: Bridge terminating on SIGTERM]
CristianMgheruan-Stanciu[m] has quit [Quit: Bridge terminating on SIGTERM]
ey3ball[m] has quit [Quit: Bridge terminating on SIGTERM]
faiz_abbas[m] has quit [Quit: Bridge terminating on SIGTERM]
houlton[m] has quit [Quit: Bridge terminating on SIGTERM]
NightsOnly[m] has quit [Quit: Bridge terminating on SIGTERM]
ogimgd[m] has quit [Quit: Bridge terminating on SIGTERM]
latosca[m] has quit [Quit: Bridge terminating on SIGTERM]
lovesegfault has quit [Quit: Bridge terminating on SIGTERM]
not_a_weeaboo[m] has quit [Quit: Bridge terminating on SIGTERM]
nirusu[m] has quit [Quit: Bridge terminating on SIGTERM]
DanStrong[m] has quit [Quit: Bridge terminating on SIGTERM]
tophevich[m] has quit [Quit: Bridge terminating on SIGTERM]
tuxcaeli[m] has quit [Quit: Bridge terminating on SIGTERM]
unevenrhombus[m] has quit []
vivg[m] has quit [Quit: Bridge terminating on SIGTERM]
xorly[m] has quit [Quit: Bridge terminating on SIGTERM]
Xichao[m] has quit [Quit: Bridge terminating on SIGTERM]
pulpy_orange2[m] has quit [Quit: Bridge terminating on SIGTERM]
roxiun[m] has quit [Quit: Bridge terminating on SIGTERM]
JacksonR[m] has quit [Quit: Bridge terminating on SIGTERM]
spokv[m] has quit [Quit: Bridge terminating on SIGTERM]
sproede[m] has quit [Quit: Bridge terminating on SIGTERM]
steffen[m] has quit [Quit: Bridge terminating on SIGTERM]
thebrinkoftomorrow[m] has quit [Quit: Bridge terminating on SIGTERM]
GregoryRWarnes[m] has quit [Quit: Bridge terminating on SIGTERM]
zelig_[m] has quit [Quit: Bridge terminating on SIGTERM]
mr_sq[m] has quit [Quit: Bridge terminating on SIGTERM]
drwhax[m]1 has quit [Quit: Bridge terminating on SIGTERM]
exhan[m] has quit [Quit: Bridge terminating on SIGTERM]
landscape15[m] has quit [Quit: Bridge terminating on SIGTERM]
as400[m] has quit [Quit: Bridge terminating on SIGTERM]
javier_varez[m] has quit [Quit: Bridge terminating on SIGTERM]
jeh[m] has quit [Quit: Bridge terminating on SIGTERM]
mofux[m] has quit [Quit: Bridge terminating on SIGTERM]
LorenzKofler[m] has quit [Quit: Bridge terminating on SIGTERM]
NotHere[m] has quit [Quit: Bridge terminating on SIGTERM]
matthewayers[m] has quit [Quit: Bridge terminating on SIGTERM]
pwn0rz[m] has quit [Quit: Bridge terminating on SIGTERM]
BingDennis[m] has quit [Quit: Bridge terminating on SIGTERM]
RianSouzaSantos[m] has quit [Quit: Bridge terminating on SIGTERM]
rusty-nail[m] has quit [Quit: Bridge terminating on SIGTERM]
ryanhrob1[m] has quit [Quit: Bridge terminating on SIGTERM]
NightRaven[m] has quit [Quit: Bridge terminating on SIGTERM]
ryanhrob[m] has quit [Quit: Bridge terminating on SIGTERM]
rhys has quit [Quit: Bridge terminating on SIGTERM]
s-urabe[m] has quit [Quit: Bridge terminating on SIGTERM]
sajattack[m] has quit [Quit: Bridge terminating on SIGTERM]
RowanGoemans[m] has quit [Quit: Bridge terminating on SIGTERM]
M0x8FF[m] has quit [Quit: Bridge terminating on SIGTERM]
simjnd[m] has quit [Quit: Bridge terminating on SIGTERM]
stelleg[m] has quit [Quit: Bridge terminating on SIGTERM]
Sebhl[m] has quit [Quit: Bridge terminating on SIGTERM]
uur[m] has quit [Quit: Bridge terminating on SIGTERM]
vimsos[m] has quit [Quit: Bridge terminating on SIGTERM]
spot[m] has quit [Quit: Bridge terminating on SIGTERM]
user1tt[m] has quit [Quit: Bridge terminating on SIGTERM]
feeleep[m] has quit [Quit: Bridge terminating on SIGTERM]
hectour[m] has quit [Quit: Bridge terminating on SIGTERM]
pikabo[m] has quit [Quit: Bridge terminating on SIGTERM]
DiscoPenguin[m] has quit [Quit: Bridge terminating on SIGTERM]
gpanders[m] has quit [Quit: Bridge terminating on SIGTERM]
izzyisles[m] has quit [Quit: Bridge terminating on SIGTERM]
legarts[m] has quit [Quit: Bridge terminating on SIGTERM]
peerp[m] has quit [Quit: Bridge terminating on SIGTERM]
ah-[m] has quit [Quit: Bridge terminating on SIGTERM]
petermlyon[m] has quit [Quit: Bridge terminating on SIGTERM]
ducc[m] has quit [Quit: Bridge terminating on SIGTERM]
nilsi[m] has quit [Quit: Bridge terminating on SIGTERM]
wollymilkcap[m] has quit [Quit: Bridge terminating on SIGTERM]
TellowKrinkle[m] has quit [Quit: Bridge terminating on SIGTERM]
bmrgz[m] has quit [Quit: Bridge terminating on SIGTERM]
booffo[m] has quit [Quit: Bridge terminating on SIGTERM]
blassphemy[m] has quit [Quit: Bridge terminating on SIGTERM]
josipknezovic[m] has quit [Quit: Bridge terminating on SIGTERM]
kedde[m] has quit [Quit: Bridge terminating on SIGTERM]
BenPetterborg[m] has quit [Quit: Bridge terminating on SIGTERM]
_alice has quit [Quit: Bridge terminating on SIGTERM]
PthariensFlame[m] has quit [Quit: Bridge terminating on SIGTERM]
bluetail[m] has quit [Quit: Bridge terminating on SIGTERM]
xerpi[m] has quit []
foxlet has quit [Quit: Bridge terminating on SIGTERM]
furrylover420[m] has quit [Quit: Bridge terminating on SIGTERM]
abbas_faiz[m] has quit [Quit: Bridge terminating on SIGTERM]
psydroid[m]1 has quit []
blazra[m] has quit [Quit: Bridge terminating on SIGTERM]
butterfly[m] has quit [Quit: Bridge terminating on SIGTERM]
msmith12[m] has quit []
enick_53 has quit [Quit: Bridge terminating on SIGTERM]
Amey has quit [Quit: Bridge terminating on SIGTERM]
M1bn3mar[m] has quit [Quit: Bridge terminating on SIGTERM]
sikkileo[m] has quit [Quit: Bridge terminating on SIGTERM]
abilash1994[m] has quit [Quit: Bridge terminating on SIGTERM]
brentr123[m] has quit [Quit: Bridge terminating on SIGTERM]
bpalmer4[m] has quit [Quit: Bridge terminating on SIGTERM]
BastienSaidi[m] has quit [Quit: Bridge terminating on SIGTERM]
daftfrog[m] has quit [Quit: Bridge terminating on SIGTERM]
Dcow[m]1 has quit [Quit: Bridge terminating on SIGTERM]
fetsorn[m] has quit [Quit: Bridge terminating on SIGTERM]
denden[m] has quit [Quit: Bridge terminating on SIGTERM]
etsukata[m] has quit [Quit: Bridge terminating on SIGTERM]
ghantaz[m] has quit [Quit: Bridge terminating on SIGTERM]
kdrag0n[m] has quit [Quit: Bridge terminating on SIGTERM]
l3k[m] has quit [Quit: Bridge terminating on SIGTERM]
kjm99[m] has quit [Quit: Bridge terminating on SIGTERM]
mmlb[m] has quit [Quit: Bridge terminating on SIGTERM]
obflv[m] has quit [Quit: Bridge terminating on SIGTERM]
notyou[m] has quit [Quit: Bridge terminating on SIGTERM]
HaoYanQi[m] has quit [Quit: Bridge terminating on SIGTERM]
latko[m] has quit [Quit: Bridge terminating on SIGTERM]
plantaintion3[m] has quit [Quit: Bridge terminating on SIGTERM]
RasmusEneman[m] has quit [Quit: Bridge terminating on SIGTERM]
ponkey364[m] has quit [Quit: Bridge terminating on SIGTERM]
rohin[m] has quit [Quit: Bridge terminating on SIGTERM]
rgort10[m] has quit [Quit: Bridge terminating on SIGTERM]
sppdqd[m] has quit [Quit: Bridge terminating on SIGTERM]
Hinata[m] has quit [Quit: Bridge terminating on SIGTERM]
xiaomingcc[m] has quit [Quit: Bridge terminating on SIGTERM]
YichaoYu[m] has quit [Quit: Bridge terminating on SIGTERM]
Bastian[m] has quit [Quit: Bridge terminating on SIGTERM]
davay[m] has quit [Quit: Bridge terminating on SIGTERM]
David[m]1234 has quit [Quit: Bridge terminating on SIGTERM]
IsfarSifat[m] has quit [Quit: Bridge terminating on SIGTERM]
GraysonGuarino[m] has quit [Quit: Bridge terminating on SIGTERM]
MatthewLeach[m] has quit [Quit: Bridge terminating on SIGTERM]
null-nop[m] has quit [Quit: Bridge terminating on SIGTERM]
dnjmis[m] has quit [Quit: Bridge terminating on SIGTERM]
zbotpath[m] has quit [Quit: Bridge terminating on SIGTERM]
fezhead[m] has quit [Quit: Bridge terminating on SIGTERM]
ograff has quit [Quit: Bridge terminating on SIGTERM]
Redecorating[m] has quit [Quit: Bridge terminating on SIGTERM]
quentin[m] has quit [Quit: Bridge terminating on SIGTERM]
retonlage[m] has quit [Quit: Bridge terminating on SIGTERM]
samfromspace[m] has quit [Quit: Bridge terminating on SIGTERM]
rethematrix[m] has quit [Quit: Bridge terminating on SIGTERM]
SocioProphet[m] has quit [Quit: Bridge terminating on SIGTERM]
Synth[m] has quit [Quit: Bridge terminating on SIGTERM]
shaman_br[m] has quit [Quit: Bridge terminating on SIGTERM]
enick_375 has quit [Quit: Bridge terminating on SIGTERM]
gryfbane[m] has quit [Quit: Bridge terminating on SIGTERM]
alexanderwillner[m] has quit [Quit: Bridge terminating on SIGTERM]
Liam[m] has quit [Quit: Bridge terminating on SIGTERM]
ianlienfa[m] has quit [Quit: Bridge terminating on SIGTERM]
katatafjsh[m] has quit [Quit: Bridge terminating on SIGTERM]
joerosenberg[m] has quit [Quit: Bridge terminating on SIGTERM]
lockna has quit [Quit: Bridge terminating on SIGTERM]
ybk[m] has quit [Quit: Bridge terminating on SIGTERM]
Name[m] has quit [Quit: Bridge terminating on SIGTERM]
IanPlatt[m] has quit [Quit: Bridge terminating on SIGTERM]
JuniorJPDJ has quit [Quit: Bridge terminating on SIGTERM]
IvanMaksimovic[m] has quit [Quit: Bridge terminating on SIGTERM]
cde[m] has quit [Quit: Bridge terminating on SIGTERM]
user974[m] has quit [Quit: Bridge terminating on SIGTERM]
ella-0[m] has quit []
jevinskie[m] has quit []
alicela1n has quit [Quit: Bridge terminating on SIGTERM]
therealminzii[m] has quit [Quit: Bridge terminating on SIGTERM]
thebigbossch[m] has quit [Quit: Bridge terminating on SIGTERM]
konr-72[m] has quit [Quit: Bridge terminating on SIGTERM]
fridtjof[m] has quit [Quit: Bridge terminating on SIGTERM]
djk121[m] has quit [Quit: Bridge terminating on SIGTERM]
Emantor[m] has quit [Quit: Bridge terminating on SIGTERM]
gamble[m] has quit [Quit: Bridge terminating on SIGTERM]
arnidg[m] has quit [Quit: Bridge terminating on SIGTERM]
happy-dude[m] has quit [Quit: Bridge terminating on SIGTERM]
Andre[m]1 has quit [Quit: Bridge terminating on SIGTERM]
deathdisco[m] has quit [Quit: Bridge terminating on SIGTERM]
sunyiynus[m] has quit [Quit: Bridge terminating on SIGTERM]
c1truz[m] has quit [Quit: Bridge terminating on SIGTERM]
chengsun has joined #asahi-dev
chengsun_ has joined #asahi-dev
chengsun has quit [Read error: Network is unreachable]
<marcan> sven: the menu is enabled on COMPILE_TEST, but the objects aren't:
<marcan> obj-$(CONFIG_ARCH_APPLE)+= apple/
<mps> evtest shows KEY_POWER and KEY_LID
<mps> uhm, intended to write this on #asahi
<marcan> should probably just be obj-y at that point
roxfan2 has joined #asahi-dev
<kettenis> damn, now I need to update the device trees in u-boot again! ;)
<sven> oh... that makes sense
M1bn3mar[m] has joined #asahi-dev
roxfan has quit [Ping timeout: 480 seconds]
<marcan> only 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
<marcan> but oh well, at least I proved that modules work now (mostly)
chengsun has joined #asahi-dev
chengsun_ has quit [Ping timeout: 480 seconds]
dhewg has quit [Server closed connection]
dhewg has joined #asahi-dev
n1c has quit [Server closed connection]
n1c has joined #asahi-dev
amarioguy has joined #asahi-dev
DragoonAethis has quit [Server closed connection]
DragoonAethis has joined #asahi-dev
Hinata[m] has joined #asahi-dev
abbas_faiz[m] has joined #asahi-dev
abilash1994[m] has joined #asahi-dev
AdwyzzOLEDEdition[m] has joined #asahi-dev
Andre[m]1 has joined #asahi-dev
ah-[m] has joined #asahi-dev
alexanderwillner[m] has joined #asahi-dev
_alice has joined #asahi-dev
alicela1n has joined #asahi-dev
petermlyon[m] has joined #asahi-dev
Amey has joined #asahi-dev
AnalogDigital[m] has joined #asahi-dev
AkihikoOdaki[m] has joined #asahi-dev
ar88kk[m] has joined #asahi-dev
arnidg[m] has joined #asahi-dev
astrorion26[m] has joined #asahi-dev
Augur[m] has joined #asahi-dev
davay[m] has joined #asahi-dev
Bastian[m] has joined #asahi-dev
BastienSaidi[m] has joined #asahi-dev
bastilian[m] has joined #asahi-dev
blassphemy[m] has joined #asahi-dev
blazra[m] has joined #asahi-dev
bluetail[m] has joined #asahi-dev
bmrgz[m] has joined #asahi-dev
bngs[m] has joined #asahi-dev
booffo[m] has joined #asahi-dev
bpalmer4[m] has joined #asahi-dev
BenPetterborg[m] has joined #asahi-dev
brentr123[m] has joined #asahi-dev
butterfly[m] has joined #asahi-dev
c1truz[m] has joined #asahi-dev
AnushervonTabarov[m] has joined #asahi-dev
casperes1996[m] has joined #asahi-dev
cde[m] has joined #asahi-dev
cgv[m] has joined #asahi-dev
citruscitrus[m] has joined #asahi-dev
Eighth_Doctor has joined #asahi-dev
CristianMgheruan-Stanciu[m] has joined #asahi-dev
daftfrog[m] has joined #asahi-dev
daniel0611[m] has joined #asahi-dev
DanielHuisman[m] has joined #asahi-dev
David[m]123 has joined #asahi-dev
dcavalca has joined #asahi-dev
Dcow[m] has joined #asahi-dev
deathdisco[m] has joined #asahi-dev
Deewiant has joined #asahi-dev
denden[m] has joined #asahi-dev
digitalfx[m] has joined #asahi-dev
djk121[m] has joined #asahi-dev
Dcow[m]1 has joined #asahi-dev
dnjmis[m] has joined #asahi-dev
drwhax[m]1 has joined #asahi-dev
ducc[m] has joined #asahi-dev
ella-0[m] has joined #asahi-dev
Emantor[m] has joined #asahi-dev
emilazy has joined #asahi-dev
Liam[m] has joined #asahi-dev
etsukata[m] has joined #asahi-dev
exhan[m] has joined #asahi-dev
ey3ball[m] has joined #asahi-dev
facez[m] has joined #asahi-dev
faiz_abbas[m] has joined #asahi-dev
feeleep[m] has joined #asahi-dev
Ferluci[m] has joined #asahi-dev
fetsorn[m] has joined #asahi-dev
hectour[m] has joined #asahi-dev
FieryFlames[m] has joined #asahi-dev
DiscoPenguin[m] has joined #asahi-dev
foxlet has joined #asahi-dev
fridtjof[m] has joined #asahi-dev
fried_dede[m] has joined #asahi-dev
furrylover420[m] has joined #asahi-dev
gamble[m] has joined #asahi-dev
GraysonGuarino[m] has joined #asahi-dev
ghantaz[m] has joined #asahi-dev
Guest1256 has joined #asahi-dev
gpanders[m] has joined #asahi-dev
gryfbane[m] has joined #asahi-dev
h_ro[m] has joined #asahi-dev
happy-dude[m] has joined #asahi-dev
HayashiEsme[m] has joined #asahi-dev
houlton[m] has joined #asahi-dev
IanPlatt[m] has joined #asahi-dev
ianlienfa[m] has joined #asahi-dev
IbrahimMAkrab[m] has joined #asahi-dev
IsfarSifat[m] has joined #asahi-dev
IvanMaksimovic[m] has joined #asahi-dev
MatthewLeach[m] has joined #asahi-dev
izzyisles[m] has joined #asahi-dev
Jamie[m]1 has joined #asahi-dev
jason1923[m] has joined #asahi-dev
javier_varez[m] has joined #asahi-dev
jeh[m] has joined #asahi-dev
jevinskie[m] has joined #asahi-dev
joerosenberg[m] has joined #asahi-dev
josipknezovic[m] has joined #asahi-dev
JuniorJPDJ has joined #asahi-dev
katatafjsh[m] has joined #asahi-dev
kdrag0n[m] has joined #asahi-dev
kdwk-l[m] has joined #asahi-dev
kedde[m] has joined #asahi-dev
kjm99[m] has joined #asahi-dev
mofux[m] has joined #asahi-dev
konr-72[m] has joined #asahi-dev
krirogn[m] has joined #asahi-dev
KrushnaDeore[m] has joined #asahi-dev
lockna has joined #asahi-dev
l3k[m] has joined #asahi-dev
landscape15[m] has joined #asahi-dev
latosca[m] has joined #asahi-dev
legarts[m] has joined #asahi-dev
LilleCarl[m] has joined #asahi-dev
NotHere[m] has joined #asahi-dev
long[m] has joined #asahi-dev
LorenzKofler[m] has joined #asahi-dev
lovesegfault has joined #asahi-dev
lucifer178[m] has joined #asahi-dev
as400[m] has joined #asahi-dev
mariogrip[m] has joined #asahi-dev
matthewayers[m] has joined #asahi-dev
maxim[m] has joined #asahi-dev
mmlb[m] has joined #asahi-dev
mr_sq[m] has joined #asahi-dev
fezhead[m] has joined #asahi-dev
msmith12[m] has joined #asahi-dev
N3ros[m] has joined #asahi-dev
NightRaven[m] has joined #asahi-dev
NightsOnly[m] has joined #asahi-dev
nilsi[m] has joined #asahi-dev
nirusu[m] has joined #asahi-dev
not_a_weeaboo[m] has joined #asahi-dev
notyou[m] has joined #asahi-dev
null-nop[m] has joined #asahi-dev
obflv[m] has joined #asahi-dev
ogimgd[m] has joined #asahi-dev
ograff has joined #asahi-dev
HaoYanQi[m] has joined #asahi-dev
DanStrong[m] has joined #asahi-dev
latko[m] has joined #asahi-dev
peerp[m] has joined #asahi-dev
perigoso[m] has joined #asahi-dev
philhug has joined #asahi-dev
RasmusEneman[m] has joined #asahi-dev
pikabo[m] has joined #asahi-dev
plantaintion3[m] has joined #asahi-dev
ponkey364[m] has joined #asahi-dev
rohin[m] has joined #asahi-dev
psydroid[m]1 has joined #asahi-dev
PthariensFlame[m] has joined #asahi-dev
pulpy_orange2[m] has joined #asahi-dev
pwn0rz[m] has joined #asahi-dev
quentin[m] has joined #asahi-dev
BingDennis[m] has joined #asahi-dev
Redecorating[m] has joined #asahi-dev
rethematrix[m] has joined #asahi-dev
retonlage[m] has joined #asahi-dev
rgort10[m] has joined #asahi-dev
rhys has joined #asahi-dev
rkjnsn has joined #asahi-dev
RowanGoemans[m] has joined #asahi-dev
rowang077[m] has joined #asahi-dev
roxiun[m] has joined #asahi-dev
RianSouzaSantos[m] has joined #asahi-dev
rusty-nail[m] has joined #asahi-dev
ryanhrob1[m] has joined #asahi-dev
ryanhrob[m] has joined #asahi-dev
s-urabe[m] has joined #asahi-dev
sajattack[m] has joined #asahi-dev
samfromspace[m] has joined #asahi-dev
Sebhl[m] has joined #asahi-dev
shaman_br[m] has joined #asahi-dev
M0x8FF[m] has joined #asahi-dev
sikkileo[m] has joined #asahi-dev
simjnd[m] has joined #asahi-dev
SocioProphet[m] has joined #asahi-dev
JacksonR[m] has joined #asahi-dev
spokv[m] has joined #asahi-dev
spot[m] has joined #asahi-dev
sppdqd[m] has joined #asahi-dev
sproede[m] has joined #asahi-dev
steffen[m] has joined #asahi-dev
stelleg[m] has joined #asahi-dev
sunyiynus[m] has joined #asahi-dev
Guest1258 has joined #asahi-dev
Synth[m] has joined #asahi-dev
TellowKrinkle[m] has joined #asahi-dev
Dementor[m] has joined #asahi-dev
thebigbossch[m] has joined #asahi-dev
thebrinkoftomorrow[m] has joined #asahi-dev
therealminzii[m] has joined #asahi-dev
tophevich[m] has joined #asahi-dev
tuxcaeli[m] has joined #asahi-dev
unevenrhombus[m] has joined #asahi-dev
unrelentingtech has joined #asahi-dev
user1tt[m] has joined #asahi-dev
user974[m] has joined #asahi-dev
Name[m] has joined #asahi-dev
uur[m] has joined #asahi-dev
vimsos[m] has joined #asahi-dev
vivg[m] has joined #asahi-dev
GregoryRWarnes[m] has joined #asahi-dev
wollymilkcap[m] has joined #asahi-dev
xerpi[m] has joined #asahi-dev
xiaomingcc[m] has joined #asahi-dev
Xichao[m] has joined #asahi-dev
xorly[m] has joined #asahi-dev
ybk[m] has joined #asahi-dev
YichaoYu[m] has joined #asahi-dev
zelig_[m] has joined #asahi-dev
zbotpath[m] has joined #asahi-dev
yuyichao_ has quit [Ping timeout: 480 seconds]
amarioguy has quit [Ping timeout: 480 seconds]
CME has quit [Server closed connection]
CME has joined #asahi-dev
yuyichao_ has joined #asahi-dev
amarioguy has joined #asahi-dev
<marcan> ok, so there's at least two issues with s2idle
<marcan> one is that brcmfmac refuses suspend
<marcan> the other is that it actually apparently tries to powergate ANS2 and then explodes
<marcan> not sure what the codepath for that is...
<alyssa> marcan: I would have assumed rtkit+ans+sart kinda have to be =Y / =m in the distro initramfs, if we want things to work?
<marcan> yes, they are =m in the initramfs right no
<marcan> *now
* alyssa doesn't understand the benefit of =m in an initramfs, over =y
<alyssa> lower memory footprint i guess?
<povik> is it lower? i just wondered about the same an hour ago
bisko has quit [Read error: Connection reset by peer]
<marcan> the benefit is it doesn't eat memory on non-apple systems
bisko has joined #asahi-dev
<mps> I doubt it is lower
<mps> if the kernel target is M1 I don't see reason to build needed parts as module (especially essential ones)
<_jannau_> the goal is to have a general distro kernel work well enough (to install a special apple silicon 16k kernel)
<marcan> the goal is to have a general distro kernel be what everyone uses
<marcan> and for distros to offer 16k general distro kernels because they should do that too
<alyssa> or we get 4K working
<mps> distros usually build LCD (least common denominator) kernels and I think 16K will not be soon there
<mps> alyssa: 4K works but is somewhat slower
<mps> I maintain two separate kernels for two machines on alpine linux, looks like I will add third one soon ;)
<_jannau_> yes, a standard distro (uefi) install media will have such a kernel with everything apple specific as module
<_jannau_> so we need that to work to install the distro on an apple silicon machine
<mps> maintaining one kernel for a lot of SoCs is not easy task, I do this for alpine and it takes care and time
* alyssa gives thanks to Ben Hutchings
<mps> needs care*
Guest328 has quit [Server closed connection]
foxtrot has joined #asahi-dev
foxtrot is now known as Guest1274
mrkajetanp has quit [Server closed connection]
mrkajetanp has joined #asahi-dev
suricato_ has quit [Ping timeout: 480 seconds]
suricato has joined #asahi-dev
amarioguy has quit [Ping timeout: 480 seconds]
<sven> hm.... 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
<marcan> https://mrcn.st/p/pRYg9jVh current state of s2idle :')
<marcan> at least I got nvme to do a clean shutdown, and macsmc-hid to do button wakeups, quite trivially
<marcan> ... now I need to fix the carnage of devices getting powergated and having no idea how to restore
<j`ey> sven: is there a vote or? :P
<sven> probably not :D
<j`ey> marcan: how do you setup the power button == s2idle, or is that just automatic with plasma too?
<marcan> you mean for triggering suspend? that's up to userspace, works fine with kde/plasma
<marcan> this driver thing is for resuming from suspend when you press it again
<j`ey> oh 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?
<marcan> yes
nsklaus has joined #asahi-dev
<marcan> ok, I see why ans2 explodes, it's the nested power domain thing
nsklaus has quit []
off^ has quit [Remote host closed the connection]
<marcan> ahahaha okay this was fun
<marcan> sven: remember that cpu run bit?
<marcan> yeah, it turns out if we leave it set, ans2 will boot as soon as the power domain is re-enabled
<marcan> ... before we can re-enable the other critical power domains
<marcan> and then rtkit goes on merrily initializing things in its worker, and kaboom
<sven> ouch
<sven> https://github.com/AsahiLinux/linux/blob/asahi/drivers/nvme/host/apple.c#L1046 lol, I guess I actually noticed that at some point
<sven> just didn’t think it was important I guess :/
<marcan> we knew it happened on reset assert
<marcan> I didn't know it happened on ungate
<marcan> er, deassert
<sven> ah, fair
the_lanetly_052___ has joined #asahi-dev
<marcan> sven: 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
amarioguy has joined #asahi-dev
<marcan> brcmfmac (and everything pcie) is borked in general, you need to at least unbind that one
<marcan> echo 0000:01:00.0 > /sys/bus/pci/drivers/brcmfmac/unbind
<marcan> echo mem > /sys/power/state
<marcan> that's what I use to trigger suspend
<marcan> then just hit the power button to resume
<sven> I’ve never even used that one before :D
<marcan> which one, suspend?
<sven> wifi
<marcan> oh
<marcan> then yeah, just don't load that driver :p
<sven> how does identify fail?
<sven> the command just doesn’t complete?
<marcan> [ 10.012885] nvme-apple 393cc0000.nvme: RTKit: syslog message: cmd.c:6025: boot mode normal
<marcan> [ 10.014446] nvme-apple 393cc0000.nvme: Starting admin queue
<marcan> [ 10.014457] nvme nvme0: Identify Controller failed (-19)
<marcan> [ 10.014460] nvme nvme0: Reset failure status: -5
<marcan> it's probably something dumb
<marcan> 19 is ENODEV apparently?
<marcan> there'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
<sven> hmmm… maybe it doesn’t pick up the admin queue for some reason
<sven> ill give it a shot later
<marcan> cool :)
* marcan off to sleep
<sven> Goodnight!
amarioguy has quit [Ping timeout: 480 seconds]
amarioguy has joined #asahi-dev
<sven> marcan: I think the admin queue is marked as dying with blk_cleanup_queue and then it won’t allow allocating new requests there
Major_Biscuit has quit []
<sven> I think it’ll just work if you just remove that call in apple_nvme_disable
<sven> now I just wonder why I added it there in the first place
bisko has quit [Read error: Connection reset by peer]
roxfan2 is now known as roxfan
bisko has joined #asahi-dev
leah2 has quit [Server closed connection]
leah2 has joined #asahi-dev
Guest1256 has left #asahi-dev [#asahi-dev]
dottedmag has quit [Server closed connection]
dottedmag has joined #asahi-dev
Guest1258 is now known as svenpeter[m]
the_lanetly_052___ has quit [Ping timeout: 480 seconds]
user982492 has joined #asahi-dev
bisko has quit [Remote host closed the connection]
bisko has joined #asahi-dev
amarioguy has quit [Ping timeout: 480 seconds]
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
akemin_dayo has quit [Server closed connection]
akemin_dayo has joined #asahi-dev
kloenk has quit [Server closed connection]
kloenk has joined #asahi-dev
user982492 has joined #asahi-dev
eragon has quit [Server closed connection]
eragon has joined #asahi-dev
gladiac has quit [Quit: k thx bye]
mini has quit [Server closed connection]
mini has joined #asahi-dev
m42uko_ has quit [Server closed connection]
m42uko has joined #asahi-dev
skoobasteeve_ has joined #asahi-dev
skoobasteeve has quit [Ping timeout: 480 seconds]
bisko has quit [Read error: Connection reset by peer]
bisko has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
user982492 has joined #asahi-dev
user982492 has quit []
user982492 has joined #asahi-dev
klaus has left #asahi-dev [Konversation terminated!]