[sane-devel] Re: Debian SANE HP bug report

Peter Kirchgessner peter@kirchgessner.net
Tue, 30 Jul 2002 19:59:05 +0200

Hello Henning,

thank you for the bug-report.
The problem is that the USB-device is tried to be opened as a 
SCSI-device. And then I assume it segfaults somewhere below 
sanei_scsi_open(). Because of the missing option connect-device.
Do you have an idea how to check if a device name is a SCSI-device or 
not ? And this should work not only for Linux. I could just add a check 
to see if the device name contains something like usb and then assume 
that it is not a SCSI device.



Henning Meier-Geinitz wrote:

> Hi,
> Just for your information: There was a bug report for the Debian
> version of the SANE HP backend (sane-backends 1.0.7). Maybe it's
> interesting for you:
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=154827&repeatmerged=yes
> and
> http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=154828&repeatmerged=yes
> Bye,
>   Henning

Peter Kirchgessner