#
✕ nick:tpw_rules
#asahi-dev · 2022-12-02 04:06
tpw_rulese.g. all of https://github.com/chadmed/speakersafetyd/blob/main/src/types.rs#L138-L145 would idiomatically be let val: i32 = self.level.val.get_integer(0).expect("level is readable")
#asahi-dev · 2022-12-02 04:06
tpw_rulesi mean doing it idiomatically
#asahi-dev · 2022-12-02 04:05
tpw_ruleslook into error handling
#asahi-dev · 2022-12-02 04:04
tpw_rulesalso are you ready for rust criticism
#asahi-dev · 2022-12-02 04:02
tpw_rulesisn't that exactly when you would want the check to fire though?
#asahi-dev · 2022-12-02 04:00
tpw_rules"This seems like it would suck to implement." why?
#asahi-dev · 2022-11-29 07:21
tpw_rulesi tested and it works for nixos at least again
#asahi-dev · 2022-11-29 07:20
tpw_rulesmarcan: bingo, thanks much <3
#asahi-dev · 2022-11-29 06:30
tpw_rulesyes. usb works fine when the rootfs is mounted off nvme and the latest kernel and config are running
#asahi-dev · 2022-11-29 06:23
tpw_rulesand dwc3 and now phy-apple-atc and also i2c say their probing has been deferred
#asahi-dev · 2022-11-29 06:22
tpw_rulesare you talking to me? it's 100% reproducible. cannot get usb in initrd on my m1 max
#asahi-dev · 2022-11-29 06:17
tpw_ruleslet me boot in for real and check it
#asahi-dev · 2022-11-29 06:17
tpw_rulesphy-apple-atc is not enough either, it needs something more
#asahi-dev · 2022-11-29 05:38
tpw_rules(probably forgetting the atcphy module...)
#asahi-dev · 2022-11-29 05:30
tpw_rules(also this only happens on new device trees)
#asahi-dev · 2022-11-29 05:29
tpw_rulesdebugfs's devices_deferred did not state a reason
#asahi-dev · 2022-11-29 05:29
tpw_rulesany idea why usb and i2c would fail to probe due to deferment in initrd? i presume i'm missing a module but which?
#asahi-dev · 2022-11-25 19:30
tpw_rulesis it the same as the regular asahi installer options then
#asahi-dev · 2022-11-25 18:25
tpw_rulesthe UEFI environment only installer option
#asahi-dev · 2022-11-25 18:25
tpw_ruleshm, which device trees does the uefi-only-20221122-4.zip come with?
#asahi-dev · 2022-11-24 15:15
tpw_rulessven: perfect, thanks. can you point me to the patch when it is available?
#asahi-dev · 2022-11-24 04:47
tpw_rulesalso is anybody sure what happens if an old kernel sees a device tree with dr_mode = "otg" set? i see it was previously commented out
#asahi-dev · 2022-11-24 04:45
tpw_rulesdoes the installer need an option to install a fresh m1n1 stage 2 too :D
#asahi-dev · 2022-11-24 04:41
tpw_rulesthat is frustrating
#asahi-dev · 2022-11-24 04:40
tpw_ruleshm, it does appear to be device tree shenanigans. this needs dr_mode = "otg" set which wasn't the case in old device trees
#asahi-dev · 2022-11-24 04:04
tpw_rulesis something device tree screwed up?
#asahi-dev · 2022-11-24 04:04
tpw_rulesany idea why usb would not work in the initramfs with the new kernel? it just says "Apple DWC3 requires role switch support." but i have that enabled in my config. i'm using the asahi config without any real modifications
#asahi-dev · 2022-11-22 04:12
tpw_rulesi see. thanks for the explanation
#asahi-dev · 2022-11-22 04:11
tpw_rulesi guess i'm thinking what is there to switch if only the headphone jack works. but there is stuff like bt i guess
#asahi-dev · 2022-11-22 04:10
tpw_rulesso it's only really for those brave enough to risk their speakers
#asahi-dev · 2022-11-22 04:08
tpw_rulesi guess i'm not sure what difference that makes to the average user
#asahi-dev · 2022-11-22 04:07
tpw_rules(also does this mean the kernel keeps the speakers safe now?)
#asahi-dev · 2022-11-22 04:07
tpw_ruleswhat is the pulseaudio patch about?
#asahi-dev · 2022-11-20 04:06
tpw_rulesi guess it would be hard until this current dev push is finished, but next time you update the main asahi non-dev repo please tag the PKGBUILD repo or set up a separate branch or whatever
#asahi-dev · 2022-11-20 03:24
tpw_rulessounds pretty convoluted
#asahi-dev · 2022-11-15 17:52
tpw_rulesthere's a couple humps in the scale
#asahi-dev · 2022-11-15 17:52
tpw_rulesit's always felt kind of nonlinear in macos
#asahi-dev · 2022-11-11 18:28
tpw_rulesdon't forget the stealing of training data
#asahi-dev · 2022-11-01 03:06
tpw_rulesactually now that i think about it, idk if anyone's tried to hook it up to macfuse before. might not be great if you want to create or mount on macos. but i'd be interested to try it. how did you create your corpus
#asahi-dev · 2022-11-01 03:04
tpw_ruleshttps://github.com/mhx/dwarfs it's a new program and quite nice but it's a common word
#asahi-dev · 2022-11-01 03:04
tpw_rulesif you ditch precomp and set dwarfs up with a giant lookback value, you'll get instant access too (though it will probably be slow to create)
#asahi-dev · 2022-11-01 03:02
tpw_rulesprecomp + dwarfs
#asahi-dev · 2022-11-01 03:00
tpw_rulesjust out of curiosity, what do you do with lots of xdelta'ing?
#asahi-dev · 2022-10-31 04:45
tpw_rulesah, so you are building with gcc as the main compiler?
#asahi-dev · 2022-10-31 03:04
tpw_rulesalso is https://github.com/AsahiLinux/linux/tree/gpu/rust-wip supposed to build? i am getting modpost errors. just wanted to make sure my rust infra was up to snuff
#asahi-dev · 2022-10-31 02:59
tpw_rulesjannau: is that the same weird encoding in the nvram?
#asahi-dev · 2022-10-29 19:45
tpw_rulesarch runs udev in the initrd, right
#asahi-dev · 2022-10-29 19:33
tpw_rules(though u-boot couldn't find that drive _anyway_ so)
#asahi-dev · 2022-10-29 19:33
tpw_rulesso if you are booting off USB you would need that in the initrd. barf
#asahi-dev · 2022-10-29 19:32
tpw_rulesi guess there is the usb controller firmware on some machines

plus ›