Compare commits
3 commits
Author | SHA1 | Date | |
---|---|---|---|
6da1676840 | |||
86e67f42cb | |||
ef4aee6183 |
5 changed files with 121 additions and 403 deletions
|
@ -1,264 +0,0 @@
|
|||
2023-06-16T13:24:21.325337369-04:00 - [INFO, seymour_life_rust] - Seymour Life Testing version: 2.2.0
|
||||
2023-06-16T13:24:21.332725203-04:00 - [INFO, seymour_life_rust] - Testing port /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.3:1.0-port0. This may take a moment...
|
||||
2023-06-16T13:24:21.334390641-04:00 - [INFO, seymour_life_rust] - Testing port /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0. This may take a moment...
|
||||
2023-06-16T13:24:21.334981706-04:00 - [INFO, seymour_life_rust] - Testing port /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0. This may take a moment...
|
||||
2023-06-16T13:24:21.334946688-04:00 - [INFO, seymour_life_rust] - Testing port /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0. This may take a moment...
|
||||
2023-06-16T13:24:21.338485005-04:00 - [INFO, seymour_life_rust] - Testing port /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.4:1.0-port0. This may take a moment...
|
||||
2023-06-16T13:24:21.339429546-04:00 - [INFO, seymour_life_rust] - Testing port /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0. This may take a moment...
|
||||
2023-06-16T13:24:21.342069340-04:00 - [INFO, seymour_life_rust] - Testing port /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0. This may take a moment...
|
||||
2023-06-16T13:24:21.345380402-04:00 - [INFO, seymour_life_rust] - Testing port /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0. This may take a moment...
|
||||
2023-06-16T13:24:21.346291314-04:00 - [TRACE, seymour_life_rust::tty] - writing Newline to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.3:1.0-port0...
|
||||
2023-06-16T13:24:21.348997033-04:00 - [INFO, seymour_life_rust] - Testing port /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0. This may take a moment...
|
||||
2023-06-16T13:24:21.348832313-04:00 - [INFO, seymour_life_rust] - Testing port /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0. This may take a moment...
|
||||
2023-06-16T13:24:21.350397252-04:00 - [TRACE, seymour_life_rust::tty] - writing Newline to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0...
|
||||
2023-06-16T13:24:21.354512283-04:00 - [TRACE, seymour_life_rust::tty] - writing Newline to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0...
|
||||
2023-06-16T13:24:21.354555227-04:00 - [TRACE, seymour_life_rust::tty] - writing Newline to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0...
|
||||
2023-06-16T13:24:21.356737602-04:00 - [TRACE, seymour_life_rust::tty] - writing Newline to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0...
|
||||
2023-06-16T13:24:21.356767268-04:00 - [TRACE, seymour_life_rust::tty] - writing Newline to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.4:1.0-port0...
|
||||
2023-06-16T13:24:21.361574936-04:00 - [TRACE, seymour_life_rust::tty] - writing Newline to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0...
|
||||
2023-06-16T13:24:21.361613528-04:00 - [TRACE, seymour_life_rust::tty] - writing Newline to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0...
|
||||
2023-06-16T13:24:21.363938697-04:00 - [TRACE, seymour_life_rust::tty] - writing Newline to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0...
|
||||
2023-06-16T13:24:21.364785888-04:00 - [TRACE, seymour_life_rust::tty] - writing Newline to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0...
|
||||
2023-06-16T13:24:22.353277040-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\0\nNormal Boot\r\nHit any key to stop autoboot: 0 \u{8}\u{8}\u{8} 0\r\nu-boot=> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.3:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:22.353534518-04:00 - [DEBUG, seymour_life_rust] - /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.3:1.0-port0 is valid port!
|
||||
2023-06-16T13:24:22.353576536-04:00 - [TRACE, seymour_life_rust::tty] - writing Quit to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.3:1.0-port0...
|
||||
2023-06-16T13:24:22.355662412-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of " \r\r\nimx8mplus-seymour-mel login: " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0, which matches pattern LoginPrompt
|
||||
2023-06-16T13:24:22.355762318-04:00 - [DEBUG, seymour_life_rust] - /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0 is valid port!
|
||||
2023-06-16T13:24:22.356654119-04:00 - [DEBUG, seymour_life_rust::device] - "uninitialised"
|
||||
2023-06-16T13:24:22.356813672-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0\nSuccessful BP tests: 0\nSuccessful temp tests: 0\n"
|
||||
2023-06-16T13:24:22.356864357-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0"
|
||||
2023-06-16T13:24:22.356906967-04:00 - [TRACE, seymour_life_rust::device] - "Reboots" value: [0]
|
||||
2023-06-16T13:24:22.356945559-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests: 0"
|
||||
2023-06-16T13:24:22.356985114-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests" value: [0]
|
||||
2023-06-16T13:24:22.357024188-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests: 0"
|
||||
2023-06-16T13:24:22.357063946-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests" value: [0]
|
||||
2023-06-16T13:24:22.357107446-04:00 - [TRACE, seymour_life_rust::tty] - writing Login to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0...
|
||||
2023-06-16T13:24:22.357165852-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of " \r\r\nimx8mplus-seymour-mel login: " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0, which matches pattern LoginPrompt
|
||||
2023-06-16T13:24:22.357251406-04:00 - [DEBUG, seymour_life_rust] - /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0 is valid port!
|
||||
2023-06-16T13:24:22.357305239-04:00 - [DEBUG, seymour_life_rust::device] - "uninitialised"
|
||||
2023-06-16T13:24:22.357424015-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0\nSuccessful BP tests: 0\nSuccessful temp tests: 0\n"
|
||||
2023-06-16T13:24:22.357472755-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0"
|
||||
2023-06-16T13:24:22.357512199-04:00 - [TRACE, seymour_life_rust::device] - "Reboots" value: [0]
|
||||
2023-06-16T13:24:22.357549587-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests: 0"
|
||||
2023-06-16T13:24:22.357588716-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests" value: [0]
|
||||
2023-06-16T13:24:22.357627067-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests: 0"
|
||||
2023-06-16T13:24:22.357666030-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests" value: [0]
|
||||
2023-06-16T13:24:22.357706177-04:00 - [TRACE, seymour_life_rust::tty] - writing Login to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0...
|
||||
2023-06-16T13:24:22.359582001-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\r\nimx8mplus-seymour-mel login: " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0, which matches pattern LoginPrompt
|
||||
2023-06-16T13:24:22.359679389-04:00 - [DEBUG, seymour_life_rust] - /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0 is valid port!
|
||||
2023-06-16T13:24:22.359732721-04:00 - [DEBUG, seymour_life_rust::device] - "uninitialised"
|
||||
2023-06-16T13:24:22.359928218-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0\nSuccessful BP tests: 0\nSuccessful temp tests: 0\n"
|
||||
2023-06-16T13:24:22.359981273-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0"
|
||||
2023-06-16T13:24:22.360021161-04:00 - [TRACE, seymour_life_rust::device] - "Reboots" value: [0]
|
||||
2023-06-16T13:24:22.360059179-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests: 0"
|
||||
2023-06-16T13:24:22.360148919-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests" value: [0]
|
||||
2023-06-16T13:24:22.360190029-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests: 0"
|
||||
2023-06-16T13:24:22.360229288-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests" value: [0]
|
||||
2023-06-16T13:24:22.360269880-04:00 - [TRACE, seymour_life_rust::tty] - writing Login to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0...
|
||||
2023-06-16T13:24:22.364684165-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\0 \r\r\nimx8mplus-seymour-mel login: " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0, which matches pattern LoginPrompt
|
||||
2023-06-16T13:24:22.364785719-04:00 - [DEBUG, seymour_life_rust] - /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0 is valid port!
|
||||
2023-06-16T13:24:22.364705535-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of " \r\r\nimx8mplus-seymour-mel login: " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0, which matches pattern LoginPrompt
|
||||
2023-06-16T13:24:22.364908847-04:00 - [DEBUG, seymour_life_rust] - /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0 is valid port!
|
||||
2023-06-16T13:24:22.364850218-04:00 - [DEBUG, seymour_life_rust::device] - "uninitialised"
|
||||
2023-06-16T13:24:22.364974291-04:00 - [DEBUG, seymour_life_rust::device] - "uninitialised"
|
||||
2023-06-16T13:24:22.365107992-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0\nSuccessful BP tests: 0\nSuccessful temp tests: 0\n"
|
||||
2023-06-16T13:24:22.365155510-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0\nSuccessful BP tests: 0\nSuccessful temp tests: 0\n"
|
||||
2023-06-16T13:24:22.365217472-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0"
|
||||
2023-06-16T13:24:22.365270027-04:00 - [TRACE, seymour_life_rust::device] - "Reboots" value: [0]
|
||||
2023-06-16T13:24:22.365320730-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests: 0"
|
||||
2023-06-16T13:24:22.365372803-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests" value: [0]
|
||||
2023-06-16T13:24:22.365423673-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests: 0"
|
||||
2023-06-16T13:24:22.365474709-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests" value: [0]
|
||||
2023-06-16T13:24:22.365527412-04:00 - [TRACE, seymour_life_rust::tty] - writing Login to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0...
|
||||
2023-06-16T13:24:22.365158269-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0"
|
||||
2023-06-16T13:24:22.365630614-04:00 - [TRACE, seymour_life_rust::device] - "Reboots" value: [0]
|
||||
2023-06-16T13:24:22.365670484-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests: 0"
|
||||
2023-06-16T13:24:22.365711243-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests" value: [0]
|
||||
2023-06-16T13:24:22.365750909-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests: 0"
|
||||
2023-06-16T13:24:22.365790612-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests" value: [0]
|
||||
2023-06-16T13:24:22.365831037-04:00 - [TRACE, seymour_life_rust::tty] - writing Login to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0...
|
||||
2023-06-16T13:24:22.369334447-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of " \r\r\nimx8mplus-seymour-mel login: " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0, which matches pattern LoginPrompt
|
||||
2023-06-16T13:24:22.369416280-04:00 - [DEBUG, seymour_life_rust] - /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0 is valid port!
|
||||
2023-06-16T13:24:22.369466834-04:00 - [DEBUG, seymour_life_rust::device] - "uninitialised"
|
||||
2023-06-16T13:24:22.369578981-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0\nSuccessful BP tests: 0\nSuccessful temp tests: 0\n"
|
||||
2023-06-16T13:24:22.369670591-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0"
|
||||
2023-06-16T13:24:22.369712349-04:00 - [TRACE, seymour_life_rust::device] - "Reboots" value: [0]
|
||||
2023-06-16T13:24:22.369749978-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests: 0"
|
||||
2023-06-16T13:24:22.369788663-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests" value: [0]
|
||||
2023-06-16T13:24:22.369826477-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests: 0"
|
||||
2023-06-16T13:24:22.369865143-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests" value: [0]
|
||||
2023-06-16T13:24:22.369905143-04:00 - [TRACE, seymour_life_rust::tty] - writing Login to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0...
|
||||
2023-06-16T13:24:22.370206823-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of " \r\r\nimx8mplus-seymour-mel login: " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0, which matches pattern LoginPrompt
|
||||
2023-06-16T13:24:22.370292637-04:00 - [DEBUG, seymour_life_rust] - /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0 is valid port!
|
||||
2023-06-16T13:24:22.370343729-04:00 - [DEBUG, seymour_life_rust::device] - "uninitialised"
|
||||
2023-06-16T13:24:22.370458560-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0\nSuccessful BP tests: 0\nSuccessful temp tests: 0\n"
|
||||
2023-06-16T13:24:22.370507078-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0"
|
||||
2023-06-16T13:24:22.370546448-04:00 - [TRACE, seymour_life_rust::device] - "Reboots" value: [0]
|
||||
2023-06-16T13:24:22.370583688-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests: 0"
|
||||
2023-06-16T13:24:22.370622465-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests" value: [0]
|
||||
2023-06-16T13:24:22.370660613-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests: 0"
|
||||
2023-06-16T13:24:22.370698964-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests" value: [0]
|
||||
2023-06-16T13:24:22.370738741-04:00 - [TRACE, seymour_life_rust::tty] - writing Login to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0...
|
||||
2023-06-16T13:24:22.553102264-04:00 - [DEBUG, seymour_life_rust] - /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0 is valid port!
|
||||
2023-06-16T13:24:22.553205374-04:00 - [DEBUG, seymour_life_rust::device] - "uninitialised"
|
||||
2023-06-16T13:24:22.553326650-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0\nSuccessful BP tests: 0\nSuccessful temp tests: 0\n"
|
||||
2023-06-16T13:24:22.553375871-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0"
|
||||
2023-06-16T13:24:22.553415871-04:00 - [TRACE, seymour_life_rust::device] - "Reboots" value: [0]
|
||||
2023-06-16T13:24:22.553453741-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests: 0"
|
||||
2023-06-16T13:24:22.553492777-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests" value: [0]
|
||||
2023-06-16T13:24:22.553530240-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests: 0"
|
||||
2023-06-16T13:24:22.553569239-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests" value: [0]
|
||||
2023-06-16T13:24:22.553610090-04:00 - [TRACE, seymour_life_rust::tty] - writing Login to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0...
|
||||
2023-06-16T13:24:23.356013718-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "q\r\nUnknown command 'q' - try 'help'\r\nu-boot=> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.3:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:23.356199919-04:00 - [TRACE, seymour_life_rust::tty] - writing Newline to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.3:1.0-port0...
|
||||
2023-06-16T13:24:23.936752728-04:00 - [DEBUG, seymour_life_rust] - /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.4:1.0-port0 is valid port!
|
||||
2023-06-16T13:24:23.936934521-04:00 - [DEBUG, seymour_life_rust::device] - "uninitialised"
|
||||
2023-06-16T13:24:23.937176314-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0\nSuccessful BP tests: 0\nSuccessful temp tests: 0\n"
|
||||
2023-06-16T13:24:23.937228554-04:00 - [TRACE, seymour_life_rust::device] - "Reboots: 0"
|
||||
2023-06-16T13:24:23.937269794-04:00 - [TRACE, seymour_life_rust::device] - "Reboots" value: [0]
|
||||
2023-06-16T13:24:23.937308701-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests: 0"
|
||||
2023-06-16T13:24:23.937347719-04:00 - [TRACE, seymour_life_rust::device] - "Successful BP tests" value: [0]
|
||||
2023-06-16T13:24:23.937386107-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests: 0"
|
||||
2023-06-16T13:24:23.937425940-04:00 - [TRACE, seymour_life_rust::device] - "Successful temp tests" value: [0]
|
||||
2023-06-16T13:24:23.937470384-04:00 - [TRACE, seymour_life_rust::tty] - writing Login to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.4:1.0-port0...
|
||||
2023-06-16T13:24:24.358985874-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\nUnknown command 'q' - try 'help'\r\nu-boot=> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.3:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:24.359177982-04:00 - [ERROR, seymour_life_rust::device] - Unknown state for TTY TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.3:1.0-port0" }!!! Consult logs immediately.
|
||||
2023-06-16T13:24:25.360298184-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "root\r\r\nLast login: Sun Jun 11 00:42:39 UTC 2023\r\n\u{1b}7\u{1b}[r\u{1b}[999;999H\u{1b}[6n" from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0, which matches pattern PreShellPrompt
|
||||
2023-06-16T13:24:25.360489959-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:25.360586291-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:25.360663364-04:00 - [TRACE, seymour_life_rust::tty] - writing DebugMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0...
|
||||
2023-06-16T13:24:25.360741362-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "root\r\r\nLast login: Thu Jun 15 09:15:47 UTC 2023\r\n\u{1b}7\u{1b}[r\u{1b}[999;999H\u{1b}[6n" from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0, which matches pattern PreShellPrompt
|
||||
2023-06-16T13:24:25.360839750-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:25.360978970-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:25.361114968-04:00 - [TRACE, seymour_life_rust::tty] - writing DebugMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0...
|
||||
2023-06-16T13:24:25.362313339-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "root\r\r\nLast login: Sun Jun 11 00:28:04 UTC 2023\r\n\u{1b}7\u{1b}[r\u{1b}[999;999H\u{1b}[6n" from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0, which matches pattern PreShellPrompt
|
||||
2023-06-16T13:24:25.362484114-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:25.362575594-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:25.362652704-04:00 - [TRACE, seymour_life_rust::tty] - writing DebugMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0...
|
||||
2023-06-16T13:24:25.367849441-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "root\r\r\nLast login: Sun Jun 11 00:56:47 UTC 2023\r\n\u{1b}7\u{1b}[r\u{1b}[999;999H\u{1b}[6n" from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0, which matches pattern PreShellPrompt
|
||||
2023-06-16T13:24:25.368084956-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:25.368174547-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:25.368269435-04:00 - [TRACE, seymour_life_rust::tty] - writing DebugMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0...
|
||||
2023-06-16T13:24:25.368280342-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "root\r\r\nLast login: Sun Jun 11 01:01:08 UTC 2023\r\n\u{1b}7\u{1b}[r\u{1b}[999;999H\u{1b}[6n" from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0, which matches pattern PreShellPrompt
|
||||
2023-06-16T13:24:25.368363674-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:25.368432821-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:25.368550542-04:00 - [TRACE, seymour_life_rust::tty] - writing DebugMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0...
|
||||
2023-06-16T13:24:25.372596018-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "root\r\r\nLast login: Sun Jun 11 00:47:31 UTC 2023\r\n\u{1b}7\u{1b}[r\u{1b}[999;999H\u{1b}[6n" from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0, which matches pattern PreShellPrompt
|
||||
2023-06-16T13:24:25.372769534-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:25.372858440-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:25.372934865-04:00 - [TRACE, seymour_life_rust::tty] - writing DebugMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0...
|
||||
2023-06-16T13:24:25.375055407-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "root\r\r\nLast login: Thu Jun 15 20:49:41 UTC 2023\r\n\u{1b}7\u{1b}[r\u{1b}[999;999H\u{1b}[6n" from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0, which matches pattern PreShellPrompt
|
||||
2023-06-16T13:24:25.375237700-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:25.375334643-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:25.375411013-04:00 - [TRACE, seymour_life_rust::tty] - writing DebugMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0...
|
||||
2023-06-16T13:24:25.557097398-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:25.557296913-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:25.557379616-04:00 - [TRACE, seymour_life_rust::tty] - writing DebugMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0...
|
||||
2023-06-16T13:24:26.568658516-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:26.610508925-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\u{1b}8python3 -m debugmenu; shutdown -r now\r\nroot@imx8mplus-seymour-mel:~# python3 -m debugmenu; shutdown -r now\r\nLoading App-Framework from: libapp-framework.so.0.01.00\r\n" from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0, which matches pattern ShellPrompt
|
||||
2023-06-16T13:24:26.610670997-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:26.610823513-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:26.610902919-04:00 - [TRACE, seymour_life_rust::tty] - writing LifecycleMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0...
|
||||
2023-06-16T13:24:26.635031576-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\u{1b}8ython3 -m debugmenu; shutdown -r now\r\nroot@imx8mplus-seymour-mel:~# python3 -m debugmenu; shutdown -r now\r\nLoading App-Framework from: libapp-framework.so.0.01.00\r\n" from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0, which matches pattern ShellPrompt
|
||||
2023-06-16T13:24:26.635233406-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:26.635330349-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:26.635402885-04:00 - [TRACE, seymour_life_rust::tty] - writing LifecycleMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0...
|
||||
2023-06-16T13:24:27.069456557-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:27.188577455-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\u{1b}8python3 -m debugmenu; shutdown -r now\r\nroot@imx8mplus-seymour-mel:~# python3 -m debugmenu; shutdown -r now\r\nLoading App-Framework from: libapp-framework.so.0.01.00\r\n\r\n\r\nDebug Menu\r\n========================================\r\nThis menu is defined in debugmenu.xml. Add submenu tags to this file to add new\r\ncategories for your debug programs and scripts.\r\n----------------------------------------\r\na) Menu Demo\r\nb) Alarms Manager Menu\r\nB) Barcode Manager Menu\r\nc) Connectivity Manager Menu\r\nC) SCRM Menu\r\nd) Software Update Menu\r\nD) Pulse Rate Menu\r\ne) Events Menu\r\nE) Respiration Menu\r\nf) Configuration Application Menu\r\nh) HostProxy Menu\r\nH) HL7Proxy Menu\r\nl) LDAP/Active Directory Menu\r\nL) Life Cycle Testing Menu\r\nm) ModManager Menu\r\nM) Manual Set Parameters Menu\r\nn) NIBP Menu\r\nP) Power Manager Menu\r\np) PDM Menu\r\nr) Radio Menu\r\nR) Braun Menu\r\ns) SpO2 Menu\r\nS) SvcMonProxy Menu\r\nT) NTPProxy Menu\r\nu) UI Menu\r\nU) SureTemp Menu\r\nv) Connector Test\r\nx) Proxy Events Menu\r\ny) SysCtrl Menu\r\nw) Weight App Manager Menu\r\nW) BEST menu\r\nz) Print Manager Debug Menu\r\nZ) LCD Test Menu\r\nv) Debug Menu Verbosity\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0, which matches pattern ShellPrompt
|
||||
2023-06-16T13:24:27.188883358-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:27.188974579-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:27.189053614-04:00 - [TRACE, seymour_life_rust::tty] - writing LifecycleMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0...
|
||||
2023-06-16T13:24:27.210484478-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\u{1b}8ython3 -m debugmenu; shutdown -r now\r\nroot@imx8mplus-seymour-mel:~# python3 -m debugmenu; shutdown -r now\r\nLoading App-Framework from: libapp-framework.so.0.01.00\r\n\r\n\r\nDebug Menu\r\n========================================\r\nThis menu is defined in debugmenu.xml. Add submenu tags to this file to add new\r\ncategories for your debug programs and scripts.\r\n----------------------------------------\r\na) Menu Demo\r\nb) Alarms Manager Menu\r\nB) Barcode Manager Menu\r\nc) Connectivity Manager Menu\r\nC) SCRM Menu\r\nd) Software Update Menu\r\nD) Pulse Rate Menu\r\ne) Events Menu\r\nE) Respiration Menu\r\nf) Configuration Application Menu\r\nh) HostProxy Menu\r\nH) HL7Proxy Menu\r\nl) LDAP/Active Directory Menu\r\nL) Life Cycle Testing Menu\r\nm) ModManager Menu\r\nM) Manual Set Parameters Menu\r\nn) NIBP Menu\r\nP) Power Manager Menu\r\np) PDM Menu\r\nr) Radio Menu\r\nR) Braun Menu\r\ns) SpO2 Menu\r\nS) SvcMonProxy Menu\r\nT) NTPProxy Menu\r\nu) UI Menu\r\nU) SureTemp Menu\r\nv) Connector Test\r\nx) Proxy Events Menu\r\ny) SysCtrl Menu\r\nw) Weight App Manager Menu\r\nW) BEST menu\r\nz) Print Manager Debug Menu\r\nZ) LCD Test Menu\r\nv) Debug Menu Verbosity\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0, which matches pattern ShellPrompt
|
||||
2023-06-16T13:24:27.210824158-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:27.210907972-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:27.210970026-04:00 - [TRACE, seymour_life_rust::tty] - writing LifecycleMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0...
|
||||
2023-06-16T13:24:27.231532384-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\u{1b}8ython3 -m debugmenu; shutdown -r now\r\nroot@imx8mplus-seymour-mel:~# python3 -m debugmenu; shutdown -r now\r\nLoading App-Framework from: libapp-framework.so.0.01.00\r\n\r\n\r\nDebug Menu\r\n========================================\r\nThis menu is defined in debugmenu.xml. Add submenu tags to this file to add new\r\ncategories for your debug programs and scripts.\r\n----------------------------------------\r\na) Menu Demo\r\nb) Alarms Manager Menu\r\nB) Barcode Manager Menu\r\nc) Connectivity Manager Menu\r\nC) SCRM Menu\r\nd) Software Update Menu\r\nD) Pulse Rate Menu\r\ne) Events Menu\r\nE) Respiration Menu\r\nf) Configuration Application Menu\r\nh) HostProxy Menu\r\nH) HL7Proxy Menu\r\nl) LDAP/Active Directory Menu\r\nL) Life Cycle Testing Menu\r\nm) ModManager Menu\r\nM) Manual Set Parameters Menu\r\nn) NIBP Menu\r\nP) Power Manager Menu\r\np) PDM Menu\r\nr) Radio Menu\r\nR) Braun Menu\r\ns) SpO2 Menu\r\nS) SvcMonProxy Menu\r\nT) NTPProxy Menu\r\nu) UI Menu\r\nU) SureTemp Menu\r\nv) Connector Test\r\nx) Proxy Events Menu\r\ny) SysCtrl Menu\r\nw) Weight App Manager Menu\r\nW) BEST menu\r\nz) Print Manager Debug Menu\r\nZ) LCD Test Menu\r\nv) Debug Menu Verbosity\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0, which matches pattern ShellPrompt
|
||||
2023-06-16T13:24:27.231821806-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:27.231910323-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:27.231979193-04:00 - [TRACE, seymour_life_rust::tty] - writing LifecycleMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0...
|
||||
2023-06-16T13:24:27.232081413-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\u{1b}8ython3 -m debugmenu; shutdown -r now\r\nroot@imx8mplus-seymour-mel:~# python3 -m debugmenu; shutdown -r now\r\nLoading App-Framework from: libapp-framework.so.0.01.00\r\n\r\n\r\nDebug Menu\r\n========================================\r\nThis menu is defined in debugmenu.xml. Add submenu tags to this file to add new\r\ncategories for your debug programs and scripts.\r\n----------------------------------------\r\na) Menu Demo\r\nb) Alarms Manager Menu\r\nB) Barcode Manager Menu\r\nc) Connectivity Manager Menu\r\nC) SCRM Menu\r\nd) Software Update Menu\r\nD) Pulse Rate Menu\r\ne) Events Menu\r\nE) Respiration Menu\r\nf) Configuration Application Menu\r\nh) HostProxy Menu\r\nH) HL7Proxy Menu\r\nl) LDAP/Active Directory Menu\r\nL) Life Cycle Testing Menu\r\nm) ModManager Menu\r\nM) Manual Set Parameters Menu\r\nn) NIBP Menu\r\nP) Power Manager Menu\r\np) PDM Menu\r\nr) Radio Menu\r\nR) Braun Menu\r\ns) SpO2 Menu\r\nS) SvcMonProxy Menu\r\nT) NTPProxy Menu\r\nu) UI Menu\r\nU) SureTemp Menu\r\nv) Connector Test\r\nx) Proxy Events Menu\r\ny) SysCtrl Menu\r\nw) Weight App Manager Menu\r\nW) BEST menu\r\nz) Print Manager Debug Menu\r\nZ) LCD Test Menu\r\nv) Debug Menu Verbosity\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0, which matches pattern ShellPrompt
|
||||
2023-06-16T13:24:27.232402112-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:27.232481111-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:27.232543628-04:00 - [TRACE, seymour_life_rust::tty] - writing LifecycleMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0...
|
||||
2023-06-16T13:24:27.237853808-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\u{1b}8ython3 -m debugmenu; shutdown -r now\r\nroot@imx8mplus-seymour-mel:~# python3 -m debugmenu; shutdown -r now\r\nLoading App-Framework from: libapp-framework.so.0.01.00\r\n\r\n\r\nDebug Menu\r\n========================================\r\nThis menu is defined in debugmenu.xml. Add submenu tags to this file to add new\r\ncategories for your debug programs and scripts.\r\n----------------------------------------\r\na) Menu Demo\r\nb) Alarms Manager Menu\r\nB) Barcode Manager Menu\r\nc) Connectivity Manager Menu\r\nC) SCRM Menu\r\nd) Software Update Menu\r\nD) Pulse Rate Menu\r\ne) Events Menu\r\nE) Respiration Menu\r\nf) Configuration Application Menu\r\nh) HostProxy Menu\r\nH) HL7Proxy Menu\r\nl) LDAP/Active Directory Menu\r\nL) Life Cycle Testing Menu\r\nm) ModManager Menu\r\nM) Manual Set Parameters Menu\r\nn) NIBP Menu\r\nP) Power Manager Menu\r\np) PDM Menu\r\nr) Radio Menu\r\nR) Braun Menu\r\ns) SpO2 Menu\r\nS) SvcMonProxy Menu\r\nT) NTPProxy Menu\r\nu) UI Menu\r\nU) SureTemp Menu\r\nv) Connector Test\r\nx) Proxy Events Menu\r\ny) SysCtrl Menu\r\nw) Weight App Manager Menu\r\nW) BEST menu\r\nz) Print Manager Debug Menu\r\nZ) LCD Test Menu\r\nv) Debug Menu Verbosity\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0, which matches pattern ShellPrompt
|
||||
2023-06-16T13:24:27.238178618-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:27.238273191-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:27.238340579-04:00 - [TRACE, seymour_life_rust::tty] - writing LifecycleMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0...
|
||||
2023-06-16T13:24:27.499435661-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:27.499701990-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:27.499787489-04:00 - [TRACE, seymour_life_rust::tty] - writing DebugMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.4:1.0-port0...
|
||||
2023-06-16T13:24:27.570194729-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:27.772097088-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nDebug Menu\r\n========================================\r\nThis menu is defined in debugmenu.xml. Add submenu tags to this file to add new\r\ncategories for your debug programs and scripts.\r\n----------------------------------------\r\na) Menu Demo\r\nb) Alarms Manager Menu\r\nB) Barcode Manager Menu\r\nc) Connectivity Manager Menu\r\nC) SCRM Menu\r\nd) Software Update Menu\r\nD) Pulse Rate Menu\r\ne) Events Menu\r\nE) Respiration Menu\r\nf) Configuration Application Menu\r\nh) HostProxy Menu\r\nH) HL7Proxy Menu\r\nl) LDAP/Active Directory Menu\r\nL) Life Cycle Testing Menu\r\nm) ModManager Menu\r\nM) Manual Set Parameters Menu\r\nn) NIBP Menu\r\nP) Power Manager Menu\r\np) PDM Menu\r\nr) Radio Menu\r\nR) Braun Menu\r\ns) SpO2 Menu\r\nS) SvcMonProxy Menu\r\nT) NTPProxy Menu\r\nu) UI Menu\r\nU) SureTemp Menu\r\nv) Connector Test\r\nx) Proxy Events Menu\r\ny) SysCtrl Menu\r\nw) Weight App Manager Menu\r\nW) BEST menu\r\nz) Print Manager Debug Menu\r\nZ) LCD Test Menu\r\nv) Debug Menu Verbosity\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> \r\n\r\nLife Cycle Testing Menu\r\n========================================\r\na) EEPROM Data\r\nB) Screen Brightness Menu\r\nb) Power Down Device\r\nc) Reboot Device\r\nd) Check UI Started\r\ne) Read Battery Charge Level\r\nf) Nurse Call On\r\ng) Nurse Call Off\r\nh) Display Current Readings\r\nH) Display Cycle Counts\r\ni) Force Log Rotation\r\nj) Display Patient ID\r\nk) Activate Wireless Networking\r\nl) Deactivate Wireless Networking\r\nN) Start NIBP Reading\r\nn) Check NIBP In Progress\r\np) Bluetooth Info\r\nr) WiFi Radio Info\r\ns) Enable and Start SSH\r\nt) Disable and Stop SSH\r\nu) Check WACP USB Connection\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:27.772521156-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0...
|
||||
2023-06-16T13:24:27.962626155-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nDebug Menu\r\n========================================\r\nThis menu is defined in debugmenu.xml. Add submenu tags to this file to add new\r\ncategories for your debug programs and scripts.\r\n----------------------------------------\r\na) Menu Demo\r\nb) Alarms Manager Menu\r\nB) Barcode Manager Menu\r\nc) Connectivity Manager Menu\r\nC) SCRM Menu\r\nd) Software Update Menu\r\nD) Pulse Rate Menu\r\ne) Events Menu\r\nE) Respiration Menu\r\nf) Configuration Application Menu\r\nh) HostProxy Menu\r\nH) HL7Proxy Menu\r\nl) LDAP/Active Directory Menu\r\nL) Life Cycle Testing Menu\r\nm) ModManager Menu\r\nM) Manual Set Parameters Menu\r\nn) NIBP Menu\r\nP) Power Manager Menu\r\np) PDM Menu\r\nr) Radio Menu\r\nR) Braun Menu\r\ns) SpO2 Menu\r\nS) SvcMonProxy Menu\r\nT) NTPProxy Menu\r\nu) UI Menu\r\nU) SureTemp Menu\r\nv) Connector Test\r\nx) Proxy Events Menu\r\ny) SysCtrl Menu\r\nw) Weight App Manager Menu\r\nW) BEST menu\r\nz) Print Manager Debug Menu\r\nZ) LCD Test Menu\r\nv) Debug Menu Verbosity\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> \r\n\r\nLife Cycle Testing Menu\r\n========================================\r\na) EEPROM Data\r\nB) Screen Brightness Menu\r\nb) Power Down Device\r\nc) Reboot Device\r\nd) Check UI Started\r\ne) Read Battery Charge Level\r\nf) Nurse Call On\r\ng) Nurse Call Off\r\nh) Display Current Readings\r\nH) Display Cycle Counts\r\ni) Force Log Rotation\r\nj) Display Patient ID\r\nk) Activate Wireless Networking\r\nl) Deactivate Wireless Networking\r\nN) Start NIBP Reading\r\nn) Check NIBP In Progress\r\np) Bluetooth Info\r\nr) WiFi Radio Info\r\ns) Enable and Start SSH\r\nt) Disable and Stop SSH\r\nu) Check WACP USB Connection\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:27.962938539-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0...
|
||||
2023-06-16T13:24:28.070936955-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:28.191593793-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nLife Cycle Testing Menu\r\n========================================\r\na) EEPROM Data\r\nB) Screen Brightness Menu\r\nb) Power Down Device\r\nc) Reboot Device\r\nd) Check UI Started\r\ne) Read Battery Charge Level\r\nf) Nurse Call On\r\ng) Nurse Call Off\r\nh) Display Current Readings\r\nH) Display Cycle Counts\r\ni) Force Log Rotation\r\nj) Display Patient ID\r\nk) Activate Wireless Networking\r\nl) Deactivate Wireless Networking\r\nN) Start NIBP Reading\r\nn) Check NIBP In Progress\r\np) Bluetooth Info\r\nr) WiFi Radio Info\r\ns) Enable and Start SSH\r\nt) Disable and Stop SSH\r\nu) Check WACP USB Connection\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:28.191799808-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0...
|
||||
2023-06-16T13:24:28.214286786-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nLife Cycle Testing Menu\r\n========================================\r\na) EEPROM Data\r\nB) Screen Brightness Menu\r\nb) Power Down Device\r\nc) Reboot Device\r\nd) Check UI Started\r\ne) Read Battery Charge Level\r\nf) Nurse Call On\r\ng) Nurse Call Off\r\nh) Display Current Readings\r\nH) Display Cycle Counts\r\ni) Force Log Rotation\r\nj) Display Patient ID\r\nk) Activate Wireless Networking\r\nl) Deactivate Wireless Networking\r\nN) Start NIBP Reading\r\nn) Check NIBP In Progress\r\np) Bluetooth Info\r\nr) WiFi Radio Info\r\ns) Enable and Start SSH\r\nt) Disable and Stop SSH\r\nu) Check WACP USB Connection\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:28.214407414-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0...
|
||||
2023-06-16T13:24:28.234680906-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nLife Cycle Testing Menu\r\n========================================\r\na) EEPROM Data\r\nB) Screen Brightness Menu\r\nb) Power Down Device\r\nc) Reboot Device\r\nd) Check UI Started\r\ne) Read Battery Charge Level\r\nf) Nurse Call On\r\ng) Nurse Call Off\r\nh) Display Current Readings\r\nH) Display Cycle Counts\r\ni) Force Log Rotation\r\nj) Display Patient ID\r\nk) Activate Wireless Networking\r\nl) Deactivate Wireless Networking\r\nN) Start NIBP Reading\r\nn) Check NIBP In Progress\r\np) Bluetooth Info\r\nr) WiFi Radio Info\r\ns) Enable and Start SSH\r\nt) Disable and Stop SSH\r\nu) Check WACP USB Connection\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:28.234810478-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0...
|
||||
2023-06-16T13:24:28.235528337-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nLife Cycle Testing Menu\r\n========================================\r\na) EEPROM Data\r\nB) Screen Brightness Menu\r\nb) Power Down Device\r\nc) Reboot Device\r\nd) Check UI Started\r\ne) Read Battery Charge Level\r\nf) Nurse Call On\r\ng) Nurse Call Off\r\nh) Display Current Readings\r\nH) Display Cycle Counts\r\ni) Force Log Rotation\r\nj) Display Patient ID\r\nk) Activate Wireless Networking\r\nl) Deactivate Wireless Networking\r\nN) Start NIBP Reading\r\nn) Check NIBP In Progress\r\np) Bluetooth Info\r\nr) WiFi Radio Info\r\ns) Enable and Start SSH\r\nt) Disable and Stop SSH\r\nu) Check WACP USB Connection\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:28.235729483-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0...
|
||||
2023-06-16T13:24:28.241015237-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nLife Cycle Testing Menu\r\n========================================\r\na) EEPROM Data\r\nB) Screen Brightness Menu\r\nb) Power Down Device\r\nc) Reboot Device\r\nd) Check UI Started\r\ne) Read Battery Charge Level\r\nf) Nurse Call On\r\ng) Nurse Call Off\r\nh) Display Current Readings\r\nH) Display Cycle Counts\r\ni) Force Log Rotation\r\nj) Display Patient ID\r\nk) Activate Wireless Networking\r\nl) Deactivate Wireless Networking\r\nN) Start NIBP Reading\r\nn) Check NIBP In Progress\r\np) Bluetooth Info\r\nr) WiFi Radio Info\r\ns) Enable and Start SSH\r\nt) Disable and Stop SSH\r\nu) Check WACP USB Connection\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:28.241136050-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0...
|
||||
2023-06-16T13:24:28.571600591-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:28.767729907-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:28.767923015-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:28.768003866-04:00 - [TRACE, seymour_life_rust::tty] - writing LifecycleMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.4:1.0-port0...
|
||||
2023-06-16T13:24:28.775642881-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nSet Screen Brightness\r\n****************************************\r\n1) 10%\r\n2) 20%\r\n3) 30%\r\n4) 40%\r\n5) 50%\r\n6) 60%\r\n7) 70%\r\n8) 80%\r\n9) 90%\r\n0) 100%\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:28.775835045-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessLow to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0...
|
||||
2023-06-16T13:24:28.965444866-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nSet Screen Brightness\r\n****************************************\r\n1) 10%\r\n2) 20%\r\n3) 30%\r\n4) 40%\r\n5) 50%\r\n6) 60%\r\n7) 70%\r\n8) 80%\r\n9) 90%\r\n0) 100%\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:28.965630567-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessLow to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0...
|
||||
2023-06-16T13:24:29.072294448-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:29.194344987-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nSet Screen Brightness\r\n****************************************\r\n1) 10%\r\n2) 20%\r\n3) 30%\r\n4) 40%\r\n5) 50%\r\n6) 60%\r\n7) 70%\r\n8) 80%\r\n9) 90%\r\n0) 100%\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:29.194530725-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessLow to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0...
|
||||
2023-06-16T13:24:29.217018795-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nSet Screen Brightness\r\n****************************************\r\n1) 10%\r\n2) 20%\r\n3) 30%\r\n4) 40%\r\n5) 50%\r\n6) 60%\r\n7) 70%\r\n8) 80%\r\n9) 90%\r\n0) 100%\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:29.217122145-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessLow to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0...
|
||||
2023-06-16T13:24:29.237575949-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nSet Screen Brightness\r\n****************************************\r\n1) 10%\r\n2) 20%\r\n3) 30%\r\n4) 40%\r\n5) 50%\r\n6) 60%\r\n7) 70%\r\n8) 80%\r\n9) 90%\r\n0) 100%\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:29.237682688-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessLow to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0...
|
||||
2023-06-16T13:24:29.238352863-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nSet Screen Brightness\r\n****************************************\r\n1) 10%\r\n2) 20%\r\n3) 30%\r\n4) 40%\r\n5) 50%\r\n6) 60%\r\n7) 70%\r\n8) 80%\r\n9) 90%\r\n0) 100%\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:29.238449325-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessLow to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0...
|
||||
2023-06-16T13:24:29.243788745-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nSet Screen Brightness\r\n****************************************\r\n1) 10%\r\n2) 20%\r\n3) 30%\r\n4) 40%\r\n5) 50%\r\n6) 60%\r\n7) 70%\r\n8) 80%\r\n9) 90%\r\n0) 100%\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:29.243882484-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessLow to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0...
|
||||
2023-06-16T13:24:29.573068322-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:29.769913868-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.4:1.0-port0...
|
||||
2023-06-16T13:24:29.778399111-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.2:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:29.968241114-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.3:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:30.073820511-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:30.197146679-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.1:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:30.219818172-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.2:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:30.240324253-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.1:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:30.241143352-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.3.2:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:30.246195221-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.1:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:30.574508720-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:30.772775781-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.4:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:30.772934297-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessLow to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.4:1.0-port0...
|
||||
2023-06-16T13:24:31.075258075-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:31.575960987-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:31.775642249-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.1.4:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:32.076730194-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:32.577459105-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:33.078236348-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:33.578938852-04:00 - [DEBUG, seymour_life_rust::tty] - Read an empty string from device TTY { Serial port name: "platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0" }. Possible read error.
|
||||
2023-06-16T13:24:34.513333606-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\r\nimx8mplus-seymour-mel ttymxc2\r\n\r\nHillrom Front Line Care Embedded Linux for mel 12 imx8mplus-seymour-mel ttymxc2\r\n\r\nimx8mplus-seymour-mel login: " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0, which matches pattern LoginPrompt
|
||||
2023-06-16T13:24:34.513549158-04:00 - [TRACE, seymour_life_rust::tty] - writing Login to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0...
|
||||
2023-06-16T13:24:37.516918467-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "root\r\r\nLast login: Fri Jun 16 13:04:18 UTC 2023\r\n\u{1b}7\u{1b}[r\u{1b}[999;999H\u{1b}[6n" from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0, which matches pattern PreShellPrompt
|
||||
2023-06-16T13:24:38.255944578-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "root@imx8mplus-seymour-mel:~# " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0, which matches pattern ShellPrompt
|
||||
2023-06-16T13:24:38.256092890-04:00 - [TRACE, seymour_life_rust::tty] - writing DebugMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0...
|
||||
2023-06-16T13:24:39.503439425-04:00 - [ERROR, seymour_life_rust::device] - Unexpected response from device uninitialised!
|
||||
2023-06-16T13:24:39.503664681-04:00 - [ERROR, seymour_life_rust::device] - Unsure how to continue. Expect data from device uninitialised to be erratic until next cycle.
|
||||
2023-06-16T13:24:39.503739235-04:00 - [TRACE, seymour_life_rust::tty] - writing LifecycleMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0...
|
||||
2023-06-16T13:24:40.739795958-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nDebug Menu\r\n========================================\r\nThis menu is defined in debugmenu.xml. Add submenu tags to this file to add new\r\ncategories for your debug programs and scripts.\r\n----------------------------------------\r\na) Menu Demo\r\nb) Alarms Manager Menu\r\nB) Barcode Manager Menu\r\nc) Connectivity Manager Menu\r\nC) SCRM Menu\r\nd) Software Update Menu\r\nD) Pulse Rate Menu\r\ne) Events Menu\r\nE) Respiration Menu\r\nf) Configuration Application Menu\r\nh) HostProxy Menu\r\nH) HL7Proxy Menu\r\nl) LDAP/Active Directory Menu\r\nL) Life Cycle Testing Menu\r\nm) ModManager Menu\r\nM) Manual Set Parameters Menu\r\nn) NIBP Menu\r\nP) Power Manager Menu\r\np) PDM Menu\r\nr) Radio Menu\r\nR) Braun Menu\r\ns) SpO2 Menu\r\nS) SvcMonProxy Menu\r\nT) NTPProxy Menu\r\nu) UI Menu\r\nU) SureTemp Menu\r\nv) Connector Test\r\nx) Proxy Events Menu\r\ny) SysCtrl Menu\r\nw) Weight App Manager Menu\r\nW) BEST menu\r\nz) Print Manager Debug Menu\r\nZ) LCD Test Menu\r\nv) Debug Menu Verbosity\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> \r\n\r\nLife Cycle Testing Menu\r\n========================================\r\na) EEPROM Data\r\nB) Screen Brightness Menu\r\nb) Power Down Device\r\nc) Reboot Device\r\nd) Check UI Started\r\ne) Read Battery Charge Level\r\nf) Nurse Call On\r\ng) Nurse Call Off\r\nh) Display Current Readings\r\nH) Display Cycle Counts\r\ni) Force Log Rotation\r\nj) Display Patient ID\r\nk) Activate Wireless Networking\r\nl) Deactivate Wireless Networking\r\nN) Start NIBP Reading\r\nn) Check NIBP In Progress\r\np) Bluetooth Info\r\nr) WiFi Radio Info\r\ns) Enable and Start SSH\r\nt) Disable and Stop SSH\r\nu) Check WACP USB Connection\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:40.740159952-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessMenu to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0...
|
||||
2023-06-16T13:24:41.742733809-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n\r\nSet Screen Brightness\r\n****************************************\r\n1) 10%\r\n2) 20%\r\n3) 30%\r\n4) 40%\r\n5) 50%\r\n6) 60%\r\n7) 70%\r\n8) 80%\r\n9) 90%\r\n0) 100%\r\n----------------------------------------\r\n\\) Back\r\nq) Quit\r\n?) Redraw menu\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:41.742998323-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessLow to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0...
|
||||
2023-06-16T13:24:42.745470643-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0, which matches pattern DebugMenu
|
||||
2023-06-16T13:24:42.745983006-04:00 - [INFO, seymour_life_rust] - --------------------------------------
|
||||
2023-06-16T13:24:42.746109393-04:00 - [INFO, seymour_life_rust] - Number of devices detected: 9
|
||||
2023-06-16T13:24:42.746264298-04:00 - [INFO, seymour_life_rust] - --------------------------------------
|
||||
|
||||
|
||||
2023-06-16T13:24:42.746362074-04:00 - [TRACE, seymour_life_rust::tty] - writing BrightnessHigh to tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0...
|
||||
2023-06-16T13:24:43.748400808-04:00 - [TRACE, seymour_life_rust::tty] - Successful read of "\r\n> " from tty /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.2.2.3:1.0-port0, which matches pattern DebugMenu
|
158
src/device.rs
158
src/device.rs
|
@ -37,78 +37,13 @@ pub struct Device{
|
|||
}
|
||||
|
||||
impl Device{
|
||||
fn load_values(&mut self) -> bool {
|
||||
if ! Path::new(&OUTPUT_FOLDER).is_dir(){
|
||||
_ = fs::create_dir(&OUTPUT_FOLDER);
|
||||
};
|
||||
//log::debug!("{:?}",&self.serial);
|
||||
let output_path:String = OUTPUT_FOLDER.to_owned() + &self.serial + ".txt";
|
||||
if ! Path::new(&output_path).exists(){
|
||||
log::debug!("Creating file {}",&output_path);
|
||||
let temp:Result<File, std::io::Error> = fs::File::create(&output_path);
|
||||
match temp{
|
||||
Ok(file) => {
|
||||
self.output_file = Some(file);
|
||||
self.save_values();
|
||||
}
|
||||
Err(_) => {
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
let temp:Result<String, std::io::Error> = std::fs::read_to_string(output_path);
|
||||
match temp{
|
||||
Ok(file_contents) =>{
|
||||
let file_lines:Vec<&str> = file_contents.split("\n").collect();
|
||||
log::trace!("{:?}",file_contents);
|
||||
for line in file_lines {
|
||||
if line.len() > 0{
|
||||
//log::trace!("{:?}",line);
|
||||
let section_and_data:Vec<&str> = line.split(SECTION_SEPARATOR).collect();
|
||||
let section:&str = section_and_data[0];
|
||||
let possible_value:Result<u64, std::num::ParseIntError> = section_and_data[1].trim().parse::<u64>();
|
||||
match possible_value{
|
||||
Ok(value) => {
|
||||
//log::trace!("{:?} value: [{:?}]",section,value);
|
||||
match section {
|
||||
REBOOTS_SECTION => {
|
||||
self.reboots = value;
|
||||
//log::trace!("Reboots set to {:?}",self.reboots);
|
||||
},
|
||||
BP_SECTION => {
|
||||
self.bps = value.clone();
|
||||
//log::trace!("BPS set to {:?}",self.bps);
|
||||
},
|
||||
TEMP_SECTION => {
|
||||
self.temp_offset = value;
|
||||
//log::trace!("Temp offset set to {:?}",self.temp_offset);
|
||||
},
|
||||
_ => {
|
||||
log::warn!("Invalid import value: [{:?}]. Please ensure that the output directory is clean.",section_and_data);
|
||||
}
|
||||
};
|
||||
}
|
||||
Err(_) => {
|
||||
log::warn!("Unable to parse value [{:?}] into integer",section_and_data);
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
},
|
||||
Err(error) => {
|
||||
log::warn!("Could not load from file!");
|
||||
log::debug!("{}",error);
|
||||
}
|
||||
}
|
||||
};
|
||||
return true
|
||||
}
|
||||
pub fn new(mut usb_port:TTY,response:Option<Response>) -> Result<Self,String>{
|
||||
let initial_state:State;
|
||||
match response{
|
||||
Some(response_value)=> {
|
||||
match response_value{
|
||||
//If we got back a password prompt, that's a bad place to be in. Send a
|
||||
//newline to failout of the
|
||||
Response::PasswordPrompt=>{
|
||||
usb_port.write_to_device(Command::Newline);
|
||||
_ = usb_port.read_from_device(None);
|
||||
|
@ -166,8 +101,7 @@ impl Device{
|
|||
},
|
||||
None => initial_state = State::LoginPrompt
|
||||
};
|
||||
let temp = Gpio::new();
|
||||
match temp{
|
||||
match Gpio::new(){
|
||||
Ok(gpio) =>{
|
||||
let mut output = Self{
|
||||
usb_tty: usb_port,
|
||||
|
@ -195,6 +129,64 @@ impl Device{
|
|||
}
|
||||
}
|
||||
}
|
||||
fn load_values(&mut self) -> bool {
|
||||
if ! Path::new(&OUTPUT_FOLDER).is_dir(){
|
||||
_ = fs::create_dir(&OUTPUT_FOLDER);
|
||||
};
|
||||
let output_path:String = OUTPUT_FOLDER.to_owned() + &self.serial + ".txt";
|
||||
if ! Path::new(&output_path).exists(){
|
||||
log::debug!("Creating file {}",&output_path);
|
||||
match fs::File::create(&output_path){
|
||||
Ok(file) => {
|
||||
self.output_file = Some(file);
|
||||
self.save_values();
|
||||
}
|
||||
Err(_) => {
|
||||
return false
|
||||
}
|
||||
}
|
||||
}
|
||||
else {
|
||||
match std::fs::read_to_string(output_path){
|
||||
Ok(file_contents) =>{
|
||||
let file_lines:Vec<&str> = file_contents.split("\n").collect();
|
||||
log::trace!("{:?}",file_contents);
|
||||
for line in file_lines {
|
||||
if line.len() > 0{
|
||||
let section_and_data:Vec<&str> = line.split(SECTION_SEPARATOR).collect();
|
||||
let section:&str = section_and_data[0];
|
||||
match section_and_data[1].trim().parse::<u64>(){
|
||||
Ok(value) => {
|
||||
match section {
|
||||
REBOOTS_SECTION => {
|
||||
self.reboots = value;
|
||||
},
|
||||
BP_SECTION => {
|
||||
self.bps = value.clone();
|
||||
},
|
||||
TEMP_SECTION => {
|
||||
self.temp_offset = value;
|
||||
},
|
||||
_ => {
|
||||
log::warn!("Invalid import value: [{:?}]. Please ensure that the output directory is clean.",section_and_data);
|
||||
}
|
||||
};
|
||||
}
|
||||
Err(_) => {
|
||||
log::warn!("Unable to parse value [{:?}] into integer",section_and_data);
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
},
|
||||
Err(error) => {
|
||||
log::warn!("Could not load from file!");
|
||||
log::debug!("{}",error);
|
||||
}
|
||||
}
|
||||
};
|
||||
return true
|
||||
}
|
||||
|
||||
fn go_to_brightness_menu(&mut self) -> &mut Self{
|
||||
while !(self.current_state == State::BrightnessMenu){
|
||||
|
@ -223,7 +215,6 @@ impl Device{
|
|||
log::error!("Unexpected response from device {}!",self.serial);
|
||||
log::debug!("brightness menu, catch-all, login loop, {}, {:?}",self.serial,self.usb_tty);
|
||||
log::error!("Unsure how to continue. Expect data from device {} to be erratic until next cycle.",self.serial);
|
||||
//break;
|
||||
},
|
||||
};
|
||||
};
|
||||
|
@ -249,11 +240,9 @@ impl Device{
|
|||
log::error!("Unexpected response from device {}!", self.serial);
|
||||
log::debug!("brightness menu, catch-all, shell prompt loop, {}, {:?}",self.serial,self.usb_tty);
|
||||
log::error!("Unsure how to continue. Expect data from device {} to be erratic until next cycle.",self.serial);
|
||||
//break;
|
||||
},
|
||||
};
|
||||
};
|
||||
//_ = self.usb_tty.read_from_device(None);
|
||||
self.current_state = State::DebugMenu;
|
||||
},
|
||||
State::Shutdown => {
|
||||
|
@ -293,7 +282,6 @@ impl Device{
|
|||
log::error!("Unexpected response from device {}!",self.serial);
|
||||
log::debug!("lifecycle menu, catch-all, first loop, {}, {:?}",self.serial,self.usb_tty);
|
||||
log::error!("Unsure how to continue. Expect data from device {} to be erratic until next cycle.",self.serial);
|
||||
//break;
|
||||
},
|
||||
};
|
||||
};
|
||||
|
@ -318,7 +306,6 @@ impl Device{
|
|||
log::error!("Unexpected response from device {}! {:?}", self.serial, read_in);
|
||||
log::debug!("lifecycle menu, catch-all, second loop, {}, {:?}",self.serial,self.usb_tty);
|
||||
log::error!("Unsure how to continue. Expect data from device {} to be erratic until next cycle.",self.serial);
|
||||
//break;
|
||||
},
|
||||
};
|
||||
};
|
||||
|
@ -335,8 +322,7 @@ impl Device{
|
|||
|
||||
fn save_values(&mut self) -> bool{
|
||||
let output_path = OUTPUT_FOLDER.to_owned() + &self.serial + ".txt";
|
||||
let temp = fs::OpenOptions::new().write(true).truncate(true).open(&output_path);
|
||||
match temp{
|
||||
match fs::OpenOptions::new().write(true).truncate(true).open(&output_path){
|
||||
Ok(opened_file) => self.output_file = Some(opened_file),
|
||||
Err(_) => {
|
||||
log::warn!("Could not open file [{}] to write! Potential permissions error.",&output_path);
|
||||
|
@ -358,8 +344,7 @@ impl Device{
|
|||
output_data.push_str(&saved_temps.to_string());
|
||||
output_data.push_str("\n");
|
||||
log::debug!("final data to write to '{:?}': [{:?}]",file_name,output_data);
|
||||
let temp = file_name.write_all(output_data.as_bytes());
|
||||
match temp{
|
||||
match file_name.write_all(output_data.as_bytes()){
|
||||
Err(error) => {
|
||||
log::warn!("{}",error);
|
||||
},
|
||||
|
@ -411,6 +396,7 @@ impl Device{
|
|||
},
|
||||
}
|
||||
}
|
||||
if self.serial == "" { self.serial = UNINITIALISED_SERIAL.to_string(); }
|
||||
self.usb_tty.write_to_device(Command::DebugMenu);
|
||||
while self.usb_tty.read_from_device(None) != Response::DebugMenu {}
|
||||
self.current_state = State::DebugMenu;
|
||||
|
@ -436,8 +422,7 @@ impl Device{
|
|||
}
|
||||
pub fn set_pin_address(&mut self, address:u8) -> &mut Self{
|
||||
self.address = Some(address.clone());
|
||||
let temp = self.gpio.get(address);
|
||||
match temp{
|
||||
match self.gpio.get(address){
|
||||
Ok(pin) => self.pin = Some(pin.into_output()),
|
||||
Err(error) => {
|
||||
log::warn!("Could not set pin to this address {}; already assigned?",address);
|
||||
|
@ -449,13 +434,17 @@ impl Device{
|
|||
pub fn start_temp(&mut self) -> &mut Self {
|
||||
if let Some(ref mut pin) = self.pin {
|
||||
pin.set_high();
|
||||
}
|
||||
} else {
|
||||
log::warn!("Unable to start temp for device {}! Is GPIO initialised?",self.serial);
|
||||
};
|
||||
return self;
|
||||
}
|
||||
pub fn stop_temp(&mut self) -> &mut Self {
|
||||
if let Some(ref mut pin) = self.pin {
|
||||
pin.set_low();
|
||||
}
|
||||
} else {
|
||||
log::warn!("Unable to stop temp for device {}! Is GPIO initialised?",self.serial);
|
||||
};
|
||||
return self;
|
||||
}
|
||||
fn start_bp(&mut self) -> &mut Self {
|
||||
|
@ -567,20 +556,15 @@ impl Device{
|
|||
self.usb_tty.write_to_device(Command::Quit);
|
||||
self.usb_tty.write_to_device(Command::Reboot);
|
||||
let mut successful_reboot:bool = false;
|
||||
//let mut exited_menu:bool = false;
|
||||
loop{
|
||||
match self.usb_tty.read_from_device(None){
|
||||
Response::LoginPrompt => break,
|
||||
Response::Rebooting => {
|
||||
log::trace!("Successful reboot detected for device {}.",self.serial);
|
||||
successful_reboot = true;
|
||||
//This error message is turning out to be more false positive than anything
|
||||
//else. Reboots can sometimes dump both reboot flag and shutdown flag at once.
|
||||
//if !exited_menu { log::info!("Unusual reboot detected for device {}. Please check logs.",self.serial); }
|
||||
},
|
||||
Response::ShuttingDown => {
|
||||
log::trace!("Exiting debug menu on device {}.",self.serial);
|
||||
//exited_menu = true;
|
||||
},
|
||||
_ => {}
|
||||
}
|
||||
|
|
|
@ -9,12 +9,13 @@ pub struct GpioPins{
|
|||
impl GpioPins{
|
||||
pub fn new() -> Self {
|
||||
let mut output = Self { unassigned_addresses:Vec::new() };
|
||||
//For each of the relay addresses...
|
||||
for pin in RELAY_ADDRESSES.iter(){
|
||||
let possible_gpio = Gpio::new();
|
||||
match possible_gpio{
|
||||
match Gpio::new(){
|
||||
Ok(gpio_object) =>{
|
||||
let temp = gpio_object.get(pin.clone());
|
||||
match temp{
|
||||
//Get the relevant GPIO pin, initialise it to be off, store the address, and
|
||||
//drop the pin so the Device object can pick it back up
|
||||
match gpio_object.get(pin.clone()){
|
||||
Ok(pin_object)=>{
|
||||
_ = pin_object.into_output_low();
|
||||
output.unassigned_addresses.push(*pin);
|
||||
|
|
67
src/main.rs
67
src/main.rs
|
@ -28,37 +28,6 @@ struct Args{
|
|||
const VERSION:&str="2.3.3";
|
||||
const DEBUG_ITERATION_COUNT:u64=50000;
|
||||
|
||||
fn int_input_filtering(prompt:Option<&str>) -> u64{
|
||||
let internal_prompt = prompt.unwrap_or(">>>");
|
||||
let mut user_input:String = String::new();
|
||||
print!("{}",internal_prompt);
|
||||
_ = stdout().flush();
|
||||
stdin().read_line(&mut user_input).expect("Did not input a valid number.");
|
||||
if let Some('\n')=user_input.chars().next_back() {
|
||||
user_input.pop();
|
||||
}
|
||||
if let Some('\r')=user_input.chars().next_back() {
|
||||
user_input.pop();
|
||||
}
|
||||
return user_input.parse().unwrap_or(0);
|
||||
}
|
||||
|
||||
fn input_filtering(prompt:Option<&str>) -> String{
|
||||
let internal_prompt = prompt.unwrap_or(">>>");
|
||||
let mut user_input:String = String::new();
|
||||
print!("{}",internal_prompt);
|
||||
_ = stdout().flush();
|
||||
stdin().read_line(&mut user_input).ok().expect("Did not enter a correct string");
|
||||
if let Some('\n')=user_input.chars().next_back() {
|
||||
user_input.pop();
|
||||
}
|
||||
if let Some('\r')=user_input.chars().next_back() {
|
||||
user_input.pop();
|
||||
}
|
||||
log::debug!("{}:{}",internal_prompt,user_input);
|
||||
return user_input;
|
||||
}
|
||||
//Path::new(&&str).is_dir() -> bool
|
||||
fn main(){
|
||||
let args = Args::parse();
|
||||
setup_logs(&args.debug);
|
||||
|
@ -78,7 +47,7 @@ fn main(){
|
|||
}
|
||||
}
|
||||
|
||||
log::info!("Testing all available USB ports for connected devices. This may take several minutes, and devices may reboot several times.");
|
||||
log::info!("Testing all available USB ports for connected devices. This may take some time...");
|
||||
let gpio = &mut GpioPins::new();
|
||||
let mut available_ttys:Vec<Box<Path>> = Vec::new();
|
||||
for entry in glob::glob("/dev/serial/*").expect("Failed to read glob pattern"){
|
||||
|
@ -129,8 +98,7 @@ fn main(){
|
|||
thread::spawn(move ||{
|
||||
let tty_name = possible_tty.to_string_lossy();
|
||||
log::debug!("Testing port {}",&tty_name);
|
||||
let possible_port = TTY::new(&tty_name);
|
||||
match possible_port{
|
||||
match TTY::new(&tty_name){
|
||||
Some(mut port) =>{
|
||||
port.write_to_device(tty::Command::Newline);
|
||||
let response = port.read_from_device(Some(":"));
|
||||
|
@ -226,6 +194,37 @@ fn find_gpio(device:&mut Device,gpio:&mut GpioPins) -> bool{
|
|||
return false;
|
||||
}
|
||||
|
||||
fn int_input_filtering(prompt:Option<&str>) -> u64{
|
||||
let internal_prompt = prompt.unwrap_or(">>>");
|
||||
let mut user_input:String = String::new();
|
||||
print!("{}",internal_prompt);
|
||||
_ = stdout().flush();
|
||||
stdin().read_line(&mut user_input).expect("Did not input a valid number.");
|
||||
if let Some('\n')=user_input.chars().next_back() {
|
||||
user_input.pop();
|
||||
}
|
||||
if let Some('\r')=user_input.chars().next_back() {
|
||||
user_input.pop();
|
||||
}
|
||||
return user_input.parse().unwrap_or(0);
|
||||
}
|
||||
|
||||
fn input_filtering(prompt:Option<&str>) -> String{
|
||||
let internal_prompt = prompt.unwrap_or(">>>");
|
||||
let mut user_input:String = String::new();
|
||||
print!("{}",internal_prompt);
|
||||
_ = stdout().flush();
|
||||
stdin().read_line(&mut user_input).ok().expect("Did not enter a correct string");
|
||||
if let Some('\n')=user_input.chars().next_back() {
|
||||
user_input.pop();
|
||||
}
|
||||
if let Some('\r')=user_input.chars().next_back() {
|
||||
user_input.pop();
|
||||
}
|
||||
log::debug!("{}:{}",internal_prompt,user_input);
|
||||
return user_input;
|
||||
}
|
||||
|
||||
pub fn setup_logs(debug:&bool){
|
||||
let chrono_now: DateTime<Local> = Local::now();
|
||||
if ! Path::new("logs").is_dir(){
|
||||
|
|
26
src/tty.rs
26
src/tty.rs
|
@ -122,12 +122,11 @@ impl std::fmt::Debug for TTY{
|
|||
|
||||
impl TTY{
|
||||
pub fn new(serial_location:&str) -> Option<Self>{
|
||||
let possible_tty = serialport::new(serial_location,BAUD_RATE).timeout(SERIAL_TIMEOUT).open();
|
||||
if let Ok(tty) = possible_tty{
|
||||
Some(TTY{tty,last:Command::Quit})
|
||||
if let Ok(tty) = serialport::new(serial_location,BAUD_RATE).timeout(SERIAL_TIMEOUT).open(){
|
||||
return Some(TTY{tty,last:Command::Quit})
|
||||
} else{
|
||||
None
|
||||
}
|
||||
return None
|
||||
};
|
||||
}
|
||||
|
||||
pub fn write_to_device(&mut self,command:Command) -> bool {
|
||||
|
@ -148,27 +147,26 @@ impl TTY{
|
|||
let mut read_buffer: Vec<u8> = Vec::new();
|
||||
_ = reader.read_to_end(&mut read_buffer);
|
||||
if read_buffer.len() > 0 {
|
||||
let read_line:String = String::from_utf8_lossy(read_buffer.as_slice()).to_string();
|
||||
if read_line.eq("\r\n") {
|
||||
let device_response:String = String::from_utf8_lossy(read_buffer.as_slice()).to_string();
|
||||
if device_response.eq("\r\n") {
|
||||
return Response::EmptyNewline;
|
||||
}
|
||||
for command in COMMAND_RESPONSES{
|
||||
if read_line.trim().eq(command.trim()){
|
||||
if device_response.trim().eq(command.trim()){
|
||||
return self.read_from_device(None);
|
||||
}
|
||||
};
|
||||
for (string,enum_value) in RESPONSES{
|
||||
if read_line.contains(string){
|
||||
if device_response.contains(string){
|
||||
if(enum_value == Response::BPOn) || (enum_value == Response::BPOff) {
|
||||
//Don't log BPOn or BPOff, we're gonna see a LOT of those and we don't want
|
||||
//to overfill the SD card
|
||||
}
|
||||
else{
|
||||
log::trace!("Successful read of {:?} from tty {}, which matches pattern {:?}",read_line,self.tty.name().unwrap_or("unknown shell".to_string()),enum_value);
|
||||
log::trace!("Successful read of {:?} from tty {}, which matches pattern {:?}",device_response,self.tty.name().unwrap_or("unknown shell".to_string()),enum_value);
|
||||
};
|
||||
if enum_value == Response::TempCount(None){
|
||||
let mut lines = read_line.lines();
|
||||
while let Some(single_line) = lines.next(){
|
||||
while let Some(single_line) = device_response.lines().next(){
|
||||
if single_line.contains(string){
|
||||
let trimmed_line = single_line.trim();
|
||||
match trimmed_line.rsplit_once(' '){
|
||||
|
@ -190,7 +188,7 @@ impl TTY{
|
|||
}
|
||||
}
|
||||
else if enum_value == Response::Serial(None) {
|
||||
return Response::Serial(Some(read_line));
|
||||
return Response::Serial(Some(device_response));
|
||||
}
|
||||
else if enum_value == Response::PasswordPrompt {
|
||||
log::error!("Recieved password prompt on device {}! Something fell apart here. Check preceeding log lines.",self.tty.name().unwrap_or("unknown shell".to_string()));
|
||||
|
@ -202,7 +200,7 @@ impl TTY{
|
|||
}
|
||||
}
|
||||
}
|
||||
log::trace!("Unable to determine response. Response string is: [{:?}]",read_line);
|
||||
log::warn!("Unable to determine response. Response string is: [{:?}]",device_response);
|
||||
return Response::Other;
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Reference in a new issue