Fujitsu ScanSnap ix500이 있습니다. 4 주 전에는 잘 작동했지만 지금은 그렇지 않습니다. 패키지를 여러 번 업데이트했기 때문에 이전과 동일한 버전의 sane이 있는지 확실하지 않습니다. 이전에는 스캐너가 USB- 허브를 통해 연결되었지만 이제는 직접 연결되었습니다. 나는 또한 현재 policykit에 문제가 있지만 루트로 프로그램을 시작할 때 동일한 문제가 있으므로 여기서는 관련이 없다고 가정합니다.
-참고 : 내 근본적인 문제는 내 버전의 sane-backend가 xhci (usb 3)를 지원하지 않았고 메인 보드가 ehci를 거부했다는 것임을 알아 냈습니다. 나는 그것을 고칠 수 없었고 현재 스캔을 위해 다른 컴퓨터를 사용할 수 없었습니다. 이 질문은 디버깅 옵션 / 로깅 토글에 관한 것입니다. 이 기계에서 어떻게 작동했는지는 모르겠지만 작동했습니다. -
오류 메시지 품질과 관련된 버그 보고서를 제출 했습니다 . 거기에서 추가적인 통찰력을 얻을 수 있습니다.
xsane을 시작하면 오류 메시지가 나타납니다.
Fehler beim Öffnen des Geräts `fujitsu:ScanSnap iX500:119468':
Fehler während Geräte I/O.
번역:
open of device fujitsu:ScanSnap iX500:119468 failed: Error during device I/O
이것은 한 번만 발생합니다. 그 후에는 전원을 껐다가 다시 켤 때까지 더 이상 스캔 스냅에 연결할 수 없습니다. 그 후에는 위의 메시지가 다시 한 번 나타납니다.
명령 줄에서 xsane을 시작하여 자세한 내용을 얻으려고했습니다.
$ xsane
Gtk-Message: Failed to load module "atk-bridge"
그래서 다음을 사용하여 추가 디버깅 정보 를 활성화 했습니다.
export SANE_DEBUG_DLL=255
생산 (후지쯔 및 일반 부품으로 축소, 여기 전체 출력 )
$ xsane > xsane_output.txt
Gtk-Message: Failed to load module "atk-bridge"
[sanei_debug] Setting debug level of dll to 255.
[dll] sane_init: SANE dll backend version 1.0.13 from sane-backends 1.0.25
[dll] sane_init/read_dlld: attempting to open directory `./dll.d'
[dll] sane_init/read_dlld: attempting to open directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: using config directory `/etc/sane.d/dll.d'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/hplip
[dll] sane_init/read_config: reading dll.d/hplip
[dll] add_backend: adding backend `hpaio'
[dll] sane_init/read_dlld: considering /etc/sane.d/dll.d/libsane-extras
[dll] sane_init/read_config: reading dll.d/libsane-extras
[dll] add_backend: adding backend `ls5000'
[dll] sane_init/read_dlld: done.
[dll] sane_init/read_config: reading dll.conf
[...]
[dll] add_backend: adding backend `fujitsu'
[...]
[dll] sane_get_devices
[...]
[dll] load: searching backend `fujitsu' in `/usr/lib/x86_64-linux-gnu/sane:/usr/lib/sane'
[dll] load: trying to load `/usr/lib/x86_64-linux-gnu/sane/libsane-fujitsu.so.1'
[dll] load: dlopen()ing `/usr/lib/x86_64-linux-gnu/sane/libsane-fujitsu.so.1'
[dll] init: initializing backend `fujitsu'
[dll] init: backend `fujitsu' is version 1.0.127
[...]
[dll] sane_get_devices: found 1 devices
[dll] sane_open: trying to open `fujitsu:ScanSnap iX500:119468'
# Program stays here while the i/o error message is displayed
[dll] sane_exit: exiting
[...]
[dll] sane_exit: calling backend `fujitsu's exit function
[...]
[dll] sane_exit: finished
나는 달리지 않았다 saned
. 시작하려고 할 때 먼저 활성화가 필요하고 아무것도 변경되지 않았으므로 다시 비활성화했습니다.
scanimage
대신 사용할 때 xsane
다음 오류 메시지가 표시됩니다.
[dll] sane_get_devices: found 1 devices
[dll] sane_open: trying to open `fujitsu:ScanSnap iX500:119468'
scanimage: open of device fujitsu:ScanSnap iX500:119468 failed: Error during device I/O
[dll] sane_exit: exiting
당시에 입력 한 항목이 없습니다 /var/log/syslog
(다시 시작할 때 스캐너 연결 및 분리 메시지 제외). 나는 제거 libsane-hpaio
했지만 아무것도 변경하지 않았습니다.
그렇다면 실제 문제가 무엇인지 파악하기 위해 적절한 디버깅 메시지를 어떻게 얻습니까?
더 나은 출력 정보를 얻으려면 다음 명령을 실행하십시오.
export SANE_DEBUG_SANEI_USB=128
다음에 .NET을 실행할 때 USB 스캐너로 sane이 수행하는 작업에 대해 자세히 알려줍니다 scanimage -L
.
근본적인 문제 : sane이 백엔드 코드를 업데이트 했으므로 xhci와 함께 작동합니다. 1.0.27 이상으로 업데이트합니다.
데비안이 저장소를 업데이트 할 때까지 기다릴 수 없다면 xsane을 처음부터 빌드 할 수 있지만 먼저 배포판에서 패키지를 제거해야합니다. 또한 저장소에서 Xsane을 유지하는 것은 매우 복잡하지만 정상적인 프로젝트에서는 libsane * (일명 sane_backends)이 있습니다. 따라서 배포판이 제대로 패키징 될 때까지 기다리는 것이 좋습니다.
이 기사는 인터넷에서 수집됩니다. 재 인쇄 할 때 출처를 알려주십시오.
침해가 발생한 경우 연락 주시기 바랍니다[email protected] 삭제
몇 마디 만하겠습니다