Skip to content

Instantly share code, notes, and snippets.

@trinitronx
Last active May 17, 2025 21:58
Show Gist options
  • Save trinitronx/a190f905b141d705e37501d812bf6fb6 to your computer and use it in GitHub Desktop.
Save trinitronx/a190f905b141d705e37501d812bf6fb6 to your computer and use it in GitHub Desktop.
May 17 13:42:40 examplehost kernel: usb 1-3: new full-speed USB device number 12 using xhci_hcd
May 17 13:42:40 examplehost kernel: usb 1-3: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
May 17 13:42:40 examplehost kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 17 13:42:40 examplehost kernel: usb 1-3: Product: Infinite Noise TRNG
May 17 13:42:40 examplehost kernel: usb 1-3: Manufacturer: 13-37.org
May 17 13:42:40 examplehost kernel: usb 1-3: SerialNumber: 1337-XXXXXXXX
May 17 13:42:40 examplehost kernel: ftdi_sio 1-3:1.0: FTDI USB Serial Device converter detected
May 17 13:42:40 examplehost kernel: usb 1-3: Detected FT-X
May 17 13:42:40 examplehost kernel: usb 1-3: FTDI USB Serial Device converter now attached to ttyUSB0
May 17 13:42:40 examplehost mtp-probe[4012024]: checking bus 1, device 12: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3"
May 17 13:42:40 examplehost mtp-probe[4012024]: bus: 1, device: 12 was not an MTP device
May 17 13:42:40 examplehost mtp-probe[4012039]: checking bus 1, device 12: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3"
May 17 13:42:40 examplehost mtp-probe[4012039]: bus: 1, device: 12 was not an MTP device
May 17 13:42:40 examplehost systemd[1]: Starting Wayward Geek InfNoise TRNG driver...
░░ Subject: A start job for unit infnoise.service has begun execution
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit infnoise.service has begun execution.
░░
░░ The job identifier is 184399.
May 17 13:42:40 examplehost systemd[1]: infnoise.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ The unit infnoise.service has successfully entered the 'dead' state.
May 17 13:42:40 examplehost systemd[1]: Stopped Wayward Geek InfNoise TRNG driver.
░░ Subject: A stop job for unit infnoise.service has finished
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A stop job for unit infnoise.service has finished.
░░
░░ The job identifier is 184705 and the job result is done.May 17 13:42:40 examplehost kernel: usb 1-3: new full-speed USB device number 12 using xhci_hcd
May 17 13:42:40 examplehost kernel: usb 1-3: New USB device found, idVendor=0403, idProduct=6015, bcdDevice=10.00
May 17 13:42:40 examplehost kernel: usb 1-3: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 17 13:42:40 examplehost kernel: usb 1-3: Product: Infinite Noise TRNG
May 17 13:42:40 examplehost kernel: usb 1-3: Manufacturer: 13-37.org
May 17 13:42:40 examplehost kernel: usb 1-3: SerialNumber: 1337-XXXXXXXX
May 17 13:42:40 examplehost kernel: ftdi_sio 1-3:1.0: FTDI USB Serial Device converter detected
May 17 13:42:40 examplehost kernel: usb 1-3: Detected FT-X
May 17 13:42:40 examplehost kernel: usb 1-3: FTDI USB Serial Device converter now attached to ttyUSB0
May 17 13:42:40 examplehost mtp-probe[4012024]: checking bus 1, device 12: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3"
May 17 13:42:40 examplehost mtp-probe[4012024]: bus: 1, device: 12 was not an MTP device
May 17 13:42:40 examplehost mtp-probe[4012039]: checking bus 1, device 12: "/sys/devices/pci0000:00/0000:00:14.0/usb1/1-3"
May 17 13:42:40 examplehost mtp-probe[4012039]: bus: 1, device: 12 was not an MTP device
May 17 13:42:40 examplehost systemd[1]: Starting Wayward Geek InfNoise TRNG driver...
░░ Subject: A start job for unit infnoise.service has begun execution
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A start job for unit infnoise.service has begun execution.
░░
░░ The job identifier is 184399.
May 17 13:42:40 examplehost systemd[1]: infnoise.service: Deactivated successfully.
░░ Subject: Unit succeeded
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ The unit infnoise.service has successfully entered the 'dead' state.
May 17 13:42:40 examplehost systemd[1]: Stopped Wayward Geek InfNoise TRNG driver.
░░ Subject: A stop job for unit infnoise.service has finished
░░ Defined-By: systemd
░░ Support: https://forum.manjaro.org/c/support
░░
░░ A stop job for unit infnoise.service has finished.
░░
░░ The job identifier is 184705 and the job result is done.
$ systemctl status infnoise.service
○ infnoise.service - Wayward Geek InfNoise TRNG driver
Loaded: loaded (/usr/lib/systemd/system/infnoise.service; disabled; preset: disabled)
Active: inactive (dead)
May 17 13:42:40 examplehost systemd[1]: Starting Wayward Geek InfNoise TRNG driver...
May 17 13:42:40 examplehost systemd[1]: infnoise.service: Deactivated successfully.
May 17 13:42:40 examplehost systemd[1]: Stopped Wayward Geek InfNoise TRNG driver.
$ systemctl status dev-infnoise.device
○ dev-infnoise.device - /dev/infnoise
Loaded: loaded
Active: inactive (dead)
May 16 15:50:18 examplehost systemd[1]: Expecting device /dev/infnoise...
May 16 15:51:48 examplehost systemd[1]: dev-infnoise.device: Job dev-infnoise.device/start timed out.
May 16 15:51:48 examplehost systemd[1]: Timed out waiting for device /dev/infnoise.
May 16 15:51:48 examplehost systemd[1]: dev-infnoise.device: Job dev-infnoise.device/start failed with result 'timeout'.
May 16 16:09:15 examplehost systemd[1]: Condition check resulted in Bridge(I2C/SPI/UART/FIFO) being skipped.
May 16 16:26:47 examplehost systemd[1]: Condition check resulted in Bridge(I2C/SPI/UART/FIFO) being skipped.
$ systemctl cat infnoise.service
# /usr/lib/systemd/system/infnoise.service
[Unit]
Description=Wayward Geek InfNoise TRNG driver
BindsTo=dev-infnoise.device
After=dev-infnoise.device
[Service]
EnvironmentFile=/etc/infnoise.conf
Type=forking
WorkingDirectory=/tmp
ExecStart=/usr/bin/infnoise --dev-random --daemon --pidfile /var/run/infnoise.pid
User=root
Group=root
Restart=always
[Install]
WantedBy=multi-user.target
$ cat /etc/udev/rules.d/75-infnoise.rules
SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", SYMLINK+="infnoise", GROUP="uucp", MODE="0664"
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="0403", ATTRS{idProduct}=="6015", TAG+="systemd", ENV{SYSTEMD_WANTS}="infnoise.service"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment