Coder Social home page Coder Social logo

jetsonhacks / installacmmodule Goto Github PK

View Code? Open in Web Editor NEW
29.0 4.0 17.0 308 KB

Install the CDC ACM and USB to Serial Modules for the Jetson TX1 or Jetson TX2 Development Kit

License: MIT License

Shell 100.00%
cdc-acm ch341 cp210x jetson-tx2 jetson-tx1 kernel-module

installacmmodule's Introduction

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 Kit

This 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 products

ch341

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-tegra

More 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.

Release Notes

February, 2018

Add cp210x and ch341 modules and install scripts

November, 2017

Initial Release

installacmmodule's People

Contributors

jetsonhacks avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

installacmmodule's Issues

Different vermagic

Hey Jim,

I'm using TX2 connected to connect-tech Astro carrier board with kernel 4.4.38+.
The force option dose'nt work for me, it gives me the "version magic should be" error.
Is there any way you publish the pre-compiled cdc_acm?

Thanks, Gal

Support for Jetson Nano?

Hello,

Does this work with the Jetson Nano?

I tried installCP210x.sh but when doing sudo modprobe -f cp210x I get

modprobe: ERROR: could not insert 'cp210x': Exec format error

What about L4T 28.2?

Does 28.2 also need drivers? Are these specific drivers "safe" to install for 28.2, or are they only good for 28.1?

Still do not see ttyACM port

I ran the scripe

nvidia@tegra-ubuntu:~/Downloads/installACMModule$ sudo ./installCDCACM.sh
[sudo] password for nvidia:
Kernel and Module Versions Match; Installing ...
'cdc-acm.ko' -> '/lib/modules/4.4.38-tegra/kernel/drivers/usb/class/cdc-acm.ko'
Installed cdc-acm Module

After that, I did a "lsusb", but I did not see anything related to the FOCBOX.

When I ran BLDC tool, I did not see a ttyACM* connect either. How can I check if the ACM module is installed correctly?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.