kopia lustrzana https://gitlab.com/sane-project/website
248 wiersze
7.8 KiB
HTML
248 wiersze
7.8 KiB
HTML
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"
|
|
"http://www.w3.org/TR/REC-html40/loose.dtd">
|
|
<HTML>
|
|
<HEAD>
|
|
<TITLE>sane-devel: Re: SYM22801 & HP Scanjet 5P Sane problems...</TITLE>
|
|
<META NAME="Author" CONTENT="Rogier Stam (rogier@wight.penguinpowered.com)">
|
|
<META NAME="Subject" CONTENT="Re: SYM22801 & HP Scanjet 5P Sane problems...">
|
|
</HEAD>
|
|
<BODY BGCOLOR="#FFFFFF" TEXT="#000000">
|
|
<H1>Re: SYM22801 & HP Scanjet 5P Sane problems...</H1>
|
|
<!-- received="Sun Apr 2 00:37:43 2000" -->
|
|
<!-- isoreceived="20000402083743" -->
|
|
<!-- sent="Sun, 02 Apr 2000 09:38:48 +0200" -->
|
|
<!-- isosent="20000402073848" -->
|
|
<!-- name="Rogier Stam" -->
|
|
<!-- email="rogier@wight.penguinpowered.com" -->
|
|
<!-- subject="Re: SYM22801 & HP Scanjet 5P Sane problems..." -->
|
|
<!-- id="38E6F908.56C32AD5@wight.penguinpowered.com" -->
|
|
<!-- inreplyto="38E57464.3D02C8DE@interlog.com" -->
|
|
<STRONG>From:</STRONG> Rogier Stam (<A HREF="mailto:rogier@wight.penguinpowered.com?Subject=Re:%20SYM22801%20&%20HP%20Scanjet%205P%20Sane%20problems...&In-Reply-To=<38E6F908.56C32AD5@wight.penguinpowered.com>"><EM>rogier@wight.penguinpowered.com</EM></A>)<BR>
|
|
<STRONG>Date:</STRONG> Sat Apr 01 2000 - 23:38:48 PST
|
|
<P>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0012.html">Henning Meier-Geinitz: "Re: xscanimage, xsane and 3-pass scanners"</A>
|
|
<UL>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0010.html">Rogier Stam: "Re: SYM22801 & HP Scanjet 5P Sane problems..."</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#11">[ date ]</A>
|
|
<A HREF="index.html#11">[ thread ]</A>
|
|
<A HREF="subject.html#11">[ subject ]</A>
|
|
<A HREF="author.html#11">[ author ]</A>
|
|
</UL>
|
|
<HR NOSHADE><P>
|
|
<!-- body="start" -->
|
|
<P>
|
|
<EM>> /dev/sg0 and /dev/sga are synonymous (with the former now preferred).
|
|
</EM><BR>
|
|
<EM>> /dev/scanner, if present, should be a symbolic link to the preferred
|
|
</EM><BR>
|
|
<EM>> scanner device.
|
|
</EM><BR>
|
|
Correct. It's just a symbolic link.
|
|
<BR>
|
|
<P><P><P><EM>> In lk 2.4 the sg driver will announce seeing a
|
|
</EM><BR>
|
|
<EM>> scanner device with a message like:
|
|
</EM><BR>
|
|
<EM>> Detected scsi generic sg0 at scsi1, channel 0, id 5, lun 0, type 6
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> where as in lk 2.2 it will say:
|
|
</EM><BR>
|
|
<EM>> Detected scsi generic sga at scsi1, channel 0, id 5, lun 0
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> [Note that HP use type 3 ("Processor") for scanners.]
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> To further confuse things lk 2.4 optionally supports a device pseudo
|
|
</EM><BR>
|
|
<EM>> file system in which the actual device will be found at:
|
|
</EM><BR>
|
|
<EM>> /dev/scsi/host1/bus0/target5/lun0/generic
|
|
</EM><BR>
|
|
<EM>> With luck most distros will set up the devfs daemon to make /dev/sg0 ,
|
|
</EM><BR>
|
|
<EM>> /dev/sga be symbolic links to the appropriate generic device. Ide
|
|
</EM><BR>
|
|
<EM>> devices (and perhaps usb devices, I haven't checked) use a similar
|
|
</EM><BR>
|
|
<EM>> naming convention.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> > Another odd thing I found (I don't know if it's related), is when I run
|
|
</EM><BR>
|
|
<EM>> > the scsi_info tool on /dev/sga. The result is the following :
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > SCSI_ID="0,3,0"
|
|
</EM><BR>
|
|
<EM>> > MODEL="Direct-A "
|
|
</EM><BR>
|
|
<EM>> > FW_REV="SCSI"
|
|
</EM><BR>
|
|
<EM>> >
|
|
</EM><BR>
|
|
<EM>> > That should say something like what can be found in the /proc/scsi/scsi
|
|
</EM><BR>
|
|
<EM>> > file as far as I know, which would make me expect that model would be
|
|
</EM><BR>
|
|
<EM>> > C5110A instead of Direct-A .....
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> This is confusing. Eric Youngdale has written a tool called
|
|
</EM><BR>
|
|
<EM>> "scsiinfo" that outputs mode page information about scsi
|
|
</EM><BR>
|
|
<EM>> devices (and I have a variant called "sginfo" which is
|
|
</EM><BR>
|
|
<EM>> equivalent). "scsiinfo -i /dev/sg0" yields the correct
|
|
</EM><BR>
|
|
<EM>> inquiry information.
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> The "scsi_info" (1.12 1999/07/20 16:04:26) is an unrelated
|
|
</EM><BR>
|
|
<EM>> program that tries to analyse the output of /proc/scsi/scsi.
|
|
</EM><BR>
|
|
<EM>> On my system (running a 2.3.99-pre3 kernel):
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> $ cat /proc/scsi/scsi
|
|
</EM><BR>
|
|
<EM>> Attached devices:
|
|
</EM><BR>
|
|
<EM>> Host: scsi0 Channel: 00 Id: 06 Lun: 00
|
|
</EM><BR>
|
|
<EM>> Vendor: YAMAHA Model: CRW4416S Rev: 1.0g
|
|
</EM><BR>
|
|
<EM>> Type: CD-ROM ANSI SCSI revision: 02
|
|
</EM><BR>
|
|
<EM>> Host: scsi1 Channel: 00 Id: 00 Lun: 00
|
|
</EM><BR>
|
|
<EM>> Vendor: IBM Model: DCHS04U Rev: 2727
|
|
</EM><BR>
|
|
<EM>> Type: Direct-Access ANSI SCSI revision: 02
|
|
</EM><BR>
|
|
<EM>> Host: scsi1 Channel: 00 Id: 02 Lun: 00
|
|
</EM><BR>
|
|
<EM>> Vendor: IBM Model: DCHS04U Rev: 2727
|
|
</EM><BR>
|
|
<EM>> Type: Direct-Access ANSI SCSI revision: 02
|
|
</EM><BR>
|
|
<EM>> Host: scsi3 Channel: 00 Id: 02 Lun: 00
|
|
</EM><BR>
|
|
<EM>> Vendor: PIONEER Model: DVD-ROM DVD-303 Rev: 1.10
|
|
</EM><BR>
|
|
<EM>> Type: CD-ROM ANSI SCSI revision: 02
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> Now let's try scsi_info on the 4 scsi devices:
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> $ ./scsi_info /dev/sg0
|
|
</EM><BR>
|
|
<EM>> could not find SCSI host in /proc/scsi: Success
|
|
</EM><BR>
|
|
<EM>> SCSI_ID="0,6,0"
|
|
</EM><BR>
|
|
<EM>> MODEL="CD-ROM "
|
|
</EM><BR>
|
|
<EM>> FW_REV="SCSI"
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> $ ./scsi_info /dev/sg1
|
|
</EM><BR>
|
|
<EM>> SCSI_ID="0,0,0"
|
|
</EM><BR>
|
|
<EM>> MODEL="CD-ROM "
|
|
</EM><BR>
|
|
<EM>> FW_REV="SCSI"
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> $ ./scsi_info /dev/sg2
|
|
</EM><BR>
|
|
<EM>> SCSI_ID="0,2,0"
|
|
</EM><BR>
|
|
<EM>> MODEL="CD-ROM "
|
|
</EM><BR>
|
|
<EM>> FW_REV="SCSI"
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> $ ./scsi_info /dev/sg3
|
|
</EM><BR>
|
|
<EM>> could not find SCSI host in /proc/scsi: Success
|
|
</EM><BR>
|
|
<EM>> SCSI_ID="0,2,0"
|
|
</EM><BR>
|
|
<EM>> MODEL="CD-ROM "
|
|
</EM><BR>
|
|
<EM>> FW_REV="SCSI"
|
|
</EM><BR>
|
|
<EM>>
|
|
</EM><BR>
|
|
<EM>> The output is wrong and/or misleading in all 4 cases.
|
|
</EM><BR>
|
|
<EM>> "scsi_info" needs to be retired or fixed. I'll take
|
|
</EM><BR>
|
|
<EM>> the subject up with its author.
|
|
</EM><BR>
|
|
You seem to get similar results too. I'm glad it's not just my system.
|
|
<BR>
|
|
<P><P><EM>> I don't think this has any bearing on your problem.
|
|
</EM><BR>
|
|
Correct. Thanks to a tip from peter the problem is now solved on my
|
|
<BR>
|
|
system.
|
|
<BR>
|
|
Thanks for your help.
|
|
<BR>
|
|
<P>Rogier
|
|
<BR>
|
|
<P><PRE>
|
|
--
|
|
Source code, list archive, and docs: <A HREF="http://www.mostang.com/sane/">http://www.mostang.com/sane/</A>
|
|
To unsubscribe: echo unsubscribe sane-devel | mail <A HREF="mailto:majordomo@mostang.com?Subject=Re:%20SYM22801%20&%20HP%20Scanjet%205P%20Sane%20problems...&In-Reply-To=<38E6F908.56C32AD5@wight.penguinpowered.com>">majordomo@mostang.com</A>
|
|
</PRE>
|
|
<P><!-- body="end" -->
|
|
<HR NOSHADE>
|
|
<UL>
|
|
<!-- next="start" -->
|
|
<LI><STRONG>Next message:</STRONG> <A HREF="0012.html">Henning Meier-Geinitz: "Re: xscanimage, xsane and 3-pass scanners"</A>
|
|
<LI><STRONG>Previous message:</STRONG> <A HREF="0010.html">Rogier Stam: "Re: SYM22801 & HP Scanjet 5P Sane problems..."</A>
|
|
<!-- nextthread="start" -->
|
|
<!-- reply="end" -->
|
|
<LI><STRONG>Messages sorted by:</STRONG>
|
|
<A HREF="date.html#11">[ date ]</A>
|
|
<A HREF="index.html#11">[ thread ]</A>
|
|
<A HREF="subject.html#11">[ subject ]</A>
|
|
<A HREF="author.html#11">[ author ]</A>
|
|
</UL>
|
|
<!-- trailer="footer" -->
|
|
<HR NOSHADE>
|
|
<P>
|
|
<SMALL>
|
|
<EM>
|
|
This archive was generated by <A HREF="http://www.hypermail.org/">hypermail 2b29</A>
|
|
: <EM>Sun Apr 02 2000 - 00:38:33 PST</EM>
|
|
</EM>
|
|
</SMALL>
|
|
</BODY>
|
|
</HTML>
|