<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
    <meta content="text/html; charset=KOI8-R" http-equiv="Content-Type">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Настроил через hplip. В процессе настройки столкнулся с проблемой в
    правиле udev:<br>
    <br>
    SUBSYSTEM=="usb", ENV{DEVTYPE}=="usb_device",
    ATTRS{idVendor}=="03f0", ATTRS{idProduct}=="2b17", PROGRAM="/bin/sh
    -c 'logger -p user.info loading hp_laserjet_1020 firmware
    $env{BUSNUM} $env{DEVNUM}'", RUN+="/bin/sh -c '/usr/bin/hp-firmware
    -y3 -s$env{BUSNUM}:$env{DEVNUM}  &amp;'"<br>
    <br>
    То, что записано в RUN, упорно не хотело исполняться. Пришлось это
    внести в PROGRAM:<br>
    <br>
    PROGRAM="/bin/sh -c 'logger -p user.info loading hp_laserjet_1020
    firmware $env{BUSNUM} $env{DEVNUM}; /usr/bin/hp-firmware -i -y3
    -s$env{BUSNUM}:$env{DEVNUM}  &amp;'"<br>
    <br>
    Чем это можно объяснить?<br>
    <br>
    С уважением, Ринат Шигапов.<br>
    <blockquote
      cite="mid:BANLkTi=tcu5hO330kL4zOAAuSZs=MDhXGw@mail.gmail.com"
      type="cite">
      <div>
        <meta http-equiv="content-type" content="text/html;
          charset=KOI8-R">
        <div style="position: relative; min-height: 100%; font-family:
          'Times New Roman'; font-size: medium;">
          <div class="nH" style="width: 2119px;">
            <div class="nH" style="position: relative;">
              <div class="nH">
                <div class="no">
                  <div class="nH nn" style="min-height: 1px; width:
                    1947px;">
                    <div class="nH">
                      <div class="nH">
                        <div class="nH q0CeU z">
                          <div class="l m" style="width: 1946px;
                            background-color: rgb(187, 204, 255);">
                            <div class="l n" style="background-color:
                              rgb(187, 204, 255); padding: inherit;
                              margin-top: inherit; margin-right:
                              inherit; margin-bottom: inherit;
                              margin-left: 5px;">
                              <div class="k" style="position: relative;
                                padding: 0px; margin: 0px;">
                                <div class="diLZtc">
                                  <div class="nH">
                                    <div class="nH">
                                      <div class="nH">
                                        <div class="nH">
                                          <div class="nH g id"
                                            style="color: rgb(0, 0, 0);">
                                            <table class="Bs nH iY"
                                              style="position: relative;
                                              padding: 0px;
                                              border-collapse: collapse;
                                              background-color: rgb(255,
                                              255, 255); width: 1942px;"
                                              cellpadding="0">
                                              <tbody>
                                                <tr>
                                                  <td class="Bu"
                                                    style="margin: 0px;
                                                    font-family:
                                                    arial,sans-serif;
                                                    vertical-align: top;
                                                    padding: 0px;">
                                                    <div class="nH if"
                                                      style="padding:
                                                      0px 0px 1px;">
                                                      <div class="nH">
                                                        <div class="nH
                                                          hx"
                                                          style="color:
                                                          rgb(0, 0, 0);
                                                          padding: 4px
                                                          8px;">
                                                          <div
                                                          class="nH">
                                                          <div class="h7
                                                          ie nH oy8Mbf
                                                          Jux0I j23lnd"
                                                          style="clear:
                                                          both;
                                                          padding-bottom:
                                                          0px;">
                                                          <div
                                                          class="Bk"
                                                          style="position:
                                                          relative;
                                                          margin-bottom:
                                                          10px;
                                                          border-right:
                                                          1px solid
                                                          rgb(239, 239,
                                                          239);
                                                          border-width:
                                                          0px 1px 1px;
                                                          border-style:
                                                          solid;
                                                          border-color:
                                                          rgb(239, 239,
                                                          239) rgb(239,
                                                          239, 239)
                                                          rgb(226, 226,
                                                          226); width:
                                                          1696px;">
                                                          <div class="G3
                                                          G2"
                                                          style="padding-top:
                                                          3px;
                                                          background-color:
                                                          rgb(255, 255,
                                                          255); border:
                                                          1px solid
                                                          rgb(188, 188,
                                                          188);">
                                                          <div>
                                                          <div id=":6n">
                                                          <div
                                                          class="HprMsc">
                                                          <div
                                                          class="gs">
                                                          <div id=":6l"
                                                          class="ii gt"
                                                          style="font-size:
                                                          12px; margin:
                                                          5px 15px;
                                                          padding-bottom:
                                                          20px;
                                                          position:
                                                          relative;
                                                          z-index: 2;">
                                                          <div id=":6m">----------
                                                          Пересылаемое
                                                          сообщение
                                                          ----------<br>
                                                          From: "Arcady
                                                          V. Ivanov"
                                                          &lt;<a
                                                          moz-do-not-send="true"
href="mailto:arc@ikir.ru">arc@ikir.ru</a>&gt;<br>
                                                          To: ALT Linux
                                                          Community
                                                          general
                                                          discussions
                                                          &lt;<a
                                                          moz-do-not-send="true"
href="mailto:community@lists.altlinux.org">community@lists.altlinux.org</a>&gt;<br>
                                                          Date: Tue, 31
                                                          May 2011
                                                          08:33:34 +1200
                                                          (MAGST)<br>
                                                          Subject: Re:
                                                          [Comm] hp1020
                                                          &amp; p6<br>
                                                          <div>
                                                          <div
                                                          style="font-family:
                                                          'Times New
                                                          Roman';
                                                          font-size:
                                                          12pt; color:
                                                          rgb(0, 0, 0);">Новый
                                                          CUPS не дружит
                                                          с usblp.<br>
                                                          <br>
                                                          Ставить
                                                          рекомендую
                                                          через hp-setup
                                                          (в составе
                                                          HPLIP).<br>
                                                          Лишние правила
                                                          из udev от
                                                          альтернативных
                                                          пакетов надо
                                                          снести.<br>
                                                          <br>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                          </div>
                                                        </div>
                                                      </div>
                                                    </div>
                                                  </td>
                                                </tr>
                                              </tbody>
                                            </table>
                                          </div>
                                        </div>
                                      </div>
                                    </div>
                                  </div>
                                </div>
                              </div>
                            </div>
                          </div>
                        </div>
                      </div>
                    </div>
                  </div>
                </div>
              </div>
            </div>
          </div>
        </div>
      </div>
    </blockquote>
    <br>
  </body>
</html>