Nie działa mi skaner pod sane-backends-1.0.23-2

Łukasz Maśko masko w ipipan.waw.pl
Wto, 19 Lis 2013, 12:05:31 CET


Dnia wtorek, 19 listopada 2013 11:50:55 Łukasz Maśko pisze:
[...]
> > Możesz przebudować u siebie sane-backends z usuniętą opcją configure
> > '--enable-libusb_1_0'? Możliwe że libusb 1.0 ma jakiś problem z dobraniem
> > się do twojego skanera.
> 
> Dzięki, zadziałało.

Jedyny mankament jest taki, że każdorazowo po użyciu scanimage dostaję takie 
coś:

$ scanimage -L
device `plustek:libusb:001:014' is a Epson Perfection 1250/Photo flatbed 
scanner
libusb: 0.000000 warning [usbi_fd_notification] internal signalling write 
failed
Naruszenie ochrony pamięci (zrzut pamięci)

$ gdb scanimage
GNU gdb (GDB) 7.6.1-1 (PLD Linux)
Copyright (C) 2013 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.  Type "show copying"
and "show warranty" for details.
This GDB was configured as "i686-pld-linux".
For bug reporting instructions, please see:
<http://www.gnu.org/software/gdb/bugs/>...
Reading symbols from /usr/bin/scanimage...Reading symbols from 
/usr/lib/debug/usr/bin/scanimage.debug...done.
done.
(gdb) run -L
Starting program: /usr/bin/scanimage -L
warning: Could not load shared library symbols for linux-gate.so.1.
Do you need "set solib-search-path" or "set sysroot"?
[Thread debugging using libthread_db enabled]
Using host libthread_db library "/lib/libthread_db.so.1".
Missing separate debuginfo for /usr/lib/libresmgr.so.1.0
device `plustek:libusb:001:014' is a Epson Perfection 1250/Photo flatbed 
scanner
libusb: 0.000000 warning [usbi_fd_notification] internal signalling write 
failed

Program received signal SIGSEGV, Segmentation fault.
0xb7d5b7f1 in libusb_submit_transfer () from /usr/lib/libusb-1.0.so.0
(gdb) backtrace 
#0  0xb7d5b7f1 in libusb_submit_transfer () from /usr/lib/libusb-1.0.so.0
#1  0xb7d5ce64 in ?? () from /usr/lib/libusb-1.0.so.0
#2  0xb7db65db in ?? () from /usr/lib/libusb-0.1.so.4
#3  0xb7f940b0 in sanei_usb_write_bulk (dn=dn w entry=0, 
buffer=buffer w entry=0xbfffce28 "\001\a", size=size w entry=0xbfffce24) at 
sanei_usb.c:2320
#4  0xb7f99995 in sanei_lm983x_read (fd=0, reg=reg w entry=7 '\a', 
buffer=buffer w entry=0xbfffce87 "", len=len w entry=1, 
increment=increment w entry=0)
    at sanei_lm983x.c:182
#5  0xb7cefb6a in usb_IsScannerReady (dev=dev w entry=0x806c380) at plustek-
usbhw.c:244
#6  0xb7d0330a in usbDev_shutdown (dev=0x806c380) at plustek-usb.c:418
#7  sane_plustek_exit () at plustek.c:1606
#8  0xb7fa668c in sane_dll_exit () at dll.c:956
#9  0xb7f902c0 in sane_exit () at dll-s.c:84
#10 0x0804d8b5 in scanimage_exit () at scanimage.c:1657
#11 0xb7df6c71 in ?? () from /lib/libc.so.6
#12 0xb7df6cc7 in exit () from /lib/libc.so.6
#13 0x08049654 in main (argc=2, argv=0xbffff134) at scanimage.c:1930

Zresztą identycznie było przy starszym *-1. Obstawiam, że libusb-compat to 
nie do końca takie "compat" jest.
-- 
Łukasz Maśko                                                            _o)
Lukasz.Masko(at)ipipan.waw.pl                                           /\\
Registered Linux User #61028                                           _\_V
Ubuntu: staroafrykańskie słowo oznaczające "Nie umiem zainstalować Debiana"



Więcej informacji o liście pld-users-pl