plustek: Genius ColorPage Vivid3X and Plustek driver


Previous by date: 9 Aug 2001 19:01:45 -0000 Re: Genius ColorPage Vivid3X and Plustek driver, Jaeger, Gerhard
Next by date: 9 Aug 2001 19:01:45 -0000 Re: #9630PL, John Preston
Previous in thread: 9 Aug 2001 19:01:45 -0000 Re: Genius ColorPage Vivid3X and Plustek driver, Jaeger, Gerhard
Next in thread: 9 Aug 2001 19:01:45 -0000 Genius ColorPage Vivid3X and Plustek driver, felipe

Subject: Re: Genius ColorPage Vivid3X and Plustek driver
From: Andreas Funke ####@####.####
Date: 9 Aug 2001 19:01:45 -0000
Message-Id: <3B72DE0B.20202@netscape.net>

Output of dmesg:

VGA+ 80x25
Calibrating delay loop... 466.94 BogoMIPS
Memory: 122912k/126976k available (857k kernel code, 3676k reserved, 
301k data, 184k init, 0k highmem)
Dentry-cache hash table entries: 16384 (order: 5, 131072 bytes)
Buffer-cache hash table entries: 4096 (order: 2, 16384 bytes)
Page-cache hash table entries: 32768 (order: 5, 131072 bytes)
Inode-cache hash table entries: 8192 (order: 4, 65536 bytes)
CPU: Before vendor init, caps: 008001bf 00000000 00000000, vendor = 0
Intel Pentium with F0 0F bug - workaround enabled.
CPU: After vendor init, caps: 008001bf 00000000 00000000 00000000
CPU: After generic, caps: 008001bf 00000000 00000000 00000000
CPU: Common caps: 008001bf 00000000 00000000 00000000
CPU: Intel Pentium MMX stepping 03
Checking 'hlt' instruction... OK.
POSIX conformance testing by UNIFIX
PCI: PCI BIOS revision 2.10 entry at 0xfdb91, last bus=0
PCI: Using configuration type 1
PCI: Probing PCI hardware
Disabling direct PCI/PCI transfers.
Linux NET4.0 for Linux 2.4
Based upon Swansea University Computer Society NET3.039
Starting kswapd v1.8
0x378: FIFO is 16 bytes
0x378: writeIntrThreshold is 16
0x378: readIntrThreshold is 16
0x378: PWord is 8 bits
0x378: Interrupts are ISA-Pulses
0x378: ECP port cfgA=0x10 cfgB=0x40
0x378: ECP settings irq=<none or set by other means> dma=<none or set by 
other means>
parport0: PC-style at 0x378 (0x778) [PCSPP,TRISTATE,COMPAT,ECP]
parport0: irq 7 detected
parport0: cpp_daisy: aa5500ff(30)
parport0: assign_addrs: aa5500ff(30)
parport0: cpp_daisy: aa5500ff(30)
parport0: assign_addrs: aa5500ff(30)
pty: 256 Unix98 ptys configured
block: queued sectors max/low 81626kB/27208kB, 256 slots per queue
Uniform Multi-Platform E-IDE driver Revision: 6.31
ide: Assuming 33MHz system bus speed for PIO modes; override with idebus=xx
SIS5513: IDE controller on PCI bus 00 dev 09
PCI: No IRQ known for interrupt pin A of device 00:01.1. Please try 
using pci=biosirq.
SIS5513: chipset revision 208
SIS5513: not 100% native mode: will probe irqs later
SiS5597
     ide0: BM-DMA at 0x4000-0x4007, BIOS settings: hda:pio, hdb:pio
     ide1: BM-DMA at 0x4008-0x400f, BIOS settings: hdc:pio, hdd:pio
hda: QUANTUM FIREBALL CR13.0A, ATA DISK drive
hdb: IDE/ATAPI CD-ROM, ATAPI CD/DVD-ROM drive
ide0 at 0x1f0-0x1f7,0x3f6 on irq 14
hda: 25429824 sectors (13020 MB) w/418KiB Cache, CHS=1582/255/63, UDMA(33)
hdb: ATAPI 16X CD-ROM drive, 128kB Cache, UDMA(33)
Uniform CD-ROM driver Revision: 3.12
Partition check:
  hda: hda1 hda2 hda3 < hda5 hda6 hda7 >
Floppy drive(s): fd0 is 1.44M
FDC 0 is an 8272A
Serial driver version 5.05a (2001-03-20) with MANY_PORTS SHARE_IRQ 
SERIAL_PCI enabled
ttyS00 at 0x03f8 (irq = 4) is a 16550A
ttyS03 at 0x02e8 (irq = 3) is a 16550A
PPP generic driver version 2.4.1
PPP Deflate Compression module registered
NET4: Linux TCP/IP 1.0 for NET4.0
IP Protocols: ICMP, UDP, TCP
IP: routing cache hash table of 512 buckets, 4Kbytes
TCP: Hash tables configured (established 8192 bind 8192)
NET4: Unix domain sockets 1.0/SMP for Linux NET4.0.
VFS: Mounted root (ext2 filesystem) readonly.
Freeing unused kernel memory: 184k freed
Adding Swap: 128484k swap-space (priority -1)
MSDOS FS: IO charset iso8859-1
fatso: FAT-bug corrector v0.3 ####@####.####
fatso: FAT-bug workaround enabled
lp0: using parport0 (polling).
isapnp: Scanning for PnP cards...
isapnp: Calling quirk for 01:03
isapnp: CMI8330 quirk - fixing interrupts and dma
isapnp: Card 'CMI8330. Audio Adapter'
isapnp: 1 Plug & Play card detected total
Loading Lucent Modem Controller driver version 5.95a
Detected Parameters Irq=11 BaseAddress=0xf000
Lucent Modem Interface driver version 5.95a (2001-01-26) with SHARE_IRQ 
SERIAL_PCI ISAPNP enabled
ttyLT00 at 0xf000 (irq = 11) is a Lucent Modem
Soundblaster audio driver Copyright (C) by Hannu Savolainen 1993-1996
sb: CMI8330. Audio Adapter detected
sb: ISAPnP reports 'CMI8330. Audio Adapter' at i/o 0x220, irq 5, dma 1, 5
SB 4.13 detected OK (220)
<Sound Blaster 16 (4.13)> at 0x220 irq 5 dma 1,5
sb: 1 Soundblaster PnP card(s) found.
ad1848/cs4248 codec driver Copyright (C) by Hannu Savolainen 1993-1996
MSS: Invalid capture DMA
<MS Sound System (SoundPro CMI 8330)> at 0x534 irq 10 dma 7,7
*********************************************
pt_drv: init_module()
pt_drv : driver version 0.39-4
ProcFsInitialize()
ptdrvInit(0)
Init settings done
ScanData = 0xc543c000
Using slow I/O
Requested port at 0x378
Requested port (0x378) found
Port mode reported: (0x005b)
Port for device 0 registered
ptdrvOpen(port=0x378)
Try to claim the parport
parport-modi: SPP PS/2 ECP PS/2(ECP)
Using SPP-mode
Trying faster mode...
Attempting to set PS2 from ECPPS2 mode.
Port is set to (ECP) PS2 bidirectional mode.
Starting Scanner-Autodetection
************ DETECTP48xx ************
ModelSet4800()
modelInitPageSettings()
A4 set
ModelSet4800() done.
P48xxInitAsic()
DacInitialize()
ImageInitialize()
IOFuncInitialize()
IOInitialize()
MotorInitialize()
Dataport = 0x0378
Ctrlport = 0x037a
Test 0x55
Test 0xAA
Compare data=0x77 and status=0x57, port=0x378
p48xxReadWriteTest()
Can't find your model, asic = 0x5a
detectScannerConnection() returns -9031.
************* ASIC9800x *************
IOInitialize()
ASIC = 0x83
IOInitialize()
************* ASIC98003 *************
ModelSetP12()
ModelSet9360()
modelInitPageSettings()
A4 set
ModelSet9630() done.
modelInitPageSettings()
A4 set
ModelSetP12() done.
P12InitAsic()
DacInitialize()
ImageInitialize()
IOFuncInitialize()
IOInitialize()
MotorInitialize()
PCB-ID=0x90, CCD-ID=0x07
Scanner has 2 Button
P12InitAsic() done.
Dataport = 0x0378
Ctrlport = 0x037a
Test 0x55
Test 0xAA
Compare data=0x77 and status=0x37, port=0x378
ioP98ReadWriteTest()
detectScannerConnection() returns 0.
p12SetupScannerVariables()
p12InitP98003(0)
PCB-ID=0x90, CCD-ID=0x07, DAC-TYPE=0x00
Scanner has 2 Button
WOLFSON 8143
CCD-3799
*** setupBuffers ***
Driverbuf(132000 bytes) needed !
pColorRunTab = 0xc88f252c
Adjust for 98003 ASIC
*** DETECTION DONE, result: 0 ***
Switching lamp 0 on.
ptdrvClose()
*** cleanup buffers ***
MiscRestorePort()
Releasing parport
MiscGetModelName - id = 18
pt_drv0: PT12 found on port 0x0378
pt_drv0: Lamp-Timer set to 180 seconds.
pt_drv0: WarmUp period set to 15 seconds.
pt_drv0: Lamp untouched on driver unload.
Lamp-Timer started!
pt_drv : init done, 1 device(s) found
---------------------------------------------
!! IRQ !! Lamp-Timer stopped.
Try to claim the parport
Releasing parport
pt_drv_open()
ioctl(_PTDRV_OPEN_DEVICE)
Lamp-Timer stopped!
Init settings done
Using slow I/O
ptdrvOpen(port=0x378)
Try to claim the parport
parport-modi: SPP PS/2 ECP PS/2(ECP)
Using SPP-mode
Trying faster mode...
Attempting to set PS2 from ECPPS2 mode.
Port is set to (ECP) PS2 bidirectional mode.
Starting Scanner-detection (ASIC 98003)
************* ASIC98003 *************
ModelSetP12()
ModelSet9360()
modelInitPageSettings()
A4 set
ModelSet9630() done.
modelInitPageSettings()
A4 set
ModelSetP12() done.
P12InitAsic()
DacInitialize()
ImageInitialize()
IOFuncInitialize()
IOInitialize()
MotorInitialize()
PCB-ID=0x90, CCD-ID=0x07
Scanner has 2 Button
P12InitAsic() done.
Dataport = 0x0378
Ctrlport = 0x037a
Test 0x55
Test 0xAA
Compare data=0x77 and status=0x37, port=0x378
ioP98ReadWriteTest()
detectScannerConnection() returns 0.
p12SetupScannerVariables()
p12InitP98003(0)
PCB-ID=0x90, CCD-ID=0x07, DAC-TYPE=0x00
Scanner has 2 Button
WOLFSON 8143
CCD-3799
*** setupBuffers ***
Driverbuf(132000 bytes) needed !
pColorRunTab = 0xc884d52c
Adjust for 98003 ASIC
*** DETECTION DONE, result: 0 ***
ioctl(_PTDRV_GET_CAPABILITES)
ioctl(_PTDRV_GET_LENSINFO)
ioctl(_PTDRV_STOP_SCAN)
Waiting for Sensor to be back in position
- done !
ioctl(_PTDRV_CLOSE_DEVICE)
*** cleanup buffers ***
Lamp-Timer started!
pt_drv_close()
ptdrvClose()
MiscRestorePort()
Releasing parport
pt_drv_open()
ioctl(_PTDRV_OPEN_DEVICE)
Lamp-Timer stopped!
Init settings done
Using slow I/O
ptdrvOpen(port=0x378)
Try to claim the parport
parport-modi: SPP PS/2 ECP PS/2(ECP)
Using SPP-mode
Trying faster mode...
Attempting to set PS2 from ECPPS2 mode.
Port is set to (ECP) PS2 bidirectional mode.
Starting Scanner-detection (ASIC 98003)
************* ASIC98003 *************
ModelSetP12()
ModelSet9360()
modelInitPageSettings()
A4 set
ModelSet9630() done.
modelInitPageSettings()
A4 set
ModelSetP12() done.
P12InitAsic()
DacInitialize()
ImageInitialize()
IOFuncInitialize()
IOInitialize()
MotorInitialize()
PCB-ID=0x90, CCD-ID=0x07
Scanner has 2 Button
P12InitAsic() done.
Dataport = 0x0378
Ctrlport = 0x037a
Test 0x55
Test 0xAA
Compare data=0x77 and status=0x37, port=0x378
ioP98ReadWriteTest()
detectScannerConnection() returns 0.
p12SetupScannerVariables()
p12InitP98003(0)
PCB-ID=0x90, CCD-ID=0x07, DAC-TYPE=0x00
Scanner has 2 Button
WOLFSON 8143
CCD-3799
*** setupBuffers ***
Driverbuf(132000 bytes) needed !
pColorRunTab = 0xc884d52c
Adjust for 98003 ASIC
*** DETECTION DONE, result: 0 ***
ioctl(_PTDRV_GET_CAPABILITES)
ioctl(_PTDRV_GET_LENSINFO)
ioctl(_PTDRV_PUT_IMAGEINFO)
imageP98GetInfo()
xyPhyDpi.x = 50, xyPhyDpi.y = 50
crArea.x = 0, crArea.y = 0
crArea.cx = 2539, crArea.cy = 3507
AppLinesPerArea    = 584
AppPixelsPerLine   = 423
AppPhyBytesPerLine = 1269
AppBytesPerLine    = 1269
AsicPixelsPerPlane = 423
AsicBytesPerPlane  = 423
AsicBytesPerLine   = 1269
Physical Bytes     = 423
ioctl(_PTDRV_GET_CROPINFO)
ioctl(_PTDRV_SET_ENV)
imageP98003SetupScanSettings()
imageP98SetupScanSettings()
imageP98GetInfo()
xyPhyDpi.x = 50, xyPhyDpi.y = 50
crArea.x = 0, crArea.y = 0
crArea.cx = 2539, crArea.cy = 3507
AppLinesPerArea    = 584
AppPixelsPerLine   = 423
AppPhyBytesPerLine = 1269
AppBytesPerLine    = 1269
AsicPixelsPerPlane = 423
AsicBytesPerPlane  = 423
AsicBytesPerLine   = 1269
Physical Bytes     = 423
Scan settings:
ImageInfo: (x=0,y=0,dx=2539,dy=3507)
brightness = 0
1. brightness = 111
2. brightness = 144
Sample lines (75 - 50)...
brightness   = 0 -> 0
contrast*100 = 0 -> 100
MapSetupDither() - 3
ioctl(_PTDRV_START_SCAN)
P12SetGeneralRegister()
Using SAME Lamp !
PtDrvRead(741096 bytes)*****************
MonoBuf = 0xc1cdb000[1269], scaleBuf = 0x0
Waiting for Sensor to be back in position
- done !
No warm-up needed
p12Calibration()
dacP98003WaitForShading()
p12InitP98003(1)
PCB-ID=0x90, CCD-ID=0x07, DAC-TYPE=0x00
Scanner has 2 Button
WOLFSON 8143
CCD-3799
DacP98FillShadingDarkToShadingRegister()
wExposure = 80
wXStep    = 5
dacP98003AdjustRGBGain()
dacP98003AdjustRGBGain() - all loops done!!!
dacP98003AdjustDark()
dacP98003AdjustShadingWaveForm()
DacP98FillShadingDarkToShadingRegister()
MotorP98003BackToHomeSensor()
LineCtrl=80, XStepTime=80
p12SetupScanningCondition()
P12SetGeneralRegister()
MinReadFifo=1024, MaxReadFifo=1235
bRefresh = 2
RD_ScanControl = 0x15
RD_Origin = 87, RD_Pixels = 423
MotorP98003PositionYProc()
MotorP98003PositionYProc() - done
dwAppLinesPerArea = 584
dwAppBytesPerLine = 1269
dwLinesToRead = 584
ioctl(_PTDRV_STOP_SCAN)
Waiting for Sensor to be back in position
p12InitP98003(0)
PCB-ID=0x90, CCD-ID=0x07, DAC-TYPE=0x00
Scanner has 2 Button
WOLFSON 8143
CCD-3799
- done !
ioctl(_PTDRV_CLOSE_DEVICE)
*** cleanup buffers ***
Lamp-Timer started!
pt_drv_close()
ptdrvClose()
MiscRestorePort()
Releasing parport
pt_drv_open()
ioctl(_PTDRV_OPEN_DEVICE)
Lamp-Timer stopped!
Init settings done
Using slow I/O
ptdrvOpen(port=0x378)
Try to claim the parport
parport-modi: SPP PS/2 ECP PS/2(ECP)
Using SPP-mode
Trying faster mode...
Attempting to set PS2 from ECPPS2 mode.
Port is set to (ECP) PS2 bidirectional mode.
Starting Scanner-detection (ASIC 98003)
************* ASIC98003 *************
ModelSetP12()
ModelSet9360()
modelInitPageSettings()
A4 set
ModelSet9630() done.
modelInitPageSettings()
A4 set
ModelSetP12() done.
P12InitAsic()
DacInitialize()
ImageInitialize()
IOFuncInitialize()
IOInitialize()
MotorInitialize()
PCB-ID=0x90, CCD-ID=0x07
Scanner has 2 Button
P12InitAsic() done.
Dataport = 0x0378
Ctrlport = 0x037a
Test 0x55
Test 0xAA
Compare data=0x77 and status=0x37, port=0x378
ioP98ReadWriteTest()
detectScannerConnection() returns 0.
p12SetupScannerVariables()
p12InitP98003(0)
PCB-ID=0x90, CCD-ID=0x07, DAC-TYPE=0x00
Scanner has 2 Button
WOLFSON 8143
CCD-3799
*** setupBuffers ***
Driverbuf(132000 bytes) needed !
pColorRunTab = 0xc884d52c
Adjust for 98003 ASIC
*** DETECTION DONE, result: 0 ***
ioctl(_PTDRV_GET_CAPABILITES)
ioctl(_PTDRV_GET_LENSINFO)
ioctl(_PTDRV_PUT_IMAGEINFO)
imageP98GetInfo()
xyPhyDpi.x = 300, xyPhyDpi.y = 300
crArea.x = 163, crArea.y = 736
crArea.cx = 2291, crArea.cy = 584
AppLinesPerArea    = 584
AppPixelsPerLine   = 2291
AppPhyBytesPerLine = 6873
AppBytesPerLine    = 6873
AsicPixelsPerPlane = 2291
AsicBytesPerPlane  = 2291
AsicBytesPerLine   = 6873
Physical Bytes     = 2291
ioctl(_PTDRV_GET_CROPINFO)
ioctl(_PTDRV_SET_ENV)
imageP98003SetupScanSettings()
imageP98SetupScanSettings()
imageP98GetInfo()
xyPhyDpi.x = 300, xyPhyDpi.y = 300
crArea.x = 163, crArea.y = 736
crArea.cx = 2291, crArea.cy = 584
AppLinesPerArea    = 584
AppPixelsPerLine   = 2291
AppPhyBytesPerLine = 6873
AppBytesPerLine    = 6873
AsicPixelsPerPlane = 2291
AsicBytesPerPlane  = 2291
AsicBytesPerLine   = 6873
Physical Bytes     = 2291
Scan settings:
ImageInfo: (x=326,y=736,dx=2291,dy=584)
brightness = 0
1. brightness = 111
2. brightness = 144
Sample every line
brightness   = 0 -> 0
contrast*100 = 0 -> 100
MapSetupDither() - 3
ioctl(_PTDRV_START_SCAN)
P12SetGeneralRegister()
Using SAME Lamp !
PtDrvRead(4013832 bytes)*****************
MonoBuf = 0xc1d3e000[6873], scaleBuf = 0x0
Waiting for Sensor to be back in position
- done !
No warm-up needed
p12Calibration()
dacP98003WaitForShading()
p12InitP98003(1)
PCB-ID=0x90, CCD-ID=0x07, DAC-TYPE=0x00
Scanner has 2 Button
WOLFSON 8143
CCD-3799
DacP98FillShadingDarkToShadingRegister()
wExposure = 96
wXStep    = 24
dacP98003AdjustRGBGain()
dacP98003AdjustRGBGain() - all loops done!!!
dacP98003AdjustDark()
dacP98003AdjustShadingWaveForm()
DacP98FillShadingDarkToShadingRegister()
MotorP98003BackToHomeSensor()
LineCtrl=96, XStepTime=96
p12SetupScanningCondition()
P12SetGeneralRegister()
MinReadFifo=4582, MaxReadFifo=5727
bRefresh = 4
RD_ScanControl = 0x15
RD_Origin = 500, RD_Pixels = 2291
MotorP98003PositionYProc()
MotorP98003PositionYProc() - done
MotorP98003PositionYProc()
MotorP98003PositionYProc() - done
dwAppLinesPerArea = 584
dwAppBytesPerLine = 6873
dwLinesToRead = 584
ioctl(_PTDRV_STOP_SCAN)
Waiting for Sensor to be back in position
p12InitP98003(0)
PCB-ID=0x90, CCD-ID=0x07, DAC-TYPE=0x00
Scanner has 2 Button
WOLFSON 8143
CCD-3799
- done !
ioctl(_PTDRV_CLOSE_DEVICE)
*** cleanup buffers ***
Lamp-Timer started!
pt_drv_close()
ptdrvClose()
MiscRestorePort()
Releasing parport
!! IRQ !! Lamp-Timer stopped.
Try to claim the parport
Releasing parport


Output of cat /proc/pt_drv/device0/info

Model       : PT12
Portaddress : 0x378
Portmode    : BiDi (PS/2) (delayed I/O, autodetect)
Buttons     : 2
Warmuptime  : 15s
Lamp timeout: 180s
mov-switch  : 0
I/O-delay   : 0
CCD-Type    : 548
TPA         : no


Andreas


Previous by date: 9 Aug 2001 19:01:45 -0000 Re: Genius ColorPage Vivid3X and Plustek driver, Jaeger, Gerhard
Next by date: 9 Aug 2001 19:01:45 -0000 Re: #9630PL, John Preston
Previous in thread: 9 Aug 2001 19:01:45 -0000 Re: Genius ColorPage Vivid3X and Plustek driver, Jaeger, Gerhard
Next in thread: 9 Aug 2001 19:01:45 -0000 Genius ColorPage Vivid3X and Plustek driver, felipe


Powered by ezmlm-browse 0.20.