sane_get_devices can't find device

SANE Version : 1.0.27

Affected API : extern SANE_Status sane_get_devices (const SANE_Device *** device_list..)

Platform: x86_64

OS: Ubuntu 18.04.4 LTS

Scanner Model: EPSON Perfection V33, Brother DCP-7057R

Connection: USB

How to test:

  1. Init SANE(sane_init).
  2. Turn off scanner
  3. Call sane_get_devices and wait
  4. Turn on scanner, wait until it ends warming up
  5. Call sane_get_devices
  6. Our device is not in the list filled by sane_get_devices

Small code to test: test-sane-devices.cpp

Reproducibility: Always

Edited by Rustem Husnutdinov