Vladimir Gamalian Posted June 11, 2017 Posted June 11, 2017 Nano Pi Neo, Armbian (Armbian_5.27.170422_Nanopineo_Ubuntu_xenial_dev_4.10.11) External USB device works fine when connected via USB-A jack, but doesn't work when connected to 2.54 pin header (2,3). Is there some additional steps to activate internal (usb1, usb2) ports, or it's hardware problem?
Vladimir Gamalian Posted June 11, 2017 Author Posted June 11, 2017 Have tried to connect another USB device (mouse) with same results..
Vladimir Gamalian Posted June 11, 2017 Author Posted June 11, 2017 It works with OS from friendlyarm (nanopi-neo-ubuntu-core-qte-sd4g-20170331.img.zip), so I guess, it is armbian related problem..
Igor Posted June 11, 2017 Posted June 11, 2017 27 minutes ago, Vladimir Gamalian said: it is armbian related problem Have you check our stable build? Missing features in WIP images is normal situation. Edit: disabled USB on header can be considered normal. It's up to you to reconfigure board upon your needs.
Vladimir Gamalian Posted June 11, 2017 Author Posted June 11, 2017 @Igor I've just checked both last stable and experimental branches, with the same result. lsusb did't show any devices but two hubs. oops, looks like stable branch works fine (took some time to start usb device)
Igor Posted June 11, 2017 Posted June 11, 2017 7 minutes ago, Vladimir Gamalian said: lsusb did't show any devices but two hubs. Well, as I said. You have to reconfigure header functions to your need. It'a not a job of Armbian to do so. Somebody else might have other needs and they will say "why I2C is not working out of the box?" or similar ... If you are using modern kernel, we use overlays ... check docs.armbian.com for manipulation those features.
Vladimir Gamalian Posted June 11, 2017 Author Posted June 11, 2017 4 hours ago, Igor said: If you are using modern kernel, we use overlays Thank You! The line in /boot/armbianEnv.txt: overlays=usbhost0 usbhost2 usbhost3 enables other usb hubs, but not all (old kernel lsusb shows 8 hubs, but new one only 6), with/without usbhost3 param. Still looking how to switch on the port I need.
Vladimir Gamalian Posted June 11, 2017 Author Posted June 11, 2017 Finally all the hubs work fine. The solution is: copy /boot/dtb-4.10.11-sun8i/overlay/sun8i-h3-usbhost0.dtbo to /boot/dtb-4.10.11-sun8i/overlay/sun8i-h3-usbhost1.dtbo change ehci0 to ehci1 and ohci0 to ohci1 in /boot/dtb-4.10.11-sun8i/overlay/sun8i-h3-usbhost1.dtbo insert to /boot/armbianEnv.txt line: overlays=usbhost0 usbhost1 usbhost2 usbhost3 reboot 1
Recommended Posts