Solomon Peachy
24c3550feb
all: Ensure all malloc() failures are caught and logged.
8 years ago
Solomon Peachy
b731dc04f8
Update copyright notice.
8 years ago
Solomon Peachy
ba99a0a4ca
canon_selphy: Log the CP900 state.
9 years ago
Solomon Peachy
c9f650166d
canonselphy: Fix early parse on subsequent pages.
9 years ago
Solomon Peachy
fdbb7337f4
selphy: Try a hack for the CP900.
9 years ago
Solomon Peachy
0381965f40
canonselphy: Add USB PID for CP520
9 years ago
Solomon Peachy
0f6a28019e
canonselphy: Get rid of placeholders for CP910/CP820
9 years ago
Solomon Peachy
22a02e7696
canonselphy: Use CUPS error responses.
...
early_parse -> non-CUPS errors
read_parse - CUPS errors
main_loop - CUPS errors
All other cases don't matter, as they're not invoked by CUPS.
9 years ago
Solomon Peachy
fce71590c4
canonselphy: Add some preliminary docs on the CP820/CP910
9 years ago
Solomon Peachy
4f11516536
canonselphy: Remove forced manufacturer string.
9 years ago
Solomon Peachy
00e905de6e
canonselphy: Add error recovery string to all ES printers too.
...
Since the CP-series is identical (even the CP790) I decided to just try
adding the string the to the ES1 and kick off a bad print. The error
recovery just worked.
So I copied it to all the ES printers.
9 years ago
Solomon Peachy
aeeb1e3404
canonselphy: Rearrange a little, no functional change.
9 years ago
Solomon Peachy
1e8c0ae99a
Silence a pile of 'cppcheck' warnings.
...
...And fix a legitimate bug in the process!
9 years ago
Solomon Peachy
024775eaf5
canonselphy: Revamp CP790 media detection and error detection.
9 years ago
Solomon Peachy
29bfe527de
canonselphy: Forgot to bump version.
9 years ago
Solomon Peachy
a359fa17c4
canonselphy: Split the CP790 and ES40 handling apart.
...
They share nothing beyond a common spool file format:
* Different readbacks (though the necessary parts are unique)
* Different error codes
* Different media reporting system and identifiers
9 years ago
Solomon Peachy
8856cb2512
canonselphy: Add another error condition on the CP790.
...
Also disable paper type checking on the CP790 for the moment.
9 years ago
Solomon Peachy
485300982e
canonselphy: Detect 'ribbon depleted' conditition with CP-10.
...
Also add an "unknown error" for the CP790.
9 years ago
Solomon Peachy
edbad88f05
canonselphy: Send the error recovery/reset sequence after an error occurs.
...
And add error recovery code for the CP-10.
(I wonder if the ES series uses the same reset sequence?)
9 years ago
Solomon Peachy
704d29354d
canonselphy: Differentiate between 'out of paper' vs 'wrong paper' and
...
'out of ribbon' vs 'wrong ribbon' errors on CP_XXX models.
Also disable the error recovery code, as it caused more problems than it
helped.
9 years ago
Solomon Peachy
0d8336a4e7
canonselphy: Attempt to recover from error conditions if we know how.
...
This is experimental!
9 years ago
Solomon Peachy
34e3b64fc4
all: Get rid of the now-obsolete 'multipage_capable' flag.
9 years ago
Solomon Peachy
64938b839e
canonselphy: Independently report on incorrect paper/ribbon errors for
...
the CP_XXX family.
Also make the errors more consistent with their language.
9 years ago
Solomon Peachy
4094e9d635
canonselphy: Add 'media feed error' to CP790 error list.
...
Also add placeholder entries for CP820 and CP910
9 years ago
Solomon Peachy
85284b321f
canonselphy: ES1 now detects depleted media.
9 years ago
Solomon Peachy
4d2d9bed87
canonselphy: Improve ES3 error detection -- Incorrect media.
9 years ago
Solomon Peachy
7f8fe44269
canonselphy: Improve ES2 error derection some more.
9 years ago
Solomon Peachy
0b1e2dd6e3
canonselphy: ES1 error handling improved.
9 years ago
Solomon Peachy
1eefa82b64
canonselphy: We need to match the full 8-bit papercode for all models other than the CP790.
9 years ago
Solomon Peachy
d577517a24
canonselphy: Fix init sequence detect for cp790/es40
9 years ago
Solomon Peachy
5e996322e3
canonselphy: Log the types when we fail to match on media.
9 years ago
Solomon Peachy
7a4b99f6d7
canonselphy: Tweak the paper type detection.
9 years ago
Solomon Peachy
3764319eb2
canonselphy: Rewrite the error detection code.
...
Now instead of a dumb offset/flag, we parse the whole response from the
printer and holistically figure out what's wrong. On a per-printer type
basis.
This was needed because the ES40 and CP790 share a single "backend" but
have radically different error reporting.
9 years ago
Solomon Peachy
375aed9243
canonselphy: Theoretically add support for the CP790
9 years ago
Solomon Peachy
ee7dae82a5
canonselphy: Document what's known about the CP790.
...
Next up is to code support.
9 years ago
Solomon Peachy
acd4eea41d
canonselphy: Add USB ID for SELPHY CP790
9 years ago
Solomon Peachy
6c335ea1e4
Update copyright notice; it's 2014 now!
9 years ago
Solomon Peachy
6acc8b553c
backends: say "## copies remaining" to differentiate between pages.
9 years ago
Solomon Peachy
4aa050f695
backends: Fix a double-free error in all backends.
...
Since we always call read_parse() we always free the data buffers. Make
sure we set them to NULL or we will try to double-free them when we
terminate normally.
9 years ago
Solomon Peachy
2eb20f90f4
backends: A 0-length read when doing our inital header load is
...
and EOF, so treat it as such and don't error out.
9 years ago
Solomon Peachy
d7d60b7191
backends: Enhance to add multipage capabilities.
...
DNP ds40/ds80 and Sony UP-DR150/200 backends do NOT support this yet.
Next up is to commit the core.
9 years ago
Solomon Peachy
821fc52db9
README updates.
9 years ago
Solomon Peachy
76c2e87fad
selphy: Retry short reads when loading in plane data.
...
Also check for short read when loading header and footer.
9 years ago
Solomon Peachy
1888254860
all: Move to using the common read_data() instead of direct libusb functions.
9 years ago
Solomon Peachy
875ebd2d76
all: Silence nearly all DEBUG outputs unless DYESUB_DEBUG is set in the
...
environment.
9 years ago
Solomon Peachy
9201105c66
all: Fixed all compiler warnings.
9 years ago
Solomon Peachy
7a7bdf9fab
all: Update URL to the public git repo.
10 years ago
Solomon Peachy
36404817e7
common: Rename everything consistently.
10 years ago