~ubuntu-branches/ubuntu/oneiric/foo2zjs/oneiric

« back to all changes in this revision

Viewing changes to debian/patches/92-udev-firmware-script-fixes.dpatch

  • Committer: Bazaar Package Importer
  • Author(s): Till Kamppeter
  • Date: 2010-03-25 09:02:26 UTC
  • Revision ID: james.westby@ubuntu.com-20100325090226-pvc0m3qil3nsj6be
Tags: 20100210-0ubuntu4
debian/patches/92-udev-firmware-script-fixes.dpatch: When loading
firmware into the printer via UDEV script, wait 3 seconds, so that UDEV
scripts for automatic printer setup do not interfere with the firmware
transfer to the printer (LP: #543177).

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#! /bin/sh /usr/share/dpatch/dpatch-run
 
2
## 92-udev-firmware-script-fixes.dpatch by  <till.kamppeter@gmail.com>
 
3
##
 
4
## All lines beginning with `## DP:' are a description of the patch.
 
5
## DP: No description.
 
6
 
 
7
@DPATCH@
 
8
diff -urNad foo2zjs-20100210~/hplj1000 foo2zjs-20100210/hplj1000
 
9
--- foo2zjs-20100210~/hplj1000  2010-01-24 05:53:56.000000000 +0100
 
10
+++ foo2zjs-20100210/hplj1000   2010-03-25 08:57:49.700806707 +0100
 
11
@@ -26,6 +26,14 @@
 
12
 PROGNAME="$0"
 
13
 
 
14
 #
 
15
+# Wait some time before installing the firmware so that probing for
 
16
+# automatic printer setup which happens immediately after turning on
 
17
+# the printer does not interfere with the firmware transfer to the
 
18
+# printer
 
19
+#
 
20
+sleep 3
 
21
+
 
22
+#
 
23
 # Set $DEV to, e.g. /dev/usb/lp0, to force the device you want
 
24
 # Else, leave it null to automatically detect the device
 
25
 #