[sane-devel] HAL and scanners.

m. allan noah kitno455 at gmail.com
Tue Mar 18 01:08:43 UTC 2008


On 3/17/08, Étienne Bersac <bersace03 at gmail.com> wrote:
> Hi,
>  > most backends could implement the function as returning a
>  > concatenation of 'libusb:', the vendor and device ids.
>
> I guess you talk about bus number and device number.

yes- i misspoke, good catch.

>  >  the backends that return something else would
>  > actually have to talk to the scanner and get that info.
>  >
>  > what would scsi look like? you would have to be able to get the device
>  > file name from hal...
>
>
> I do not have SCSI on my system, but the info.bus is "scsi". See hal
>  specification :
>  http://people.freedesktop.org/~david/hal-spec/hal-spec.html and search
>  scsi ;)

unfortunately, no /dev/sgX name for the device in hal, but we can use
the host/chan/id/lun to get it.

allan
-- 
"The truth is an offense, but not a sin"



More information about the sane-devel mailing list