#
✕ nick:j`ey
#asahi-dev · 2022-03-05 12:07
j`eyI was thinking a linux vm on the mba
#asahi-dev · 2022-03-05 12:06
j`eysven: you will cut your compile times down a lot, worth it!
#asahi-dev · 2022-03-05 12:05
j`eyI get serial again with this + the revert
#asahi-dev · 2022-03-05 12:05
j`eymarcan: hack alert https://paste.gg/p/anonymous/0495c4a686624a769e2c93f4059567a4
#asahi-dev · 2022-03-05 11:53
j`ey(that = macsmc_hid_pm_complete, put some printks to verify)
#asahi-dev · 2022-03-05 11:52
j`eymarcan: that callback is called for me
#asahi-dev · 2022-03-05 11:41
j`eymarcan: macsmc_hid_pm_complete this one?
#asahi-dev · 2022-03-05 11:38
j`ey(so using the fb/keyboard of the mac)
#asahi-dev · 2022-03-05 11:38
j`eymarcan: I tried with using console=tty0 and I resume works, so it's really a serial issue
#asahi-dev · 2022-03-05 11:35
j`eyis that with the blk_queue_disable thing removed?
#asahi-dev · 2022-03-05 11:30
j`eythat didn't help either
#asahi-dev · 2022-03-05 11:28
j`ey(although it's clearly working in some form since I get output, just not input)
#asahi-dev · 2022-03-05 11:27
j`eyIm tempted to revert 0a11aa08f94fdb2b21429c7a5c5c83124b85250a tty: serial: samsung_tty: Support runtime PM
#asahi-dev · 2022-03-05 11:26
j`eyno output from trace when pressing a key
#asahi-dev · 2022-03-05 11:25
j`ey(and I will put some prints in the vuart after this test)
#asahi-dev · 2022-03-05 11:25
j`ey(the only thing that is on the fb is Tux, since I only have conosle=ttySAC0)
#asahi-dev · 2022-03-05 11:24
j`eybtw I think the screen does turn back on, but just doesn't redraw the logo maybe
#asahi-dev · 2022-03-05 11:24
j`eyIm trying the trace_device now
#asahi-dev · 2022-03-05 11:20
j`eyyeah
#asahi-dev · 2022-03-05 11:18
j`eyand yes, just rebooted
#asahi-dev · 2022-03-05 11:18
j`eyok not the full output, but most of it https://paste.gg/p/anonymous/3a86c38b66f946cdac42a36b5f8fbb7e
#asahi-dev · 2022-03-05 11:17
j`eypasting full output
#asahi-dev · 2022-03-05 11:17
j`ey(im dumb, you dont get printks if.. your broken in the debugger and didn't 'cont')
#asahi-dev · 2022-03-05 11:16
j`eymacsmc-rtkit 23e400000.smc: RTKit: Message (id=1): ASSERTION FAILED: smc/apComms.cpp:219
#asahi-dev · 2022-03-05 11:16
j`eyooh
#asahi-dev · 2022-03-05 11:15
j`eyhm I also just noticed that the screen didn't turn back on
#asahi-dev · 2022-03-05 11:15
j`ey(I have smp=False, so only 1 CPU)
#asahi-dev · 2022-03-05 11:15
j`ey - 0xffff800008761c4c (cpu_do_idle+0x8) is where it's currently at
#asahi-dev · 2022-03-05 11:15
j`eyno pressing the power button doesn't printk either currently
#asahi-dev · 2022-03-05 11:14
j`eyhttps://paste.gg/p/anonymous/ff2ec60e1b3f48e195d3d54f750aa7cb
#asahi-dev · 2022-03-05 11:13
j`eyunresponsive in that when Im trying to type into picocom, no characters get written, which I think means the other end isnt accepting any?
#asahi-dev · 2022-03-05 11:12
j`eythis is using the vuart with hv, so maybe there's an issue there, can try with the keyboard/fb in a bit
#asahi-dev · 2022-03-05 11:11
j`eymarcan: disabling pcie and nvme, I get a resume from s2idle.. but then it appears unresponsive
#asahi-dev · 2022-03-05 10:52
j`eycklist=apple_nvme_driver_init
#asahi-dev · 2022-03-05 10:52
j`eybtw initcall_blacklist looks useful, for example: initcall_bla
#asahi-dev · 2022-03-05 08:25
j`eyaccidentally?
#asahi-dev · 2022-03-05 08:00
j`eymaz: in the PCIe driver is this timeout a spec value, or just a reasonable timeout you chose https://github.com/torvalds/linux/blob/master/drivers/pci/controller/pcie-apple.c#L593 ?
#asahi-dev · 2022-03-04 16:12
j`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?
#asahi-dev · 2022-03-04 16:08
j`eymarcan: how do you setup the power button == s2idle, or is that just automatic with plasma too?
#asahi-dev · 2022-03-04 16:04
j`eysven: is there a vote or? :P
#asahi-dev · 2022-03-04 10:33
j`eyI guess they're always going to have bHLD, but makes sense to be defensive
#asahi-dev · 2022-03-04 10:30
j`eybut hey, my driver must have worked at least, I was just testing it wrong :D
#asahi-dev · 2022-03-04 10:30
j`eyah ok, I thought it might be evtest, but I had to sleep and didnt end up using it
#asahi-dev · 2022-03-04 10:29
j`eyI was trying to log uevents, but didn't get any, so I guess it's a different mechanism
#asahi-dev · 2022-03-04 10:28
j`eyfair enough
#asahi-dev · 2022-03-04 10:28
j`eywell I wrote a basic macmsc-hid yesterday, but wasn't sure what I needed on the userspace side :P
#asahi-dev · 2022-03-04 10:27
j`eythe laptop lid
#asahi-dev · 2022-03-04 10:27
j`eylid
#asahi-dev · 2022-03-04 10:27
j`eymarcan: did you manage to get the LID working with userspace?
#asahi-dev · 2022-03-03 16:13
j`eydrivers/irqchip/irq-apple-aic.c

plus ›