<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "http://bugs.gentoo.org/bugzilla.dtd">

<bugzilla version="2.22.7"
          urlbase="http://bugs.gentoo.org/"
          maintainer="bugzilla@gentoo.org"
>

    <bug>
          <bug_id>188092</bug_id>
          
          <creation_ts>2007-08-08 11:49 0000</creation_ts>
          <short_desc>media-gfx/iscan installs broken udev rules</short_desc>
          <delta_ts>2007-09-03 21:01:23 0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Gentoo Linux</product>
          <component>Ebuilds</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          
          <everconfirmed>1</everconfirmed>
          <reporter>ray@apollo.lv</reporter>
          <assigned_to>sbriesen@gentoo.org</assigned_to>
          

      

      
          <long_desc isprivate="0">
            <who>ray@apollo.lv</who>
            <bug_when>2007-08-08 11:49:04 0000</bug_when>
            <thetext>If package media-gfx/iscan is installed and Epson USB Multi Functional Printer (MFP) is connected to computer, then installation of this printer in CUPS works without problems but any attept to print return timeout error.

Reproducible: Always

Steps to Reproduce:
1. emerge media-gfx/iscan
2. connect Epson USB MFP &amp; turn it on
3. install printer in CUPS
4. print testpage

Actual Results:  
No reaction from printer
CUPS printer status show timeout error

Expected Results:  
Test page printed

version of media-gfx/iscan - 2.7.0 (but I suspect other may have same problem)

Cause:
udev rules from media-gfx/iscan package change group of printer part of MFP from &apos;lp&apos; to &apos;scanner&apos;, but CUPS expect printer belongs to &apos;lp&apos; group</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>ray@apollo.lv</who>
            <bug_when>2007-08-08 11:52:42 0000</bug_when>
            <thetext>Created an attachment (id=127274)
Simple workaround

Patch to /etc/udev/rules.d/99-iscan.rules file, to workaround tgis problem</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sbriesen@gentoo.org</who>
            <bug_when>2007-08-08 23:03:17 0000</bug_when>
            <thetext>ok, accepted. I will include this patch asap, but I&apos;m not sure if I should rev-bump it for this fix, which affects only very few people...</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zzam@gentoo.org</who>
            <bug_when>2007-08-18 16:56:18 0000</bug_when>
            <thetext>Please: if you change anything there, also move the file away from name 99-*.rules to something other. If you keep the rules as they are the number needs to be &gt;50, as 50-udev.rules else overwrites the GROUP property (at the moment).
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sbriesen@gentoo.org</who>
            <bug_when>2007-08-19 22:14:00 0000</bug_when>
            <thetext>there&apos;s a new release already there. So I will put all changes to this new version first and then I try to patch the older versions also.

btw: I had the rules-number at 75 before. But then I found:

-rw-r--r-- 1 root root 53211  2. Mai 16:50 99-libgphoto2.rules
-rw-r--r-- 1 root root 61163  2. Mai 16:56 99-libsane.rules

so I thought it would be good to have it also at 99. Any suggestions for the number? 70s? 60s? But please not 50s.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>zzam@gentoo.org</who>
            <bug_when>2007-08-21 12:15:38 0000</bug_when>
            <thetext>Well, there seems not yet be some approved number scheme.
For new stuff without any needs I suggest 40. And in this case some packages seem to use 55.
If you do not want to do multiple changes you can also keep it now on 99 as the others did, and change that once we know what exactly we want to do :)
</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sbriesen@gentoo.org</who>
            <bug_when>2007-08-23 18:37:15 0000</bug_when>
            <thetext>ok. ;-)

after some final checks, I will commit new version this weekend.</thetext>
          </long_desc>
          <long_desc isprivate="0">
            <who>sbriesen@gentoo.org</who>
            <bug_when>2007-09-03 21:01:23 0000</bug_when>
            <thetext>fixed + new version in portage.
</thetext>
          </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>127274</attachid>
            <date>2007-08-08 11:52 0000</date>
            <desc>Simple workaround</desc>
            <filename>99-iscan.rules.patch</filename>
            <type>text/plain</type>
            <data encoding="base64">aXNjYW4gbXVzdCBub3QgdG91Y2ggcHJpbnRlciBwYXJ0IG9mIG11bHRpIGZ1bmN0aW9uYWwgcHJp
bnRlcnMKClNpZ25lZC1vZmYtYnk6IFJhaW1vbmRzIENpY2FucyA8cmF5QGFwb2xsby5sdj4KCgot
LS0gOTktaXNjYW4ucnVsZXMub2xkCTIwMDctMDgtMDggMDA6MDY6MjQuMDAwMDAwMDAwICswMzAw
CisrKyA5OS1pc2Nhbi5ydWxlcwkyMDA3LTA4LTA4IDEzOjQzOjU2LjAwMDAwMDAwMCArMDMwMApA
QCAtMiw2ICsyLDcgQEAKICMKIEFDVElPTiE9ImFkZCIsIEdPVE89ImlzY2FuX3J1bGVzX2VuZCIK
IFNVQlNZU1RFTSE9InVzYioiLCBHT1RPPSJpc2Nhbl9ydWxlc19lbmQiCitLRVJORUw9PSJscFsw
LTldKiIsIEdPVE89ImlzY2FuX3J1bGVzX2VuZCIKIAogIyBTRUlLTyBFUFNPTiBDb3Jwb3JhdGlv
biB8IFBlcmZlY3Rpb24gIDYzNiAoR1QtNzAwMCkKIEFUVFJTe2lkVmVuZG9yfT09IjA0YjgiLCBB
VFRSU3tpZFByb2R1Y3R9PT0iMDEwMSIsIE1PREU9IjA2NjAiLCBHUk9VUD0ic2Nhbm5lciIK
</data>        

          </attachment>
    </bug>

</bugzilla>