Re: [SLUG] Scanner Setup

From: Frank Roberts - SOTL (sotl155360@earthlink.net)
Date: Wed Aug 07 2002 - 20:47:28 EDT


First thanks all for their help and an especially thanks to Logan.

As can be sumarized by the fact that I am making this post I still do not have
the scanner functioning. Sad part is that with help from the group it was
functioning using RH 7.2 but that installation was totally destroyed with a
few problems incurred with this box on a job site in Arziona.

Unfortunately I never understood exactly what was done to make the scanner
function but I am determined to master that.

Anyway the following has been done.

> First, use dmesg, to make sure your scanner was recognized. It will say
> something to the effect of HP Scanjet sg0 (scsi generic 0)

Well I don't get this. For a listing of the out of dmesg see the end of
Logan's advie and my responses.

> Next, you need to go to your sane directory and modify a few files.
> On my machine sane is located in /opt/sane-1.0.6

On a RH 7.3 box these files are located at /etc/sane.d

> edit hp.conf and make sure it says scsi hp

It does.

> and also the device indicated by the dmesg from above e.g. /dev/sg0

It does - now.
>
> edit net.conf and ensure everything is commented out since your scanner
> is hooked up locally.

This file was empty.

> edit dll.conf and comment everything out except hp and pnm.

It does - now.

> I like to leave pnm uncommented to help out when we
> run a test to make sure the scanner is recognized.

It is uncommented.

> edit saned.conf and make sure localhost and the HOSTNAME of your machine
> is there

saned config contains:
localhost
localhost.localdomain
It does not contail a hostname as I never configured the box with a host name.

> Make sure you have the follow line in your /etc/services

This was not in /ets/service; it is now.
> sane 6566/tcp # insane scanner daemon
>
> Make sure you have this in inetd.conf if you wish to have a client
> machine use the scanner:
The box is not networked.
>
> sane stream tcp nowait root /usr/local/sbin/saned saned
>
> Note: If you made ajustments to your /etc/services and /etc/inetd.conf
> you should probably reboot but most definitely restart your inetd.

It has been rebooted numerous times with the scanner power on to no avail.

> Now cd /opt/sane(yourversion)/bin and type the following command:
>
> scanimage -L'
This command does not recognize that there is a scanner on the system so the
following command has been issued:

sane-find-scanner
 and then scanimage reissued. Again no scanner found.

>
> You should definitely see the pnm and hopefully find your scanner. ;-)
>
> Hope this was helpful and not incessant rambling, as my coffee still
> isn't kicking in yet!

So far great but I think there is another problem.

Below is the line is output of dmesg.

----------------------------------------------------
Linux version 2.4.18-3 (bhcompile@porky.devel.redhat.com) (gcc version
2.96 20000731 (Red Hat Linux 7.3 2.96-110)) #1 Thu Apr 18 07:32:41 EDT
2002 BIOS-provided physical RAM map:
 BIOS-e820: 0000000000000000 - 000000000009fc00 (usable)
 BIOS-e820: 000000000009fc00 - 00000000000a0000 (reserved)
 BIOS-e820: 00000000000f0000 - 0000000000100000 (reserved)
 BIOS-e820: 0000000000100000 - 0000000012ff0000 (usable)
 BIOS-e820: 0000000012ff0000 - 0000000012ff3000 (ACPI NVS)
 BIOS-e820: 0000000012ff3000 - 0000000013000000 (ACPI data)
 BIOS-e820: 00000000ffff0000 - 0000000100000000 (reserved)
On node 0 totalpages: 77808
zone(0): 4096 pages.
zone(1): 73712 pages.
zone(2): 0 pages.
Kernel command line: auto BOOT_IMAGE=linux ro root=1605
BOOT_FILE=/boot/vmlinuz-2.4.18-3 hdb=ide-scsi
ide_setup: hdb=ide-scsi
Local APIC disabled by BIOS -- reenabling.
Found and enabled local APIC!
Initializing CPU#0
Detected 849.617 MHz processor.
Console: colour VGA+ 80x25
Calibrating delay loop... 1690.82 BogoMIPS
Memory: 303772k/311232k available (1125k kernel code, 7072k reserved,
802k data, 296k init, 0k highmem)
Dentry cache hash table entries: 65536 (order: 7, 524288 bytes)
Inode cache hash table entries: 32768 (order: 6, 262144 bytes)
Mount-cache hash table entries: 8192 (order: 4, 65536 bytes)
Buffer cache hash table entries: 16384 (order: 4, 65536 bytes)
Page-cache hash table entries: 131072 (order: 7, 524288 bytes)
CPU: Before vendor init, caps: 0183fbff c1c7fbff 00000000, vendor = 2
CPU: L1 I Cache: 64K (64 bytes/line), D cache 64K (64 bytes/line)
CPU: L2 Cache: 256K (64 bytes/line)
CPU: After vendor init, caps: 0183fbff c1c7fbff 00000000 00000000
Intel machine check architecture supported.
Intel machine check reporting enabled on CPU#0.
CPU: After generic, caps: 0183fbff c1c7fbff 00000000 00000000
CPU: Common caps: 0183fbff c1c7fbff 00000000 00000000
CPU: AMD Athlon(tm) Processor stepping 02
Enabling fast FPU save and restore... done.
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
mtrr: v1.40 (20010327) Richard Gooch (rgooch@atnf.csiro.au)
mtrr: detected mtrr type: Intel
PCI: PCI BIOS revision 2.10 entry at 0xfb250, last bus=1
PCI: Using configuration type 1
PCI: Probing PCI hardware
Disabling VIA memory write queue (PCI ID 0305, rev 02): [55] 89 & 1f ->
09 Unknown bridge resource 0: assuming transparent
PCI: Using IRQ router VIA [1106/0686] at 00:07.0
Applying VIA southbridge workaround.
PCI: Disabling Via external APIC routing
isapnp: Scanning for PnP cards...
isapnp: No Plug & Play device found
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Initializing RT netlink socket
apm: BIOS version 1.2 Flags 0x07 (Driver version 1.16)
Starting kswapd
VFS: Diskquotas version dquot_6.5.0 initialized
pty: 2048 Unix98 ptys configured
Serial driver version 5.05c (2001-07-08) with MANY_PORTS MULTIPORT
SHARE_IRQ SERIAL_PCI ISAPNP enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS01 at 0x02f8 (irq = 3) is a 16550A
PCI: Found IRQ 9 for device 00:09.0
IRQ routing conflict for 00:07.5, have irq 11, want irq 9
Redundant entry in serial pci_table. Please send the output of
lspci -vv, this message (12b9,1008,12b9,00d3)
and the manufacturer and name of serial board or modem board
to serial-pci-info@lists.sourceforge.net.
ttyS04 at port 0xdc00 (irq = 9) is a 16550A
Real Time Clock Driver v1.10e
block: 576 slots per queue, batch=144
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with
idebus=xx VP_IDE: IDE controller on PCI bus 00 dev 39
VP_IDE: chipset revision 6
VP_IDE: not 100% native mode: will probe irqs later
VP_IDE: VIA vt82c686b (rev 40) IDE UDMA100 controller on pci00:07.1
    ide0: BM-DMA at 0xc000-0xc007, BIOS settings: hda:DMA, hdb:DMA
    ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdc:DMA, hdd:DMA
hda: FX4830T, ATAPI CD/DVD-ROM drive
hdb: SONY CD-RW CRX175E2, ATAPI CD/DVD-ROM drive
hdc: WDC WD200BB-00AUA1, ATA DISK drive
hdd: IBM-DTLA-307045, ATA DISK drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
ide1 at 0x170-0x177,0x376 on irq 15
hdc: 39102336 sectors (20020 MB) w/2048KiB Cache, CHS=38792/16/63,
UDMA(33) hdd: 66055248 sectors (33820 MB) w/1916KiB Cache,
CHS=65531/16/63, UDMA(33) ide-floppy driver 0.99.newide
Partition check:
 hdc: [PTBL] [2434/255/63] hdc1 hdc2 < hdc5 hdc6 hdc7 >
 hdd: [PTBL] [4111/255/63] hdd1
Floppy drive(s): fd0 is 1.44M
FDC 0 is a post-1991 82077
RAMDISK driver initialized: 16 RAM disks of 4096K size 1024 blocksize
ide-floppy driver 0.99.newide
md: md driver 0.90.0 MAX_MD_DEVS=256, MD_SB_DISKS=27
md: Autodetecting RAID arrays.
md: autorun ...
md: ... autorun DONE.
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP, IGMP
IP: routing cache hash table of 2048 buckets, 16Kbytes
TCP: Hash tables configured (established 32768 bind 32768)
Linux IP multicast router 0.06 plus PIM-SM
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
RAMDISK: Compressed image found at block 0
Freeing initrd memory: 178k freed
VFS: Mounted root (ext2 filesystem).
SCSI subsystem driver Revision: 1.00
kmod: failed to exec /sbin/modprobe -s -k scsi_hostadapter, errno = 2

***** Is this a problem ? *****

PCI: Found IRQ 11 for device 00:0e.0
IRQ routing conflict for 00:07.2, have irq 5, want irq 11
IRQ routing conflict for 00:07.3, have irq 5, want irq 11
scsi0 : Adaptec AIC7XXX EISA/VLB/PCI SCSI HBA DRIVER, Rev 6.2.5
        <Adaptec 2902/04/10/15/20/30C SCSI adapter>
        aic7850: Single Channel A, SCSI Id=7, 3/253 SCBs

***** Shouldn't the recognination of the SCSI-devices appear here? *****

Freeing unused kernel memory: 296k freed
Adding Swap: 1028120k swap-space (priority -1)
usb.c: registered new driver usbdevfs
usb.c: registered new driver hub
usb-uhci.c: $Revision: 1.275 $ time 07:48:41 Apr 18 2002
usb-uhci.c: High bandwidth mode enabled
PCI: Found IRQ 11 for device 00:07.2
IRQ routing conflict for 00:07.2, have irq 5, want irq 11
IRQ routing conflict for 00:07.3, have irq 5, want irq 11

***** Is there a problem here? *****

PCI: Sharing IRQ 11 with 00:0e.0
usb-uhci.c: USB UHCI at I/O 0xc400, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 1
hub.c: USB hub found
hub.c: 2 ports detected
PCI: Found IRQ 11 for device 00:07.3
IRQ routing conflict for 00:07.2, have irq 5, want irq 11
IRQ routing conflict for 00:07.3, have irq 5, want irq 11

***** Is there a problem here? *****

PCI: Sharing IRQ 11 with 00:0e.0
usb-uhci.c: USB UHCI at I/O 0xc800, IRQ 5
usb-uhci.c: Detected 2 ports
usb.c: new USB bus registered, assigned bus number 2
hub.c: USB hub found
hub.c: 2 ports detected
usb-uhci.c: v1.275:USB Universal Host Controller Interface driver
Journalled Block Device driver loaded
kjournald starting. Commit interval 5 seconds
EXT3 FS 2.4-0.9.17, 10 Jan 2002 on ide1(22,65), internal journal
EXT3-fs: mounted filesystem with ordered data mode.
Uniform CD-ROM driver unloaded
scsi1 : SCSI host adapter emulation for IDE ATAPI devices
  Vendor: MITSUMI Model: CD-ROM FX4830T!B Rev: R02C
  Type: CD-ROM ANSI SCSI revision: 02
  Vendor: SONY Model: CD-RW CRX175E2 Rev: S002
  Type: CD-ROM ANSI SCSI revision: 02

***** Shouldn't this one shows the attached *****
***** "SCSI"-devices not the *****
***** ide-scsi-emulation ? *****

hda: DMA disabled
hdb: DMA disabled
parport0: PC-style at 0x378 [PCSPP,EPP]
parport0: Printer, HEWLETT-PACKARD DESKJET 890C
parport_pc: Via 686A parallel port: io=0x378
ip_conntrack (2431 buckets, 19448 max)
8139too Fast Ethernet driver 0.9.24
PCI: Found IRQ 10 for device 00:0c.0
eth0: RealTek RTL8139 Fast Ethernet at 0xd3943000, 00:e0:7d:a8:5c:a9, IRQ
10 eth0: Identified 8139 chip type 'RTL-8139C'
parport0: PC-style at 0x378 [PCSPP,EPP]
parport0: Printer, HEWLETT-PACKARD DESKJET 890C
parport_pc: Via 686A parallel port: io=0x378
lp0: using parport0 (polling).
lp0: console ready
Via 686a audio driver 1.9.1
PCI: Found IRQ 9 for device 00:07.5
IRQ routing conflict for 00:07.5, have irq 11, want irq 9
PCI: Sharing IRQ 9 with 00:09.0
ac97_codec: AC97 Audio codec, id: 0x4943:0x4511 (ICE1232)
via82cxxx: board #1 at 0xCC00, IRQ 11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
via_audio: ignoring drain playback error -11
CSLIP: code copyright 1989 Regents of the University of California
PPP generic driver version 2.4.2
PPP Deflate Compression module registered
via_audio: ignoring drain playback error -11
__________________________________

Thanks again for the help.

Frank



This archive was generated by hypermail 2.1.3 : Fri Aug 01 2014 - 16:01:17 EDT