Notes for USB Scanners

From OS2World.Com Wiki
Revision as of 18:02, 9 January 2021 by Martini (talk | contribs)
Jump to navigation Jump to search

This are some personal notes about learning how to use a scanner in ArcaOS on 2021.

Software Used

  • ArcaOS 5.0.6
  • USB Drivers (included in ArcaOS)
  • SANE
  • TAME/2

Notes

USB scanners in ArcaOS and OS/2 works using USBRESMG.SYS as a driver. This is the OS/2 USB Resource Manager driver that works to connect different USB devices. It is not an specific driver for scanner, but a driver to allow you to communicate with different USB devices.

Tame/2 has the USBRESMG driver within it's installer, but ArcaOS may have a newer version available on x:\OS2\BOOT.

For my test I will try to make an Epson Multi function printer that has an USB scanner.

I plugged the Epson L4150 multifunction printer first and did a "lsusb" just to be sure the device is recognized as an USB device. It showed me:

[X:\]lsusb
Bus 001 Device 002: ID 04b8:1135 Seiko Epson Corp.

SANE

I think that the first recommended thing will to use SANE and only SANE to test if your scanner is working and supported.

Step
Install SANE.

I'm going the easy way here installing "sane-backend" from the Netlabs RPM using "yum" command line or "[[ANPM]"

yum install sane-backend

First you need to determine the 'backend' that SANE needs for your scanner. You get this from 'Scanimage -L'. Example:

device `snapscan:libusb:001:002' is a EPSON EPSON Scanner1 flatbed scanner
device `epson2:net:192.168.21.201' is a Epson PID 110B flatbed scanner

You can also get the log like:

scanimage -v 1>output.pnm 2>debugoutput.txt
Step
Install Tame/2. I'm using Paul Smedly's repacked version.

Since this machine has ArcaOS with some update USB drivers I didn't isntall USBRES and USBCALLS. Arca Noae already has it.