USB uscanner0 I/O-Error

Holger Kipp Holger.Kipp at alogis.com
Sun Aug 24 10:54:30 PDT 2003


Hello,

still have problems with an Epson Perfection 1260 Scanner
that only gives me I/O-Errors on 4.8-STABLE.

dmesg, scanimage debug see below. I also had I/O-Errors
with an 6-in-1 Card reader during mount_msdos, but that
was fixed during the da-quirk-removal (thanx for that!).

If other information are also needed, please let me know
(especially how to provide them).

Regards,
Holger Kipp


dmesg-----------------------

Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 4.8-STABLE #24: Sat Aug  9 11:48:40 CEST 2003
    root at katrin:/usr/obj/usr/src/sys/KATRIN
Timecounter "i8254"  frequency 1193182 Hz
CPU: AMD Duron(tm) Processor (1300.23-MHz 686-class CPU)
  Origin = "AuthenticAMD"  Id = 0x671  Stepping = 1
  Features=0x383fbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,MMX,FXSR,SSE>
  AMD Features=0xc0400000<AMIE,DSP,3DNow!>
real memory  = 536805376 (524224K bytes)
avail memory = 518324224 (506176K bytes)
Preloaded elf kernel "kernel" at 0xc03e7000.
Pentium Pro MTRR support enabled
md0: Malloc disk
Using $PIR table, 9 entries at 0xc00f8010
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcib0: <Host to PCI bridge> on motherboard
pci0: <PCI bus> on pcib0
pcib1: <PCI to PCI bridge (vendor=1106 device=b099)> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <NVidia model 0110 graphics accelerator> at 0.0 irq 11
rl0: <RealTek 8139 10/100BaseTX> port 0xec00-0xecff mem 0xdfffff00-0xdfffffff irq 11 at device 12.0 on pci0
rl0: Ethernet address: 00:50:fc:96:57:d3
miibus0: <MII bus> on rl0
rlphy0: <RealTek internal media interface> on miibus0
rlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
uhci0: <VIA 83C572 USB controller> port 0xe000-0xe01f irq 11 at device 16.0 on pci0
usb0: <VIA 83C572 USB controller> on uhci0
usb0: USB revision 1.0
uhub0: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhci1: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 10 at device 16.1 on pci0
usb1: <VIA 83C572 USB controller> on uhci1
usb1: USB revision 1.0
uhub1: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <VIA 83C572 USB controller> port 0xe800-0xe81f irq 11 at device 16.2 on pci0
usb2: <VIA 83C572 USB controller> on uhci2
usb2: USB revision 1.0
uhub2: VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <USB controller> at 16.3 irq 10
isab0: <PCI to ISA bridge (vendor=1106 device=3177)> at device 17.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <VIA 8235 ATA133 controller> port 0xfc00-0xfc0f at device 17.1 on pci0
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
pcm0: <VIA VT8235> port 0xdc00-0xdcff irq 11 at device 17.5 on pci0
pcm0: <unknown ac97 codec> (id=0x56494161)
vr0: <VIA VT6102 Rhine II 10/100BaseTX> port 0xd800-0xd8ff mem 0xdffffd00-0xdffffdff irq 11 at device 18.0 on pci0
vr0: Ethernet address: 00:e0:18:ad:3a:7f
miibus1: <MII bus> on vr0
ukphy0: <Generic IEEE 802.3u media interface> on miibus1
ukphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
fdc0: <NEC 72065B or clone> at port 0x3f0-0x3f5,0x3f7 irq 6 drq 2 on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
atkbdc0: <Keyboard controller (i8042)> at port 0x60,0x64 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model IntelliMouse, device ID 3
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 16550A
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
ppc0: <Parallel port> at port 0x278-0x27f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/9 bytes threshold
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
ad0: 58644MB <Maxtor 6Y060L0> [119150/16/63] at ata0-master UDMA133
acd0: DVD-ROM <DV-516E> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
uscanner0: EPSON EPSON Scanner, rev 1.10/1.00, addr 2



scanimage debug (with SANE_DEBUG_PLUSTEK set to 255)--------------------

[sanei_debug] Setting debug level of plustek to 255.
[plustek] Plustek backend V0.45-6, part of sane-backends 1.0.12
[plustek] ># Plustek-SANE Backend configuration file<
[plustek] ># For use with Plustek parallel-port scanners and<
[plustek] ># LM9831/2/3 based USB scanners<
[plustek] >#<
[plustek] ># For parport devices use the parport section<
[plustek] >#<
[plustek] >[parport]<
[plustek] next device is a PARPORT device
[plustek] >device /dev/pt_drv<
[plustek] Decoding device name >/dev/pt_drv<
[plustek] ><
[plustek] >#<
[plustek] ># leave the default values as specified in /etc/modules.conf<
[plustek] >#<
[plustek] >option warmup    -1<
[plustek] Decoding option >warmup<
[plustek] >option lOffOnEnd -1<
[plustek] Decoding option >lOffOnEnd<
[plustek] >option lampOff   -1<
[plustek] Decoding option >lampOff<
[plustek] ><
[plustek] ><
[plustek] >#<
[plustek] ># The USB section:<
[plustek] ># each device needs at least two lines:<
[plustek] ># - [usb] vendor-ID and product-ID<
[plustek] ># - device devicename<
[plustek] ># i.e. for Plustek (0x07B3) UT12/16/24 (0x0017)<
[plustek] ># [usb] 0x07B3 0x0017<
[plustek] ># device /dev/usbscanner<
[plustek] ># or<
[plustek] ># device libusb:bbb:ddd<
[plustek] ># where bbb is the busnumber and ddd the device number<
[plustek] ># make sure that your user has access to /proc/bus/usb/bbb/ddd<
[plustek] >#<
[plustek] ># additionally you can specify some options<
[plustek] ># warmup, lOffOnEnd, lampOff<
[plustek] >#<
[plustek] ># For autodetection use<
[plustek] ># [usb]<
[plustek] ># device /dev/usbscanner<
[plustek] >#<
[plustek] ># or simply<
[plustek] ># [usb]<
[plustek] >#<
[plustek] ># or if you want a specific device but you have no idea about<
[plustek] ># the device node or you use libusb, simply set vendor- and product-ID<
[plustek] ># [usb] 0x07B3 0x0017<
[plustek] ># device auto<
[plustek] >#<
[plustek] ># NOTE: autodetection is safe, as it uses the info it got<
[plustek] >#       from the USB subsystem. If you're not using the<
[plustek] >#       autodetection, you MUST have attached that device<
[plustek] >#       at your USB-port, that you have specified...<
[plustek] >#<
[plustek] ><
[plustek] >[usb] 0x04B8 0x011D<
[plustek] attach (/dev/pt_drv, 0xbfbfee38, 0x0)
[plustek] Device configuration:
[plustek] device name  : >/dev/pt_drv<
[plustek] porttype     : 0
[plustek] USB-ID       : ><
[plustek] warmup       : -1s
[plustek] lampOff      : -1
[plustek] lampOffOnEnd : -1
[plustek] skipCalibr.  : 0
[plustek] skipFine     : 0
[plustek] skipFineWhite: 0
[plustek] invertNegs.  : 0
[plustek] pos_x        : 0
[plustek] pos_y        : 0
[plustek] pos_shading_y: -1
[plustek] neg_x        : 0
[plustek] neg_y        : 0
[plustek] neg_shading_y: -1
[plustek] tpa_x        : 0
[plustek] tpa_y        : 0
[plustek] tpa_shading_y: -1
[plustek] red gain     : -1
[plustek] green gain   : -1
[plustek] blue gain    : -1
[plustek] red Gamma    : 1.00
[plustek] green Gamma  : 1.00
[plustek] blue Gamma   : 1.00
[plustek] gray Gamma   : 1.00
[plustek] ---------------------
[plustek] drvopen()
[plustek] open: can't open /dev/pt_drv as a device
[plustek] open failed: -1
[plustek] next device is a USB device (0x04B8-0x011D)
[plustek] next device is an USB device
[plustek] ><
[plustek] >#<
[plustek] ># options for the previous USB entry<
[plustek] >#<
[plustek] ># switch lamp off after xxx secs, 0 disables the feature<
[plustek] >option lampOff 300<
[plustek] Decoding option >lampOff<
[plustek] ><
[plustek] ># warmup period in seconds, 0 means no warmup<
[plustek] >option warmup 15<
[plustek] Decoding option >warmup<
[plustek] ><
[plustek] ># 0 means leave lamp-status untouched, not 0 means switch off<
[plustek] ># on sane_close<
[plustek] >option lOffOnEnd 1<
[plustek] Decoding option >lOffOnEnd<
[plustek] ><
[plustek] >#<
[plustek] ># options to tweak the image start-position<
[plustek] ># (WARNING: there's no internal range check!!!)<
[plustek] >#<
[plustek] ># for the normal scan area<
[plustek] >#<
[plustek] >option posOffX 0<
[plustek] Decoding option >posOffX<
[plustek] >option posOffY 0<
[plustek] Decoding option >posOffY<
[plustek] ><
[plustek] ># for transparencies<
[plustek] >option tpaOffX 0<
[plustek] Decoding option >tpaOffX<
[plustek] >option tpaOffY 0<
[plustek] Decoding option >tpaOffY<
[plustek] ><
[plustek] ># for negatives<
[plustek] >option negOffX 0<
[plustek] Decoding option >negOffX<
[plustek] >option negOffY 0<
[plustek] Decoding option >negOffY<
[plustek] ><
[plustek] >#<
[plustek] ># for setting the calibration strip position<
[plustek] ># (WARNING: there's no internal range check!!!)<
[plustek] ># -1 means use built in<
[plustek] >#<
[plustek] >option posShadingY -1<
[plustek] Decoding option >posShadingY<
[plustek] >option tpaShadingY -1<
[plustek] Decoding option >tpaShadingY<
[plustek] >option negShadingY -1<
[plustek] Decoding option >negShadingY<
[plustek] ><
[plustek] >#<
[plustek] ># to invert the negatives, 0 disables the feature<
[plustek] >#<
[plustek] >option invertNegatives 0<
[plustek] Decoding option >invertNegatives<
[plustek] ><
[plustek] ># for skipping whole calibration step<
[plustek] >option skipCalibration 0<
[plustek] Decoding option >skipCalibration<
[plustek] ><
[plustek] ># for skipping entire fine calibration step<
[plustek] ># coarse calibration is done<
[plustek] >option skipFine 0<
[plustek] Decoding option >skipFine<
[plustek] ><
[plustek] ># discard the result of the fine white calibration<
[plustek] >option skipFineWhite 0<
[plustek] Decoding option >skipFineWhite<
[plustek] ><
[plustek] ># for replacing the gain values found during<
[plustek] ># calibration<
[plustek] >option red_gain   -1<
[plustek] Decoding option >red_gain<
[plustek] >option green_gain -1<
[plustek] Decoding option >green_gain<
[plustek] >option blue_gain  -1<
[plustek] Decoding option >blue_gain<
[plustek] ><
[plustek] >#<
[plustek] ># for adjusting the default gamma values<
[plustek] >#<
[plustek] >option redGamma         1.0<
[plustek] Decoding option >redGamma<
[plustek] >option greenGamma       1.0<
[plustek] Decoding option >greenGamma<
[plustek] >option blueGamma        1.0<
[plustek] Decoding option >blueGamma<
[plustek] >option grayGamma        1.0<
[plustek] Decoding option >grayGamma<
[plustek] ><
[plustek] >#<
[plustek] ># to enable TPA (non Plustek devices only)<
[plustek] ># 0 means default behaviour as specified in the internal tables<
[plustek] ># 1 means enable<
[plustek] >#<
[plustek] >option enableTPA 0<
[plustek] Decoding option >enableTPA<
[plustek] ><
[plustek] >#<
[plustek] ># and of course the device-name<
[plustek] >#<
[plustek] ># device /dev/usbscanner<
[plustek] ># device auto<
[plustek] >device /dev/uscanner0<
[plustek] Decoding device name >/dev/uscanner0<
[plustek] ><
[plustek] >#<
[plustek] ># to define a new device, start with a new section:<
[plustek] ># [usb] or [parport]<
[plustek] >#<
[plustek] attach (/dev/uscanner0, 0xbfbfee38, 0x0)
[plustek] Device configuration:
[plustek] device name  : >/dev/uscanner0<
[plustek] porttype     : 1
[plustek] USB-ID       : >0x04B8-0x011D<
[plustek] warmup       : 15s
[plustek] lampOff      : 300
[plustek] lampOffOnEnd : 1
[plustek] skipCalibr.  : 0
[plustek] skipFine     : 0
[plustek] skipFineWhite: 0
[plustek] invertNegs.  : 0
[plustek] pos_x        : 0
[plustek] pos_y        : 0
[plustek] pos_shading_y: -1
[plustek] neg_x        : 0
[plustek] neg_y        : 0
[plustek] neg_shading_y: -1
[plustek] tpa_x        : 0
[plustek] tpa_y        : 0
[plustek] tpa_shading_y: -1
[plustek] red gain     : -1
[plustek] green gain   : -1
[plustek] blue gain    : -1
[plustek] red Gamma    : 1.00
[plustek] green Gamma  : 1.00
[plustek] blue Gamma   : 1.00
[plustek] gray Gamma   : 1.00
[plustek] ---------------------
[plustek] drvopen()
[plustek] usbDev_open(/dev/uscanner0,0x04B8-0x011D)
[plustek] Vendor ID=0x04B8, Product ID=0x011D
[plustek] usbio_DetectLM983x
[plustek] usbio_DetectLM983x: found LM9832/3
[plustek] Device description for >0x04B8-0x011D< found.
[plustek] usb_initDev(32,0x04b8,0)
[plustek] Device WAF: 0x00000002
[plustek] usb_switchLampX(ON=0,TPA=1)
[plustek] Switch Lamp: 0, regs[0x59] = 0x00
[plustek] REG[0x02] = 0x81
[plustek] TPA NOT detected
[plustek] Vendor adjusted to: >Epson<
[plustek] REG[0x5b] = 0x14 (msk=0x80)
[plustek] LAMP-STATUS: 0x00000000
[plustek] RESETTING REGISTERS(0)
[plustek] MISC I/O after RESET: 0x41, 0x44, 0x14
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 8.000
[plustek] * XDPI=150, HDPI=8.000
[plustek] * YDPI=150, MinDPIY=150
[plustek] * DataPixelStart=69, LineEnd=69
[plustek] * DataPixelStart=70, LineEnd=70 (ADJ)
[plustek] >> End-Start=0, HDPI=8.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 231 (0x00e7)
[plustek] * Scan calculations...
[plustek] * LineLength=10784, LineRateColor=1
[plustek] * Stepsize = 676, 0x46=0x02 0x47=0xa4
[plustek] * DPD =5632 (0x1600)
[plustek] * DPD =5152 (0x1420), step size=676, steps2rev=30
[plustek] * llen=10784, lineRateColor=1, qtcnt=0, hfcnt=0
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
[plustek] * Setting GreenPWMDutyCycleLow
[plustek] * Current MCLK Divider = 4.000000
[plustek] * MOTOR-Settings: PWM=0x02, PWM_DUTY=0x01
[plustek] * FFStepSize = 260, [0x48] = 0x01, [0x49] = 0x04
[plustek] * PhyBytes   = 2
[plustek] * PhyLines   = 672614786
[plustek] * TotalBytes = 1345229572
[plustek] * PL=295, coeffsize=216, scaler=1
[plustek] * PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usbDev_getCaps()
[plustek] usbDev_getLensInfo()
[plustek] wMAX=19200, WPHYMAX=2400
[plustek] Scanner information:
[plustek] Vendor : Epson
[plustek] Model  : Perfection 1260/Photo
[plustek] Asic   : 0x42
[plustek] Flags  : 0x00000206
[plustek] Version: 0x00000000
[plustek] drvclose()
[plustek] usbDev_stopScan(mode=0)
[plustek] usbDev_ScanEnd(), start=0, park=0
[plustek] usbDev_close()
[plustek] attach: model = >Perfection 1260/Photo<
[plustek] sane_get_devices (0xbfbff74c, 0)
[plustek] sane_open - /dev/uscanner0
[plustek] Presetting Gamma tables (len=4096)
[plustek] ----------------------------------
[plustek] sane_start
[plustek] drvopen()
[plustek] usbDev_open(/dev/uscanner0,0x04B8-0x011D)
[plustek] Vendor ID=0x04B8, Product ID=0x011D
[plustek] usbio_DetectLM983x
[plustek] usbio_DetectLM983x: found LM9832/3
[plustek] Device description for >0x04B8-0x011D< found.
[plustek] usb_initDev(32,0x04b8,1)
[plustek] Device WAF: 0x00000002
[plustek] Vendor adjusted to: >Epson<
[plustek] REG[0x5b] = 0x14 (msk=0x80)
[plustek] REG[0x59] = 0x41 (msk=0x08)
[plustek] LAMP-STATUS: 0x00000000
[plustek] RESETTING REGISTERS(1)
[plustek] MISC I/O after RESET: 0x41, 0x44, 0x14
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 8.000
[plustek] * XDPI=150, HDPI=8.000
[plustek] * YDPI=150, MinDPIY=150
[plustek] * DataPixelStart=69, LineEnd=69
[plustek] * DataPixelStart=70, LineEnd=70 (ADJ)
[plustek] >> End-Start=0, HDPI=8.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 231 (0x00e7)
[plustek] * Scan calculations...
[plustek] * LineLength=10784, LineRateColor=1
[plustek] * Stepsize = 676, 0x46=0x02 0x47=0xa4
[plustek] * DPD =5632 (0x1600)
[plustek] * DPD =5152 (0x1420), step size=676, steps2rev=30
[plustek] * llen=10784, lineRateColor=1, qtcnt=0, hfcnt=0
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 0 (HDPI=8.000,MCLKD=4.000)
[plustek] * Setting GreenPWMDutyCycleLow
[plustek] * Current MCLK Divider = 4.000000
[plustek] * MOTOR-Settings: PWM=0x02, PWM_DUTY=0x01
[plustek] * FFStepSize = 260, [0x48] = 0x01, [0x49] = 0x04
[plustek] * PhyBytes   = 2
[plustek] * PhyLines   = 672614786
[plustek] * TotalBytes = 1345229572
[plustek] * PL=295, coeffsize=216, scaler=1
[plustek] * PauseLimit = 295, [0x4e] = 0x91, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] usbDev_getCaps()
[plustek] usbDev_getLensInfo()
[plustek] wMAX=19200, WPHYMAX=2400
[plustek] scanmode = 3
[plustek] usbDev_getCropInfo()
[plustek] usb_GetImageInfo()
[plustek] PPL = 248
[plustek] LPA = 150
[plustek] BPL = 744
[plustek] bright 0 contrast 0
[plustek] usbDev_setScanEnv()
[plustek] usb_SaveImageInfo()
[plustek] dwFlag = 0x00000c00
[plustek] usb_GetImageInfo()
[plustek] Preview Mode NOT set!
[plustek] Setting map[0] at 0x08061088
[plustek] Setting map[1] at 0x08065088
[plustek] Setting map[2] at 0x08069088
[plustek] usbDev_startScan()
[plustek] * HDPI: 12.000
[plustek] * XDPI=100, HDPI=12.000
[plustek] * YDPI=150, MinDPIY=150
[plustek] REG[0x5b] = 0x14 (msk=0x80)
[plustek] REG[0x59] = 0x41 (msk=0x08)
[plustek] LAMP-STATUS: 0x00000000
[plustek] Switching Lamp on
[plustek] usb_switchLampX(ON=0,TPA=1)
[plustek] Switch Lamp: 0, regs[0x59] = 0x41
[plustek] usb_switchLampX(ON=1,TPA=0)
[plustek] Switch Lamp: 1, regs[0x5b] = 0x94
[plustek] Warmup-Timer started
[plustek] REG[0x5b] = 0x94 (msk=0x80)
[plustek] REG[0x59] = 0x41 (msk=0x08)
[plustek] LAMP-STATUS: 0x00000001
[plustek] Lamp-Timer stopped
[plustek] dwflag = 0x40000400 dwBytesPerLine = 744, dwLinesPerScan = 150
[plustek] TIME START
[plustek] sane_start done
[plustek] reader process...
[plustek] reader_process started
[plustek] reader_process:starting to READ data (111600 bytes)
[plustek] buf = 0x0886e000
[plustek] usbDev_PrepareScan()
[plustek] usb_DoCalibration()
[plustek] goto shading position
[plustek] ShadingOriginY=10
[plustek] MotorDPI=600, MaxMoveSpeed=0.800, FFStepSize=520, Steps=20
[plustek] MOTOR: PWM=0x02, PWM_DUTY=0x01 0x45=0x13 0x48=0x02, 0x49=0x08
[plustek] MCLK_FFW = 6 --> 0x0a
[plustek] shading position reached
[plustek] kNEC8861 adjustments
[plustek] SETMCLK[3/2], using entry 8: 6.000000, 1200
[plustek] No Plustek model: 100dpi
[plustek] SETMCLK[3/2], using entry 1: 2.000000, 100
[plustek] Settings done, so start...
[plustek] ###### ADJUST GAIN (COARSE)#######
[plustek] usb_AdjustGain()
[plustek] Coarse Calibration Strip:
[plustek] Lines    = 1
[plustek] Pixels   = 10200
[plustek] Bytes    = 61200
[plustek] Origin.X = 17
[plustek] usb_SetScanParameters()
[plustek] * HDPI: 1.000
[plustek] * XDPI=1200, HDPI=1.000
[plustek] * YDPI=1200, MinDPIY=150
[plustek] * DataPixelStart=68, LineEnd=10268
[plustek] >> End-Start=10200, HDPI=1.00
[plustek] * Full Steps to Skip at Start = 0x0000
[plustek] * StepSize(Preset) = 462 (0x01ce)
[plustek] * Scan calculations...
[plustek] * LineLength=10784, LineRateColor=1
[plustek] * Stepsize = 5410, 0x46=0x15 0x47=0x22
[plustek] * DPD =0 (0x0000)
[plustek] * DPD =10784 (0x2a20), step size=5410, steps2rev=0
[plustek] * llen=10784, lineRateColor=1, qtcnt=0, hfcnt=0
[plustek] usb_GetMCLKDivider()
[plustek] * Integration Time Adjust = 3 (HDPI=1.000,MCLKD=2.000)
[plustek] * Stepsize = 7213, 0x46=0x1c 0x47=0x2d
[plustek] * DPD =0 (0x0000)
[plustek] * DPD =10784 (0x2a20), step size=7213, steps2rev=0
[plustek] * llen=10784, lineRateColor=1, qtcnt=0, hfcnt=0
[plustek] * Setting GreenPWMDutyCycleHigh
[plustek] * Current MCLK Divider = 2.000000
[plustek] * MOTOR-Settings: PWM=0x02, PWM_DUTY=0x01
[plustek] * FFStepSize = 173, [0x48] = 0x00, [0x49] = 0xad
[plustek] * PhyBytes   = 61202
[plustek] * PhyLines   = 1
[plustek] * TotalBytes = 61202
[plustek] * PL=260, coeffsize=192, scaler=1
[plustek] * PauseLimit = 60, [0x4e] = 0x1c, [0x4f] = 0x01
[plustek] usb_SetScanParameters() done.
[plustek] Warmup: skipped for CIS devices
[plustek] usb_ScanBegin()
[plustek] usb_DownloadShadingData(1)
[plustek] Register Dump before reading data:
[plustek] 0x00: XX 00 07 60 1c XX XX 03  02 20 00 02 04 7d 37 06
[plustek] 0x10: 0b 00 05 0c 17 00 00 0a  17 03 00 01 00 00 00 45
[plustek] 0x20: 2a 0e 00 44 28 1c 00 42  03 03 00 01 3f ff 00 00
[plustek] 0x30: 3f ff 00 00 3f ff 00 00  00 00 00 01 01 01 00 00
[plustek] 0x40: 40 00 20 00 00 03 1c 2d  00 ad 00 00 00 00 1c 01
[plustek] 0x50: 00 0c 2a 20 00 0f 02 01  00 41 44 94 00 00 00 00
[plustek] 0x60: 50 22 28 5c 02 04 28 48  00 04 00 00 b0 00 00 03
[plustek] 0x70: 00 00 00 00 30 00 00 00  00 00 00 00 00 00 00 00
[plustek] usb_ScanReadImage(61202)
[plustek] usb_IsDataAvailableInDRAM()
[plustek] NO Data available
[plustek] Nothing to read...
[plustek] usb_AdjustGain() failed
[plustek] Coarse Calibration failed!!!
[plustek] calibration failed!!!
[plustek] read failed, status = -9007, errno 6
[plustek] reader process done, status = 9
[plustek] Child is down (signal=20)
[plustek] sane_read - read 0 bytes
[plustek] drvclose()
[plustek] TIME END 1: 32s
[plustek] usbDev_stopScan(mode=0)
[plustek] usbDev_ScanEnd(), start=1, park=1
[plustek] MotorDPI=600, MaxMotorSpeed=0.900, FFStepSize=462
[plustek] MOTOR: PWM=0x02, PWM_DUTY=0x01 0x45=0x13 0x48=0x01, 0x49=0xce
[plustek] MCLK_FFW = 6 --> 0x0a
[plustek] Lamp-Timer started
[plustek] usbDev_close()
[plustek] res=92558, status=2304
[plustek] Child WEXITSTATUS = 9
[plustek] close_pipe
scanimage: sane_read: Error during device I/O
[plustek] sane_close
[plustek] sane_exit
[plustek] Shutdown called (dev->fd=-1, /dev/uscanner0)
[plustek] Waiting for scanner-ready...
[plustek] Switching lamp off...
[plustek] REG[0x5b] = 0x94 (msk=0x80)
[plustek] REG[0x59] = 0x41 (msk=0x08)
[plustek] LAMP-STATUS: 0x00000001
[plustek] Switching Lamp off
[plustek] usb_switchLampX(ON=0,TPA=0)
[plustek] Switch Lamp: 0, regs[0x5b] = 0x14
[plustek] REG[0x5b] = 0x14 (msk=0x80)
[plustek] REG[0x59] = 0x41 (msk=0x08)
[plustek] LAMP-STATUS: 0x00000000
[plustek] Lamp-Timer stopped
P6
# SANE data follows
248 150
255



More information about the freebsd-stable mailing list