#asahi-dev · 2022-10-30 12:54
chadmed_if we get to that stage and supplies is still -1 then microwatt was never allocated#asahi-dev · 2022-10-30 12:54
chadmed_i caught the missing curly brace, but we dont need to go to free_microwatt in that last case right #asahi-dev · 2022-10-24 11:00
chadmed_i was grepping for "bound" not "minmax", go figure#asahi-dev · 2022-10-24 10:59
chadmed_oh i see what you mean now, i completely missed the minmax function#asahi-dev · 2022-10-24 10:56
chadmed_thats what im thinking, which is why i now have the constraint gated behind if (fe_chans > ma->max_channels)#asahi-dev · 2022-10-24 10:51
chadmed_which is why i gated that behind waiting for it to have some channels associated with it#asahi-dev · 2022-10-24 10:51
chadmed_which returns the -EINVAL and tears the frontend down until you reload the module #asahi-dev · 2022-10-24 10:51
chadmed_yeah but the problem is that .startup tries opening it while its in that state to set the constraint#asahi-dev · 2022-10-24 10:48
chadmed_opening the frontend in .startup while it is in this state results in an -EINVAL regardless #asahi-dev · 2022-10-24 10:48
chadmed_dev_info(rtd->dev, "Starting FE with %d channels", fe_chans); fe_chans being the number of channels from rtd->dpcm->hw_params#asahi-dev · 2022-10-24 10:46
chadmed_povik: https://tpaste.us/pnVx <-- frontends opening with zero channels before being populated#asahi-dev · 2022-09-25 09:47
chadmed_marcan: latest asahi-scripts Makefile installs to /usr/local/share (PREFIX is defined at the top of the Makefile) but update-m1n1 tries to source functions.sh from /usr/share#asahi-dev · 2022-09-14 07:24
chadmed_povik: https://gist.github.com/chadmed/c2a367ffb47b0b812812e73819a7a8a5 <- output in dmesg #asahi-dev · 2022-09-10 02:33
chadmed_povik: at this point i dont think we should really care what macos does in software apart from what i assume is a very light touch compressor given how the volume curve works#asahi-dev · 2022-09-05 03:27
chadmed_i can try build later today on bare metal but id say its either something parallels/hv.framework does or the person has borked their compiler#asahi-dev · 2022-08-20 11:36
chadmed_this is all i get when trying to reload when its in this state#asahi-dev · 2022-08-20 11:36
chadmed_[ 101.348516] Failed to set up IOMMU for device 39b400000.dma-controller; retaining platform DMA ops#asahi-dev · 2022-08-19 10:56
chadmed_just to keep the log complete, pw-dump: https://gist.github.com/chadmed/3f07a81a6cd253e4dc040cdc21256ac4#asahi-dev · 2022-07-29 08:02
chadmed_Dementor[m]: the question is never why, its why not #asahi-dev · 2022-07-29 07:59
chadmed_99% of hw raid solutions just do not offer any real advantage over software anymore anyway apart from offloading the actual grunt work#asahi-dev · 2022-07-29 07:57
chadmed_it probably wont even matter unless you put SSDs in there#asahi-dev · 2022-07-29 07:56
chadmed_bandwidth wise on sequential reads probably not but id be interested in seeing random read/write performance #asahi-dev · 2022-07-29 07:45
chadmed_the case im looking at comes with 5 hotswap ports already with room to add 5 more using that very silverstone cage linked above so if youre spending $200 for the cage plus $x for the drives, another ~$200 on a tb board and HBA is worth it#asahi-dev · 2022-07-29 07:44
chadmed_if youre adding enough drives to need more ports then the cost of a secondhand LSI card and a tb dev board (or your very nifty little solution) is vastly dwarfed by the cost of drives#asahi-dev · 2022-07-29 07:43
chadmed_we have enough TB ports to just add more HBAs :P#asahi-dev · 2022-07-29 07:33
chadmed_perfect for all your production machine needs #asahi-dev · 2022-07-29 07:33
chadmed_self contained, unsafe, impractical sleeper mac server :P#asahi-dev · 2022-07-29 07:32
chadmed_silverstone sell a micro atx case with a sas backplane on it. my idea was to erm..."secure" the mac mini where the motherboard goes, get an HBA and hook it up to one of those tb dev boards, take 5V from a USB port on the mac to a relay and have that trigger an ATX PSU to power the drives#asahi-dev · 2022-07-29 07:22
chadmed_i have a very cunning plan on that front, it's horrible and evil and revolting but it's cunning nonetheless#asahi-dev · 2022-07-05 09:06
chadmed_emerging pipewire on gentoo now so ill see if theres any changes here. mightve been something i accidentally configured idk#asahi-dev · 2022-07-05 09:06
chadmed_joske: i did a system update a couple of days ago (no kernel or dt changes) and pipewire's resampling decided to die. fixed it by forcing it to 96kHz #asahi-dev · 2022-07-05 09:04
chadmed_something seems to have broken its resampling, at least it has for the internal speakers#asahi-dev · 2022-07-05 09:04
chadmed_try forcing pipewire into your headset's native sample rate too #asahi-dev · 2022-04-15 05:42
chadmed_next chore is figuring out why putting my finger on it dumps me out of the hv with an unmapped iova#asahi-dev · 2022-04-15 05:42
chadmed_yeah ive got it tracing the sensor fine (until i put my finger on it) i just wanted to tidy up the output#asahi-dev · 2022-04-15 05:41
chadmed_yeah i figured that part out and got it to stop dumping the data packets, but it still prints every ack and io completion. not so big of a deal though since i can just use sed to get rid of those lines from the file im logging to#asahi-dev · 2022-04-15 04:06
chadmed_can i make the SIO tracer mask kb/touchpad noise? i can see it tracing the touch id DMA addresses but theres so much noise from the touchpad and kb that i cant really make sense of what its doing#asahi-dev · 2022-04-15 01:34
chadmed_oh yeah would help to RTFM :/#asahi-dev · 2022-04-15 01:31
chadmed_looking at bsd_init.c seems to suggest this happens if the kernel cant confirm that the boot volume was sealed#asahi-dev · 2022-04-15 01:31
chadmed_ok so do i need to disable SIP on the macos install the kernel im trying to boot came from? the panic im actually getting is rootvp not authenticated#asahi-dev · 2022-04-14 12:24
chadmed_ill dig a bit deeper tomorrow#asahi-dev · 2022-04-14 12:24
chadmed_hm it panics almost instantly#asahi-dev · 2022-04-14 12:06
chadmed_do i need to do something special to stop the watchdog panics in the hypervisor? (apart from wdt=-1 that is) #asahi-dev · 2022-04-14 10:40
chadmed_huh the spi node in front of the fingerprint sensor is the only one that doesnt have a CS pin associated with it #asahi-dev · 2022-04-13 13:00
chadmed_it would be exceedingly dumb to have touch id support before SEP and then have users storing their biometrics pretty much in the clear in main storage #asahi-dev · 2022-04-13 12:59
chadmed_my concern is just that it's pretty useless without SEP so without knowing how SEP deals with it theres no real point #asahi-dev · 2022-04-13 12:58
chadmed_not really. we know the address it's on, we know it's an spi device and we know what apple call it so we can figure it out by tracing what macos does with it when its use is required#asahi-dev · 2022-04-13 12:14
chadmed_yeah that#asahi-dev · 2022-04-13 12:13
chadmed_yeah what sven said :D #asahi-dev · 2022-04-13 12:13
chadmed_the fingerprint sensor only directly talks to SEP