Mailinglist Archive: opensuse (4547 mails)

< Previous Next >
Re: [SLE] SCSI scanners
  • From: David Johanson <dcjohan@xxxxxxxxxxx>
  • Date: Mon, 17 May 2004 18:28:33 -0400
  • Message-id: <40A93C91.60503@xxxxxxxxxxx>
Frits Wüthrich wrote:
On my SuSE9.1 system, I am not able to configure my SCSI scanner through YAST. It didn't detect a scanner automatically, and then asks to select a scanner from the list below, but the window which should show the options is completely empty.
When I type in lsscsi I get:

[0:0:2:0] scanner Color FlatbedScanner_9 0062 -
[0:0:3:0] scanner Color FilmScanner____1 0092 -

At least the flatbed should be accasible, it worked fine under SuSE8.1, and even on this system with Vuescan which fine with both scanners.

Any suggestions?>
Frits Wüthrich

Evening Frits -

Normally I wouldn't bottom post, I think it's a huge waste of effort, but just in case others are following, I'll try to "conform" to something I despise.

For starters, you say yast doesn't detect your scanners of I'm reading you correctly,. so let's start with a question and then by running an initial command. Since you have SCSI devices, you will require generic SCSI support, enabled in the kernel which 9.1 should offer as default, to get the scanner(s) to show up as a /dev/sg* character device. So run,as root,"cdrecord -scanbus" without the quotes.

Do the scanners show up? Below is my output on this mail box.

pcp09513812pcs:~ # cdrecord -scanbus
Cdrecord 1.9 (i686-suse-linux) Copyright (C) 1995-2000 Jörg Schilling
Linux sg driver version: 2.1.39
Using libscg version 'schily-0.1'
scsibus0:
0,0,0 0) *
0,1,0 1) *
0,2,0 2) *
0,3,0 3) *
0,4,0 4) *
0,5,0 5) *
0,6,0 6) *
0,7,0 7) *
0,12,0 12) 'ZJCS ' 'ZJCS2-73GB ' 'S5BN' Disk
0,13,0 13) 'IBM ' 'DDYS-T18350N ' 'S93E' Disk


Now, still as root, run "sgcheck". Again, my results are below.

pcp09513812pcs:~ # sgcheck

Assignment of generic SCSI devices,
device host/channel/ID/LUN type(numeric type) vendor model:

(device) (Host/channel/ID/LUN) (Type) (Vender) (Make) <----
/dev/sg0 0/0/12/0 Direct-Access ZJCS ZJCS2-73GB
/dev/sg1 0/0/13/0 Direct-Access IBM DDYS-T18350N

I added the <---- line just for clarity, you won't get it when you run the command.

Now give everyone permission to use the scanner. Still as root, run:
chmod 777 /dev/sg*
where is * was provided to you by the sgcheck output.

Still with me? O.K., now check to see that your user can see the scanner by running, as the USER, NOT root:
scanimage -L

This will ask scanimage, a command-line scanning program, to list the scanners it can see. Although I don't have a scanner hooked to this mail box, on the box with one of my c=scanners, a Umax AStra 2200 I get the following:
"umax:/dev/sg5" is a Umax Astra 2200 flatbed scanner.

Does this help? Yes, No?

Give all this a go and then let me know what happened in each step. Perhaps the best way to reply would be in-line so that your results will easily correspond to my directions. I'm going to log out for a while to work on another box; I'll check back in about 30 - 45 minutes.

dave


--
David C. Johanson
Linux Counter # 116410
Powered by SuSE Linux 7.1

People who behold a phenomenon will often extend their thinking beyond
it; people who merely hear about the phenomenon will not be moved to
think at all. -- Goethe


< Previous Next >
Follow Ups
References