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 are 36 users online :: 0 registered, 0 hidden and 36 guests (based on users active over the past 5 minutes)
Most users ever online was 5185 on Wed Jan 22, 2020 1:44 pm

Users browsing this forum: No registered users and 36 guests