#
#asahi-dev · 2022-11-25 14:40
svenmy point really only is that the maintainer of that project should be aware that the driver isn't quite upstream yet
#asahi-dev · 2022-11-25 14:40
svensure
#asahi-dev · 2022-11-25 14:39
Dcowwe want everyone to feel like it's finished product (as possible) right? :)
#asahi-dev · 2022-11-25 14:38
Dcowbut since it's in stable asahi I want use it, because without patch it's uses NOP implementation and UI is confusing
#asahi-dev · 2022-11-25 14:37
svenwould just be annoying if it got merged and then the kernel interface unexpectedly changes
#asahi-dev · 2022-11-25 14:36
svenyeah, draft pr sounds good
#asahi-dev · 2022-11-25 14:36
sven(for merging into tools it that is, not necessarily for starting to work on)
#asahi-dev · 2022-11-25 14:36
DcowI am confident enough for draft pr :-D
#asahi-dev · 2022-11-25 14:35
sveni'd still wait until it's at least in linux-next. i don't expect things to change but you never know
#asahi-dev · 2022-11-25 14:34
Dcowhm, I think it's not, but marcan was happy about it and he AFAIK was in touch with maintainers, so I think it's stable enough
#asahi-dev · 2022-11-25 14:34
svenand are there even other things we can tweak? fans and all that is done by SMC anyway
#asahi-dev · 2022-11-25 14:33
svenis cpufreq already upstream? might be wise to wait for that before adding support to other software
#asahi-dev · 2022-11-25 14:33
Dcow_jannau_: ^
#asahi-dev · 2022-11-25 14:30
Dcowbut I guess it's not possible. But we might have similar thing for OF devices, no?
#asahi-dev · 2022-11-25 14:29
Dcowas it https://docs.kernel.org/userspace-api/sysfs-platform_profile.html
#asahi-dev · 2022-11-25 14:29
Dcowyeah, I know that AS is not ACPI. power-profiles-daemon maintainer asked about if it's possible to implement platform_profile interface fro those chips
#asahi-dev · 2022-11-25 14:27
_jannau_Dcow: in which ontext? but there shouldn't be any ACPI on apple silicon macs
#asahi-dev · 2022-11-25 12:13
Dcowguys, platform_profile is ACPI thing, right?
#asahi-dev · 2022-11-25 11:34
svenwhich doesn’t go very well ;)
#asahi-dev · 2022-11-25 11:33
sventhe race is also present in vanilla kernels. it’s incredibly tight but you can get dwc3 into a state where ptrcap is set to device but dwc3 sets up xhci
#asahi-dev · 2022-11-25 10:34
svenurgh. but we can't lock a mutex there because that function might be called from an extcon interrupt handler :/
#asahi-dev · 2022-11-25 10:02
svenlocking dwc->mutex instead of dwc->lock in dwc3_set_mode seems to fix it for me
#asahi-dev · 2022-11-25 10:01
svenjannau: I think it's a race between dwc3_set_mode and __dwc3_set_mode
#asahi-dev · 2022-11-25 05:53
Gues__________________________I have no idea that why I am here. How can I start from beginning to support this. Background: I have been doing full-stack for last 5 years, worked with: C++, Go, Qt, Rust (learning), Frontend-Frameworks. I am really hyped for this project. Where can I start from?
#asahi-dev · 2022-11-24 21:22
Dcowguys, can I have a review? https://gitlab.freedesktop.org/hadess/power-profiles-daemon/-/merge_requests/117/diffs?commit_id=4bff713f222522fcc7cbff48fbb23b22a99f49f8
#asahi-dev · 2022-11-24 19:38
sven*sigh* maybe it’s time to rethink that role switch quirk. It worked great for usb2 but the interactions with atcphy are a bit annoying :(
#asahi-dev · 2022-11-24 18:10
svenhrm, maybe it’s related to the additional role switch without a mux update
#asahi-dev · 2022-11-24 18:08
jannauseems to be often an issue on first cold boot of the device
#asahi-dev · 2022-11-24 18:07
jannauit might be related to not detecting m1n1 as device (not sure if that's a host or device problem)
#asahi-dev · 2022-11-24 18:04
svenit doesn’t happen every time here though
#asahi-dev · 2022-11-24 18:04
svenlet’s see why that happens
#asahi-dev · 2022-11-24 18:04
svenjannau: okay, i can reproduce it now
#asahi-dev · 2022-11-24 17:25
ChaosPrincessWhat are the possible places where macos stores firmware? As part of touchbar initialization, macos sends a big binary blob there, but it does not match the one stored in preboot partition.
#asahi-dev · 2022-11-24 15:49
cy8aeroups. wrong channel sorry
#asahi-dev · 2022-11-24 15:49
cy8aerAh, it is hw:0,1
#asahi-dev · 2022-11-24 15:17
svenif your .config is correct (CONFIG_USB_ROLE_SWITCH + CONFIG_USB_DWC3_DUAL_ROLE iirc) you can also just patch out the error in dwc3/core.c
#asahi-dev · 2022-11-24 15:16
svensure
#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 14:58
ketteniss/bte/btw/
#asahi-dev · 2022-11-24 14:58
kettenisbte, largely thanks to tobhe we now have the infrastructure in place to automatically update stage2 in OpenBSD
#asahi-dev · 2022-11-24 14:38
sven*complaints
#asahi-dev · 2022-11-24 14:38
svenI really just wanted to prevent complains about "dwc3 not working" when someone built a kernel without drd support
#asahi-dev · 2022-11-24 14:38
sveni'll fix the check
#asahi-dev · 2022-11-24 14:29
_jannau_it was required when tried bringup atcphy/usb3/dp-altmode on t600x. I didn't look into since t8103 had already 'dr_mode = "otg"' and I forgot we had this discussion previously
#asahi-dev · 2022-11-24 13:58
sventhat check is really only there in case people mess up .config again and build dwc3 without role switch support
#asahi-dev · 2022-11-24 13:58
kettenisugh I mean "role-switch-default-mode"
#asahi-dev · 2022-11-24 13:57
sven*change
#asahi-dev · 2022-11-24 13:57
svenyeah, my check is a bit too early. at that point mode can still be USB_DR_MODE_UNKNOWN which will only later changed to USB_DR_MODE_OTG
#asahi-dev · 2022-11-24 13:57
kettenis(we only support "host" mode in u-boot but u-boot now looks at the "rolw-switch-default-mode" property)
#asahi-dev · 2022-11-24 13:56
kettenisu-boot used to do the wrong thing, but I fixed that

plus ›