top of page
Search
macehyrali1986

Wic Reset V 1.5.3: A Simple and Effective Way to Reset Your Epson Printer with WIC



The libusb-based USB backend of CUPS was far from completely implemented. It lacked the ability to communicate uni-directionally with devices which are not able to communicate bi-directionally, refrain from re-attaching the usblp kernel module after printing for some devices, reset the printer after printing the job, ... In the proposed package these adaptations for devices with quirks are done in the USB backend. Especially this backend now works with said Brother printer by built-in exception rules for this model, so that the communication is done uni-directionally and the usblp kernel module will not get re-attached to the printer after printing the job. This makes the printer working without blacklisting the usblp module. So this second SRU is an improved solution.


[ Till Kamppeter ] * New upstream release - Numerous fixes on IPP (LP: #945028, LP: #973270, LP: #990734, LP: #992468, LP: #992982, LP: #1000172, LP: #1000758) - USB backend based on the maintained libusb 1.0.x with support for bi-directional communication - Fixes on SNMP-based supply level reporting - PostScript prtinter auto-configuration reliable now - Several fixes on PostScript, SSL, authenticated printing, and networking issues * debian/patches/ipp-fixes-1.5.3.patch, debian/patches/fix-empty-translations.patch, debian/patches/ppd-cache-fix-crash.patch, debian/patches/commandtops-make-robust-against-broken-postscript.patch, debian/patches/cups-polld-reconnect.patch, debian/patches/usb-backend-libusb-1.0.patch, debian/patches/usb-backend-backchannel-support.patch: Removed patches which got included upstream. * debian/patches/fix-supply-level-computation-for-percent-supply-unit.patch, debian/patches/fix-supply-levels-for-enumerated-prtmarkersupplieslevel.patch, debian/patches/fix-status-reports-when-supply-levels-grow.patch, debian/patches/add-status-reports-for-full-waste-trays-and-cleaner-unit-eol.patch, debian/patches/match-marker-colorants-which-use-non-standard-string.patch, debian/patches/truncate-marker-supply-names-at-comma.patch: Removed supply level report fixes. This got solved differently upstream. * debian/patches/do-not-suppress-inputslot-setting-with-empty-ap-d-inputslot.patch: Removed, problem solved differently upstream. * debian/patches/cups-avahi.patch: Manually regenerated to adapt to upstream changes. * debian/patches/ppd-poll-with-client-conf.patch, debian/patches/colord-support.patch, debian/patches/airprint-support.patch, debian/patches/no-conffile-timestamp.patch, debian/patches/drop_unnecessary_dependencies.patch, debian/patches/read-embedded-options-from-incoming-postscript-and-add-to-ipp-attrs.patch, debian/patches/show-compile-command-lines.patch: Refreshed using quilt. * debian/patches/usb-backend-busy-loop-fix.patch: Correct loops to repeat claiming interfaces on USB devices when they are busy. Before, hitting busy state made the device opening function error out without comment (LP: #987485). * debian/patches/usb-backend-detach-usblp-earlier-crash-guards.patch: Protect against crashes by checking error codes of libusb functions (LP: #997040) and detach usblp kernel module in an earlier stage when opening a device (LP: #987485, LP: #997040). * debian/patches/usb-backend-initialize-usblp-attached-state.patch: Initialize usblp_attached field in printer data structure to assure that detaching and re-attaching the usblp kernel module is always done correctly (LP: #902535, LP: #959676, LP: #960666, LP: #987485, LP: #995111, LP: #997040, LP: #1000253, LP: #1001028). * debian/patches/install-sh-remove-bashism.patch: Removed bashism. * debian/local/blacklist-cups-usblp.conf, debian/cups.postinst, debian/cups.install: Bla...




Wic Reset V 1.5.3



[ Till Kamppeter ] * New upstream release - Numerous fixes on IPP (LP: #945028, LP: #973270, LP: #990734, LP: #992468, LP: #992982, LP: #1000172, LP: #1000758) - USB backend based on the maintained libusb 1.0.x with support for bi-directional communication - Fixes on SNMP-based supply level reporting - PostScript prtinter auto-configuration reliable now - Several fixes on PostScript, SSL, authenticated printing, and networking issues * debian/patches/ipp-fixes-1.5.3.patch, debian/patches/fix-empty-translations.patch, debian/patches/ppd-cache-fix-crash.patch, debian/patches/commandtops-make-robust-against-broken-postscript.patch, debian/patches/cups-polld-reconnect.patch, debian/patches/usb-backend-libusb-1.0.patch, debian/patches/usb-backend-backchannel-support.patch: Removed patches which got included upstream. * debian/patches/fix-supply-level-computation-for-percent-supply-unit.patch, debian/patches/fix-supply-levels-for-enumerated-prtmarkersupplieslevel.patch, debian/patches/fix-status-reports-when-supply-levels-grow.patch, debian/patches/add-status-reports-for-full-waste-trays-and-cleaner-unit-eol.patch, debian/patches/match-marker-colorants-which-use-non-standard-string.patch, debian/patches/truncate-marker-supply-names-at-comma.patch: Removed supply level report fixes. This got solved differently upstream. * debian/patches/do-not-suppress-inputslot-setting-with-empty-ap-d-inputslot.patch: Removed, problem solved differently upstream. * debian/patches/cups-avahi.patch: Manually regenerated to adapt to upstream changes. * debian/patches/ppd-poll-with-client-conf.patch, debian/patches/colord-support.patch, debian/patches/airprint-support.patch, debian/patches/no-conffile-timestamp.patch, debian/patches/drop_unnecessary_dependencies.patch, debian/patches/read-embedded-options-from-incoming-postscript-and-add-to-ipp-attrs.patch, debian/patches/show-compile-command-lines.patch: Refreshed using quilt. * debian/patches/usb-backend-busy-loop-fix.patch: Correct loops to repeat claiming interfaces on USB devices when they are busy. Before, hitting busy state made the device opening function error out without comment (LP: #987485). * debian/patches/usb-backend-detach-usblp-earlier-crash-guards.patch: Protect against crashes by checking error codes of libusb functions (LP: #997040) and detach usblp kernel module in an earlier stage when opening a device (LP: #987485, LP: #997040). * debian/patches/usb-backend-initialize-usblp-attached-state.patch: Initialize usblp_attached field in printer data structure to assure that detaching and re-attaching the usblp kernel module is always done correctly (LP: #902535, LP: #959676, LP: #960666, LP: #987485, LP: #995111, LP: #997040, LP: #1000253, LP: #1001028). * debian/patches/install-sh-remove-bashism.patch: Removed bashism. * debian/local/blacklist-cups-usblp.conf, debian/cups.postinst, de...


Still does not work without blacklist. Successful download and install of 1.5.3-0ubuntu2ppa2, which works while the usblp module is blacklisted, but as soon as I turn off the blacklist the old problem recurs.


My CUPS upload to my PPA (1.5.3-0ubuntu2ppa2) is broken. In some hours the new version 1.5.3-0ubuntu2ppa3 will be available. Please wait for this new version, update your system then, check whether you actually have 1.5.3-0ubuntu2ppa3 and then do the tests of comment #30 again.


Next testing round to get the USB backend working: In some hours cups 1.5.3-0ubuntu2ppa4 will be available on my PPA, update your system to get it, check whether you actually got it, and do the tests of comment #30 again. For each failed test attach the error_log and /var/log/syslog, thanks.


Can you all try cups 1.5.3-0ubuntu2ppa12 from my PPA? This could solve the problem. Test it, with and without the blacklisting of usblp and with and without forcing uni-directional mode and tell whether it works. Especially I want to know whether it actually works without blacklisting and without forcing uni-directional now.


* debian/patches/usb-backend-further-enhancements.patch: Added latest development work on the libusb-based USB backend: - Support for uni-directional devices, both protocol-1 devices and devices where no read endpoint is found. - Soft reset specific to the "PRINTER" device class. This allows a reset without reconnecting. - When closing the device, it will also get reset to its original configuration, before re-attaching the usblp kernel module. Do not restore the configuration setting when the old configuration was zero, as zero means "unconfigured". - Added option "usb-unidir" to force the backend into uni-directional mode. This allows to work around problems with bi-di communications, especially also a delay at the end of the job caused by closing the read channel (happens only for some devices, LP: #1001028). Also useful for debugging. - Added the quirk management of the usblp kernel module. So the problems of all printers which were worked around in the kernel module are also worked around in the libusb-based CUPS backend now (LP: #1000253). - Added new quirk type to quirk manager: Printers for which the usblp kernel module should not get reattached after printing a job (LP: #1000253, perhaps also LP: #995111). - Added additional quirks for the Prolific Technology USB -> Parallel adapter, as the adapter needs uni-directional mode to be forced and also does not like re-attaching the usblp kernel module after the job (last third of last page gets cut off, re-attaching probably sends a reset to the printer while there is still data to be printed in the printer's internal buffer (LP: #987485). - Added the command line option "usb-no-reattach". With the option set the usblp kernel module does not get reattached after a job has been printed. Some printers cut off the end of the job or even crash by re-attaching the module. This is a development/debug mode to test whether re-attaching was the culprit of a problem. Users should report such issues so that their printers can get added to the quirk list. - Some extra debug messages. - Added a missing libusb_free_config_descriptor(). This patch is submitted upstream as CUPS STR #4128. * debian/patches/add-ipp-backend-of-cups-1.4.patch, debian/cups.config, debian/cups.lintian-overrides, debian/cups.postinst, debian/cups.prerm, debian/cups.templates: Add the IPP backend of CUPS 1.4.x to the current CUPS package as independent backend "ipp14". Some devices (like the LiveBox 2) do not work with the current IPP backend (LP: #945028, LP: #973270, LP: #990734, LP: #992468, LP: #992982). * debian/patches/ipp-backend-cups-1.5.4-fixes.patch: Backported latest fixes on the IPP backend from upstream. * debian/local/blacklist-cups-usblp.conf, debian/cups.postinst, debian/cups.install, debian/cups.preinst, debian/cups.postinst, debian/cups.postrm:... 2ff7e9595c


0 views0 comments

Recent Posts

See All

Comments


bottom of page