Jump to content

dbeyzade

Members
  • Posts

    2
  • Joined

  • Last visited

  1. If anyone can help me with this, I would be really appreciative and also happy to make a donation Daniel
  2. Hi there, I am new here, and new to Armbian I have a Orange Pi Plus2 and I am trying to make a project to present Spotify as an iPod over USB, so that it can be used in vehicles / docks that support iPod connectivity via USB Some of this work has already been done here on the iPod USB gadget driver side https://github.com/oandrew/ipod-gadget Using the standard premade armbian builds I cannot compile the source code as the headers are missing. Therefore I compiled Armbian from source using INSTALL-HEADERS=yes, mainline Jessie. As there is no option for the Orange Pi Plus2 board, I used the Orange Pi plus config instead. The image boots, but the USB OTG appears disabled. dmesg | grep "musb" shows nothing. I played around with the device tree a bit sun8i-h3-orangepi-plus.dtb using the following: usb@01c19000 { compatible = "allwinner,sun8i-h3-musb"; reg = <0x1c19000 0x400>; clocks = <0x2 0x20>; resets = <0x2 0x11>; interrupts = <0x0 0x47 0x4>; interrupt-names = "mc"; phys = <0x12 0x0>; phy-names = "usb"; extcon = <0x12 0x0>; status = "okay"; # changed linux,phandle = <0x39>; phandle = <0x39>; dr_mode = "otg"; # added }; I found this info from here: https://vjordan.info/log/fpga/nanopi-neo-usb-otg-with-armbian-mainline-4x-kernel.html After a reboot this seems to enable the OTG which was previously failed, and the ipod gadget loads, but when connecting to a PC nothing happens. [ 4.406064] musb-hdrc musb-hdrc.1.auto: MUSB HDRC host driver [ 4.406073] musb-hdrc musb-hdrc.1.auto: new USB bus registered, assigned bus number 9 [ 4.406276] usb usb9: New USB device found, idVendor=1d6b, idProduct=0002 [ 4.406283] usb usb9: New USB device strings: Mfr=3, Product=2, SerialNumber=1 [ 4.406288] usb usb9: Product: MUSB HDRC host driver [ 4.406294] usb usb9: Manufacturer: Linux 4.14.36-sunxi musb-hcd [ 4.406299] usb usb9: SerialNumber: musb-hdrc.1.auto ............................................... [ 207.167207] g_ipod gadget: = ipod_config_ptp_bind() [ 207.167377] ipod-gadget-hid: alloc_chrdev_region dev: 242 0 [ 207.167391] ipod-gadget-hid: ipod_hid_alloc() [ 207.167608] g_ipod gadget: = ipod_config_bind() [ 207.167614] g_ipod gadget: = ipod_audio_bind() [ 207.173180] g_ipod gadget: = ipod_hid_bind(), deactivs=1 [ 207.173201] g_ipod gadget: g_ipod ready I also tried the sun8i-h3-orangepi-plus-2e.dtb as suggested on this page http://linux-sunxi.org/Xunlong_Orange_Pi_Plus_2 but no difference. I think it might have something to do with vbus - but its going overhead a little I appreciate the iPod gadget might be complicating things, so if someone could help me out with just getting something simpler working I would be very appreciative. Thanks Daniel
×
×
  • Create New...

Important Information

Terms of Use - Privacy Policy - Guidelines