Hi,

I'm now using Canon LiDE 200 flatbed scanner on
FreeBSD 11-CURRENT. Sane environments are below:

root@desktop:~ # usbconfig 
ugen0.1: <XHCI root HUB 0x8086> at usbus0, cfg=0 md=HOST spd=SUPER (5.0Gbps) 
pwr=SAVE (0mA)
ugen1.1: <EHCI root HUB Intel> at usbus1, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=SAVE (0mA)
ugen2.1: <EHCI root HUB Intel> at usbus2, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=SAVE (0mA)
ugen0.2: <product 0x0001 vendor 0x0000> at usbus0, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (100mA)
ugen1.2: <product 0x8008 vendor 0x8087> at usbus1, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (0mA)
ugen2.2: <product 0x8000 vendor 0x8087> at usbus2, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (0mA)
ugen0.3: <product 0x2419 vendor 0x0557> at usbus0, cfg=0 md=HOST spd=LOW 
(1.5Mbps) pwr=ON (160mA)
ugen0.4: <product 0x1400 vendor 0x04d9> at usbus0, cfg=0 md=HOST spd=LOW 
(1.5Mbps) pwr=ON (100mA)
ugen0.6: <USB 2.0 Hub vendor 0x1a40> at usbus0, cfg=0 md=HOST spd=HIGH 
(480Mbps) pwr=SAVE (100mA)
ugen0.7: <USB2.0 Hub vendor 0x05e3> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) 
pwr=SAVE (100mA)
ugen0.8: <JBL Pebbles Harman Multimedia> at usbus0, cfg=0 md=HOST spd=FULL 
(12Mbps) pwr=ON (500mA)
ugen0.9: <USB Optical Mouse vendor 0x1bcf> at usbus0, cfg=0 md=HOST spd=LOW 
(1.5Mbps) pwr=ON (98mA)
ugen0.5: <CanoScan Canon> at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON 
(500mA)
root@desktop:~ # scanimage -L
device `genesys:libusb:000:005' is a Canon LiDE 200 flatbed scanner
root@desktop:~ # sane-find-scanner -v
This is sane-find-scanner from sane-backends 1.0.25

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

searching for SCSI scanners:
checking /dev/scanner... failed to open (Invalid argument)
checking /dev/scanner0... failed to open (Invalid argument)
checking /dev/scanner1... failed to open (Invalid argument)
checking /dev/pass0... open ok
found SCSI disk "Areca ARC-1200-VOL#00 R001" at /dev/pass0
checking /dev/pass1... open ok
found SCSI processor "Areca RAID controller R001" at /dev/pass1
checking /dev/pass2... open ok
inquiry for device /dev/pass2 failed (Error during device I/O)
checking /dev/pass3... failed to open (Invalid argument)
checking /dev/pass4... failed to open (Invalid argument)
checking /dev/pass5... failed to open (Invalid argument)
checking /dev/pass6... failed to open (Invalid argument)
checking /dev/pass7... failed to open (Invalid argument)
  # Your SCSI scanner was detected. It may or may not be supported by SANE. Try
  # scanimage -L and read the backend's manpage.

searching for USB scanners:
checking /dev/uscanner... failed to open (Invalid argument)
checking /dev/uscanner0... failed to open (Invalid argument)
checking /dev/uscanner1... failed to open (Invalid argument)
checking /dev/uscanner2... failed to open (Invalid argument)
checking /dev/uscanner3... failed to open (Invalid argument)
checking /dev/uscanner4... failed to open (Invalid argument)
checking /dev/uscanner5... failed to open (Invalid argument)
checking /dev/uscanner6... failed to open (Invalid argument)
checking /dev/uscanner7... failed to open (Invalid argument)
checking /dev/uscanner8... failed to open (Invalid argument)
checking /dev/uscanner9... failed to open (Invalid argument)
checking /dev/uscanner10... failed to open (Invalid argument)
checking /dev/uscanner11... failed to open (Invalid argument)
checking /dev/uscanner12... failed to open (Invalid argument)
checking /dev/uscanner13... failed to open (Invalid argument)
checking /dev/uscanner14... failed to open (Invalid argument)
checking /dev/uscanner15... failed to open (Invalid argument)
could not fetch string descriptor: No such device (it may have been 
disconnected)
found USB scanner (vendor=0x04a9 [Canon], product=0x1905 [CanoScan], 
chip=GL847) at libusb:000:005
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.
done
kiri@desktop:/usr/ports/graphics/sane-backends[1016]% scanimage -L
device `genesys:libusb:000:005' is a Canon LiDE 200 flatbed scanner

But scanimage failed by `gl847_led_calibration: Error during
device I/O' as follows:

kiri@desktop:~[1002]% env SANE_DEBUG_GENESYS_GL847=255 scanimage > 
/var/tmp/temp.png
[sanei_debug] Setting debug level of genesys_gl847 to 255.
[genesys_gl847] gl847_init start
[genesys_gl847] gl847_boot start
[genesys_gl847] gl847_boot: reported version for genesys chip is 0x05
[genesys_gl847] gl847_init_registers start
[genesys_gl847] gl847_init_registers completed
[genesys_gl847] gl847_init_gpio start
[genesys_gl847] gl847_init_gpio completed
[genesys_gl847] gl847_init_memory_layout
[genesys_gl847] gl847_init_memory_layout completed
[genesys_gl847] gl847_boot completed
[genesys_gl847] gl847_set_fe (init)
[genesys_gl847] gl847_set_ad_fe start
[genesys_gl847] gl847_set_ad_fe(): setting DAC 11
[genesys_gl847] gl847_set_ad_fe completed
[genesys_gl847] gl847_slow_back_home (wait_until_home = 1)
[genesys_gl847] gl847_slow_back_home: already at home, completed
[genesys_gl847] gl847_slow_back_home completed
[genesys_gl847] gl847_set_powersaving (delay = 15)
[genesys_gl847] gl847_set_powersaving completed
[genesys_gl847] gl847_init completed
[genesys_gl847] gl847_save_power: enable = 0
[genesys_gl847] gl847_save_power completed
[genesys_gl847] gl847_slow_back_home (wait_until_home = 1)
[genesys_gl847] gl847_slow_back_home: already at home, completed
[genesys_gl847] gl847_slow_back_home completed
[genesys_gl847] gl847_offset_calibration start
[genesys_gl847] gl847_offset_calibration completed
[genesys_gl847] gl847_coarse_gain_calibration: dpi = 2400
[genesys_gl847] gl847_coarse_gain_calibration completed
[genesys_gl847] gl847_led_calibration start
[genesys_gl847] gl847_led_calibration: move=0.000000 steps
[genesys_gl847] gl847_init_scan_regs settings:
Resolution    : 600DPI/600DPI
Lines         : 1
PPL           : 5136
Startpos      : 0/0
Depth/Channels: 16/3
Flags         : 17

[genesys_gl847] gl847_init_scan_regs : stagger=0 lines
[genesys_gl847] gl847_init_scan_regs : exposure_time=1432 pixels
[genesys_gl847] gl847_init_scan_regs : scan_step_type=1
[genesys_gl847] gl847_init_optical_regs_scan :  exposure_time=1432, 
used_res=600, start=0, pixels=41088, channels=3, depth=16, half_ccd=0, flags=3
[genesys_gl847] gl847_init_optical_regs_scan: cksel=1
[genesys_gl847] gl847_init_optical_regs_scan: dpihw=600 (factor=8)
[genesys_gl847] gl847_setup_sensor start
[genesys_gl847] gl847_setup_sensor completed
[genesys_gl847] gl847_set_fe (set)
[genesys_gl847] gl847_set_ad_fe start
[genesys_gl847] gl847_set_ad_fe completed
[genesys_gl847] gl847_init_optical_regs_scan: dpiset used=600
[genesys_gl847] gl847_init_optical_regs_scan: startx=320
[genesys_gl847] gl847_init_optical_regs_scan: endx  =5456
[genesys_gl847] gl847_init_optical_regs_scan: used_pixels=5136
[genesys_gl847] gl847_init_optical_regs_scan: pixels     =41088
[genesys_gl847] gl847_init_optical_regs_scan: depth      =16
[genesys_gl847] gl847_init_optical_regs_scan: dev->bpl   =10272
[genesys_gl847] gl847_init_optical_regs_scan: dev->len   =10272
[genesys_gl847] gl847_init_optical_regs_scan: dev->dist  =0
[genesys_gl847] gl847_init_optical_regs_scan: dev->segnb =1
[genesys_gl847] gl847_init_optical_regs_scan: words_per_line used=30816
[genesys_gl847] gl847_init_optical_regs_scan: exposure_time used=1432
[genesys_gl847] gl847_init_optical_regs_scan completed
[genesys_gl847] gl847_init_scan_regs: move=0 steps
[genesys_gl847] gl847_init_motor_regs_scan start
[genesys_gl847] gl847_init_motor_regs_scan : scan_exposure_time=1432, 
scan_yres=1800, scan_step_type=1, scan_lines=3, scan_dummy=0, feed_steps=0, 
scan_power_mode=0, flags=0
[genesys_gl847] gl847_get_step_multiplier: step multiplier is 8
[genesys_gl847] gl847_init_motor_regs_scan: use_fast_fed=0
[genesys_gl847] gl847_init_motor_regs_scan: lincnt=3
[genesys_gl847] gl847_send_slope_table (table_nr = 0, steps = 40)
[genesys_gl847] gl847_send_slope_table: write slope 0 
(40)=46876117111711171117111711171117111711168116411611157115311501146114211391135113111281124112011171113110911061102109910951091108810841080107710741074107410741074
[genesys_gl847] gl847_send_slope_table completed
[genesys_gl847] gl847_send_slope_table (table_nr = 1, steps = 40)
[genesys_gl847] gl847_send_slope_table: write slope 1 
(40)=46876117111711171117111711171117111711168116411611157115311501146114211391135113111281124112011171113110911061102109910951091108810841080107710741074107410741074
[genesys_gl847] gl847_send_slope_table completed
[genesys_gl847] gl847_send_slope_table (table_nr = 2, steps = 256)
[genesys_gl847] gl847_send_slope_table: write slope 2 
(256)=117111711171117111711171117111711171116811641161115711531150114611421139113511311128112411201117111311091106110210991095109110881084108010771073106910661062105810551051104710441040103610331029102610221018101510111007100410009969939899859829789749719679649609569539499459429389349319279239209169129099059018988948918878838808768728698658618588548508478438398368328298258218188148108078037997967927887857817777747707667637597567527487457417
[genesys_gl847] gl847_send_slope_table: write slope 2 
(256)=11711171117111711171117111711171117111681164116111571153115011461142113911351131112811241120111711131109110611021099109510911088108410801077107310691066106210581055105110471044104010361033102910261022101810151011100710041000996993989985982978974971967964960956953949945942938934931927923920916912909905901898894891887883880876872869865861858854850847843839836832829825821818814810807803799796792788785781777774770766763759756752748745741737734730726723719715712708704701697694690686683679675672668664661657653650646642639635631628624621617613610606602599595591588584580577573569566562559555551548544540537533529526522518515511507504500496493489486482478475471467464460456453449445442438434431427424420416413409405402398394391387383380376372369365361358354351347343340336332329325321318314310307303299296292289285281278267267
[genesys_gl847] gl847_send_slope_table completed
[genesys_gl847] gl847_send_slope_table (table_nr = 3, steps = 256)
[genesys_gl847] gl847_send_slope_table: write slope 3 
(256)=11711171117111711171117111711171117111681164116111571153115011461142113911351131112811241120111711131109110611021099109510911088108410801077107310691066106210581055105110471044104010361033102910261022101810151011100710041000996993989985982978974971967964960956953949945942938934931927923920916912909905901898894891887883880876872869865861858854850847843839836832829825821818814810807803799796792788785781777774770766763759756752748745741737734730726723719715712708704701697694690686683679675672668664661657653650646642639635631628624621617613610606602599595591588584580577573569566562559555551548544540537533529526522518515511507504500496493489486482478475471467464460456453449445442438434431427424420416413409405402398394391387383380376372369365361358354351347343340336332329325321318314310307303299296292289285281278267267
[genesys_gl847] gl847_send_slope_table completed
[genesys_gl847] gl847_send_slope_table (table_nr = 4, steps = 256)
[genesys_gl847] gl847_send_slope_table: write slope 4 
(256)=1171117111711171117111711171117111711168116411611157115311501146114211391135113111281124112011171113110911061102109910951091108810841080107710731069106610621058105510511047104410401036103310291026102210181015101110071004100099699398998598297897497196796496095695394994594293893493192792392091691290990590189889489188788388087687286986586185885485084784383
9836832829825821818814810807803799796792788785781777774770766763759756752748745741737734730726723719715712708704701697694690686683679675672668664661657653650646642639635631628624621617613610606602599595591588584580577573569566562559555551548544540537533529526522518515511507504500496493489486482478475471467464460456453449445442438434431427424420416413409405402398394391387383380376372369365361358354351347343340336332329325321318314310307303299296292289285281278267267
[genesys_gl847] gl847_send_slope_table completed
[genesys_gl847] gl847_init_motor_regs_scan: scan steps=5
[genesys_gl847] gl847_init_motor_regs_scan: acceleration distance=40
[genesys_gl847] gl847_init_motor_regs_scan: feedl=0
[genesys_gl847] gl847_init_motor_regs_scan: z1 = 13465
[genesys_gl847] gl847_init_motor_regs_scan: z2 = 4873
[genesys_gl847] gl847_init_motor_regs_scan completed
[genesys_gl847] gl847_init_scan_regs: physical bytes to read = 30816
[genesys_gl847] gl847_init_scan_regs: total bytes to send = 3365712
[genesys_gl847] gl847_init_scan_regs completed
[genesys_gl847] gl847_set_motor_power
[genesys_gl847] gl847_led_calibration: starting line reading
[genesys_gl847] gl847_begin_scan start
[genesys_gl847] gl847_begin_scan completed
[genesys_gl847] gl847_bulk_read_data: requesting 30816 bytes at addr=0x45
[genesys_gl847] gl847_bulk_read_data: trying to read 30720 bytes of data
[genesys_gl847] gl847_bulk_read_data: 30720 bytes of data read
[genesys_gl847] gl847_bulk_read_data: trying to read 96 bytes of data
[genesys_gl847] gl847_bulk_read_data: 96 bytes of data read
[genesys_gl847] gl847_bulk_read_data: read 30816 bytes, 0 remaining
[genesys_gl847] gl847_bulk_read_data completed
[genesys_gl847] gl847_stop_action start
[genesys_gl847] gl847_stop_action completed
[genesys_gl847] gl847_led_calibration: Error during device I/O
scanimage: sane_start: Error during device I/O
[genesys_gl847] gl847_end_scan (check_stop = 1)
[genesys_gl847] gl847_stop_action start
[genesys_gl847] gl847_stop_action completed
[genesys_gl847] gl847_end_scan completed
[genesys_gl847] gl847_slow_back_home (wait_until_home = 0)
[genesys_gl847] gl847_slow_back_home: already at home, completed
[genesys_gl847] gl847_slow_back_home completed
[genesys_gl847] gl847_save_power: enable = 1
[genesys_gl847] gl847_save_power completed

My OS and libralies are below:

kiri@desktop:/usr/ports/graphics/sane-backends[1017]% uname -a
FreeBSD desktop.pis 11.0-CURRENT FreeBSD 11.0-CURRENT #4: Wed Mar 23 10:12:11 
JST 2016     ad...@t.pis:/usr/obj/usr/src/sys/XIJ  amd64
kiri@desktop:/usr/ports/graphics/sane-backends[1018]% pkg info -aI|grep sane
sane-backends-1.0.25           API for access to scanners, digitals camera, 
frame grabbers etc
xsane-0.999_5                  Gtk-based X11 frontend for SANE (Scanner Access 
Now Easy)
kiri@desktop:/usr/ports/graphics/sane-backends[1019]% ldconfig -r|grep libusb
        66:-lusb.3 => /usr/lib/libusb.so.3
        70:-lusbhid.4 => /usr/lib/libusbhid.so.4
kiri@desktop:/usr/ports/graphics/sane-backends[1020]% 

What's should I do?

Regards

---
KIRIYAMA Kazuhiko

-- 
sane-devel mailing list: sane-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
             to sane-devel-requ...@lists.alioth.debian.org

Reply via email to