Power & Source of Big Ideas

NanoPi NEO two USB ports on pin header not working

Moderators: chensy, FATechsupport

Hello,
I want to use two USB ports available on pin header with no success.
Test:
    Connect USB device (CY7C86013A) to front USB: working. Device is recognized, accessible with test software
    Connect USB device (CY7C86013A) to USB1 on pinheader: not working
    Connect USB device (CY7C86013A) to USB2 on pinheader: not working
There is no electrical activity when device is connected to USB ports on pinheader and device doesn't get recognized.

I have tried installing several recent sd card images with no success:
    nanopi-neo_debian-nas-jessie_4.14.0_20171218.img
    nanopi-neo_FriendlyCore-Xenial_4.14.0_20171218.img
    nanopi-neo_ubuntu-oled_4.14.0_20171219.img
    Armbian_5.27_Nanopineo_Ubuntu_xenial_dev_4.11.3.7z
I suppose issue has to be connected with settings in kernel and device tree, but I didn't go to it.
I also assume that image
nanopi-neo_debian-nas-jessie_4.14.0_20171218.img
should work out of the box, since
1-bay NAS Dock
is using both USB ports on pinheader.
Please tell me correct steps to activate those two USB ports.

Best regards,
Borut.
In armbian, you just need to enable them:
armbian-config -> hardware

hw-config.png
hw-config.png (12.13 KiB) Viewed 753 times


But first start with this - more recent - image(s):
https://dl.armbian.com/nanopineo/Debian_stretch_next.7z
or
https://dl.armbian.com/nanopineo/Ubuntu_xenial_next.7z
igorp wrote:
In armbian, you just need to enable them:
armbian-config -> hardware

on my NanoPi Neo(2) with the silver NAS case I have enabled usbhost1 and usbhost2 and all USB Ports are useable.

see the attached Picture

Attachments

Hello igorp,

Thank you for your answer.
I have done as you've suggested and USB's on pinheader work now.
I guess (but I didn't try) that most probably also other images work...
I must apologize.
USB works better if you don't mix D+ and D- signals...
Thank you and best regards,
Borut.
I have one question. I use

Code: Select all

Welcome to ARMBIAN 5.36 user-built Ubuntu 16.04.3 LTS 3.4.113-sun8i
and tried to find USB port and other interfaces devices. But .... they are not present under system and hardware module does not exist? Why? What is replacement? Or all interfaces are enabled by default?
Szymon_Zy wrote:
I have one question. I use

Code: Select all

Welcome to ARMBIAN 5.36 user-built Ubuntu 16.04.3 LTS 3.4.113-sun8i
and tried to find USB port and other interfaces devices. But .... they are not present under system and hardware module does not exist? Why? What is replacement? Or all interfaces are enabled by default?


You are using the legacy kernel (V3..4.113) version of armbian.

The option to activate some hardware via kernel overlays in armbian-config is - as I know - only available in the
mainline Kernel (V4.x) version aof armbian.

At the following link you could download a mainline-kernel version of debian for the Neo:
https://dl.armbian.com/nanopineo/Debian_stretch_next.7z

Or here the Ubuntu-version
https://dl.armbian.com/nanopineo/Ubuntu_xenial_next.7z
The option to activate some hardware via kernel overlays in armbian-config is - as I know - only available in the
mainline Kernel (V4.x) version aof armbian.


Yes. For old legacy kernel 3.4.y you need to use FEX editor to fiddle with hw config. Also possible to run it from armbian-config but managing hardware configuration there is far more complex. Here is a general guide: http://linux-sunxi.org/Fex_Guide - manual way is to decompile bin2fex /boot/script.bin -> /boot/script.fex, edit and compile back with fex2bin ... you don't want to mess with that.

Rather move to a modern kernel as Guidol already proposed.

Who is online

In total there are 49 users online :: 0 registered, 0 hidden and 49 guests (based on users active over the past 5 minutes)
Most users ever online was 2865 on Sun Nov 10, 2019 5:27 am

Users browsing this forum: No registered users and 49 guests