Wykres commitów

24 Commity (17ce97ac80cef8af50440e444d2798195fe8efc2)

Autor SHA1 Wiadomość Data
m. allan noah b57a64d79e * sanei/sanei_usb.c, include/sane/sanei_usb.h:
- shorten debug lines to fit in 80 chars
- add sanei_usb_clear_halt() required by upcoming canon_dr backend
2008-11-05 02:30:44 +00:00
Julien BLACHE 8ed0d66582 Do not blindly use ftok() in snapscani_mutex_open(). Compute an IPC key based
on the product ID, bus number and device number for libusb devices; fallback
to ftok() otherwise and check the return value.
2008-03-28 20:39:02 +00:00
Julien BLACHE dedf081f7e Revert unintentionally committed code. 2008-03-15 15:35:04 +00:00
Julien BLACHE c394bbb726 Fix typo in sanei_usb.h. 2008-03-15 14:57:51 +00:00
Mattias Ellert 0f3a068bfd Fixing doxygen warnings 2007-11-16 12:31:59 +00:00
Gerhard Jaeger 66269b670e Added sanei_usb_get_descriptor() to retrieve more info about a
device descriptor
2007-11-16 08:46:32 +00:00
m. allan noah 2d543b02b7 try to make doxygen shutup when making docs for sanei/*.h
still one remaining in sanei_thread.h, but i cant figure it out
2007-07-10 16:54:54 +00:00
Henning Geinitz 1695dd4278 Workaround for compilation problem on Windows/cygwin. 2006-02-04 20:51:07 +00:00
Henning Geinitz 64e53087da Fixed some bugs in doxygen documentation. Added some comments. 2005-10-03 18:18:02 +00:00
Rene Rebe e5193fdcae Added support to set the USB timeout. 2005-07-15 09:02:02 +00:00
Gerard Klaver ec5677f0b9 - Header information added for changing configuration, interface or altsetting number
sanei_usb_set_configuration
   sanei_usb_claim_interface
   sanei_usb_release_interface
   sanei_usb_set_altinterface
2005-04-15 20:56:42 +00:00
Henning Geinitz a4b0143586 Include stdlib.h for size_t. 2003-12-21 21:42:34 +00:00
Henning Geinitz fe31e3389c Updated links. 2003-09-24 15:57:14 +00:00
Henning Geinitz a737d690d6 Changed license to GPL + SANE exception. 2003-07-23 14:51:27 +00:00
Rene Rebe a6858b5057 Support for interrupt endpoint reads:
/** Initiate a interrupt transfer read.
 *
 * Read up to size bytes from the interrupt endpoint from the device to
 * buffer. After the read, size contains the number of bytes actually read.
 *
 * @param dn device number
 * @param buffer buffer to store read data in
 * @param size size of the data
 *
 * @return
 * - SANE_STATUS_GOOD - on succes
 * - SANE_STATUS_EOF - if zero bytes have been read
 * - SANE_STATUS_IO_ERROR - if an error occured during the read
 * - SANE_STATUS_INVAL - on every other error
 *
 */
2003-03-24 01:36:27 +00:00
Henning Geinitz e0f00cd762 Fixed link to USB spec. 2003-02-16 19:06:57 +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 6f13df5932 Added, fixed and updated documentation for sanei using doxygen.
Henning Meier-Geinitz <henning@meier-geinitz.de>
1994-02-15 21:37:33 +00:00
Henning Geinitz b80199f1be Really commit the doxygen changes for sanei_usb.h.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2002-01-19 18:53:36 +00:00
Henning Geinitz a119460706 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:29 +00:00
Henning Geinitz a0906efc0b 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:32 +00:00
Henning Geinitz cebca83dfe Added sane USB interface.
Henning Meier-Geinitz <henning@meier-geinitz.de>
2001-08-11 13:12:35 +00:00