Skip to content

Instantly share code, notes, and snippets.

View KenwoodFox's full-sized avatar
💽
wstool update -t src

KenwoodFox KenwoodFox

💽
wstool update -t src
View GitHub Profile
[306855.530686] usb 3-4: USB disconnect, device number 15
[306891.277741] usb 3-1: new full-speed USB device number 16 using xhci_hcd
[306891.424014] usb 3-1: New USB device found, idVendor=2341, idProduct=0042, bcdDevice= 0.01
[306891.424019] usb 3-1: New USB device strings: Mfr=1, Product=2, SerialNumber=220
[306891.424021] usb 3-1: Manufacturer: Arduino (www.arduino.cc)
[306891.424023] usb 3-1: SerialNumber: 9503230373735120A1F2
❯ ls /dev/ttyUSB*
zsh: no matches found: /dev/ttyUSB*
❯ ls /dev/ttyACM*
zsh: no matches found: /dev/ttyACM*
makepkg -si
==> Making package: ignition-common-3 3.13.1-2 (Wed 23 Feb 2022 03:20:32 PM EST)
==> Checking runtime dependencies...
==> Installing missing dependencies...
[sudo] password for joe:
error: target not found: ignition-math>=6
==> ERROR: 'pacman' failed to install missing dependencies.
==> Missing dependencies:
-> ignition-math>=6
-> freeimage
^CTraceback (most recent call last):
File "/home/joe/git/BlueBox/BlueBox/BlueBox.py", line 33, in run
time.sleep(1)
KeyboardInterrupt
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.10/runpy.py", line 196, in _run_module_as_main
return _run_code(code, main_globals, None,
pip install --upgrade pip
ERROR: Exception:
Traceback (most recent call last):
File "/usr/lib/python3/dist-packages/pip/_internal/cli/base_command.py", line 186, in _main
status = self.run(options, args)
File "/usr/lib/python3/dist-packages/pip/_internal/commands/install.py", line 357, in run
resolver.resolve(requirement_set)
File "/usr/lib/python3/dist-packages/pip/_internal/legacy_resolve.py", line 177, in resolve
discovered_reqs.extend(self._resolve_one(requirement_set, req))
File "/usr/lib/python3/dist-packages/pip/_internal/legacy_resolve.py", line 333, in _resolve_one
@KenwoodFox
KenwoodFox / notes.tex
Last active January 29, 2022 21:19
Numworks Notes
from math import *
root@Jail:/ # ls -l /dev/pass0
crw------- 1 root operator 0x8e Jul 21 20:16 /dev/pass0
root@Jail:/ # exit
exit
root@Host[~]# ls -l /dev/pass0
crw-rw---- 1 root operator 0x8e Jul 21 20:16 /dev/pass0
root@Bacula-Iron2:/ # btape /dev/nsa0
Tape block granularity is 1024 bytes.
btape: butil.c:290-0 Using device: "/dev/nsa0" for writing.
22-Jul 00:39 btape JobId 0: 3991 Bad autochanger "loaded? drive 0" command: ERR=No such file or directory.
Results=
22-Jul 00:39 btape JobId 0: 3991 Bad autochanger "loaded? drive 0" command: ERR=No such file or directory.
Results=
btape: btape.c:478-0 open device "Drive-0-LTO-3" (/dev/nsa0): OK
*test
root@Zinc[/dev]# mt status
mt: /dev/nsa0: Device not configured
root@Zinc[/dev]# echo I loaded the drive manually.
I loaded the drive manually.
root@Zinc[/dev]# mt status
Drive: sa0: <IBM ULTRIUM-TD3 93GM> Serial Number: F0A192E004
---------------------------------
Mode Density Blocksize bpi Compression
Current: 0x44:LTO-3 variable 244805 enabled (0x1)
---------------------------------
root@temp-iron:~# mtx -f /dev/sg3 status
Storage Changer /dev/sg3:1 Drives, 39 Slots ( 6 Import/Export )
Data Transfer Element 0:Empty
Storage Element 1:Full :VolumeTag=A02110
Storage Element 2:Full :VolumeTag=A02333
Storage Element 3:Full :VolumeTag=A02218
Storage Element 4:Full :VolumeTag=A01099
Storage Element 5:Empty:VolumeTag=
Storage Element 6:Full :VolumeTag=A02326
Storage Element 7:Full :VolumeTag=PF6866
[usbrules=100]
add path 'usbctl' mode 660 group uucp
add path 'usb/*' mode 660 group uucp
add path 'ttyU*' mode 660 group uucp
[devfsrules_jail_unhide_tapes=5]
add path pass0 unhide
add path sa0 unhide
add path pass1 unhide
add path ch0 unhide