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.
hi, may I know if there’s a working rom that supports this?
I hope you can share your build so we can test also.
Accessory mode is not working in amlogic kernel 4.9
even compiling and activating usb gadget support, but if you want to try, these are the images that I’m using
Android TV
Android
thank you so much for your response.
I believe we are trying to do the same thing, just me with carplay.
I’ve tried the using the pins to power the board and data cable to the otg port but still not luck.
Even the usb hub connected to the car with external power did not work.
OT, Orange Pi Zero works for my use cases. That’s the first one I’ve tried before going with Radxa Zero for bigger ram.