#
✕ nick:povik
#asahi-dev · 2023-01-17 18:00
povikyeah, but the -60 dB figure is quoted at 5 W, and if i didn't miscalculate i only drove 10 mW to it
#asahi-dev · 2023-01-17 17:43
povikthis is the spectral density: https://ibb.co/kSzwzst
#asahi-dev · 2023-01-17 17:40
povikhuh, datasheet says noise should be at -60 dB, which i would expect to look less jagged
#asahi-dev · 2023-01-17 17:39
povikmarcan: this was a sine wave, played not too loud
#asahi-dev · 2023-01-17 17:00
povikthe curves are roughly overlaid because TI chose the units in a ~3.7 ohm ratio (understandably)
#asahi-dev · 2023-01-17 16:59
povikfinally got some IV sense curves: https://ibb.co/5KWrpg1
#asahi-dev · 2023-01-17 14:14
poviki have learned to like them
#asahi-dev · 2023-01-17 14:14
povikno streamed event this time?
#asahi-dev · 2023-01-17 14:14
povikhttps://www.apple.com/newsroom/2023/01/apple-introduces-new-mac-mini-with-m2-and-m2-pro-more-powerful-capable-and-versatile-than-ever/
#asahi-dev · 2023-01-17 14:13
povikoh hello
#asahi-dev · 2023-01-17 14:04
povik"product state space"
#asahi-dev · 2023-01-17 12:05
povikwhy didnt i try mon.add(gpio_base, xxx) and enable/disable the I2S clocks earlier?
#asahi-dev · 2023-01-17 12:05
poviki could have made such good use of this when i was figuring out MCA
#asahi-dev · 2023-01-17 12:04
povikhaha, so the I2S ports are hooked up to GPIO after all
#asahi-dev · 2023-01-16 15:58
povikright
#asahi-dev · 2023-01-16 15:57
povikis it possible this depends on some setting from macos?
#asahi-dev · 2023-01-16 15:57
povikhm, how can it not work for chadmed though
#asahi-dev · 2023-01-16 15:56
povikmarcan: so you can't not wake at the moment?
#asahi-dev · 2023-01-16 15:52
povikbtw, how does the wake on lid open work? does userspace configure hid events that should wake the system, and kernel does some filtering and possibly returns to sleep?
#asahi-dev · 2023-01-16 15:50
povik:D
#asahi-dev · 2023-01-16 15:38
povikthere's an endpoint for it, i think it gets enabled, not sure anymore
#asahi-dev · 2023-01-16 15:38
povikthere were periodic lid angle measurements, so if the accelerometer was there, i would expect something similar
#asahi-dev · 2023-01-16 15:37
povikat least i haven't seen anything that looks like imu data that AOP sends to macos
#asahi-dev · 2023-01-16 15:37
povikhuh, i got the impression on j314 it's unpopulated
#asahi-dev · 2023-01-16 15:32
povikthe raw data it processes is a 2.4 MHz PDM stream
#asahi-dev · 2023-01-16 15:32
povikanyway we don't want to bypass LEAP because it does the PDM-to-PCM decimation
#asahi-dev · 2023-01-16 15:32
povikor is it on m2 macbooks that they started to put it in?
#asahi-dev · 2023-01-16 15:32
povikmarcan: i thought the accelerometer is unpopulated
#asahi-dev · 2023-01-16 12:46
povikreally? that progressed pretty far then, being able to run a full network
#asahi-dev · 2023-01-16 12:45
povikah, that's the gpu, not the neural coprocessor, right?
#asahi-dev · 2023-01-16 12:44
povikwhoa
#asahi-dev · 2023-01-16 11:57
povikthere's the backchannel?
#asahi-dev · 2023-01-16 11:47
poviki will leave it be for now
#asahi-dev · 2023-01-16 11:47
povikhm, not sure how this stuff is exposed internally in the kernel or to userspace
#asahi-dev · 2023-01-16 11:41
poviknothing obvious so far
#asahi-dev · 2023-01-16 11:38
poviklooks for a binding we may get away with filling it in
#asahi-dev · 2023-01-16 11:36
povikah, i can give the gpio we need to wake on :p
#asahi-dev · 2023-01-16 11:34
poviknot sure if wake-on-lid-open doesn't work already
#asahi-dev · 2023-01-16 11:33
povikwhich might be good enough for all our purpouses
#asahi-dev · 2023-01-16 11:33
povikbut then there's a gpio line on gpio-aop which reports opened/closed lid
#asahi-dev · 2023-01-16 11:32
povikthat's at least on j316 i am experimenting on
#asahi-dev · 2023-01-16 11:32
povikdsharshakov: well, as to the other features of AOP: the only thing that comes to mind is that it reports the lid angle to the OS
#asahi-dev · 2023-01-16 11:29
povikthat then wakes up AOP which confirms the detection
#asahi-dev · 2023-01-16 11:29
povikmy guess is that it gives some initial low-confidence signal
#asahi-dev · 2023-01-16 11:29
povikyeah, i am curious to what degree is "hey siri" implemented on LEAP
#asahi-dev · 2023-01-16 11:26
povikand then there's the option of inserting more processing onto LEAP
#asahi-dev · 2023-01-16 11:25
povikanyway, re (2), we can at least disable some of the channels, if a single mic is all userspace can cope with
#asahi-dev · 2023-01-16 11:25
povikso it's not so clearcut
#asahi-dev · 2023-01-16 11:25
povikand a counterargument is that the apple's firmware might abstract away a hardware difference on future models
#asahi-dev · 2023-01-16 11:24
povikwell, we don't know how likely it is for the firmware interface to change...

plus ›