This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[333394.108738] usb 1-1.4.3: new high-speed USB device number 46 using xhci_hcd | |
[333394.224822] usb 1-1.4.3: New USB device found, idVendor=0424, idProduct=2512 | |
[333394.224831] usb 1-1.4.3: New USB device strings: Mfr=0, Product=0, SerialNumber=0 | |
[333394.225778] hub 1-1.4.3:1.0: USB hub found | |
[333394.225823] hub 1-1.4.3:1.0: 2 ports detected | |
[333394.516732] usb 1-1.4.3.1: new full-speed USB device number 47 using xhci_hcd | |
[333394.618823] usb 1-1.4.3.1: New USB device found, idVendor=10c4, idProduct=ea70 | |
[333394.618829] usb 1-1.4.3.1: New USB device strings: Mfr=1, Product=2, SerialNumber=5 | |
[333394.618834] usb 1-1.4.3.1: Product: CP2105 Dual USB to UART Bridge Controller | |
[333394.618838] usb 1-1.4.3.1: Manufacturer: Silicon Labs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install build-essential libevent-dev libncurses5-dev autoconf git | |
git clone https://github.com/tmux/tmux.git | |
cd tmux | |
git checkout 2.8 # Always check for newer versions | |
sh autogen.sh | |
# NOTE: The prefixes used here are under ~/local; e.g. ~/local/src, ~/local/bin | |
# Many people simply have their PREFIX under $HOME | |
./configure --prefix=$HOME/local | |
make -j`nproc` # -j`nproc` parallelizes the build; omit for compatibility but slower build | |
make install |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install -y yubikey-piv-manager |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo service gpsd restart |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
DEVICES="/dev/gps" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo apt install -y gpsd gpsd-clients |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ACTION=="add", KERNEL=="ttyUSB[0-9]*", SUBSYSTEM=="tty", SUBSYSTEMS=="usb", ATTRS{idProduct}=="2303", ATTRS{idVendor}=="067b", SYMLINK+="gps" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
udevadm info -a -p $(udevadm info -q path -n /dev/ttyUSB0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Udevadm info starts with the device specified by the devpath and then | |
walks up the chain of parent devices. It prints for every device | |
found, all possible attributes in the udev rules key format. | |
A rule to match, can be composed by the attributes of the device | |
and the attributes from one single parent device. | |
looking at device '/devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/ttyUSB0/tty/ttyUSB0': | |
KERNEL=="ttyUSB0" | |
SUBSYSTEM=="tty" | |
DRIVER=="" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
KERNEL[1654.154728] add /devices/platform/soc/20980000.usb/usb1/1-1/1-1.2 (usb) | |
KERNEL[1654.180457] add /devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2:1.0 (usb) | |
KERNEL[1654.188490] add /devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/ttyUSB0 (usb-serial) | |
KERNEL[1654.192137] add /devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/ttyUSB0/tty/ttyUSB0 (tty) | |
UDEV [1654.272291] add /devices/platform/soc/20980000.usb/usb1/1-1/1-1.2 (usb) | |
UDEV [1654.281351] add /devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2:1.0 (usb) | |
UDEV [1654.287403] add /devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/ttyUSB0 (usb-serial) | |
UDEV [1654.322383] add /devices/platform/soc/20980000.usb/usb1/1-1/1-1.2/1-1.2:1.0/ttyUSB0/tty/ttyUSB0 (tty) |