Jump to content

sskrn

Validating
  • Posts

    1
  • Joined

  • Last visited

Reputation Activity

  1. Like
    sskrn reacted to cvxx in [solved] Headless wifi setup - conflict between NetworkManager and /etc/network/interfaces   
    Thanks for the idea
     
    I found this solution to be more compatible: /etc/NetworkManager/NetworkManager.conf
     
    Source: https://wiki.debian.org/NetworkManager#Wired_Networks_are_Unmanaged
  2. Like
    sskrn reacted to surenz in Orange Pi One USB-OTG   
    Hi,
     
    I've been struggling also with all the info in this thread but finally succeeded to make decompile/edit/compile the dtb file (assume this file as BIOS for ARM  )
    I'm putting all commands here as reference for me as well :
     
    cd /boot/dtb sudo cp sun8i-h3-orangepi-one.dtb sun8i-h3-orangepi-one.dtb.old sudo dtc -I dtb -O dts -o sun8i-h3-orangepi-one.dts sun8i-h3-orangepi-one.dtb sudo sed -i -e 's/dr_mode = "otg";/dr_mode = "host";/g' sun8i-h3-orangepi-one.dts sudo dtc -I dts -O dtb -o sun8i-h3-orangepi-one.dtb sun8i-h3-orangepi-one.dts Explanation of different lines:
     
    1. go to dtb directory
    2. make backup of the compiled file in case something goes wrong
    3. decompile the file to be able to alter it with text editor
    4. change the string from "otg" to "host"
    5. compile the altered file back to binary format dtb
     
     
    The only bad thing with all this above is that if you upgrade your kernel the info will be lost so you have to do it again.
    I don't get why this parameter is set by default to "otg"?
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines