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

andreas

  • Jr. Member
  • **
  • Posts: 68
  • Karma: +4/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #30 on: January 07, 2021, 11:42:06 pm »
Hi Pete,
thanks for your response.
yes, i saw that it should be supported. but scanimage -L tells me: "no scanner identified"

USB Device Monitor is showing my scanner btw.

any idea what i can do?

ivan

  • Hero Member
  • *****
  • Posts: 1558
  • Karma: +17/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #31 on: January 08, 2021, 11:50:09 am »
Not being facetious all I can suggest is that you get a network scanner that will scan to FTP.

I went through the exercise several years ago for clients that were firmly set to use OS/2 but needed to scan most documents that arrived in the office.  We ended up with them using a Brother ADS-1500w document scanner connected to the network via WiFi to the main server running Peter's FTP server.

Martin Iturbide

  • OS2World NewsMaster
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 4713
  • Karma: +41/-1
  • Your Friend Wil Declares...
    • View Profile
    • Martin's Personal Blog
Re: USB Scanners and ArcaOS
« Reply #32 on: January 08, 2021, 03:01:03 pm »
Hi

Ivan, I don't have the need to scan documents on OS/2, I'm just testing the hardware that I have around. Your suggestion is complete valid, but this is more like an experiment with the hardware that I have.

I will keep testing on the weekend and see what else can happen with these hardware I have.

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

Pete

  • Hero Member
  • *****
  • Posts: 1281
  • Karma: +9/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #33 on: January 08, 2021, 03:24:46 pm »
Hi andreas

Not using a usb scanner myself but would take a guess that you need to check all the usb support files are in place and at the right level. Hopefully someone with a working usb scanner will let you know what versions of libusb etc are required - you are using the sane 1.0.27 or later package?


Regards

Pete
 

andreas

  • Jr. Member
  • **
  • Posts: 68
  • Karma: +4/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #34 on: January 08, 2021, 07:16:51 pm »
yes, i have version 1.028 installed.
using the lastest version of Lars Erdmann's USB driver (10.237)


Lars

  • Hero Member
  • *****
  • Posts: 1271
  • Karma: +65/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #35 on: January 08, 2021, 07:48:40 pm »
By the way: if you install SANE via the RPM, it might happen that some outdated version of USBCALLS.DLL is installed to \USR\LIB.
With "outdated" I mean the version that was meant to work with USB 11.x.
Just rename or delete the version of USBCALLS.DLL in the \USR\LIB directory. The one in the OS2\DLL directory will be the up-to-date version, regardless if my USB driver set or the AN driver set.

Lars

  • Hero Member
  • *****
  • Posts: 1271
  • Karma: +65/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #36 on: January 08, 2021, 07:55:38 pm »
Hm, I just checked: the version of USBCALLS that is installed by the SANE RPM is VERY old (from 2014) and it is NOT compatible with neither the AN USBRESMG.SYS nor my USBRESMG.SYS (USBRESMG.SYS and USBCALLS.DLL form a SET that interacts with each other).
I wonder if THIS is the source of all problems. Again, I suggest to rename or delete this DLL (you can always reinstall via YUM/RPM) and see if that solves the problem.
« Last Edit: January 08, 2021, 07:59:41 pm by Lars »

andreas

  • Jr. Member
  • **
  • Posts: 68
  • Karma: +4/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #37 on: January 08, 2021, 08:08:13 pm »
hi lars,
unfortunatelly this is not the problem. my usbcalls.dell is brandnew (04.01.21).
still pl-dll tells me: "dll initialization routine failled" (same with usb100.dll)
not using RPM here. ps/2 pc is not connected to the net.

Lars

  • Hero Member
  • *****
  • Posts: 1271
  • Karma: +65/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #38 on: January 08, 2021, 08:18:30 pm »
So where did you get usb100.dll from ?

Lars

  • Hero Member
  • *****
  • Posts: 1271
  • Karma: +65/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #39 on: January 08, 2021, 08:19:36 pm »
How in the fucking world can I deinstall a single package, ignoring any dependencies ?
I'd like to install SANE via RPM but I would like to deinstall USBCALLS from RPM afterwards.

andreas

  • Jr. Member
  • **
  • Posts: 68
  • Karma: +4/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #40 on: January 08, 2021, 08:31:52 pm »
probably ftom some new netlabs package. cannot say which one.
just tried an older usb100.dll i found on another installation (03.03.17). but with exactly the same result ...

Dave Yeo

  • Hero Member
  • *****
  • Posts: 4787
  • Karma: +99/-1
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #41 on: January 08, 2021, 08:44:12 pm »
How in the fucking world can I deinstall a single package, ignoring any dependencies ?
I'd like to install SANE via RPM but I would like to deinstall USBCALLS from RPM afterwards.

rpm --erase <package> might do it.

Pete

  • Hero Member
  • *****
  • Posts: 1281
  • Karma: +9/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #42 on: January 08, 2021, 09:26:17 pm »
Hi andreas

Which version of libusb10.dll is installed? - the current release of libusb1 is 1.0.21-2 plus the libusb1-legacy-0 release 1.0.16-2

Some debugging tips from the 1.0.27 readme.os2 :-

requires the following environment variable set so that Sane can find it's configuration files:
set sane_config_dir=?:\sane\etc\sane.d
where ? = drive letter involved

set SANE_DEBUG_SANEI_USB=255 - turns on debug information for the USB interface


I suggest you create a simple cmd file to set variables and test scanner eg:-

rem scan.cmd
set sane_config_dir=j:\programs\sane\etc\sane.d
set beginlibpath=j:\programs\sane\lib;
set SANE_DEBUG_DLL=255
scanimage -L 2> debugL.log

 (change drive letters to suit your system)

Hopefully when run in the scanimage directory will create debugL.log which can be examined in the editor to try and spot where things go wrong.


Regards

Pete






Lars

  • Hero Member
  • *****
  • Posts: 1271
  • Karma: +65/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #43 on: January 08, 2021, 09:34:00 pm »
How in the fucking world can I deinstall a single package, ignoring any dependencies ?
I'd like to install SANE via RPM but I would like to deinstall USBCALLS from RPM afterwards.

rpm --erase <package> might do it.

Unfortunately not. RPM prevents that. It insists on also erasing all dependent programs. It knows better than me, of course.

Sean Casey

  • Full Member
  • ***
  • Posts: 122
  • Karma: +2/-0
    • View Profile
Re: USB Scanners and ArcaOS
« Reply #44 on: January 08, 2021, 11:01:18 pm »

Unfortunately not. RPM prevents that. It insists on also erasing all dependent programs. It knows better than me, of course.
[/quote]

Have you looked at "rpm -e --nodeps" ?