Power & Source of Big Ideas

NEO Plus 2 do not support cp210x usb-serial adapter

Moderators: chensy, FATechsupport

Hi,

I'am using NEO Plus 2. The board is using Linux kernel 4.14.0.

I need to use CP210x usb-serail adapter with this board to interface some device.

However, this board does not have cp210x.ko driver install by default.

I tried to compile, but found I can not install linux-headers-4.14.0 for this board, as it is not included in the software repository.

Can you help to compile a cp210x.ko for me? Or please tell me how to install the required linux-headers-4.14.0 package?

Thanks,
Cheng
vividcheng wrote:
Hi,

I'am using NEO Plus 2. The board is using Linux kernel 4.14.0.

I need to use CP210x usb-serail adapter with this board to interface some device.

However, this board does not have cp210x.ko driver install by default.

I tried to compile, but found I can not install linux-headers-4.14.0 for this board, as it is not included in the software repository.

Can you help to compile a cp210x.ko for me? Or please tell me how to install the required linux-headers-4.14.0 package?

Thanks,
Cheng


Try Armbian perhaps? This probably works out of the box. If not:
https://github.com/armbian/build
Have you tried to install the needed linux headers using the metapackages?

Code: Select all

apt install linux-headers-generic


should search for the correct Veriosn of the linux-headers package.

Alternatively you could do

Code: Select all

apt install linux-headers-$(uname -r) 


which also should install the correct header files for your installed kernel.
In both cases you should do an initial apt update!

Code: Select all

apt update


both options are working flawless on my nanoPi Neo Plus2.


best regards.

Who is online

In total there is 1 user online :: 0 registered, 0 hidden and 1 guest (based on users active over the past 5 minutes)
Most users ever online was 102 on Mon Oct 08, 2018 12:42 pm

Users browsing this forum: No registered users and 1 guest