#
#asahi-dev · 2023-04-07 09:36
jannauI fear we need a way to reset PCIe (ports). toggling power will probably work but I didn't manage to toggle power without running into SErrors (probably PCIe dart access)
#asahi-dev · 2023-04-07 09:27
jannauwifi/bt and shdc work in both cases
#asahi-dev · 2023-04-07 09:27
jannauat linux init time only the lan port is reported as up and works, xhci port is down and doesn't come up
#asahi-dev · 2023-04-07 09:25
jannau`pci enum` at u-boot's prompt seems to bring the ports up and reports the lan and xhci ports as up
#asahi-dev · 2023-04-07 09:24
jannaukettenis_: pcie is cursed. with PCIE_APPLE but !USB_XHCI_PCI in u-boot all parts are down when linux inits pcie. the port with the ethernet adapter doesn't come up
#asahi-dev · 2023-04-07 04:00
chadmedits probably too small for gsoc, its like a day or two for someone who knows how to do dsp
#asahi-dev · 2023-04-07 03:58
krbtgtchadmed: that project makes me wonder if asahi could be a good fit for gsoc
#asahi-dev · 2023-04-07 01:45
chadmedoh and i should add that by "no bass response" i mean "crap bass response" - its there its just dull and subdued because these tiny woofers cant move enough air even with eleventy quadspillion db of gain
#asahi-dev · 2023-04-07 01:35
chadmedlike that annoying bloat at around 600hz
#asahi-dev · 2023-04-07 01:35
chadmedand although it is ultimately a nice-to-have, it makes my life easier on the back end as i can free up some filter bandwidth in the IRs for parts of the band that we actually care about
#asahi-dev · 2023-04-07 01:34
chadmedthis really is the last missing piece for userspace though, everything else is in place or can be shipped as versioned improvements
#asahi-dev · 2023-04-07 01:31
chadmedi am too stupid/exhausted/time-poor to fix it myself and i have other audio things to work on besides
#asahi-dev · 2023-04-07 01:30
chadmedso we should probably do something about that :)
#asahi-dev · 2023-04-07 01:29
chadmedim getting sick of having no bass response on my laptop, and i dont quite fancy fielding questions from the orange nerd website as to why we dont have good bass like macos once we do release audio to the masses
#asahi-dev · 2023-04-07 01:28
chadmedhttps://github.com/AsahiLinux/docs/wiki/Yaks-in-need-of-shaving
#asahi-dev · 2023-04-07 01:28
chadmedattn any maths/cs students or otherwise so-inclined folks with some spare time: i have a yak for you to shave
#asahi-dev · 2023-04-06 23:43
karpouzithank you opticron!
#asahi-dev · 2023-04-06 23:31
opticronkarpouzi, no user support in this channel, strictly development discussion
#asahi-dev · 2023-04-06 23:15
karpouzi(sorry for the doublepost; not sure if there's anyone here that isn't in #asahi)
#asahi-dev · 2023-04-06 23:15
karpouzianyone ever completely lose USB functionality on a mac mini?
#asahi-dev · 2023-04-06 21:44
kit_ty_kate3yeah it most likely needs more work but at least it sort of work. I'll do that tomorrow or something ^^" it's pretty late and i haven't had dinner ;;
#asahi-dev · 2023-04-06 21:37
jannauI guess the AttrPalmSizeThreshold should be removed if we disable libinput's palm rejection
#asahi-dev · 2023-04-06 21:37
kit_ty_kate3jannau: added my new quirks and it works! Thank you so much!
#asahi-dev · 2023-04-06 21:34
kit_ty_kate3ohh i see
#asahi-dev · 2023-04-06 21:34
jannauthat matches the touchpads on apple m1 (pro/max) laptops
#asahi-dev · 2023-04-06 21:33
jannaukit_ty_kate3: see "[Apple Laptop Touchpad (SPI)]" in https://gitlab.freedesktop.org/libinput/libinput/-/blob/main/quirks/50-system-apple.quirks
#asahi-dev · 2023-04-06 21:32
kit_ty_kate3jannau: you mean apart from quirks/50-system-apple.quirks ?
#asahi-dev · 2023-04-06 21:32
kit_ty_kate3ah i see so the vendor id is the second component in the "device name in /sys/" (M:) field
#asahi-dev · 2023-04-06 21:31
jannauI think libinput has already quirks for apple devices though which iirc also match our devices
#asahi-dev · 2023-04-06 21:31
jannauthe libinput list-devices output has nothing except the name for matching
#asahi-dev · 2023-04-06 21:28
jannauin `udevadm info -t` search for ID_INPUT_TOUCHPAD=1
#asahi-dev · 2023-04-06 21:28
kit_ty_kate3jannau: ok i see, but nothing in the libinput matches that so either something is matching by some other means or I'm gonna have to add it as a new section but with that I have no idea what to put in the MatchVendor field for example
#asahi-dev · 2023-04-06 21:28
jannauvendor id 0x05ac, product id is unclear since it comes from the device
#asahi-dev · 2023-04-06 21:21
jannauname is "Apple Internal Keyboard / Trackpad"
#asahi-dev · 2023-04-06 21:18
kit_ty_kate3but I'm not sure what I'm looking for there
#asahi-dev · 2023-04-06 21:18
kit_ty_kate3marcan: actually something is weird in my libinput branch. I thought the Apple (MTP) thingy was also for M1 but looking at your PR it seems to be for M2. But looking at the quirks file I can't find any section that matches the one for the 16" M1Pro MBP i have. How did you get the vendor ID and device name? I've tried using the "libinput list-devices" and "udevadm info -t" commands
#asahi-dev · 2023-04-06 18:11
marcanso that's probably the iphone SoC it came from
#asahi-dev · 2023-04-06 18:11
marcanFWIW the macOS driver references H7 which is A8 (T7000)
#asahi-dev · 2023-04-06 18:10
marcanhah, cute
#asahi-dev · 2023-04-06 18:10
ChaosPrincesswhich is weird, since i dont think they actually vanish?
#asahi-dev · 2023-04-06 18:10
ChaosPrincessmacos reads out the luts and tunables from the state iboot left them in, and then just rewrites them back on every power gate/ungate
#asahi-dev · 2023-04-06 18:09
ChaosPrincesspmuch
#asahi-dev · 2023-04-06 18:09
marcanbut I guess they kept most of the init then?
#asahi-dev · 2023-04-06 18:09
marcanyeah, that I know
#asahi-dev · 2023-04-06 18:09
ChaosPrincesssandcastle runs it in dumb fb, but this one is not initialized to dumb fb mode
#asahi-dev · 2023-04-06 18:08
marcan(since I remember someone got linux running on it in dumb fb mode, definitely no driver for that in sandcastle)
#asahi-dev · 2023-04-06 18:08
ChaosPrincessthere is like 5-6
#asahi-dev · 2023-04-06 18:08
marcanalso AIUI on T2 Macs that's also initialized by iBoot, so it probably came from there
#asahi-dev · 2023-04-06 18:08
ChaosPrincessalso, holy shit the amount of luts in this hw
#asahi-dev · 2023-04-06 18:07
marcanI guess it's just... older pre-DCP code at that point, unrelated to much else

plus ›