packet:ninotnc-udev
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
packet:ninotnc-udev [2025/08/20 10:03] – created gi3jmc | packet:ninotnc-udev [2025/08/21 13:49] (current) – [Arch/CachyOS/Manjaro/Endeavour] gi3jmc | ||
---|---|---|---|
Line 4: | Line 4: | ||
This guide is intended to assist you in creating static devices for any number of NinoTNCs connected your Raspberry Pi. The device nodes set up will remain constant across restarts, power cycles, and moving the NinoTNC usb cable to a different usb port. | This guide is intended to assist you in creating static devices for any number of NinoTNCs connected your Raspberry Pi. The device nodes set up will remain constant across restarts, power cycles, and moving the NinoTNC usb cable to a different usb port. | ||
- | This wiki article is **NOT** to be used as an exact key-for-key and click-for-click guide, and also assumes that you are comfortable using the command line. | + | This wiki article is **NOT** to be used as an exact key-for-key and click-for-click guide, and also assumes that you are comfortable using the command line. |
---- | ---- | ||
Line 16: | Line 15: | ||
* A working git installation | * A working git installation | ||
* MPC2221a USB chip setting adjustment tool | * MPC2221a USB chip setting adjustment tool | ||
+ | |||
+ | As different linux distributions use different package management solutions, there are separate details below for systems based on Debian, Fedora, & Arch. | ||
+ | |||
+ | === Raspbarry OS/ | ||
First, ensure you have a working git installation with the command '' | First, ensure you have a working git installation with the command '' | ||
After git is installed/ | After git is installed/ | ||
+ | |||
+ | The settings tool is written in the python language, and it needs a couple of extra support packages to be able to work.\\ | ||
+ | To install the '' | ||
- | The settings tool is written in the python language, and it needs a couple of extra support packages to be able to work. To install the '' | + | === Fedora/ |
+ | First, ensure you have a working git installation with the command '' | ||
+ | |||
+ | After git is installed/ | ||
+ | |||
+ | The settings tool is written in the python language, and it needs a couple of extra support packages to be able to work.\\ | ||
+ | To install the '' | ||
+ | |||
+ | === Arch/ | ||
+ | |||
+ | First, ensure you have a working git installation with the command '' | ||
+ | |||
+ | After git is installed/ | ||
+ | |||
+ | The settings tool is written in the python language, and it needs a couple of extra support packages to be able to work.\\ | ||
+ | To install the '' | ||
---- | ---- | ||
Line 32: | Line 53: | ||
First, enable the serial number reporting with '' | First, enable the serial number reporting with '' | ||
- | When the command completes | + | The chips have a pre-set serial number already configured, but you can change |
- | '' | + | |
// | // | ||
Line 45: | Line 65: | ||
//**Before proceeding with any steps in this section, you should only have one NinoTNC connected. | //**Before proceeding with any steps in this section, you should only have one NinoTNC connected. | ||
- | You can change the reported product description to better identify the device. This can be used as an alternative to the serial number. | + | You can change the reported product description to better identify the device, and the process is very similar. |
// | // | ||
Line 69: | Line 89: | ||
=== Serial number names === | === Serial number names === | ||
- | This example will create a link for each NinoTNC using it's serial number as the device name, but requires you to remember which NinoTNC serial is used for each purpose | + | This example will create a link for each NinoTNC using it's serial number as the device name in ''/ |
<file shell / | <file shell / | ||
# Create descriptive links to make refering to NinoTNC' | # Create descriptive links to make refering to NinoTNC' | ||
SUBSYSTEM==" | SUBSYSTEM==" | ||
</ | </ | ||
+ | |||
+ | < | ||
+ | lrwxrwxrwx 1 root root 7 Aug 20 13:23 0003794435 -> ttyACM0 | ||
+ | lrwxrwxrwx 1 root root 7 Aug 20 13:23 0004013920 -> ttyACM1</ | ||
---- | ---- | ||
+ | === Product Description names === | ||
+ | |||
+ | This example shows that if you have set the Product Description for easier identification of a NinoTNC, it can also be used to create the name links in ''/ | ||
+ | <file shell / | ||
+ | SUBSYSTEM==" | ||
+ | SUBSYSTEM==" | ||
+ | </ | ||
+ | < | ||
+ | lrwxrwxrwx 1 root root 7 Aug 20 13:23 NinoTNC-VHF-2M -> ttyACM0 | ||
+ | lrwxrwxrwx 1 root root 7 Aug 20 13:23 NinoTNC-HF-40M -> ttyACM1</ | ||
+ | |||
+ | This format could also be used in place of the two lines above, and would create the devices in ''/ | ||
+ | <file shell / | ||
+ | SUBSYSTEM==" | ||
+ | </ | ||
+ | < | ||
+ | lrwxrwxrwx 1 root root 7 Aug 20 13:23 NinoTNC-GB7BMY-VHF-2m -> ttyACM0 | ||
+ | lrwxrwxrwx 1 root root 7 Aug 20 13:23 NinoTNC-GB7BMY-HF -> ttyACM1</ | ||
==== Final Steps ==== | ==== Final Steps ==== | ||
To activate the newly-created rules you can either remove and reconnect the NinoTNC USB cable, or use the command '' | To activate the newly-created rules you can either remove and reconnect the NinoTNC USB cable, or use the command '' |
packet/ninotnc-udev.1755684224.txt.gz · Last modified: by gi3jmc