Skip to content

Instantly share code, notes, and snippets.

View jbosboom's full-sized avatar

Jeffrey Bosboom jbosboom

  • 23:21 (UTC -07:00)
View GitHub Profile
@jbosboom
jbosboom / gist:6dce044d0bd02067991b19f495bb6a03
Created July 28, 2026 18:30
lsusb -v output for WEme USB 3.0 SATA adapter WEMEMST-002 (ASIN B00MVRS38G) purchased October 2022
Bus 004 Device 002: ID 174c:55aa ASMedia Technology Inc. ASM1051E SATA 6Gb/s bridge, ASM1053E SATA 6Gb/s bridge, ASM1153 SATA 3Gb/s bridge, ASM1153E SATA 6Gb/s bridge
Negotiated speed: SuperSpeed (5Gbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 9
@jbosboom
jbosboom / lsusb-sabrent-usb3-hub-HB-UM43-B00JX1ZS5O.txt
Created July 27, 2026 21:09
lsusb -v output for SABRENT 4-Port USB 3.0 Hub with Power Switches (HB-UM43) (ASIN B00JX1ZS5O) purchased April 2018
Bus 004 Device 008: ID 05e3:0616 Genesys Logic, Inc. hub
Negotiated speed: SuperSpeed (5Gbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 3.00
bDeviceClass 9 Hub
bDeviceSubClass 0 [unknown]
bDeviceProtocol 3
bMaxPacketSize0 9
@jbosboom
jbosboom / steamtransfer.ini
Created July 13, 2026 16:21
ufw application profile for Steam local network game transfers
[SteamTransfer]
title=Steam local network game transfers
description=Allows Steam to copy games from local computers instead of downloading from the Internet
ports=27040/tcp|27031:27036/udp
@jbosboom
jbosboom / lsusb-GP65NB60-dvd-writer.txt
Created July 11, 2026 18:56
lsusb -v and sdparm output for LG Slim Portable DVD Writer model GP65NB60 svc code NB70 ROM version PF00 manufactured March 2019
Bus 001 Device 012: ID 0e8d:1887 MediaTek Inc. Slim Portable DVD Writer
Negotiated speed: High Speed (480Mbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 64
@jbosboom
jbosboom / 0-lsusb-tplink-archer-T3U-usb-wifi-B07P6N2TZH.txt
Created June 28, 2026 18:02
lsusb -v and iw phy info output for TP-Link Archer T3U AC1300 USB wireless adapter (ASIN B07P6N2TZH) purchased June 2026
@jbosboom
jbosboom / gist:11b3ec5842a735d45a6019fea5873205
Created June 4, 2026 17:21
OpenWrt elfutils build error
make[3]: Entering directory '/home/jbosboom/github-repos/openwrt/tools/elfutils'
CFLAGS="-O2 -I/home/jbosboom/github-repos/openwrt/staging_dir/host/include -Wno-error -fPIC -std=gnu17" CPPFLAGS="-I/home/jbosboom/github-repos/openwrt/staging_dir/host/include "'-I$(top_srcdir)/lib'"" CXXFLAGS="-O2 -I/home/jbosboom/github-repos/openwrt/staging_dir/host/include" LDFLAGS="-L/home/jbosboom/github-repos/openwrt/staging_dir/host/lib" make -C /home/jbosboom/github-repos/openwrt/build_dir/host/elfutils-0.192/. am__CONFIG_DISTCLEAN_FILES= DEFAULT_INCLUDES='-iquote . -I$(top_builddir) -I$(top_srcdir)/libgnu' AM_LDFLAGS='$(STACK_USAGE_NO_ERROR)' LIBS+='$(if $(findstring src,$(subdir)), $(libgnu))' LIBS+='$(wildcard $(libgnu_exitfail))' LIBS+='$(wildcard $(libgnu_fallocate-posix))' LIBS+='$(wildcard $(libgnu_mbszero))' LIBS+='$(wildcard $(libgnu_obstack))' LIBS+='$(wildcard $(libgnu_obstack-printf))' LIBS+='$(wildcard $(libgnu_printf-args))' LIBS+='$(wildcard $(libgnu_printf-frexp))' LIBS+='$(wildcard $(libgnu_printf-frex
@jbosboom
jbosboom / 0-lsusb-pecumecu-TM10C-barcode-scanner-B0FP4Z5LGB-keyboard.txt
Last active April 11, 2026 17:31
lsusb -v output for PecuMecu TM-10C Handheld 1D&2D Barcode Scanner (ASIN B0FP4Z5LGB) purchased April 2026
Bus 001 Device 009: ID 34eb:1502 WCM HIDKeyboard
Negotiated speed: Full Speed (12Mbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 64
@jbosboom
jbosboom / pecumecu-TM10C-magic-barcodes-manual.md
Last active September 14, 2026 04:31
Magic barcodes from the manual for PecuMecu TM-10C Handheld 1D&2D Barcode Scanner (ASIN B0FP4Z5LGB)

Like most barcode scanners, the PecuMecu TM-10C scanner is configurable by scanning magic barcodes. A manual and quick-reference card are included with the scanner, but seemingly not posted online. Below is a table containing the data and an image of all barcodes in the manual. The data of all barcodes starts with a 0x80 byte, followed by the string "WSM", followed by 8 ASCII digits, followed by a period character. The images in this table were generated with qrencode. They are not identical to the barcodes in the manual, but they represent the same data.

Action Data Barcode
Restore factory settings <U+80>WSM00020001. restore-factory-settings
USB keyboard mode[(USB descriptors from lsusb)](https://gist.github.com/jbosboom/649021a31b7f54a3178713c00a37d259#file-0-lsusb-pecumecu-tm10c-barcode
@jbosboom
jbosboom / lsusb-sabrent-usb-rs232-prolific-B000A1KD1K.txt
Created February 23, 2026 01:24
lsusb -v output for Sabrent USB 2.0 RS-232 Adapter Cable 6ft SBT-USC6K (ASIN B000A1KD1K) purchased February 2026
Bus 001 Device 011: ID 067b:23a3 Prolific Technology, Inc. ATEN Serial Bridge
Negotiated speed: Full Speed (12Mbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 64
@jbosboom
jbosboom / lsusb-sabrent-usb-rs232-ftdi-B006AA04K0.txt
Created February 23, 2026 01:23
lsusb -v output for Sabrent USB 2.0 RS-232 Adapter Cable 6ft CB-FTDI (ASIN B006AA04K0) purchased February 2026
Bus 001 Device 010: ID 0403:6001 Future Technology Devices International, Ltd FT232 Serial (UART) IC
Negotiated speed: Full Speed (12Mbps)
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0 [unknown]
bDeviceSubClass 0 [unknown]
bDeviceProtocol 0
bMaxPacketSize0 8