OS/2, eCS & ArcaOS - Technical > Applications

libusb-1.0 port to OS/2 - help needed

(1/16) > >>

Paul Smedley:
Hi All,

Some would be aware that I have been working on porting libusb 1.0 to OS/2.  The previous OS/2 port is at version 0.1.x level, which is not used anymore by many current applications.

I have managed to successfully scan some files using Sane built with libusb 1.0, and I have also ported lsusb, a linux application to view attached USB devices.

I would be very appreciative if people could help by testing these applications on their systems.

For Sane - I'm really interested in users who are currently successfully scanning via *usb* with older versions/builds of Sane. I need to know if the libusb backend is performing as well as the previous backend that directly called usbcalls. The test Sane build is available from https://dl.dropboxusercontent.com/u/76425158/sane-1.0.23-os2-20130426.zip

For lsusb - I'm wanting to ensure all devices that show in something like usbdock, are shown by lsusb. Additionally, I want to ensure the information presented by 'lsusb -v' (ie a detailed device report) matches the device reports from usbdock (formatting differences aside). lsusb can be downloaded from https://dl.dropboxusercontent.com/u/76425158/lsusb.zip

See the readme.os2 in each package for details on how to capture the logging information from libusb.

Thanks in advance,

Paul

Alex Taylor:
Tried lsusb here on my TP500.  It detects exactly the same devices as USBDock: fingerprint reader, webcam, mouse, bluetooth, and keypad.  I assume you don't want the debug output if it worked properly. :)

I'll try sane on my other PC later today.

Wim Brul:
Nice work. I tried lsusb on eComStation 2.0 with the following results:

1. Yes, the devices that show up in UsbDock are shown by lsusb.

2. Yes, the information presented by 'lsusb -v' matches the device reports from  UsbDock.

3. No, the file /extras/share/usb.ids was not found.

I created d:\extras\share and copied usb.ids used by usbres.exe and that worked.

Doug Bissett:
7 systems. LSUSB works as described on all of them.

Sorry, no USB scanner to work with.

Paul Smedley:

--- Quote from: Wim Brul on April 26, 2013, 06:24:54 pm ---Nice work. I tried lsusb on eComStation 2.0 with the following results:

1. Yes, the devices that show up in UsbDock are shown by lsusb.

2. Yes, the information presented by 'lsusb -v' matches the device reports from  UsbDock.

3. No, the file /extras/share/usb.ids was not found.

I created d:\extras\share and copied usb.ids used by usbres.exe and that worked.

--- End quote ---

Thanks - I wonder if usb.ids is included in eCS.  If it is, I could try and change the code in lsusb to look in that location...

Navigation

[0] Message Index

[#] Next page

Go to full version