Commit graph

9 commits

Author SHA1 Message Date
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