[sane-devel] sanei_usb.c

Paul Smedley paul@smedley.info
Wed, 06 Jul 2005 16:05:16 +0930


Hi All,

On 3/7/2005, "Henning Meier-Geinitz" <henning@meier-geinitz.de> wrote:

>Hi,
>
>On Tue, Jun 28, 2005 at 10:24:36PM +0930, Paul Smedley wrote:
>> OS/2 doesn't have libusb, but has a library usbcalls that provides
>> similar functionality, albeit most of the calls use different syntax.
>>
>> I have sane-find-scanner working now for most scanners, and have started
>> work on remaining functions in sanei_usb.c

As an update.  Last night I did my first scan with scanimage and a
modified sanei_usb.c

Originally I was working with sane-backends-1.0.15 so I'm now bringing
my stuff up to scratch with the latest code in CVS.

I need some help with configure - I'm not familiar with the syntax..

What I need is to check for the presence of usbcalls.h - and if present,
add HAVE_USBCALLS to config.h & add -lusbcalls to LIBS & BACKENDLIBS

Other changes only involve changes to sanei_usb.c and sane-find-scanner.c

sane-find-scanner still isn't perfect so I'll probably not update that
for 1.0.16 but hopefully I'll have a good patch for sanei_usb.c tonight.

Is there a standard format/options for diffs & sane?

Cheers,

Paul.