Linux Driver for Imaging Device (Serial, Currently on Windows)

Closed Posted Apr 7, 2015 Paid on delivery
Closed Paid on delivery

Project Description:

We have an imaging device that currently has a Windows driver, and we need to communicate with it in Linux:

- The device: [url removed, login to view]

The windows driver/sample application has a lot of functionality. We need NONE of this. All we need is:

1. Connect to the device

2. Turn on the lights

3. Capture an image

To do this, the documentation states that you will simply need to simulate a dll function call to:

-Call IO_CaptureImage,

- get image data (Binary), and put it into a buffer, which is 1024*1280*3 in length

The source code of the windows sample application is here:

- [url removed, login to view]

You do not need to worry about any of the OCR functions, etc. All we need is to capture an image. We have documentation from the supplier explaining the interface (appears to be serial?)

You may NOT:

- Just run virtualbox

- Use X (This will be running on a server)

To test:

- I can give you access to TeamViewer to a Ubuntu 14.04 box that currently has the device connected to it. Afterwards, it will be on a VPN where you can SSH to the box all you like

Have a look at the documentation (sorry, some is in Chinese).

Currently, the device is connected through USB on linux and properly appears on the USB Bus:

Ex. cat /sys/bus/usb/devices/3-1/

3-1:1.0/ bDeviceSubClass configuration idProduct product urbnum

authorized bmAttributes descriptors idVendor quirks version

avoid_reset_quirk bMaxPacketSize0 dev ltm_capable removable

bcdDevice bMaxPower devnum manufacturer remove

bConfigurationValue bNumConfigurations devpath maxchild speed

bDeviceClass bNumInterfaces driver/ port/ subsystem/

bDeviceProtocol busnum ep_00/ power/ uevent

Output of lsusb-v:

Bus 003 Device 006: ID 0a82:0612 Syscan

Device Descriptor:

bLength 18

bDescriptorType 1

bcdUSB 2.00

bDeviceClass 0 (Defined at Interface level)

bDeviceSubClass 0

bDeviceProtocol 0

bMaxPacketSize0 64

idVendor 0x0a82 Syscan

idProduct 0x0612

bcdDevice 2.00

iManufacturer 1

iProduct 2

iSerial 0

bNumConfigurations 1

Configuration Descriptor:

bLength 9

bDescriptorType 2

wTotalLength 39

bNumInterfaces 1

bConfigurationValue 1

iConfiguration 0

bmAttributes 0xc0

Self Powered

MaxPower 100mA

Interface Descriptor:

bLength 9

bDescriptorType 4

bInterfaceNumber 0

bAlternateSetting 0

bNumEndpoints 3

bInterfaceClass 255 Vendor Specific Class

bInterfaceSubClass 0

bInterfaceProtocol 0

iInterface 0

Endpoint Descriptor:

bLength 7

bDescriptorType 5

bEndpointAddress 0x02 EP 2 OUT

bmAttributes 2

Transfer Type Bulk

Synch Type None

Usage Type Data

wMaxPacketSize 0x0200 1x 512 bytes

bInterval 0

Endpoint Descriptor:

bLength 7

bDescriptorType 5

bEndpointAddress 0x04 EP 4 OUT

bmAttributes 2

Transfer Type Bulk

Synch Type None

Usage Type Data

wMaxPacketSize 0x0200 1x 512 bytes

bInterval 0

Endpoint Descriptor:

bLength 7

bDescriptorType 5

bEndpointAddress 0x86 EP 6 IN

bmAttributes 2

Transfer Type Bulk

Synch Type None

Usage Type Data

wMaxPacketSize 0x0200 1x 512 bytes

bInterval 0

Engineering PHP Software Architecture

Project ID: #7446027

About the project

6 proposals Remote project Active May 17, 2015

6 freelancers are bidding on average $1015 for this job

viworld

A proposal has not yet been provided

$424 CAD in 10 days
(287 Reviews)
6.2
anshangtai

A proposal has not yet been provided

$550 CAD in 10 days
(18 Reviews)
5.9
prashushinde9

========Please Don't award this project to us without discussing this project in detail============ Hi, I (Myself a senior PHP, ASP.NET programmer using C# and VB) have a team having experience of more than 10 years i More

$793 CAD in 15 days
(26 Reviews)
5.9
theshadowx

Hi, I would be happy to help you, I have already worked before with libusb to connect with a usb hardware. Please have a look at my previous work and porfolio. By the way, may main OS is Ubuntu 14.04. Contact More

$666 CAD in 15 days
(8 Reviews)
4.6
jinqiupeter

Hello, I am a Chinese programmer with professional 7+ years C/C++ skills on Linux/Windows platforms, I have developed a lot of cross platform application in c/c++ from large scale systems to embedded systems including More

$722 CAD in 10 days
(4 Reviews)
4.1
logicpowered

We are very interested in this project. We saw your project requirements. We believe that we will definitely meet your specification with our professional service. To top it off, we are verified & skilled tested. We wi More

$833 CAD in 25 days
(0 Reviews)
0.0