Laura Conrad wrote:
>
> >>>>> "Pierre" == Pierre Fortin <[EMAIL PROTECTED]> writes:
>
> >> It looks like the scanner should be at
> >> /dev/scsi/host0/bus0/target5/lun0/<something>, but that directory is
> >> empty. What program is supposed to create the "generic" entry that you
> >> have?
> >>
> >> I also don't have any links from sg<n> to the /dev/scsi/... files.
>
> Pierre> AFAIK, the entries are automatic at bootup if the scanner is on.
>
> No, not on my system.
>
> Pierre> If not, doing:
>
> Pierre> echo "scsi add-single-device 0 0 5 0" > /proc/scsi/scsi
>
> Pierre> would do it after bootup... the numbers refer to the
> Pierre> above host/bus/target/lun numbers.
>
> That doesn't give any errors, but doesn't produce a file, either.
>
> Pierre> See also, /usr/src/linux/scsi-generic.txt
>
> It's greek to me. As I said, the scanner stuff has "just worked" for
> me on several revs of Mandrake, so I have no idea what's supposed to
> be making these devices, or what could have screwed it up.
Time to see the relavent parts from "dmesg" and "lsmod"... if original dmesg
bootup stuff has been overwritten, then check /var/log/dmesg (samples below)
> When I reboot HardDrake says "Checking for new hardware", but then
> doesn't see anything. Is there a way to tell HardDrake that it
> doesn't know about the scanner, so that it will think it's new and do
> its thing again? And see if it's the correct thing this time?
I wouldn't put much stock in HardDrake... while it sees my SCSI devices (4 HDs,
2 tapes, 1 scanner), it doesn't see the SCSI adapter itself...
What my /var/log/dmesg has:
SCSI subsystem driver Revision: 1.00
aha152x: BIOS test: passed, auto configuration: ok, detected 1 controller(s)
aha152x: resetting bus...
aha152x0: vital data: rev=1, io=0x340 (0x340/0x340), irq=9, scsiid=7,
reconnect=enabled, parity=enabled, synchronous=enabled, delay=1000, extended
translation=disabled
aha152x0: trying software interrupt, ok.
scsi0 : Adaptec 152x SCSI driver; $Revision: 2.4 $
(scsi0:5:0) Synchronous Data Transfer Request was rejected
Vendor: UMAX Model: Astra 2400S Rev: V1.4
Type: Scanner ANSI SCSI revision: 02
and from lsmod:
sr_mod 14720 0 (autoclean) (unused)
sg 29680 0 (autoclean)
st 27024 0 (unused)
ide-scsi 8224 0
aha152x 32556 5
sd_mod 11540 5
scsi_mod 95548 6 [sr_mod sg st ide-scsi aha152x sd_mod]
^^ ^^^^^^^
In this case, scsi_mod lists the other modules that use it; sg and aha152x are
the important ones for my scanner...
HTH,
Pierre
Want to buy your Pack or Services from MandrakeSoft?
Go to http://www.mandrakestore.com