Skip to content

Instantly share code, notes, and snippets.

Avatar

Mike Bergeron shortword

View GitHub Profile
@shortword
shortword / rtlsdr_e2e.sh
Created Apr 5, 2021
rtlsdr end-to-end script
View rtlsdr_e2e.sh
#!/usr/bin/env bash
sudo apt update
sudo apt install -y build-essential cmake git libusb-1.0-0-dev
mkdir -p $HOME/local/src
cd $HOME/local/src
git clone git://git.osmocom.org/rtl-sdr.git
cd rtl-sdr/
mkdir build
View keybase.md

Keybase proof

I hereby claim:

  • I am shortword on github.
  • I am shortword (https://keybase.io/shortword) on keybase.
  • I have a public key ASC3piFwMWGQpl240iI6MITWQjeNvV0keBFYwZ7pnnv76go

To claim this, I am signing this object:

@shortword
shortword / cubic_sdr_apt.sh
Last active Mar 1, 2019
CubicSDR Ubuntu 18.04 dependencies
View cubic_sdr_apt.sh
sudo apt-get install -y git build-essential automake cmake libpulse-dev libgtk-3-dev freeglut3 freeglut3-dev python3-dev swig3.0 libhamlib-dev
View 99-makerselect-3dprinter.rules
SUBSYSTEM=="tty", DRIVERS=="usb", ATTRS{idProduct}=="6001", ATTRS{idVendor}=="0403", ATTRS{serial}=="AH068NME", SYMLINK+="maker3d"
@shortword
shortword / udevadm_info_makerselect
Created Feb 8, 2019
udevadm info for Maker Select 3D v2
View udevadm_info_makerselect
looking at device '/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/ttyUSB3/tty/ttyUSB3':
KERNEL=="ttyUSB3"
SUBSYSTEM=="tty"
DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/ttyUSB3':
KERNELS=="ttyUSB3"
SUBSYSTEMS=="usb-serial"
DRIVERS=="ftdi_sio"
ATTRS{latency_timer}=="16"
@shortword
shortword / udevadm_monitor_makerselect
Created Feb 8, 2019
udevadm monitor for Monoprice Maker Select 3D v2
View udevadm_monitor_makerselect
KERNEL[336840.110293] add /devices/pci0000:00/0000:00:14.0/usb1/1-8 (usb)
KERNEL[336840.113238] add /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0 (usb)
KERNEL[336840.113306] add /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/ttyUSB3 (usb-serial)
KERNEL[336840.113701] add /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/ttyUSB3/tty/ttyUSB3 (tty)
KERNEL[336840.113770] bind /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/ttyUSB3 (usb-serial)
KERNEL[336840.113851] bind /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0 (usb)
KERNEL[336840.113943] bind /devices/pci0000:00/0000:00:14.0/usb1/1-8 (usb)
UDEV [336840.146597] add /devices/pci0000:00/0000:00:14.0/usb1/1-8 (usb)
UDEV [336840.153069] add /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0 (usb)
UDEV [336840.157093] add /devices/pci0000:00/0000:00:14.0/usb1/1-8/1-8:1.0/ttyUSB3 (usb-serial)
View 99-yaesu-ft991a.rules
#FT991a UART Interfaces
SUBSYSTEM=="tty", DRIVERS=="cp210x", ATTRS{interface}=="Enhanced*", SYMLINK+="yaesu991e"
SUBSYSTEM=="tty", DRIVERS=="cp210x", ATTRS{interface}=="Standard*", SYMLINK+="yaesu991s"
@shortword
shortword / udevadm_info_yaesu
Created Feb 8, 2019
udevadm info attribute walk yaesu ttyUSB
View udevadm_info_yaesu
looking at device '/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3.1/1-1.4.3.1:1.0/ttyUSB0/tty/ttyUSB0':
KERNEL=="ttyUSB0"
SUBSYSTEM=="tty"
DRIVER==""
looking at parent device '/devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3.1/1-1.4.3.1:1.0/ttyUSB0':
KERNELS=="ttyUSB0"
SUBSYSTEMS=="usb-serial"
DRIVERS=="cp210x"
ATTRS{port_number}=="0"
@shortword
shortword / udevadm_monitor
Created Feb 8, 2019
Yaesu FT991a udevadm monitor output
View udevadm_monitor
KERNEL[334072.416640] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.3 (usb)
KERNEL[334072.417238] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.0 (usb)
KERNEL[334072.418795] bind /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.0 (usb)
KERNEL[334072.418902] bind /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.3 (usb)
UDEV [334072.431794] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.3 (usb)
UDEV [334072.437466] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.0 (usb)
UDEV [334072.440708] bind /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3:1.0 (usb)
UDEV [334072.443294] bind /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.3 (usb)
KERNEL[334072.814377] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3.1 (usb)
KERNEL[334072.815475] add /devices/pci0000:00/0000:00:14.0/usb1/1-1/1-1.4/1-1.4.3/1-1.4.3.1/1-1.4.3.1:1.0 (usb)
@shortword
shortword / dmesg
Created Feb 8, 2019
Yaesu FT991a Plug dmesg
View dmesg
[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