Closed rreiner closed 1 year ago
You can't run piscsi and scsimon at the same time. Shut down the former to run the latter. Should work then!
Ah, OK. I don't see any mention of that in the docs, so this is a documentation bug then :-) Thanks1
Which documentation did you look at? The wiki is pretty clear about it I think. https://github.com/PiSCSI/piscsi/wiki/SCSI-Bus-Capture#capture-data
What may be missing is a line in the man page.
In addition, the error message does provide a hint, but perhaps it is ambiguous?
[error] Unable to register event request. Is PiSCSI or RaSCSI already running?
For cli tools I tend to rely on man pages or the output of -h
/ --help
, so a mention there would be helpful.
Re. that error message, I interpreted it to mean "this tool needs PiSCSI to be running, are you sure it is?" rather than the opposite, so I think yes, it could be clearer.
feel free to update the man page and submit a PR. Always glad to accept suggestions :) https://github.com/PiSCSI/piscsi/blob/main/doc/scsimon.1
Here's a PR that hopefully will improve the docs: https://github.com/PiSCSI/piscsi/pull/1175
Info
Which version of Pi are you using: Zero W Which github revision of software: April 2023 Release - v23.04.01 Which board version: FULL Which computer is the PiSCSI connected to: NA
Describe the issue
scsimon
produces an error message and exits.