-
Notifications
You must be signed in to change notification settings - Fork 1
Locating Controllers KERNEL and KERNELS settings
Thomas W. C. Carlson edited this page Apr 15, 2022
·
3 revisions
For the Raspberry pi to properly assign the correct device name to the microcontrollers we need to make note of each KERNAL and KERNELS name. This will be used in the next step Establishing udev rules for the Controllers
Every device which connects to the RPi has unique information about itself available to the serial bus host. We can use this to ensure that when we plug in an Arduino over USB it is always recognized with a static name. This means we don't need to worry about plug in order.
By plugging in one device at a time and running the command udevadm info -a -n /dev/ttyACM0 | less
we can get the pertinent data needed to write a udev
rule which does this mapping of IDs.
- Run
ls /dev/ttyACM*
to see a list or no list of current connected devices. - Plugin one microcontroller.
- Run
ls /dev/ttyACM*
to see what name the device got given. - With that device name run
udevadm info -a -n /dev/ttyACM0 | less
. - Seach the list of attributes (
ATTRS
), looking for the first instance ofATTRS{serial}==
- Copy down this value for use in writing the rule, and keep track of which device has that value. Then unplug the device, and repeat steps 1-6 for each other device that needs a name.
- Installing Raspberry Pi OS
- Setting up SSH and optionally Wi-Fi
- SSHing into the Raspberry Pi
- Enabling SSH Server
- Configuring IP Addressing
- Installing Environments
- Flashing the Arduino code
- Establishing Controllers plugin order
- Locating Controllers KERNEL and KERNELS settings
- Establishing udev rules for the Controllers
- IP setup
- Building the Typescript code
- Running the EngineWebServer
- Activity Diagram
- ER Diagram
- UML Diagram