Henning Geinitz
433a923082
Made libusb_timeout static.
2002-07-27 20:33:18 +00:00
Henning Geinitz
d9b5733f67
Check if file is already closed.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-17 17:56:26 +00:00
Henning Geinitz
278709d3d4
Made buffer const SANE_Byte * in sanei_usb_bulk_write(). Try to call
...
usb_find_busses only once. Make sure that already opened devices aren't opened
again. Exit libusb scan loop if one device is found. Make error values more
expressive. Check for missing config descriptors before using them to avoid
segfaults.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-14 16:31:14 +00:00
Henning Geinitz
9e4ad2dcc9
Used dn (device number) instead of fd (file descriptor) to avoid
...
confusion. Updated doxygen documentation.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-03 19:48:45 +00:00
Henning Geinitz
e3476bd389
Added support for libusb.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-07-03 14:07:44 +00:00
Henning Geinitz
a1df2d83f5
Explicitely initialize vendorID and productID.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-05-30 19:23:22 +00:00
Henning Geinitz
644a271538
Fixed some DBG format warnings.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-14 19:50:10 +00:00
Henning Geinitz
a38aa93608
If get_vendor_product fails, don't try again for every device file.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-02-10 18:39:48 +00:00
Henning Geinitz
d9201789aa
Added support for USB control messages (patch from Marcio Luis
...
Teixeira <marciot@holly.colostate.edu>).
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-03 19:18:27 +00:00
Henning Geinitz
7c14157d0b
Fixed debug messages.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-11-07 20:26:06 +00:00
Henning Geinitz
de16f98b44
Fixed vendor/device detection for Linux versions >= 2.4.13.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-10-26 21:24:49 +00:00
Henning Geinitz
ca173d9102
Moved the function to check the "usb VENDOR PRODUCT" config
...
lines to sanei_usb to avoid linking problems.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-09-05 19:48:24 +00:00
Henning Geinitz
a9218c2311
Fixed minor bugs in debug output and documentation.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-08-26 10:39:54 +00:00
Henning Geinitz
36f00f522b
Added (limited) support for FreeBSD.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-08-16 21:20:20 +00:00
Henning Geinitz
3c7567cb2b
Added sane USB interface.
...
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-08-11 13:12:39 +00:00