Re: Rebop: Microtek V300

Manfred Lemke (ukpr@rz.uni-karlsruhe.de)
Fri, 18 Sep 1998 23:31:21 +0200 (CES)

According to Mike D.:
>
> As I'm sitting here at work, I realize I have another question.
> I have seen and read of references to linking /dev/sg* to
> /dev/scanner. After looking in my /dev directory, I notice that
> there are devices for sga through sge.
>
> So, which of those devices needs to be linked. I have, to
> this point only tried /dev/sga. When I get home I'll try the
> others, I guess. If this is in a FAQ or a manpage somewhere,
> I guess I missed it entirely.

The /dev/sg? devices are the so-called "generic" SCSI devices
and programs use them to send specific, non-standard commands
to those SCSI devices.

To activate those devices, you have to have "Generic SCSI
support" compiled into your kernel.

Afterwards, the devices are mapped to the generic SCSI devices
in their order of recognition, i.e. usually sorted by SCSI ID.
A "dmesg" will usually give you a hint about which physical
device is linked to which generic device.

As an example:

If you have three SCSI devices with the following parameters:

ID 0: harddisk
ID 2: CD ROM
ID 6: scanner

Then the harddisk would be /dev/sga, the cd-rom would be /dev/sgb
and the scanner would be /dev/sgc.

As a side note, those "generic SCSI devices" are also used to
properly access CD-ROM writers and other such "unusual" devices.

Hope this helped you a bit,

Manfred Lemke (ukpr@rz.uni-karlsruhe.de)

P.S.: Can anyone tell me how to contact the SANE developer team
for the Mustek backend? My scanner has a firmware release that's
not included in the "working" sections, but it almost works
(see my previous posting).

--
Source code, list archive, and docs: http://www.mostang.com/sane/
To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com