Solomon Peachy
36404817e7
common: Rename everything consistently.
2013-07-27 07:34:36 -04:00
Solomon Peachy
660cd2f3b0
all: split apart backend init into separate init/attach calls.
...
Also fixed every backend, 'dev' wasn't being set properly.
2013-07-19 09:23:53 -04:00
Solomon Peachy
2730a145d4
all: Move USB device IDs into respective backends.
...
This is also untested.
2013-07-18 23:39:36 -04:00
Solomon Peachy
1e0f679eb4
selphy: Final backend migrated to new unified model.
...
None of this has been tested!
2013-07-18 23:00:58 -04:00
Solomon Peachy
060b6763fb
s2145: Migrate to new unified backend.
...
UNTESTED.
2013-07-18 22:10:56 -04:00
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
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
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
1b460b4072
all: Support DEVICE=serno when in standalone mode.
2013-07-17 19:47:47 -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
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
fbbd488c36
sony_updr150: Add a new experimental backend for the Sony UP-DR150 printer.
2013-07-14 15:55:35 -04:00