installACMModule
installACMModule copied to clipboard
Install the CDC ACM and USB to Serial Modules for the Jetson TX1 or Jetson TX2 Development Kit
installACMModule
MIT License
Copyright (c) 2017-2018 Jetsonhacks
There are scripts in this repository which install USB kernel modules which are not in the L4T 28.1 build. The modules:
- cdc-acm
- cp210x
- ch341
cdc-acm kernel module
Install the CDC ACM Module for the Jetson TX1 or Jetson TX2 Development KitThis script adds a module for USB Host functions to support Communication Device Class (CDC) Abstract Control Module (ACM) USB Devices.
Typically these USB devices report as ttyACM* (where * is an integer). ACM devices have a lineage that goes back to modems and other network types of devices. However, many USB devices (such as an Arduino) are implemented using this simple USB protocol. The stock L4T 28.1 kernel does not have a CDC ACM module built in to the kernel, or as a separate module. This script adds cdc-acm.ko as a module so that such devices can be accessed through ttyACM*.
To install:
$ sudo ./installCDCACM.sh
cp210x USB to serial converter
This script install the CP210x USB to serial converter module. There are several different types of USB to serial converters (FTDI is built into the L4T 28.1 kernel), the CP210x is used by devices such as the RP-LIDAR productsch341
This script install the CH-341 USB to serial converter module. There are several different types of USB to serial converters (FTDI is built into the L4T 28.1 kernel), this is the CH-341 which is used by many Arduino clones.Notes
These scripts expect a stock kernel, kernel version 4.4.38-tegraMore than likely, you will need to replug the USB device for it to be detected properly after installing the kernel module.
These scripts check the version magic of the module and compares it to the kernel version running on the machine. If the two do not match, the user is asked if they still want to continue the installation. If the two match, the module is installed.
Note that on a version mismatch, the user can still install the module. However, some extra steps may be needed after the installation to get the module installed fully. The steps are not covered here, but should be readily available elsewhere.
These scripts are for L4T 28.1. L4T version 28.2 includes cp210x and cdc-acm modules.