Radxa Zero, supports usb acessory mode ?
I’m trying to connect my board to my car with aagateway ( https://forum.xda-developers.com/t/android-4-1-proxy-gateway-for-android-auto.3813163/ ), thats needs usb acessory mode, i know thats LineAgeOS supports this mode, but don’t know if the radxa zero supports.
It already works with tv stick mk809IV.
Thanks ( sorry English is not my language )
Radxa Zero Usb acessory Mode?
If using upstream Linux on the board, it needs to have this patch (mine or an equivalent) else the board is being forced to host mode: https://patchwork.kernel.org/project/linux-amlogic/patch/20230127103913.3386435-1-christianshewitt@gmail.com/
If using Android or something with the 4.9 vendor kernel … no idea (someone else’s problem)
Hi, I was compiling the lineageos from source, and it’s exactly the 4.9 kernel, so I stopped compiling and went to look at the source code and found this in g12a_s905y2_radxa0.dts ,
&dwc3 {
status = “okay”;
};
&usb2_phy_v2 {
status = “okay”;
portnum = <2>;
};
&usb3_phy_v2 {
status = “okay”;
portnum = <0>;
otg = <1>;
gpio-vbus-power = “GPIOH_6”;
gpios = <&gpio GPIOH_6 GPIO_ACTIVE_HIGH>;
};
&dwc2_a {
status = “okay”;
/** 0: normal, 1: otg+dwc3 host only, 2: otg+dwc3 device only*/
controller-type = <3>;
};
I’ll change the controller-type to 0 and see what happens.
Thanks for the info.