Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to run inquiry only with scsidump #1092

Closed
akuker opened this issue Feb 5, 2023 · 1 comment · Fixed by #1261
Closed

Add option to run inquiry only with scsidump #1092

akuker opened this issue Feb 5, 2023 · 1 comment · Fixed by #1261
Assignees
Labels
enhancement New feature or request

Comments

@akuker
Copy link
Member

akuker commented Feb 5, 2023

There have been several times while developing where it would be useful to just send an Inquiry command to a device to make sure its responding. I'd like to add a feature to scsidump to only run the inquiry command, report the results, then exit.

It would be worth exploring if the PiSCSI hardware will allow us to loop through and TestUnitReady / Inquiry each SCSI device to see what else is on the bus. This should be a separate "Mode" though.

@akuker akuker added the enhancement New feature or request label Feb 5, 2023
@akuker akuker self-assigned this Feb 5, 2023
akuker pushed a commit that referenced this issue Feb 5, 2023
@uweseimet
Copy link
Contributor

uweseimet commented Oct 19, 2023

Output from the testing_issue_1092 branch:

>sudo ./bin/fullspec/scsidump -t 4 -I
SCSI Target Emulator PiSCSI (Hard Disk Dump/Restore Utility)
Version 23.10 --DEVELOPMENT BUILD--  (Oct 19 2023 20:04:05)
Powered by XM6 TypeG Technology / Copyright (C) 2016-2020 GIMONS
Copyright (C) 2020-2023 Contributors to the PiSCSI project
[2023-10-19 21:36:11.539] [info] Detected Raspberry Pi 4
----------------------------------------
PiSCSI board ID: 7
----------------------------------------
Target device is 4:0
Vendor:      SCSI
Product:     PCCARD Flash
Revision:    1.28
Device Type: Direct Access
Removable:   Yes

>sudo ./bin/fullspec/scsidump -S
SCSI Target Emulator PiSCSI (Hard Disk Dump/Restore Utility)
Version 23.10 --DEVELOPMENT BUILD--  (Oct 19 2023 20:04:05)
Powered by XM6 TypeG Technology / Copyright (C) 2016-2020 GIMONS
Copyright (C) 2020-2023 Contributors to the PiSCSI project
[2023-10-20 16:48:48.206] [info] Detected Raspberry Pi 4
----------------------------------------
PiSCSI board ID is 7
----------------------------------------
Target device is 0:0
Vendor:      QUANTUM 
Product:     TRB850S         
Revision:    0403
Device Type: Direct Access
Removable:   No
----------------------------------------
Target device is 0:1
----------------------------------------
Target device is 0:2
----------------------------------------
Target device is 0:3
----------------------------------------
Target device is 0:4
----------------------------------------
Target device is 0:5
----------------------------------------
Target device is 0:6
----------------------------------------
Target device is 0:7
----------------------------------------
Target device is 1:0
----------------------------------------
Target device is 2:0
----------------------------------------
Target device is 3:0
Vendor:      HP      
Product:     HP35470A        
Revision:    1109
Device Type: Sequential Access
Removable:   Yes
----------------------------------------
Target device is 3:1
----------------------------------------
Target device is 3:2
----------------------------------------
Target device is 3:3
----------------------------------------
Target device is 3:4
----------------------------------------
Target device is 3:5
----------------------------------------
Target device is 3:6
----------------------------------------
Target device is 3:7
----------------------------------------
Target device is 4:0
----------------------------------------
Target device is 5:0
----------------------------------------
Target device is 6:0

@uweseimet uweseimet assigned uweseimet and unassigned akuker Oct 19, 2023
uweseimet added a commit that referenced this issue Oct 30, 2023
… (#1261)

* Add options to only run INQUIRY and to scan the bus to scsidump
@uweseimet uweseimet moved this from In Progress to Done in Release 23.11.01 (first Bookworm release) Oct 30, 2023
uweseimet added a commit that referenced this issue Oct 30, 2023
… (#1261)

* Add options to only run INQUIRY and to scan the bus to scsidump
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
Development

Successfully merging a pull request may close this issue.

2 participants