[sane-devel] All sane frontends segfault with my HP 5200C

Oliver Rauch oliver.rauch@rauch-domain.de
Sun, 03 Feb 2002 12:10:10 +0100

Henning Meier-Geinitz wrote:
> I have no idea how to test if the device is a SCSI device without
> sending data to it. Maybe we can add some magic to look at the real
> device name if /dev/scanner is used but ad this can something like
> /dev/sga, /dev/sg1, /dev/uk0, /dev/ss0 and many many more it's not
> that easy. And nobody prevents the user to create
> /dev/myownscsiscanner with the correct major/minor numbers.
> Any ideas?

I think we could and should create a function
sanei_identify_device(char *device_file)

that has some
test for major/minor number for SCSI/USB/PARALLEL/...


Homepage:	http://www.rauch-domain.de
sane-umax:	http://www.rauch-domain.de/sane-umax
xsane:		http://www.xsane.org
E-Mail:		mailto:Oliver.Rauch@rauch-domain.de