percu

Validating
  • Content Count

    3
  • Joined

  • Last visited

  1. Sooo, it works now! Big thanks to Igor and usual user! What I do: 1) Reconfigure kernel, turn on midi gadget support(https://linux-sunxi.org/USB_Gadget/MIDI) and compile it. (https://docs.armbian.com/Developer-Guide_Build-Preparation/) 2) Turn on usbhost0 in System -> Hardware section using armbian-config. 3) Install new kernel on my Pi ( sudo dpkg -i linux-image-current-sunxi_20.08.0-trunk_armhf.deb) 4) sudo modeprobe g_midi Profit! Now I can see my midi device in device manager in Win10. It appears with name "MIDI function". So one more question: how I can change this name? Or do I need to do somthing before compiling kernel?
  2. Thank you for replying! In the armbian-config -> hardware I turned on usbhost0. After rebooting, and command "modprobe g_ether", now I can see my OPi as usb COM device in windows. But when I try: sudo modprobe g_midi I get error: modprobe: FATAL: Module g_midi not found in directory /lib/modules/4.19.57-sunxi Where I can get this module? Here I had read, that I need to reconfigure kernel. Think that I need to use make menuconfig command in the kernel build directory. Right? But I don't have source code in /usr/src. May be it is in the other dir? I can't find any info about midi device tree configurations. May be devicetree setup have some rules to configure it? Does USB gadget framework included in the Armbian? Or where I can find it? Sorry for my questions, I'm really stupid in linux.
  3. Hello! I try to turn on usb gadget mode on my OPi. For example g_ethernet, or g_midi. Read many posts, but still don't understand what I should do. Is it possible to turn on gadget mode without compiling my own armbian? Also, I had found on this forum info that legacy roms already have OTG support from the box. Is it true? May be somebody knows tutorials of how to turn on usb gadget mode?