Nicolas Martin
ef94a44afb
Code cleanup patch to imageClass backend (pixma) by Dennis Lou.
2008-05-04 17:35:00 +00:00
Nicolas Martin
9ee0385130
Code cleanup patch to imageClass backend (pixma) by Dennis Lou.
2008-05-04 17:34:20 +00:00
Nicolas Martin
ddb9080cfd
Code cleanup patch to imageClass backend (pixma) by Dennis Lou.
2008-05-04 17:32:58 +00:00
Julien BLACHE
11008838c8
Fix leftover SANE_STATUS_SUCCESS.
2008-05-03 17:06:58 +00:00
Julien BLACHE
4daf488f4a
Replace occurrences of SANE_STATUS_SUCCESS with SANE_STATUS_GOOD.
2008-05-03 16:57:32 +00:00
Julien BLACHE
89b77cef58
Initialize s->fd to -1 once the struct Epson_Scanner is allocated and zeroed
...
out in attach(). Otherwise the backend sends inquiry data to fd 0, which it
obviously shouldn't do; this breaks scanning over saned.
Thanks to Giuseppe Sacco who experienced the issue and pointed to epson2 as
the probable cause.
2008-05-03 14:43:07 +00:00
m. allan noah
8c2f857f39
backend v1.0.12: fix double free error
2008-04-29 00:57:26 +00:00
m. allan noah
deafc44600
sanei/sanei_usb.c: allow sanei_usb_init() to run once per second
...
backend/fujitsu.c: backend v1.0.60, relocate call to sanei_usb_init(), free sane_devArray before calloc'ing a new one
2008-04-28 00:48:48 +00:00
Stéphane Voltz
dcb8cda9ae
- added untested support for HP4400c
2008-04-27 05:57:36 +00:00
m. allan noah
16f5a83f8d
fujitsu: support new fi-6x20
...
epjitsu: mention new S300M
2008-04-23 01:55:34 +00:00
Nicolas Martin
8e5710ca1c
Updated release version of pixma backend.
2008-04-22 19:30:14 +00:00
Nicolas Martin
7b695e1c8e
Update pixma backend for Grayscale scan for MP970 (tested), and probably other CCD sensor MPs (yet untested).
2008-04-22 19:28:18 +00:00
Nicolas Martin
9a70825259
pixma backend update for Canon ImageCLASS series MFPs, and bug fix for ADF / ADF Duplex selection.
2008-04-21 19:40:12 +00:00
Nicolas Martin
2ccf695b59
Update for Canon ImageCLASS series MFPs, to add pixma_imageclass.c to the pixma backend.
2008-04-21 19:27:46 +00:00
Nicolas Martin
d1a648f194
For Canon ImageCLASS series MFPs, add file pixma_imageclass.c to the pixma backend.
2008-04-21 19:26:22 +00:00
Nicolas Martin
fcc26f51e1
Update descriptions for Canon ImageCLASS series MFPs.
2008-04-21 19:24:46 +00:00
Nicolas Martin
20cbe6eb4f
Update man pages for Canon ImageCLASS series MFPs.
2008-04-21 19:24:07 +00:00
Nicolas Martin
4e780149b7
Update for Canon ImageCLASS series MFPs, to add pixma_iclass.c to pixma backend.
2008-04-21 19:23:06 +00:00
Nicolas Martin
8bfc2b0143
Update for Canon ImageCLASS series MFPs, to add pixma_iclass.c to pixma backend.
2008-04-21 19:22:35 +00:00
Nicolas Martin
37cf724fc4
Fix a bug for ADF and ADF duplex, for pixma source scan selection.
2008-04-21 19:20:12 +00:00
m. allan noah
b1bfdd9460
remove duplicate #define SANE_FRAME_JPEG
2008-04-20 12:35:14 +00:00
m. allan noah
39458249b5
backend version 1.0.58:
...
- page code 32 is not color interlacing, rename to 'unknown'
- increase number of bytes in response buffer of init_ms()
- protect debug modification code in init_ms() if NDEBUG is set
- proper async sane_cancel support
- re-enable JPEG support
- replace s->img_count with s->side
- sane_get_parameters(): dont round up larger than current paper size
- sane_start() rewritten, shorter, more clear
- return values are SANE_Status, not int
- hide unused functions
2008-04-20 01:31:29 +00:00
Alessandro Zummo
e16b0e2051
backend/epson2.c: fixed attach() error path.
2008-04-18 21:24:32 +00:00
Nicolas Martin
983e8c0eeb
Update for MP970 (yet for color scan, all resolutions) and bug fix for MP220 at 1200 dpi (reported to work OK)
2008-04-15 21:27:34 +00:00
Julien BLACHE
57bfede65b
Plug an information leak in the net backend.
...
When sending out a SANE_NET_CONTROL_OPTION RPC for the SANE_ACTION_GET_VALUE
action (and SANE_ACTION_SET_AUTO for the network protocol versions < 3), the
backend was not clearing the memory area for the value argument before
sending it over the network, resulting in an information leak for the
SANE_ACTION_GET_VALUE case.
2008-04-13 14:44:20 +00:00
Julien BLACHE
fde1551f68
Fix typo.
2008-04-13 14:21:59 +00:00
Mattias Ellert
8212474cfa
c&p error
2008-04-12 18:49:25 +00:00
Mattias Ellert
8196a0f471
Format warning fixes, man page fixes
2008-04-12 17:49:49 +00:00
Julien BLACHE
eff4892c1c
Restrict protocol for service announcement/browsing/resolution to IPv4
...
unless IPv6 is enabled.
2008-04-11 17:43:16 +00:00
Julien BLACHE
f4ff1b74f6
Add mDNS DNS-SD support to saned and the net backend so they can announce
...
and discover each other automatically.
Optional at configure time, requires Avahi >= 0.6.4.
2008-04-11 17:18:19 +00:00
Julien BLACHE
90a1c88e0d
saned can now drop privileges when running in standalone mode.
2008-04-10 16:55:36 +00:00
Julien BLACHE
cbb3833dbe
Add a PID file.
2008-04-10 16:39:06 +00:00
Julien BLACHE
ce7efefec7
Replace daemon() with an open-coded equivalent.
2008-04-10 16:31:17 +00:00
Nicolas Martin
67ebd9576c
Modifications for PIXMA MP970, to manage CCD sensor with PIXMA generation 3 protocol. To be tested.
2008-04-06 19:46:15 +00:00
Julien BLACHE
26ffc6a211
Debug mode: close all sockets once we have accepted a connection.
2008-04-06 17:27:39 +00:00
Julien BLACHE
f3756baa4a
Close open file descriptors appropriately when spawning child process.
2008-04-06 17:23:36 +00:00
Julien BLACHE
9c6fea1943
Add standalone daemon mode, building upon the AF-indep/IPv6 debug mode.
...
Reorganize code by splitting the main() function into a series of functions.
Factorize common code between the old network code and the AF-indep code. There's now only one version of main().
2008-04-06 15:21:47 +00:00
Julien BLACHE
ef2838234e
Improve comment, once again.
2008-04-06 10:18:16 +00:00
Stéphane Voltz
79fbd0c2f1
- added OPT_CUSTOM_GAMMA and OPT_GAMMA_VECTOR* options for GL646
...
- fixed allocation bugs detected by valgrind
- fixed bugs detected by 'tstbackend -r 1 -l 1'
- allow 'genesys' as default value for backend opening
- made OPT_COLOR_FILTER effectively work for GL646 scanners
- split sane_control_options() to make it more readable
2008-04-05 09:21:56 +00:00
Stéphane Voltz
0239a8344a
- split sane_control_option to make it more readable
2008-04-05 09:11:47 +00:00
Nicolas Martin
d9d44cbe72
Added a tempo before failing in NO PAPER in ADF scan, declared MX850, changed MP970 to Generation 3.
2008-04-02 20:13:48 +00:00
Julien BLACHE
95f01b7244
HAL 0.5.11-rc2 does not support the info.bus property anymore; superseded by
...
info.subsystem. Unfortunately, this is not backward-compatible, so add a new
"hal-new" mode to sane-desc.
2008-03-28 20:57:59 +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
m. allan noah
1ee8fa1d8f
add usleep to improve usb performance, from jim a t meyering d o t net
2008-03-28 14:37:36 +00:00
m. allan noah
127c77c1e5
add class 6 to usb detection code, fix scsi detection bug
2008-03-28 14:13:23 +00:00
Stéphane Voltz
b85ec879da
- rts8891 backend inclusion
2008-03-22 14:33:36 +00:00
Julien BLACHE
2330d122e0
Fix typo in comment.
2008-03-20 21:48:26 +00:00
Julien BLACHE
5ba1b2b917
Fix messages around getservbyname() in the IPv4 code to mention "sane-port" instead of "sane".
2008-03-20 21:47:14 +00:00
Julien BLACHE
59e7f02026
Remove _stdint.h and byteorder.h in the distclean target.
2008-03-20 21:14:04 +00:00
Nicolas Martin
52ec47a434
Added Canon PIXMA MX700, declared MX300 and MX310, and updated some descriptions.
2008-03-16 16:33:53 +00:00