Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
OrangePi Zero Plus 2 - USB not working
#11
(11-27-2019, 09:49 PM)indevo Wrote: sudo dtc -I dtb -O dts -o sun8i-h3-orangepi-zeroplus2.dtb sun8i-h3-orangepi-zeroplus2.dtb
sudo sed -i -e 's/dr_mode = "otg";/dr_mode = "host";/g' sun8i-h3-orangepi-zeroplus2.dtb
sudo dtc -I dts -O dtb -o sun8i-h3-orangepi-zeroplus2.dtb sun8i-h3-orangepi-zeroplus2.dtb

it did not work! = (

Recheck the commands , they're all spelled wrong,
last one you must convert back DTS to DTB:
sudo dtc -I dtb -O dts -o sun8i-h3-orangepi-zeroplus2.dts sun8i-h3-orangepi-zeroplus2.dtb
sudo sed -i -e 's/dr_mode = "otg";/dr_mode = "host";/g' sun8i-h3-orangepi-zeroplus2.dts

sudo dtc -I dts -O dtb -o sun8i-h3-orangepi-zeroplus2.dtb sun8i-h3-orangepi-zeroplus2.dts
Reply
#12
edit: ohh I copied the commands from another source and entered the correct ones.
The reasons were different:

ok i got it working

you must change:

dr_mode = "host"
and in all blocks

usb @ ...
status = "okay"
dr_mode = "host"

there will be 3-4 blocks and somewhere you need to add it manually.

edit 2:

usb@1c1d400 {
compatible = "allwinner,sun8i-h3-ohci\0generic-ohci";
reg = <0x1c1d400 0x100>;
interrupts = <0x00 0x4f 0x04>;
clocks = <0x03 0x24 0x03 0x28 0x03 0x5f>;
resets = <0x03 0x15 0x03 0x19>;
phys = <0x0f 0x03>;
phy-names = "usb";
status = "okay";
dr_mode = "host";
phandle = <0x43>;
};

and so on
----
And I don’t see in this version of the RCA video = (is it not here too?
Reply
#13
No, not support on mainline (kernel 4.19 and above)
Reply
#14
https://linux-sunxi.org/Linux_mainlining...tus_Matrix
Reply


Possibly Related Threads...
Thread Author Replies Views Last Post
  Mupen64Plus-glide64 and rice not working naik 6 523 11-21-2019, 02:32 AM
Last Post: naik
  Opi PC2 - Kodi Not Working redilyn 11 727 11-19-2019, 03:08 PM
Last Post: redilyn
  Bluetooth dongle not working on OPi PC DeJaVu 0 186 10-18-2019, 01:33 PM
Last Post: DeJaVu
  Orangepi zero plus 2 Allwinner H5 rzwildcard 2 398 10-13-2019, 06:53 PM
Last Post: rzwildcard
  New 4.3 OrangePI PC Image Doesn't boot shawnsdada 32 3,412 10-07-2019, 10:22 AM
Last Post: alexkidd
  Cannot transfer roms to OrangePi Pi PC+ tyrell 7 904 09-26-2019, 09:29 PM
Last Post: alexkidd

Forum Jump:


Users browsing this thread: 1 Guest(s)