[sane-devel] All sane frontends segfault with my HP 5200C
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
that has some
test for major/minor number for SCSI/USB/PARALLEL/...