Author Topic: USB Scanners and ArcaOS  (Read 4448 times)

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 574
  • -Receive: 121
  • Posts: 3171
  • Karma: +25/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
USB Scanners and ArcaOS
« on: January 04, 2021, 02:21:30 am »
Hi

Does anybody has some good experience with USB scanner under ArcaOS?
If so, Can you please let me know which scanner, drivers, tricks and software are you using?

I want to give it a try some USB scanners that I have around .

Regards

Martin Iturbide
OS2World NewsMaster
... just share the dream.

Paul Smedley

  • Hero Member
  • *****
  • Thank You
  • -Given: 59
  • -Receive: 116
  • Posts: 851
  • Karma: +65/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #1 on: January 04, 2021, 02:29:44 am »
Sane should be a good option - iirc Epson and canon are pretty well supported.

Pete

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 50
  • Posts: 1094
  • Karma: +3/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #2 on: January 04, 2021, 04:38:24 am »
Hi Martin

I had a Canon LiDE20 working with sane and Tame/2 (sane 1.0.27 seems to be the package I was using). This was a while back but I think the scanner used the plustek.conf file and setup within Tame/2 was fairly automatic.

HP scanners should work as long as the scanner model is listed in the models.dat file supplied with the hplip package and HPscan provides a basic frontend that works with the required hpaio: uri  - https://hobbes.nmsu.edu/?dir=%2F&stype=all&sort=type_name&search=hpscan


Regards

Pete

Ian Manners

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 51
  • -Receive: 32
  • Posts: 403
  • Karma: +5/-0
  • I am the computer, it is me.
    • View Profile
    • ComKal Networks Australia
Re: USB Scanners and ArcaOS
« Reply #3 on: January 04, 2021, 08:02:59 am »
Using Paul Smedley's SANE v1.0.27 build from 21st March 2019.
And
USBRESMG.SYS (5th June 2006)
  Signature:       @#Froloff&Son:1.6#@  OS/2 USB Resource Manager
  Vendor:          Froloff&Son
  Revision:        1.06
  File Version:    1.6
  Description:     OS/2 USB Resource Manager
with matching USBCALLS.DLL (5th June 2006).

I've never been able to get SANE working with the latest versions of USBRESMG.SYS and USBCALLS.DLL.
but then I've also gone back to 16bit USB drivers as the 32bit ones do not print to my HP Deskjet 9300 unless it is turned on first when the computer is booted.

Scanners known to work.
======================
  Epson Perfection 1240U (USB)
  Epson Perfection 1660 Photo (USB)
  HP ScanJet 2200C (USB)
  HP ScanJet 3300C (USB)
  HP ScanJet 5200C (USB & SCSI)
  HP ScanJet 3C (SCSI)
  HP ScanJet 4C (SCSI)
  Canon CanoScan 3200F (USB)

PS, the HP ScanJet 4C and Epson Perfection 1660 Photo where originally from Paul Smedley :)
« Last Edit: January 04, 2021, 06:44:23 pm by Ian Manners »
Cheers
Ian B Manners

David McKenna

  • Sr. Member
  • ****
  • Thank You
  • -Given: 12
  • -Receive: 25
  • Posts: 341
  • Karma: +14/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #4 on: January 04, 2021, 12:23:02 pm »
 Hi Martin,

 Been using an ancient Epson Perfection 2480 photo scanner with ArcaOS and BWW's 1.0.28 version of SANE with Tame without any problems. It was a bit tricky to get working, but once sorted out works well.

Regards,
« Last Edit: January 04, 2021, 12:28:35 pm by David McKenna »

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 76
  • Posts: 791
  • Karma: +23/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #5 on: January 04, 2021, 01:31:40 pm »
Using Paul Smedley's SANE v1.0.27 build from 21st March 2019.
And
USBRESMG.SYS (5th June 2006)
  Signature:       @#Froloff&Son:1.6#@  OS/2 USB Resource Manager
  Vendor:          Froloff&Son
  Revision:        1.06
  File Version:    1.6
  Description:     OS/2 USB Resource Manager
with matching USBCALLS.DLL (5th June 2006).

I've never been able to get SANE working with the latest versions of USBRESMG.SYS and USBCALLS.DLL.
but then I've also gone back to 16bit USB drivers as the 32bit ones do not print to my HP Deskjet 9300 unless it is turned on first when the computer is booted.

Scanners known to work.
======================
  Epson Perfection 1240U (USB)
  Epson Perfection 1660 Photo (USB)
  HP ScanJet 2200C (USB)
  HP ScanJet 3300C (USB)
  HP ScanJet 5200C (USB & SCSI)
  HP ScanJet 3C (SCSI)
  HP ScanJet 4C (SCSI)
  Canon CanoScan 3200F (USB)

Have you ever tried my USB driver set ? I had added some fixes to USBCALLS.DLL and also to USBRESMG.SYS (I don't know what David did or didn't do).
Since you are using the 16-bit drivers anyway ...

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 574
  • -Receive: 121
  • Posts: 3171
  • Karma: +25/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: USB Scanners and ArcaOS
« Reply #6 on: January 04, 2021, 03:58:58 pm »
Hi

I will test tonight two scanners I have here.
- Epson EcoTank L4150 - Multifunction printer with a flatbed scanner.
- HP ScanJet Proo 2000 S1 - Duplex Sheet-feed Scanner

What are the recommended first steps with SANE, or commands to see if its get recognized by Sane in any way?
I have never use SANE directly, I remember I used just the TAME/2 GUI long time ago.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Ian Manners

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 51
  • -Receive: 32
  • Posts: 403
  • Karma: +5/-0
  • I am the computer, it is me.
    • View Profile
    • ComKal Networks Australia
Re: USB Scanners and ArcaOS
« Reply #7 on: January 04, 2021, 06:12:50 pm »
Hi Martin,

run sane-find-scanner.exe :)
I connected one of the epson's up and it returned:

Quote
[D:\apps\sane]sane-find-scanner
  # 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.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04b8 [EPSON], product=0x010b [Perfection1240]) at li
busb:001:002
  # 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.

Lars, I'll try your drivers tomorrow, I've tried them in the past but cant remember why I changed.

(edited for grammar)
« Last Edit: January 04, 2021, 06:15:50 pm by Ian Manners »
Cheers
Ian B Manners

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 76
  • Posts: 791
  • Karma: +23/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #8 on: January 04, 2021, 06:35:40 pm »
Just uploaded 10.237 to Hobbes.

Ian Manners

  • Global Moderator
  • Sr. Member
  • *****
  • Thank You
  • -Given: 51
  • -Receive: 32
  • Posts: 403
  • Karma: +5/-0
  • I am the computer, it is me.
    • View Profile
    • ComKal Networks Australia
Re: USB Scanners and ArcaOS
« Reply #9 on: January 04, 2021, 06:42:56 pm »
ok, will try your new ones you just uploaded to hobbes in the morning :)

I did just load usbdrv234.zip, printer works fine when turned on after boot but with your provided usbcalls.dll and USBRESMG.SYS I get:

      SCANIMAGE.EXE: open of device epson2 failed: Invalid argument

back leveling both everything seems to work fine.

I'll also try BWW's sane build tomorrow.

I do have a vague memory that your USB drivers were faster with external USB SATA drives than AN's but I think I ended up settling on AN's USB drivers as I was switching between the 16 and 32 drivers and it was just easier at the time. My OS/2 install in from the mid 90's, I've simply replace files and updated bits since then without a fresh install so it's not really eCS or AN but..
Cheers
Ian B Manners

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 76
  • Posts: 791
  • Karma: +23/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #10 on: January 04, 2021, 08:33:02 pm »
There was a change in USBCALLS.DLL / USBRESMG.SYS and it was not binary compatible with old versions of USBCALLS.DLL.
I think at some point Paul updated SANE to support the newer USBCALLS.DLL. But I cannot remember where to find that new SANE version.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 574
  • -Receive: 121
  • Posts: 3171
  • Karma: +25/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: USB Scanners and ArcaOS
« Reply #11 on: January 04, 2021, 08:37:35 pm »
Hi

No luck for the moment.

I'm trying the Epson EcoTank L4150 - Multifunction printer with a flatbed scanner.

lsusb recognize it:
Quote
[X:\]lsusb
Bus 001 Device 002: ID 04b8:1135 Seiko Epson Corp.
I'm guessing the printer and scanner has the same HardwareID.

I installed Tame/2 - Tame_1-0-5_2008-04-26.exe. I did not installed USBRESMG.SYS and USBCALLS from that package, since I already have it ArcaOS.
I have USBRESMG.SYS and USBCALLS 12.7 from ArcaOS. 

Code: [Select]

I'm running "sane-find-scanner" from Tame.
[X:\programs\tame]sane-find-scanner

  # 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.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

  # No USB scanners found. If you expected something different, make sure that
  # you have loaded a kernel driver for your USB host controller and have setup
  # the USB system correctly. See man sane-usb for details.
  # SANE has been built without libusb support. This may be a reason
  # for not detecting USB scanners. Read README for more details.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.


Nothing detected. Now I will try the newer SANE. Sane-backends-1.0.27-os2-20190321.zip.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 574
  • -Receive: 121
  • Posts: 3171
  • Karma: +25/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: USB Scanners and ArcaOS
« Reply #12 on: January 04, 2021, 08:41:39 pm »
Hi

The latest SANE (Sane-backends-1.0.27-os2-20190321.zip.) give me a different message.

Code: [Select]
[X:\PROGRAMS\SANE]sane-find-scanner

  # 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.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

could not fetch string descriptor: Input/output error
could not fetch string descriptor: Input/output error
found USB scanner (vendor=0x04b8, product=0x1135) at libusb:001:002
found USB scanner (vendor=0x147e [UPEK], product=0x1002 [TouchStrip Fingerprint
Sensor      ]) at libusb:001:003
  # 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.


So, I guess it recognize it:
 found USB scanner (vendor=0x04b8, product=0x1135) at libusb:001:002

Now I will check what to do with TAME.

Regards
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Thank You
  • -Given: 574
  • -Receive: 121
  • Posts: 3171
  • Karma: +25/-0
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: USB Scanners and ArcaOS
« Reply #13 on: January 04, 2021, 08:53:59 pm »
Hi

Now I don't know what do do.
I replaced the SANE files inside the TAME installation folder with the latest SANE port.
I tried TAME/2 and selected different configurations like "Epson StylusScan 2000", "Epson RX640" and "Expson GT9700 USN" and I don't get a preview, or any scanner action at all.

If I run "Scanimage -L" I get a OS2DASD trap.

Regards
« Last Edit: January 04, 2021, 08:59:39 pm by Martin Iturbide »
Martin Iturbide
OS2World NewsMaster
... just share the dream.

Lars

  • Hero Member
  • *****
  • Thank You
  • -Given: 1
  • -Receive: 76
  • Posts: 791
  • Karma: +23/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #14 on: January 04, 2021, 09:01:04 pm »
Looks like SANE also requires USBLIB. You all make sure that you have an updated version. Update via RPM.