Discussion:
[sane-devel] Reflecta RPS 7200
Julian Hauser
2017-05-30 21:14:16 UTC
Permalink
Hello,

I'm trying the get the Reflecta RPS 7200 to work with pieusb, so far
with little success.

I can find the scanner with sane-find-scanner:

- "found USB scanner (vendor=0x05e3, product=0x0144) at libusb:001:014"

I want to add a relevant line to pieusb.conf, but I require the model
number for this as well, which I do not know. scanimage -L in debug mode
does not find the scanner nor show me any info about it (it only lists
the scanners enabled by default and the ones listed in the config file).

Do you know how I could find the model number?

Also, this scanner supports automatic transport of film (but not
slides). Should I enable "has-slide-transport" in the config file or
not?

I'm running up-to-date arch with the newest git version of sane.

Thanks a lot!
Julian
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Klaus Kaempf
2017-05-31 08:29:27 UTC
Permalink
Post by Julian Hauser
Hello,
I'm trying the get the Reflecta RPS 7200 to work with pieusb, so far
with little success.
- "found USB scanner (vendor=0x05e3, product=0x0144) at libusb:001:014"
Good, you already have two of the three required values.
Post by Julian Hauser
I want to add a relevant line to pieusb.conf, but I require the model
number for this as well, which I do not know. scanimage -L in debug mode
does not find the scanner nor show me any info about it (it only lists
the scanners enabled by default and the ones listed in the config file).
Run scanimage with

SANE_DEBUG_PIEUSB=14 scanimage
Post by Julian Hauser
Do you know how I could find the model number?
Look for this line in the output:

[pieusb] INQUIRY:

followed by something like

[pieusb] vendor........................: 'PIE'
[pieusb] product.......................: 'SF Scanner'
[pieusb] model .......................: 0x0036
[pieusb] version.......................: '1.70'

Now edit pieusb.conf and add a line with

usb 0x05e3 0x0144 0x36 0x00

(vendor, product, model, 0x00)

and run scanimage again.
Post by Julian Hauser
Also, this scanner supports automatic transport of film (but not
slides). Should I enable "has-slide-transport" in the config file or
not?
If scanning works in general, change the trailing 0x00 in pieusb.conf
with 0x01. This enables automatic slide transport.

Good luck ! ;-)

Klaus
--
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
sane-devel mailing list: sane-***@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-***@lists.alioth.deb
Julian Hauser
2017-05-31 08:51:40 UTC
Permalink
Hello, thanks for the help! :)

I don't seem to get any output of the sort you describe:

% SANE_DEBUG_PIEUSB=14 scanimage
[sanei_debug] Setting debug level of pieusb to 14.
[pieusb] sane_init() build 1
[pieusb] sane_init() config file parsing usb 0x05e3 0x0145 0x47 0x00
[pieusb] sane_init() config file lists device 05e3 0145 47 00
[pieusb] sane_init() adding device 05e3 0145 47 00
[pieusb] sanei_pieusb_supported_device_list_add(): current 003: 05e3 0145 30 00
[pieusb] sanei_pieusb_supported_device_list_add(): current 003: 05e3 0145 36 00
[pieusb] sanei_pieusb_supported_device_list_add(): current 003: 05e3 0142 3a 01
[pieusb] sanei_pieusb_supported_device_list_add(): current 003: 0000 0000 00 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 003: 05e3 0145 30 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 003: 05e3 0145 36 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 003: 05e3 0142 3a 01
[pieusb] sanei_pieusb_supported_device_list_add() add: 003: 05e3 0145 47 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 003: 0000 0000 00 00
[pieusb] sane_init() config file parsing usb 0x05e3 0x0145 0x2e 0x00
[pieusb] sane_init() config file lists device 05e3 0145 2e 00
[pieusb] sane_init() adding device 05e3 0145 2e 00
[pieusb] sanei_pieusb_supported_device_list_add(): current 004: 05e3 0145 30 00
[pieusb] sanei_pieusb_supported_device_list_add(): current 004: 05e3 0145 36 00
[pieusb] sanei_pieusb_supported_device_list_add(): current 004: 05e3 0142 3a 01
[pieusb] sanei_pieusb_supported_device_list_add(): current 004: 05e3 0145 47 00
[pieusb] sanei_pieusb_supported_device_list_add(): current 004: 0000 0000 00 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 004: 05e3 0145 30 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 004: 05e3 0145 36 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 004: 05e3 0142 3a 01
[pieusb] sanei_pieusb_supported_device_list_add() add: 004: 05e3 0145 47 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 004: 05e3 0145 2e 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 004: 0000 0000 00 00
[pieusb] sane_init() config file parsing usb 0x05e3 0x0142 0x2f 0x00
[pieusb] sane_init() config file lists device 05e3 0142 2f 00
[pieusb] sane_init() adding device 05e3 0142 2f 00
[pieusb] sanei_pieusb_supported_device_list_add(): current 005: 05e3 0145 30 00
[pieusb] sanei_pieusb_supported_device_list_add(): current 005: 05e3 0145 36 00
[pieusb] sanei_pieusb_supported_device_list_add(): current 005: 05e3 0142 3a 01
[pieusb] sanei_pieusb_supported_device_list_add(): current 005: 05e3 0145 47 00
[pieusb] sanei_pieusb_supported_device_list_add(): current 005: 05e3 0145 2e 00
[pieusb] sanei_pieusb_supported_device_list_add(): current 005: 0000 0000 00 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 005: 05e3 0145 30 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 005: 05e3 0145 36 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 005: 05e3 0142 3a 01
[pieusb] sanei_pieusb_supported_device_list_add() add: 005: 05e3 0145 47 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 005: 05e3 0145 2e 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 005: 05e3 0142 2f 00
[pieusb] sanei_pieusb_supported_device_list_add() add: 005: 0000 0000 00 00
[pieusb] sane_init() looking for scanner 05e3 0145 model 30, flags 00
[pieusb] sane_init() looking for scanner 05e3 0145 model 36, flags 00
[pieusb] sane_init() looking for scanner 05e3 0142 model 3a, flags 01
[pieusb] sane_init() looking for scanner 05e3 0145 model 47, flags 00
[pieusb] sane_init() looking for scanner 05e3 0145 model 2e, flags 00
[pieusb] sane_init() looking for scanner 05e3 0142 model 2f, flags 00
[pieusb] sane_get_devices
scanimage: no SANE devices found
[pieusb] sane_exit()
Post by Klaus Kaempf
Post by Julian Hauser
Hello,
I'm trying the get the Reflecta RPS 7200 to work with pieusb, so far
with little success.
- "found USB scanner (vendor=0x05e3, product=0x0144) at libusb:001:014"
Good, you already have two of the three required values.
Post by Julian Hauser
I want to add a relevant line to pieusb.conf, but I require the model
number for this as well, which I do not know. scanimage -L in debug mode
does not find the scanner nor show me any info about it (it only lists
the scanners enabled by default and the ones listed in the config file).
Run scanimage with
SANE_DEBUG_PIEUSB=14 scanimage
Post by Julian Hauser
Do you know how I could find the model number?
followed by something like
[pieusb] vendor........................: 'PIE'
[pieusb] product.......................: 'SF Scanner'
[pieusb] model .......................: 0x0036
[pieusb] version.......................: '1.70'
Now edit pieusb.conf and add a line with
usb 0x05e3 0x0144 0x36 0x00
(vendor, product, model, 0x00)
and run scanimage again.
Post by Julian Hauser
Also, this scanner supports automatic transport of film (but not
slides). Should I enable "has-slide-transport" in the config file or
not?
If scanning works in general, change the trailing 0x00 in pieusb.conf
with 0x01. This enables automatic slide transport.
Good luck ! ;-)
Klaus
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Klaus Kaempf
2017-05-31 09:01:55 UTC
Permalink
Post by Julian Hauser
Hello, thanks for the help! :)
Ah, sorry, this model number isn't listed at all yet.

Please start with a zero model number in pieusb.conf:

usb 0x05e3 0x0144 0x00 0x00

and try again.


Klaus
--
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
Julian Hauser
2017-05-31 10:01:17 UTC
Permalink
Great, that did it! The model number is 0x31. I've tried doing a test
scan but am getting an I/O error.

Here's the log: https://pastebin.com/rr8j0gaN

Here's the output of "SANE_DEBUG_PIEUSB=14 scanimage": https://pastebin.com/YLD4VuRb

The relevant line in pieusb.conf is: usb 0x05e3 0x0144 0x31 0x00

Can I attach files (logs) on this list?

Best,
Julian
Post by Klaus Kaempf
Post by Julian Hauser
Hello, thanks for the help! :)
Ah, sorry, this model number isn't listed at all yet.
usb 0x05e3 0x0144 0x00 0x00
and try again.
Klaus
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Olaf Meeuwissen
2017-05-31 11:17:50 UTC
Permalink
Hi Julian,
Post by Julian Hauser
Can I attach files (logs) on this list?
Within reason, yes, but please attach, don't inline. Lots of clueless
mail clients do all kind of nasty things to overly long lines ;-)

If you hit the mail size threshold, the list admin gets to decide. That
may take a few days(?).

Hope this helps,
--
Olaf Meeuwissen, LPIC-2 FSF Associate Member since 2004-01-27
GnuPG key: F84A2DD9/B3C0 2F47 EA19 64F4 9F13 F43E B8A4 A88A F84A 2DD9
Support Free Software https://my.fsf.org/donate
Join the Free Software Foundation https://my.fsf.org/join
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Klaus Kaempf
2017-05-31 12:39:09 UTC
Permalink
Post by Julian Hauser
Great, that did it! The model number is 0x31. I've tried doing a test
scan but am getting an I/O error.
Here's the log: https://pastebin.com/rr8j0gaN
Here's the output of "SANE_DEBUG_PIEUSB=14 scanimage": https://pastebin.com/YLD4VuRb
Ugh: scanimage: output is not a file, exiting

Looks like you're using scanimage the wrong way,
Post by Julian Hauser
The relevant line in pieusb.conf is: usb 0x05e3 0x0144 0x31 0x00
Perfect, thanks for testing !
Post by Julian Hauser
Can I attach files (logs) on this list?
Rather not. Logs tend to get long and waste a lot of bandwidth.
Pastebin is wonderful here.


Klaus
--
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
sane-devel mailing list: sane-***@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/sane-devel
Unsubscribe: Send mail with subject "unsubscribe your_password"
t
Julian Hauser
2017-05-31 13:14:59 UTC
Permalink
Post by Klaus Kaempf
Post by Julian Hauser
Great, that did it! The model number is 0x31. I've tried doing a test
scan but am getting an I/O error.
Here's the log: https://pastebin.com/rr8j0gaN
I've also tried scanning with pieusb debug on, here's the result:
https://pastebin.com/UrkjBX7j
Post by Klaus Kaempf
Post by Julian Hauser
Here's the output of "SANE_DEBUG_PIEUSB=14 scanimage": https://pastebin.com/YLD4VuRb
Ugh: scanimage: output is not a file, exiting
I think that's because I've used scanimage without any options. But I
only used the command to get the model number. If I do the same with
"scanimage -L" then it works. The real problem is when I try to scan
something (see above).
Post by Klaus Kaempf
Looks like you're using scanimage the wrong way,
Post by Julian Hauser
The relevant line in pieusb.conf is: usb 0x05e3 0x0144 0x31 0x00
Perfect, thanks for testing !
Post by Julian Hauser
Can I attach files (logs) on this list?
Rather not. Logs tend to get long and waste a lot of bandwidth.
Pastebin is wonderful here.
Klaus
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Klaus Kaempf
2017-05-31 13:23:16 UTC
Permalink
Post by Julian Hauser
Post by Julian Hauser
Great, that did it! The model number is 0x31. I've tried doing a test
scan but am getting an I/O error.
Here's the log: https://pastebin.com/rr8j0gaN
https://pastebin.com/UrkjBX7j
You need to run through the scanner calibration once after every
power-up of the scanner.

You're trying to scan without calibration and the scanner complains with
"Calibration disable not granted". Try with "xsane".


Klaus
--
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
sane-devel mailing list: sane-***@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-***@lists.alioth.deb
Julian Hauser
2017-05-31 14:12:39 UTC
Permalink
Post by Klaus Kaempf
Post by Julian Hauser
Post by Julian Hauser
Great, that did it! The model number is 0x31. I've tried doing a test
scan but am getting an I/O error.
Here's the log: https://pastebin.com/rr8j0gaN
https://pastebin.com/UrkjBX7j
You need to run through the scanner calibration once after every
power-up of the scanner.
You're trying to scan without calibration and the scanner complains with
"Calibration disable not granted". Try with "xsane".
Do you mean the calibration the scanner does when I turn it on? I
(thought I) waited until that was done (I always wait until after the
calibration noises end). Or is there some calibration that I actively
need to do? I tried with xsane, it seems to give me the same error:
https://pastebin.com/RqTiiX9p
Post by Klaus Kaempf
Klaus
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Klaus Kaempf
2017-06-01 06:48:38 UTC
Permalink
Post by Julian Hauser
Post by Klaus Kaempf
You're trying to scan without calibration and the scanner complains with
"Calibration disable not granted". Try with "xsane".
Do you mean the calibration the scanner does when I turn it on? I
(thought I) waited until that was done (I always wait until after the
calibration noises end). Or is there some calibration that I actively
need to do?
There's a calibration option with values "default values", "from
internal test", "from preview", and "from options".

This should be set to "from internal test".

I don't have a scanner at hand and xsane refuses to start without a
scanner. So I can't tell you exactly where in xsane this setting is
hidden.


Klaus
--
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.
Julian Hauser
2017-06-01 09:20:08 UTC
Permalink
Post by Klaus Kaempf
Post by Julian Hauser
Post by Klaus Kaempf
You're trying to scan without calibration and the scanner complains with
"Calibration disable not granted". Try with "xsane".
Do you mean the calibration the scanner does when I turn it on? I
(thought I) waited until that was done (I always wait until after the
calibration noises end). Or is there some calibration that I actively
need to do?
There's a calibration option with values "default values", "from
internal test", "from preview", and "from options".
This should be set to "from internal test".
I don't have a scanner at hand and xsane refuses to start without a
scanner. So I can't tell you exactly where in xsane this setting is
hidden.
I think those were the settings I used. I just tried again, deleting my
xsane settings before to start with the defaults and "from internal
test". Here's the output: https://pastebin.com/gnaBff6z.

It does seem to fail at a different point now. If I look at the logs
there does seem to be (though my interpretation might be totally off)
some calibration info coming from the scanner (starting at around line
8034), but it then fails just after at
"sanei_pieusb_cmd_get_scanned_lines". Any idea what could be the cause
of this?

Thanks a lot for your help!
Post by Klaus Kaempf
Klaus
Klaus Kaempf
2017-06-01 14:59:03 UTC
Permalink
Post by Julian Hauser
It does seem to fail at a different point now.
Yes, indeed
Post by Julian Hauser
If I look at the logs there does seem to be (though my interpretation
might be totally off) some calibration info coming from the scanner
(starting at around line 8034), but it then fails just after at
"sanei_pieusb_cmd_get_scanned_lines". Any idea what could be the cause
of this?
Your scanner needs a (slightly?) different protocol than the other
(pieusb-based) Reflecta scanners.

Getting this right is a larger operation, involving VirtualBox,
Windows (with the original Reflecta driver), USB port forwarding, and
a lot of USB debugging.

All doable, but might need *a lot* of time.

Klaus
--
SUSE Linux GmbH, GF: Felix Imendörffer, Jane Smithard, Graham Norton, HRB 21284 (AG Nürnberg)
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debi
Julian Hauser
2017-06-01 15:50:19 UTC
Permalink
Post by Klaus Kaempf
Post by Julian Hauser
It does seem to fail at a different point now.
Yes, indeed
Post by Julian Hauser
If I look at the logs there does seem to be (though my interpretation
might be totally off) some calibration info coming from the scanner
(starting at around line 8034), but it then fails just after at
"sanei_pieusb_cmd_get_scanned_lines". Any idea what could be the cause
of this?
Your scanner needs a (slightly?) different protocol than the other
(pieusb-based) Reflecta scanners.
Getting this right is a larger operation, involving VirtualBox,
Windows (with the original Reflecta driver), USB port forwarding, and
a lot of USB debugging.
All doable, but might need *a lot* of time.
I would be up for doing the testing etc., if you're interested in trying
to get this scanner to work. I can set up VirtualBox with the CyberView
software, which shouldn't be too hard. I've never done USB debugging but
if you point me in the right direction, I should be able to do it.
Post by Klaus Kaempf
Klaus
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Julian Hauser
2017-06-03 10:11:03 UTC
Permalink
Hey Klaus,

Would you be interested in trying to get the scanner to work? Let me
know as I will otherwise get rid of my RPS 7200 and find something that
is supported by sane.

Best,
Julian
Post by Julian Hauser
Post by Klaus Kaempf
Post by Julian Hauser
It does seem to fail at a different point now.
Yes, indeed
Post by Julian Hauser
If I look at the logs there does seem to be (though my interpretation
might be totally off) some calibration info coming from the scanner
(starting at around line 8034), but it then fails just after at
"sanei_pieusb_cmd_get_scanned_lines". Any idea what could be the cause
of this?
Your scanner needs a (slightly?) different protocol than the other
(pieusb-based) Reflecta scanners.
Getting this right is a larger operation, involving VirtualBox,
Windows (with the original Reflecta driver), USB port forwarding, and
a lot of USB debugging.
All doable, but might need *a lot* of time.
I would be up for doing the testing etc., if you're interested in trying
to get this scanner to work. I can set up VirtualBox with the CyberView
software, which shouldn't be too hard. I've never done USB debugging but
if you point me in the right direction, I should be able to do it.
Post by Klaus Kaempf
Klaus
--
sane-devel mailing list: sane-***@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-***@lists.alioth.debian.org
Loading...