Solomon Peachy
40604d6664
common: Finish multi-exec handling, including auto backend detection based on environment and/or argv[0]
...
Now ready to try porting another backend into this framework.
2013-07-18 12:45:35 -04:00
Solomon Peachy
0ca04120a8
common: Placeholder for backend detection
2013-07-18 08:51:02 -04:00
Solomon Peachy
be8c5c494f
unification: Rearrange internals quite a lot.
...
Only Sony UP-DR150 driver is converted.
Still to-do in common code:
* Backend selection based on URI (ie CUPS mode)
* Backend selection based on BACKEND or argv[0] (ie standalone mode)
2013-07-18 08:46:44 -04:00
Solomon Peachy
7f4123d5eb
documentation updates to reflect global EXTRA_VID/PID/TYPE
2013-07-18 00:09:59 -04:00
Solomon Peachy
fc66186e4c
common: Don't re-attach after scanning device IDs.
2013-07-17 23:40:48 -04:00
Solomon Peachy
be94ac3fff
all: Unify find_and_enumerate function.
...
Also means pushing device IDs etc into a table.
This is all *UNTESTED*
2013-07-17 23:39:31 -04:00
Solomon Peachy
937c687274
all: Simplify print_scan_output() a bit, eliminate the obsolete 'valid' argument.
2013-07-17 22:43:49 -04:00
Solomon Peachy
49f413543d
kodak1400: Kodak 805 is validated as working. Mark it as supported.
2013-07-17 19:57:20 -04:00
Solomon Peachy
1b460b4072
all: Support DEVICE=serno when in standalone mode.
2013-07-17 19:47:47 -04:00
Solomon Peachy
c91459603a
s2145: bump version.
2013-07-16 23:36:42 -04:00
Solomon Peachy
c05671a1c6
s2145: Tweak status messages a bit.
2013-07-16 23:35:34 -04:00
Solomon Peachy
67f2e817df
s2145: Added decoding of command ids to text strings.
...
Also, added a sleep after the data dump, to avoid USB comms problems.
2013-07-16 23:33:09 -04:00
Solomon Peachy
c3173703c6
all: Tweak state transtition/sleeping a bit.
...
Now we only sleep if the readback and teh state haven't changed.
2013-07-16 23:19:04 -04:00
Solomon Peachy
2f294c6518
s2145: Major internal reworking
...
* Factor out command-response sequence into a separate function
* Stop using lookup tables for text fields in favor of switch statements
* Add full status/error field decoding (not counting "printer error" fields
* Fix order of bankX status fields
* Simplify state machine, fixing major bugs in the process
* Improved status and error logging considerably
* Other bugfixes
There's still finiky USB handshaking going on at times; the printer just
times out on responses. Haven't figured out why still.
2013-07-16 23:00:50 -04:00
Solomon Peachy
f70d028ac2
common: When no serial number is known, use the bus/portnum
2013-07-16 21:08:33 -04:00
Solomon Peachy
c602ad75c0
s2145: Fix formatting.
2013-07-16 18:38:38 -04:00
Solomon Peachy
48a2df1196
all: Don't re-attach the kernel driver when we're done.
...
It actually breaks the Shinko s2145, and given that none of these
printers comply with the USBLP class anyway, it's no real loss.
2013-07-16 18:34:48 -04:00
Solomon Peachy
91d68621d5
s2145: Use a common read buffer, and rearrange status counters.
2013-07-16 18:13:10 -04:00
Solomon Peachy
66c5a913fd
all: Gutenprint's automake can't handle '-' in variable names. sigh.
2013-07-14 20:18:04 -04:00
Solomon Peachy
caaaf3f623
all: Unify naming convention of backends. Get rid of '_' in URIs.
...
now it's:
manufacturer-model
2013-07-14 20:10:18 -04:00
Solomon Peachy
7224fe02a8
Update README.
2013-07-14 17:47:11 -04:00
Solomon Peachy
28c70a6fbc
s2145: Use a fixed-size buffer to receive responses from the printer.
...
Doesn't seem to fix the hanging on subsequent requests. Hmm. Maybe
there's something wrong with the initial requests instead?
2013-07-14 17:37:48 -04:00
Solomon Peachy
fbbd488c36
sony_updr150: Add a new experimental backend for the Sony UP-DR150 printer.
2013-07-14 15:55:35 -04:00
Solomon Peachy
e0b2a6907e
kodak6800: Add (untested) support for setting tone curves too.
2013-07-08 22:33:54 -04:00
Solomon Peachy
52a702e191
kodak6800: Update documentation about the curve data decoding.
2013-07-08 22:17:22 -04:00
Solomon Peachy
145911c6cf
kodak6800: Initial support for querying stored tone curve.
...
(Setting the tone curve is a lot more complicated)
2013-07-08 21:59:51 -04:00
Solomon Peachy
6f64488c48
kodak1400: fix error in byteswapping.
2013-07-08 21:53:52 -04:00
Solomon Peachy
a8c90f3731
kodak1400: Add tone curve setting support. Untested.
2013-07-08 20:45:46 -04:00
Solomon Peachy
60ab3bd040
s2145: Fix tone curve set. oops.
2013-07-08 20:37:30 -04:00
Solomon Peachy
1be87e8839
s2145: Dump tonecurve to a file instead of formatted stdout.
2013-07-08 20:15:39 -04:00
Solomon Peachy
13bf3e1936
kodak6800: Add sniffs about reading/writing the tone curves.
2013-07-08 20:08:57 -04:00
Solomon Peachy
3547621c97
docs: add bug tracker information.
2013-07-08 11:44:06 -04:00
Solomon Peachy
9552314429
documentation: Add the s2145, and improve SELPHY docs too.
2013-07-08 11:42:36 -04:00
Solomon Peachy
aab6074ab4
s2145: Add initial ability to set tone curves.
...
..This expects a raw file. Probably not ideal, but it's a start.
2013-07-06 22:44:51 -04:00
Solomon Peachy
b4b2b4c00f
common: Log the USB Manufacturer ID too.
2013-07-06 21:05:00 -04:00
Solomon Peachy
fec7e6d776
common: Fix more USB descriptor parsing bugs.
2013-07-06 20:58:23 -04:00
Solomon Peachy
6093b65481
s2145: Add support for reading the tone curves.
2013-07-06 20:29:30 -04:00
Solomon Peachy
060c38ba74
s2145: Add a blurb about how LiveLink Technology sponsored this backend.
2013-07-06 19:08:17 -04:00
Solomon Peachy
20f903e166
s2145: Decode many of the values in the various status messages.
...
Also, if we get an error after printing, log it properly instead of
assuming we're peachy.
2013-07-06 18:56:19 -04:00
Solomon Peachy
924164e683
s2145: Flash LED, Cancel job, reset printer/user curve, configure buttons.
...
Everything but querying and setting the tone curves is implemented now.
2013-07-06 15:12:45 -04:00
Solomon Peachy
26c8224fca
s2145: Add the ability to set the user/unique string.
2013-07-06 14:11:41 -04:00
Solomon Peachy
63ee09ff0f
s2145: Added the ability to query status, media, errors, and fwinfo.
2013-07-06 13:39:00 -04:00
Solomon Peachy
62ba1bd276
s2145: Add functions to dump status/state/logs/etc.
2013-07-06 12:48:19 -04:00
Solomon Peachy
daec9e6f68
s2145: Rename helper to include manufacturer.
2013-07-06 11:03:49 -04:00
Solomon Peachy
071e589679
icm: Add ICC profiles for Shinko/Sinfonia S2145
2013-07-06 11:01:21 -04:00
Solomon Peachy
859662f9d3
icm: Move all ICC profiles around a little.
2013-07-06 10:45:27 -04:00
Solomon Peachy
d8751e8f81
s2145: Add a spooler for the Shinko/Sinfonia CHC-S2145.
...
...It doesn't work yet, something is wrong with the raw data xfer.
2013-07-06 10:14:06 -04:00
Solomon Peachy
e1ea0359fd
common: bump revision.
2013-07-06 10:12:19 -04:00
Solomon Peachy
df9a207f8e
all: add xxx_to_cpu macros as well.
2013-07-06 09:10:01 -04:00
Solomon Peachy
6b474fb958
selphy: Tweak informational logging a smidge.
2013-07-01 07:26:34 -04:00