Summary: | Device scan doesn't find devices which are opened by PV | ||
---|---|---|---|
Product: | PulseView | Reporter: | whitequark <whitequark> |
Component: | Other | Assignee: | Soeren Apel <soeren> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | soeren |
Priority: | Normal | ||
Version: | 0.3.0 | ||
Target Milestone: | --- | ||
Hardware: | All | ||
OS: | All |
Description
whitequark
2016-03-06 12:35:08 CET
Was able to reproduce using my USBTMC scope: sr: [00:03.478391] hwdriver: sr_config_list(): key 2147418112 (NULL) sdi (nil) cg NULL -> [uint32 20000] sr: [00:05.079197] scpi_usbtmc: Found USBTMC device (VID:PID = 0b21:0030, bus.address = 2.11). sr: [00:05.079266] scpi_usbtmc: Found 1 device(s). sr: [00:05.079285] scpi: Opening USBTMC device usbtmc/2.11. sr: [00:05.079368] usb: Trying to find USB device with bus.address = 2.11. sr: [00:05.079401] usb: Found USB device (VID:PID = 0b21:0030, bus.address = 2.11). sr: [00:05.079424] usb: Found 1 device(s). sr: [00:05.079443] usb: Trying to open USB device 2.11. sr: [00:05.079528] usb: Opened USB device (VID:PID = 0b21:0030, bus.address = 2.11). sr: [00:05.079547] scpi_usbtmc: Interface 0 configuration 1. sr: [00:05.079559] scpi_usbtmc: Bulk OUT EP 1 sr: [00:05.079587] scpi_usbtmc: Interrupt EP 2 sr: [00:05.079598] scpi_usbtmc: Bulk IN EP 3 sr: [00:05.079682] scpi_usbtmc: Failed to claim interface: LIBUSB_ERROR_BUSY. sr: [00:05.079695] scpi: Couldn't open SCPI device. It's pretty reasonable to assume that a device that has been opened by PV (to perform aquisition at any time) can't be scanned as that would require opening the device. Not quite sure what's the best way to handle this at the moment. |