Alright, I'll change the udev rules from sg3-utils-udev package to ignore USB devices. From the initial ACTION (add) event, I only get simple data from udev:
Before the device is fully initialized. I will try to ignore DEVPATH containing *usb*, for example, at least for the VPD pages 0x80 and 0x83, I'll get back soon.
Alright, I'll change the udev rules from sg3-utils-udev package to ignore USB devices. From the initial ACTION (add) event, I only get simple data from udev:
S: disk/by- id/usb- Corsair_ Voyager_ Mini_3. 0_070851D0E490C 776-0:0 path/pci- 0000:00: 14.0-usb- 0:2:1.0- scsi-0: 0:0:0 label/Ubuntu\ x2019.04\ x20amd64 uuid/2019- 04-16-19- 19-59-00 /devices/ pci0000: 00/0000: 00:14.0/ usb2/2- 2/2-2:1. 0/host2/ target2: 0:0/2:0: 0:0/block/ sdc D=376735479267
S: disk/by-
S: disk/by-
S: disk/by-
E: DEVPATH=
E: SUBSYSTEM=block
E: DEVNAME=/dev/sdc
E: DEVTYPE=disk
E: MAJOR=8
E: MINOR=32
E: USEC_INITIALIZE
Before the device is fully initialized. I will try to ignore DEVPATH containing *usb*, for example, at least for the VPD pages 0x80 and 0x83, I'll get back soon.