Better workarounds would be either to set the SANE_DEFAULT_DEVICE environmental variable (e.g. put SANE_DEFAULT_DEVICE=... in your .bashrc), or to start gscan2pdf --device=device with the actual device name required.
The device names are listed in the scanimage --help output (or if you start gscan2pdf with --log=log, then also in the log file).
Better workarounds would be either to set the SANE_DEFAULT_DEVICE environmental variable (e.g. put SANE_DEFAULT_ DEVICE= ... in your .bashrc), or to start gscan2pdf --device=device with the actual device name required.
The device names are listed in the scanimage --help output (or if you start gscan2pdf with --log=log, then also in the log file).