[sane-devel] Canon XK90 and TS8030 works with sane

Thierry Huchard thierry at ordissimo.com
Thu Dec 9 13:23:46 GMT 2021


Le 2021-12-09 09:16, Thierry Huchard a écrit :
> Le 2021-12-08 09:18, WATANABE Kazuhiro a écrit :
>> On Tue, 07 Dec 2021 22:06:14 +0900,
>> Thierry Huchard wrote:
>>> Le 2021-12-07 13:44, WATANABE Kazuhiro a écrit :
>>> > Hi,
>>> >
>>> > On Tue, 07 Dec 2021 17:44:46 +0900,
>>> > Thierry Huchard wrote:
>>> >> Le 2021-12-06 10:37, WATANABE Kazuhiro a écrit :
>>> >> > Hi, all.
>>> >> >
>>> >> > I have tested my Canon XK90 with the following environment.
>>> >> >
>>> >> >  sane-backends-1.0.32_7
>>> >> >  sane-airscan-0.99.26
>>> >> >  xsane-0.999_6
>>> >> >  FreeBSD 12.2-RELEASE
>>> >> >
>>> >> > | $ scanimage -V
>>> >> > | scanimage (sane-backends) 1.0.32; backend version 1.0.32
>>> >> > | $ scanimage -L
>>> >> > | device `pixma:04A918B6_103859' is a CANON Canon PIXUS XK90 Series
>>> >> > multi-function peripheral
>>> >> > | device `escl:https://192.168.0.108:443' is a Canon XK90 series
>>> >> > platen scanner
>>> >> > | device `airscan:e0:Canon XK90 series' is a eSCL Canon XK90 series
>>> >> > ip=192.168.0.108
>>> >> > | $
>>> >> >
>>> >> > Scanning all supported resolutions (up to 1200dpi) is good with both
>>> >> > sane-pixma and sane-airscan.  Monochrome scan is also fine.
>>> >> >
>>> >> > By the way, sane-escl doesn't work at all.
>>> >> >
>>> >> > | $ scanimage -d 'escl:https://192.168.0.108:443' -o test.pnm
>>> >> > | scanimage: open of device escl:https://192.168.0.108:443 failed:
>>> >> > Invalid argument
>>> >> > | $
>>> >> Can you provide me with the log file?
>>> >> SANE_DEBUG_ESCL=255 scanimage -d 'escl:https://192.168.0.108:443' -o
>>> >> test.pnm 2> escl-xk90.log
>>> >>
>>> >> Thierry
>>> >
>>> > OK.  The log is:
>>> >
>>> > *****
>>> > [21:12:28.116002] [sanei_debug] Setting debug level of escl to 255.
>>> > [21:12:28.116178] [escl] escl sane_init
>>> > [21:12:28.118200] [escl] escl sane_open
>>> > [21:12:28.118222] [escl] escl_parse_name
>>> > [21:12:28.135446] [escl] escl_curl_url: URL:
>>> > https://192.168.0.108:443/eSCL/ScannerCapabilities
>>> > [21:12:28.135919] [escl] Before use hack
>>> > [21:12:28.135933] [escl] After use hack
>>> > [21:12:28.135942] [escl] Ignoring safety certificates, use https
>>> > [21:12:28.180634] [escl] The scanner didn't respond: SSL connect error
>>> > scanimage: open of device escl:https://192.168.0.108:443 failed:
>>> > Invalid argument
>>> > [21:12:28.180750] [escl] escl sane_exit
>>> > *****
>>> 
>>> Thanks for your log feedback!
>>> Can you test this?
>>> 
>>> Can you provide me with the log file?
>>> SANE_DEBUG_ESCL=255 scanimage -d 'escl:http://192.168.0.108:80' -o
>>> test.pnm 2> escl-xk90-2.log
>>> 
>>> Thierry
>> 
>> It works without any error.  The log file is here:
>> 
>>  
>> https://drive.google.com/drive/folders/13RlFS3mbX_17Q4VeWImqIHgd7zSm0Fjg
> 
> On the libcurl discussion thread, I am referred to this issue:
> https://github.com/curl/curl/issues/5356
> 
>> Dan Fandrich via curl-library wrote :
>>  Could it be similar to Github issue #5356? Namely, the scanner is 
>> running
>>  years-old firmware that uses a long-obsolete TLS version and OpenSSL 
>> is
>>  now refusing to talk to it for security reasons? What TLS back-end is 
>> your
>>  libcurl using? What TLS version does the scanner want to use?
> 
> On FreeBSD 12.2-RELEASE, the version of OpenSSL is 1.1.1k and curl is 
> 7.73.0
> If I'm not mistaken, then the problem seems to come from the firmware
> of the device.
> I think I can fix it by testing the https connection and if it fails
> switch to http connection.

Hi Kazuhiro,
Can you give me the log file of this command?

curl -vk https://192.168.yyy.xxx/eSCL/ScannerCapabilities

Thierry

> 
> Thierry



More information about the sane-devel mailing list