humanoid2050

Members
  • Content Count

    4
  • Joined

  • Last visited

  1. when unpacked to the home directory: user@nanopiair:~/linux-source-5.1.0-sunxi$ find . -xtype l ./debian/hdrtmp/lib/modules/5.1.0-sunxi64/build ./drivers/net/wireless/rtl8812au/include ./drivers/net/wireless/rtl8812au/platform ./drivers/net/wireless/rtl8812au/hal ./drivers/net/wireless/rtl8812au/os_dep ./drivers/net/wireless/rtl8812au/modules.order ./drivers/net/wireless/rtl8812au/core ./net/wireguard/tools/wg-quick/wg Didn't stop me from doing what I needed. All the rtl8812au symlinks point to /home/igorp/samsung/cache/sources/rtl8812au/*
  2. Fair enough. I'm not too worried though, as the long term solution really needs to be folding this into the Armbian or upstream kernel sources so that it builds with the system as a whole. This is just a bandaid for people who want USB OTG right now.
  3. I've got a NanoPi Neo Core 2 and a NanoPi Neo Air. It bothered me that the USB OTG did not function in host mode. Turns out, the included Armbian .dtb's don't have the parts necessary to define the regulator which pushes power back to a client device when the board needs to run in OTG host mode. You can see the regulator on page 8 of the schematic http://wiki.friendlyarm.com/wiki/images/6/6b/NanoPi_NEO_Core2-V1.0_1707.pdf I found an upstream patch at https://patchwork.kernel.org/patch/9921097/ which defined the missing parts for a Neo Plus 2. I put the relevant parts into an overlay dts file (attached) that can be loaded with sudo armbian-add-overlay otg.dts I've tested this on both of my devices. I assume it should work on other devices with the same wiring. One quirk I didn't figure out though... online sources all used "GPIO_ACTIVE_HIGH" as a kind of defined value, but the version of 'dtc' included with Armbian chokes on it. So instead I just in the equivalent numeric value. otg.dts