I also find the programs addumax and delumax very usefull.
these can add or remove the umax scanner form the device list.
In this way you can have your scanner turned off during the initial
bootsequence,
and add it only when you want to use the scanner.
It is important however that the scsi id of the scanner remains the
same,
as it is hardcoded into these programs.
I dont remember who wrote it, maybe it was you :)
Maybe you would be willing to consider to incorporate your readproc
functionality into these programs?
regards,
Ondrej
Oliver.Rauch@Wolfsburg.DE wrote:
>
> Hi,
>
> this is a little tool that reads /proc/scsi/scsi
> and tries to find out on which device the scanner is connected.
>
> To compile it, just call
> gcc readproc.c -o readproc
>
> To use it call
> readproc "vendor" "model"
> e.g.:
> readproc "UMAX " "UMAX S-12"
>
> Please tell me if the "guessed" devicename is correct or not!
>
> Bye
> Oliver
>
-- Source code, list archive, and docs: http://www.mostang.com/sane/ To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com