Notes for USB Scanners: Difference between revisions
No edit summary |
No edit summary |
||
(8 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
This are some personal notes about learning how to use a scanner in ArcaOS on 2021. | |||
USB | ==Software Used== | ||
* ArcaOS 5.0.6 | |||
* USB Drivers (included in ArcaOS) | |||
* SANE | |||
* TAME/2 | |||
[[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. | |||
==A little USB test First== | |||
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. | |||
;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 | |||
After that install you need to add to your config.sys file: | |||
set sane_config_dir=x:\etc\sane.d | |||
Where "x" is the drive of you ArcaOS installation, usually "C". | |||
Now 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. | |||
[[image:Tame2_WarpIn.png]] | |||
Since this machine has ArcaOS with some update USB drivers I didn't isntall USBRES and USBCALLS. Arca Noae already has it. | |||
==Links== | |||
* [https://www.os2world.com/forum/index.php/topic,2023.msg21056.html#msg21056 Wim Brul: How I installed SANE and TAME for the first time on my ArcaOS system.] |
Revision as of 01:12, 10 January 2021
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.
A little USB test First
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.
- 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
After that install you need to add to your config.sys file:
set sane_config_dir=x:\etc\sane.d
Where "x" is the drive of you ArcaOS installation, usually "C".
Now 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.