Setting usb-c power/data role
-
Hi, I'm having trouble getting my dock to work how i want it. I want to charge my phone through the dock and use peripherals and pass ethernet. I found some sysfs files for power and data roles and tried to set them but they say resource is busy. Basically it either works in power sink/data device OR power source/data host mode. I'd like it to work as power sink/data host mode but have no idea how to do it. Anyone have any pointers? This dock works fine on my other stock android phone. The phone in question is oneplus 5t(dumpling). Running 24.04-1.1.