#
…

2021-10-31

00:05bps2 has joined #asahi-dev
02:24rkt has joined #asahi-dev
02:35rkt has quit [Quit: rkt]
02:37rkt has joined #asahi-dev
03:08skipwich has quit [Ping timeout: 480 seconds]
03:59kov has quit [Quit: Coyote finally caught me]
03:59kov has joined #asahi-dev
04:03PhilippvK has joined #asahi-dev
04:06phiologe has quit [Ping timeout: 480 seconds]
04:21user982492 has joined #asahi-dev
04:28chadmed has joined #asahi-dev
06:05VinDuvMy understanding is that on x86 Mac laptops, the keyboard and trackpad act as USB devices on startup for compatibility with UEFI (and Windows I guess) but they switch to SPI to reduce power consumption. I find it weird that they would keep that on M1 laptops since firmware configuration is done on macOS…
06:47rkt is now known as Guest4504
06:47rkt_ has joined #asahi-dev
06:47rkt_ is now known as rkt
06:50Guest4504 has quit [Ping timeout: 480 seconds]
07:08jacoxon has joined #asahi-dev
07:18user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
07:31jacoxon has quit []
07:34jacoxon has joined #asahi-dev
07:42jacoxon has quit []
07:44jacoxon has joined #asahi-dev
07:44jacoxon has quit []
07:57user982492 has joined #asahi-dev
08:04jacoxon has joined #asahi-dev
09:02user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
09:37aleasto has joined #asahi-dev
10:02gabuscus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
10:02gabuscus has joined #asahi-dev
10:47bps2 has quit [Ping timeout: 480 seconds]
11:08bps2 has joined #asahi-dev
11:45kettenisVinDuv: I think you're misinterpreting what I'm saying
11:46kettenisthe keyboard and touchpad on the M1 laptops only have an SPI interface
11:46kettenisbut the SPI packets have the same contents as the USB packets on those x86 laptops
11:47kettenisHID isn't exclusively used for USB
11:48ketteniswindows laptops sometimes use HID-over-I2C or HID-over-SPI
11:50kettenisanyway, the touchpad packets match those handled by drivers/input/mouse/bcm5974.c even better
11:51ketteniswhich makes sense, since that is the driver used for the later x86 laptops, including those which can be switched between USB and SPI AFAICT
12:01kettenisbcm5974.c doesn't use the HID subsystem though
12:38VinDuvkettenis: ah ok. TIL
14:23bps2 has quit [Ping timeout: 480 seconds]
14:26alyssa has quit [Quit: leaving]
15:09hir0pro has joined #asahi-dev
17:39astrorion26[m] has joined #asahi-dev
17:43mwalle has joined #asahi-dev
18:01X-Scale has joined #asahi-dev
18:06X-Scale` has quit [Ping timeout: 480 seconds]
18:10aleasto has quit [Quit: Konversation terminated!]
18:13astrorion26[m]Hi, I'm no pro or anything but I have an M1 Air and I am really interested in this project. I wanted to know if their was any possible way to get a serial console on a intel imac 9900k (maybe through thunderbolt 3) or a raspberry pi 4B. I know the interface is a 1.2V logic level so maybe a level converter could help?
18:14j_eyastrorion26[m]: I use an rpi4.. but it's not a hardware uart
18:15j_eyif you use the hypervisor its ok, but its not useful w/o the hypervisor
18:17astrorion26[m]I see, is there a guide on how to get that going
18:20user982492 has joined #asahi-dev
18:21astrorion26[m]Sorry if this is a dumb question but is M1N1 a hypervisor? I thought it was a bootloader of some form when I was reading the guide
18:22j_eyits can be both
18:24astrorion26[m]how interesting. So will linux be booting through a hypervisor with direct access to the gpu?
18:25astrorion26[m]Similar to some linux distros that allow direct pci-e passthrough to virtual machines
18:25j_eyno, the hypervisor is for development
18:27nsklaus_ has joined #asahi-dev
18:28astrorion26[m]sorry for the bother
18:28j_eyno bother
18:30sventhe hypervisor is relatively dumb as well. it'll just pass-through any hardware and makes no attempt to protect itself
18:30svenwhen macos is running under it it has direct access to the gpu
18:30j_eyintentionally dumb that is
18:32astrorion26[m]I've never done any reverse engineering stuff but I have some experience patching ACPI for hackintoshes so I'm probably going to ask some questions that are probably common sense
18:33nsklaus has quit [Ping timeout: 480 seconds]
18:33astrorion26[m]What does a hypervisor do to help with this development
18:33astrorion26[m]Is it for creating a hardware map?
18:33j_eyastrorion26[m]: you can use it to see how macOS interacts with the hardware
18:33j_eywe already have the 'map' (that's what the ADT gives us)
18:33j_eybut not how to use the hardware
18:35astrorion26[m]What IDE do you guys use?
18:36astrorion26[m]I usually stick with Jetbrains stuff
18:36astrorion26[m]Not sure if CLion is good for very low level things though
19:21hir0pro has quit [Quit: hir0pro]
19:21goldsoultheory has joined #asahi-dev
19:22jacoxon has quit []
19:30fridtjof[m]mar can (not pinging him) just uses kate and a terminal, you can see his setup in the streams he's doing
19:33fridtjof[m]from what i can tell, with kernel/low level development like this most people tend to just use their favourite editor with some plugins, not a full IDE
19:34kettenisreal programmers don't use an IDE ;)
19:36astrorion26[m]I can't stand having to deal with dumb syntax issues and other small things that an IDE can handle for me lol
19:37fridtjof[m]For some langs more/less than others, but imo the lines between "proper ide" and "sufficiently set up editor" are very blurry
19:37astrorion26[m]At a certain point they offer nearly the same feature sets lol
19:38astrorion26[m]I use Jetbrains stuff which is cross platform and pretty much covers all languages that i could hope to use
19:55jacoxon has joined #asahi-dev
20:16jacoxon has quit []
20:19jacoxon has joined #asahi-dev
20:26Dementor[m] has joined #asahi-dev
20:48jacoxon has quit []
20:53jacoxon has joined #asahi-dev
21:09jacoxon has quit []
21:41bps2 has joined #asahi-dev
22:37bps2 has quit [Ping timeout: 480 seconds]
23:00yrlf has quit [Quit: The Lounge - https://thelounge.chat]
23:01yrlf has joined #asahi-dev
23:18user982492 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
23:38rohin2 has joined #asahi-dev
23:53X-Scale` has joined #asahi-dev
23:59X-Scale has quit [Ping timeout: 480 seconds]
…