Scanner and Fedora Core 1

David L Norris dave at webaugur.com
Fri Nov 28 21:30:38 UTC 2003


On Fri, 2003-11-28 at 13:06, bengt.lindholm at salnet.fi wrote:
> > My Umax PL-II worked fine with RedHat 9 out of the box. Then I
> > installed Fedora from scratch and even as root the "sane-find-scanner"
> > does not find anythig. Fedora knows, that the sacnner is there
> > (scanner -> sg1). I uninstalled the old sane-backends, got the latest
> > from sane-project.org and configured it. The same result.
> 
> I installe once more the sane-backends: the same result.

I had similar problems.  Is your scanner on a physical SCSI interface? 
Looks like it is SCSI based on your previous email.  While trying to
determine my problem I caused the SCSI bus to go offline several times. 
All the SCSI devices on that bus disappeared, of course.  If that seems
to be the problem then shut down the machine, boot back up, then
immediately run sane-find-scanner (or "cdrecord -scanbus" or "cat
/proc/scsi/scsi") as root.  If you still don't see the scanner then
something else is obviously wrong.

If you see the devices and everything seems like it should be working
correctly then check permissions on the /dev/sg* devices.  Permissions
are probably 0660 owned by root.disk.  So, add users who need SCSI
generic access to the "disk" group (then logout and login so it takes
effect for you).


Maybe /usr/sbin/saned was set uid root in RH9?  /dev/sg* probably should
be added to console.perms.  Or if it's already in there then the
permissions probably need some tweaking.  Something isn't quite right
for sure.  I've not looked at Bugzilla to see if there's any mention of
this.

> >From system log: kernel: scsi1: AdvanSys SCSI 3.3G: PCI Ultra: IO 0x2000-0x200F, IRQ 0x3. kernel:Vendor: UMAX Model: PL-II Rev:V1.5 Type: Scanner ANSI SCSI revision: 02. kernel: Attached scsi generic sg1 at scsi1, channel 0, id 5, lun 0, type 6. kernel: scsi: 1 host left.
> 
> In /proc/scsi/ there are: dr-xr-xr-x 2 root root 0 Nov 28 ide-scsi, -r--r--r-- 1 root root 0 Nov 28 scsi, dr-xr-xr-x 2 root root 0 Nov 28 sg. Those contain one dvd-player and one cd-writer. But no scanner.
> 
> Looks like I'm in deep waters here. Anybody there with a line or two?

Not sure...  You should see all SCSI devices under subdirectories of
/proc/scsi

Here's my list of SCSI devices.  scsi0 00,06,00 is a Hewlett Packard
Scanjet 5P SCSI scanner and scsi4 00,00,00 is a Microtek Slimscan C6 USB
scanner.  Both work great now that I've fixed the permissions.

$ cat /proc/scsi/scsi
Attached devices:
Host: scsi0 Channel: 00 Id: 02 Lun: 00
  Vendor: SyQuest  Model: SyJet-S          Rev: 0118
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi0 Channel: 00 Id: 06 Lun: 00
  Vendor: HP       Model: C5110A           Rev: 3638
  Type:   Processor                        ANSI SCSI revision: 02
Host: scsi1 Channel: 00 Id: 00 Lun: 00
  Vendor: SanDisk  Model: ImageMate II     Rev: 1.30
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi2 Channel: 00 Id: 00 Lun: 00
  Vendor: USB 2.0  Model: Storage Device   Rev: 0100
  Type:   Direct-Access                    ANSI SCSI revision: 02
Host: scsi3 Channel: 00 Id: 00 Lun: 00
  Vendor: CDWRITER Model: IDE5224          Rev: S027
  Type:   CD-ROM                           ANSI SCSI revision: 02
Host: scsi4 Channel: 00 Id: 00 Lun: 00
  Vendor:          Model: Scanner 600A4    Rev: 1.23
  Type:   Scanner                          ANSI SCSI revision: 02

-- 
 David Norris
  http://www.webaugur.com/dave/
  ICQ - 412039
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
Url : http://lists.fedoraproject.org/pipermail/users/attachments/20031128/5a2ce182/attachment-0002.bin 


More information about the users mailing list