Wykres commitów

18 Commity (master)

Autor SHA1 Wiadomość Data
David Ward 1a933bba7e Cast pointer arguments if needed when using "%p" format specifier
Pointer arguments must have type (void *) when printed with the format
specifier "%p".
2022-03-08 19:00:00 -05:00
Olaf Meeuwissen e79adde8b2
Use URL to refer users to copies of the GPL and LGPL
With the exception of use in three quotes as well as our inlcuded copy
of the GPL, all use of the Free Software Foundation's postal address
has been removed.

Re #320.
2021-02-12 17:41:38 +09:00
Bernard B Badr 1649d5bfea HP5590: scanbd integration is ready. 2018-07-15 11:00:18 +00:00
Bernard Badr b1da51f7fe HP5590: Fixed ADF handling, fixed 48bit color mode, fixed 2400 dpi color layer shift. 2018-06-11 07:56:28 +00:00
Olaf Meeuwissen 23891a2646 .editorconfig: trim trailing whitespace 2017-05-29 21:14:29 +09:00
Volker Diels-Grabsch baec5e0395 Use consistently __func__ instead of __FUNCTION__
Some parts of SANE used __FUNCTION__ while other parts used __func__.
Now, __func__ is used consistently throughout the SANE sources.  This
fixes all occurrences of the following GCC warning:

warning: ISO C does not support '__FUNCTION__' predefined identifier
2015-12-20 15:27:45 +09:00
Chris Bagwell 8086c98434 Fix unresolved symbols in hp5590_low backend
It was using byte order utils but not including byteorder.h.
2012-08-07 21:00:13 -05:00
Nhan Ngo Dinh 8932359312 * Fix hp5590 backend on big-endian platforms
Little Endian (working)
  =======================
  [hp5590] hp5590_init_scanner
  [hp5590] hp5590_cmd: USB-in-USB: command : 0012
  [hp5590] hp5590_control_msg: USB-in-USB: core data: no
  [hp5590] hp5590_control_msg: USB-in-USB: sending control msg
  [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 143, index = 0, len = 8
  [sanei_usb] 0000: C0 04 00 12 00 00 32 00

  Big Endian (not working)
  ========================
  [hp5590] hp5590_init_scanner
  [hp5590] hp5590_cmd: USB-in-USB: command : 0012
  [hp5590] hp5590_control_msg: USB-in-USB: core data: no
  [hp5590] hp5590_control_msg: USB-in-USB: sending control msg
  [sanei_usb] sanei_usb_control_msg: rtype = 0x40, req = 4, value = 143, index = 0, len = 8
  [sanei_usb] 000 C0 04 00 12 00 00 00 32

  USB field wLength should always be treated little-endian, last command value during
  verification is received as little-endian as well.

  Thanks to Nhan Ngo Dinh for identifying the issue and providing the patch.

  Signed-off-by: Ilia Sotnikov <hostcc@gmail.com
2012-07-15 10:47:21 +03:00
Ilia Sotnikov 10c776769f hp5590: fixed detection of HP4500 devices (tested) and HP5550 (untested) -
these devices need no reading USB-in-USB acknowledgement after each command.
To achieve that, proto_flags are passed down to low-level functions. These
flags are taken from device descriptions
hp5590: fixed up get_status command - index should be 0x00, not 0x20
hp5590: bump up the backend version
2011-03-06 13:30:58 +02:00
Mattias Ellert aaa18be7e3 Add missing includes 2009-06-21 09:12:09 +02:00
chris@cnpbagwell.com 07c5723cab Merge branch 'master' of ssh://cbagwell-guest@git.debian.org/git/sane/sane-backends 2009-05-09 21:40:55 -05:00
chris@cnpbagwell.com 4d9e8138af standardize including local sane/ include files.
Source code was inconsistent on how they were referencing
include files in include/sane.  In certain cases, sane/sane.h
and sane/saneopts.h was really including external copies (with
some preprocessor implementations anyways).
2009-05-07 22:06:20 -05:00
Ilia Sotnikov 92076edd36 * HP5590:
- Updated the list of supported devices (HP 5500C which is similar to
    4570C, 5500C which is similar to 4500C) - only strings/comments, no
	code was changed
  - Updated backend version
  - Updated man page
2009-05-06 20:37:48 +03:00
Chris Bagwell 70f3fdfba4 * acinclude.m4, backend/*.[ch], tools/*.[ch], frontend/*.[ch]:
Global replace of u_int??_t with C9x standard based uintxx_t
 in order to remove some tricky and overlapping portability logic
 from acinclude.m4 and leave it in only m4/stdint.m4.
2009-02-26 03:15:43 +00:00
Ilia Sotnikov 249681dbc6 + Added support for HP ScanJet 4570c (thanks to Markham Thomas) 2008-06-19 11:03:49 +00:00
Mattias Ellert e13bee7577 Fix incompatible pointer type warning 2008-02-03 07:47:55 +00:00
Ilia Sotnikov d398f615d0 * Don't use libusb structs directly, define necessary of them by ourselves
('struct usb_ctrl_setup' -> 'struct usb_in_usb_ctrl_setup')
* Renamed 'struct usb_bulk_setup' to 'struct usb_in_usb_bulk_setup' to show
  its internal usage
2007-04-29 15:06:52 +00:00
Ilia Sotnikov bb31b94180 + Added files for 'hp5590' backend which supports HP ScanJet 5550/5590/7650
scanners
2007-04-24 17:56:36 +00:00