<?xml version="1.0" encoding="UTF-8" ?>

<bugzilla version="5.2"
          urlbase="https://bugzilla.altlinux.org/"
          
          maintainer="jenya@basealt.ru"
>

    <bug>
          <bug_id>29356</bug_id>
          
          <creation_ts>2013-09-12 21:44:40 +0400</creation_ts>
          <short_desc>hplip: ошибка Unable to communicate with device (code=12)</short_desc>
          <delta_ts>2018-05-21 12:57:10 +0300</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>4</classification_id>
          <classification>Development</classification>
          <product>Sisyphus</product>
          <component>hplip</component>
          <version>unstable</version>
          <rep_platform>all</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P3</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vitaly Lipatov">lav</reporter>
          <assigned_to name="Andrey Cherepanov">cas</assigned_to>
          <cc>antohami</cc>
    
    <cc>cas</cc>
    
    <cc>grenka</cc>
    
    <cc>ildar</cc>
    
    <cc>lakostis</cc>
    
    <cc>mike</cc>
    
    <cc>shad</cc>
    
    <cc>snejok</cc>
          
          <qa_contact>qa-sisyphus</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>142594</commentid>
    <comment_count>0</comment_count>
    <who name="Vitaly Lipatov">lav</who>
    <bug_when>2013-09-12 21:44:40 +0400</bug_when>
    <thetext>При обновлении установленного Simply Linux p6 до последних пакетов в репозитории установились новые версии hplip: hplip-3.12.10a-alt0.M60P.1 вместо старой hplip-3.11.10-alt1.M60P.1

После этого принтер перестал быть виден даже командой hp-info. Такое впечатление, что hplip потерял возможность работать с ним через libusb, хотя strace показывал исправное перечисление устройств в /dev/bus/usb.

Похожих багов в сети не нашёл, обычно люди жалуются на права (ну должно помочь внесение в группу lp) или вообще подключаются по сети и это решает проблему.

Наиболее близкое описание здесь:
http://forums.opensuse.org/english/get-technical-help-here/hardware/461109-hp-setup-does-not-find-usb-printer.html

При подключении принтера в консоли нечто типа
... io/hpmud/musb.c 1125: unable to open hp:/usb/HP_LaserJet_Professional_P1102?serial=000000000Q8078F7SI1c

В ALT Linux, хоть и была другая проблема, всё когда-то решилось установкой Ubuntu: :)
http://forum.altlinux.org/index.php/topic,9574.75.html


К сожалению, другие подробности пока утеряны, попробую ещё раз позже. Сейчас пришлось срочно откатить обратно, и принтер запечатал после перезагрузки системы.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162113</commentid>
    <comment_count>1</comment_count>
    <who name="viy">viy</who>
    <bug_when>2017-02-23 23:51:39 +0300</bug_when>
    <thetext>в 3.16.11

https://bugzilla.altlinux.org/show_bug.cgi?id=33106

&gt; Словил #29356 - оказалось, hp-toolbox хочет видеть сетевой принтер с включенным
&gt; snmp, иначе он говорит что произошла ошибка и отказывается соединяться. Как
&gt; только включил snmp с public community и отключил принудительный https в
&gt; настройках принтера, все пришло в норму.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162115</commentid>
    <comment_count>2</comment_count>
    <who name="viy">viy</who>
    <bug_when>2017-02-24 00:03:19 +0300</bug_when>
    <thetext>здесь та же ошибка

https://bugzilla.altlinux.org/attachment.cgi?id=6976

Type: Printer
Device URI: hp:/net/HP_Color_LaserJet_MFP_M277dw?ip=10.1.48.30
PPD: /etc/cups/ppd/HP_Color_LaserJet_MFP_M277dw.ppd
PPD Description: HP Color LaserJet Pro MFP m177fw, hpcups 3.16.11, requires proprietary plugin
Printer status: printer HP_Color_LaserJet_MFP_M277dw is idle.  enabled since Wed Feb 15 18:36:23 2017
	Processing page 1...
Required plug-in status: Installed
[31;01merror: Unable to communicate with device (code=12): hp:/net/HP_Color_LaserJet_MFP_M277dw?ip=10.1.48.30[0m
[31;01merror: unable to open channel[0m
[31;01merror: Communication status: Failed[0m</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>171173</commentid>
    <comment_count>3</comment_count>
    <who name="Lenar Shakirov">snejok</who>
    <bug_when>2018-05-21 12:57:10 +0300</bug_when>
    <thetext>См. #33106

&gt; Словил #29356 - оказалось, hp-toolbox хочет видеть сетевой принтер с включенным
&gt; snmp, иначе он говорит что произошла ошибка и отказывается соединяться. Как
&gt; только включил snmp с public community и отключил принудительный https в
&gt; настройках принтера, все пришло в норму.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>