Page 1 of 1

NEO Plus 2 do not support cp210x usb-serial adapter

Posted: Thu Aug 02, 2018 6:14 am
by vividcheng
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

Re: NEO Plus 2 do not support cp210x usb-serial adapter

Posted: Thu Aug 02, 2018 7:20 pm
by igorp
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

Re: NEO Plus 2 do not support cp210x usb-serial adapter

Posted: Fri Aug 31, 2018 11:57 am
by alopecosa
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.