DC-IRC has quit [Remote host closed the connection]
DC-IRC has joined #armbian-allwinner
<DC-IRC> <surenz> Hello, since kernel 5.15 seems that micro-usb port can't be used as host. Is there a way to change dtb to get back this functionality? O'm using Orange Pi One which is really short of USB ports.
<DC-IRC> <surenz> Hello, since kernel 5.15 seems that micro-usb port can't be used as host. Is there a way to change dtb to get back this functionality? I'm using Orange Pi One which is really short of USB ports.
<DC-IRC> <viraniac> Have you tried the solution from the forum post - https://forum.armbian.com/topic/4814-orange-pi-one-usb-otg/?sortby=date?
<DC-IRC> <surenz> Yep, I was using it (perhaps you see that I made even tutorial in this topic how to change the dtb file) but seems like the dtb in 5.15+ is changed so this is not working
<DC-IRC> <surenz> since one of the updates when the kernel was bumped from 5.10 -> 6.1 the microusb port stopped working
<DC-IRC> <viraniac> could you share your overlay that stopped working?
<DC-IRC> <surenz> I can share the user overlay which I use with armbian-add -overlay
<DC-IRC> <surenz> sorry I thought I sent the file but it was just sitting in my new message
<DC-IRC> <viraniac> Looks ok, are you sure it is getting applied? For example if you cat /proc/device-tree/soc/usb@1c19000/dr_mode (I am guessing the path here), it should print host
<DC-IRC> <surenz> yes it's indeed host but not working
<DC-IRC> <surenz> and still in dmesg the message: musb-sunxi 1c19000.usb: Disabling musb host side code due to re-routed phy
<DC-IRC> <viraniac> Alright, can you try creating your own custom image using https://github.com/armbian/build. I think there is a kernel patch that might be causing the conflict. Try editing `patch/kernel/archive/sunxi-6.1/series.conf` file to add a `-` (hyphen) at the start of the line that contains `patches.megous/phy-allwinner-sun4i-usb-Add-support-for-usb_role_switch.patch`. Then compile using <clipped message>
<DC-IRC> <viraniac> `./compile.sh BOARD=orangepione BRANCH=current`. For detailed instruction on setting up build environment and creating an image, see https://docs.armbian.com/Developer-Guide_Build-Preparation/
<DC-IRC> <surenz> could it be another patch which interfere from this forum link: https://forum.banana-pi.org/t/bpi-m2-zero-cant-get-keyboard-to-work/15666/3
<DC-IRC> <surenz> and this patch seems to revert the behavior: