On Sat, Dec 22, 2012 at 2:50 PM, Alexey Kuznetsov <kuznetsov.ale...@gmail.com> wrote: > - the section CUPS web interface > > nothing special on the web interface. usual printer. no error messages. > printer on idle state. everyting seems ok. > > - the section CUPS error_log > > i already provide this information 2) on my previous message
Thanks The error is here: D [21/Dec/2012:18:06:56 +0400] [Job 110] prnt/hpcups/HPCupsFilter.cpp 443: m_Job initialization failed with error = 48DEBUG: Read 16 bytes of print data... > -- AK > > > On 22 December 2012 16:35, Bastien ROUCARIES <roucaries.bast...@gmail.com> > wrote: >> >> thanks it is better. >> >> Could you try: >> - the section CUPS web interface ? >> - the section CUPS error_log ? >> >> And explain what you do, before posting some stuff (like you do for usb >> section) >> >> On Sat, Dec 22, 2012 at 8:58 AM, Alexey Kuznetsov >> <kuznetsov.ale...@gmail.com> wrote: >> > Sorry, I'm not man of the words. Please lead me on information I should >> > provide. >> > >> > 1) I did all steps described on wiki page, expect Ubuntu related, as I >> > though. Or you mean all steps on USB section? I ll do it. >> > >> > 2) I have USB printer. >> > >> > http://h20000.www2.hp.com/bizsupport/TechSupport/DriverDownload.jsp?prodNameId=439428&lang=en&cc=uk&prodTypeId=18972&prodSeriesId=439423&taskId >> > >> > 3) When I had Debian 6, everying works ok. I abbe to print locally and >> > througth network using CUPS drivers. Debian 7 gives me no result. When I >> > add >> > print job, it stuck in the queue forever. Noting comes out from printer. >> > And >> > job appears stopped. >> > >> > 4) My server is PPC machine. >> > >> > ### >> > >> > 1) >> > >> > axet@mini:~$ lsmod | grep usb >> > usblp 13115 0 >> > usbhid 36507 0 >> > usb_storage 40099 1 >> > hid 72395 1 usbhid >> > usbcore 130469 7 >> > ehci_hcd,ohci_hcd,uas,usb_storage,usbhid,usblp >> > usb_common 4034 1 usbcore >> > axet@mini:~$ >> > >> > 2) >> > >> > Dec 22 11:25:54 mini kernel: [29872.281571] usb 1-1.1: new high-speed >> > USB >> > device number 12 using ehci_hcd >> > Dec 22 11:25:54 mini kernel: [29872.374282] usb 1-1.1: New USB device >> > found, >> > idVendor=03f0, idProduct=2b17 >> > Dec 22 11:25:54 mini kernel: [29872.374293] usb 1-1.1: New USB device >> > strings: Mfr=1, Product=2, SerialNumber=3 >> > Dec 22 11:25:54 mini kernel: [29872.374299] usb 1-1.1: Product: HP >> > LaserJet >> > 1020 >> > Dec 22 11:25:54 mini kernel: [29872.374303] usb 1-1.1: Manufacturer: >> > Hewlett-Packard >> > Dec 22 11:25:54 mini kernel: [29872.374307] usb 1-1.1: SerialNumber: >> > JL2NBET >> > Dec 22 11:25:54 mini kernel: [29872.377128] usblp0: USB Bidirectional >> > printer dev 12 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17 >> > Dec 22 11:25:54 mini mtp-probe: checking bus 1, device 12: >> > "/sys/devices/pci0001:10/0001:10:1b.2/usb1/1-1/1-1.1" >> > Dec 22 11:25:54 mini mtp-probe: bus: 1, device: 12 was not an MTP device >> > Dec 22 11:25:54 mini logger: loading hp_laserjet_1020 firmware 001 012 >> > Dec 22 11:25:54 mini kernel: [29872.592376] usb 1-1.2: USB disconnect, >> > device number 11 >> > Dec 22 11:25:54 mini kernel: [29872.797258] usb 1-1.2: new high-speed >> > USB >> > device number 13 using ehci_hcd >> > Dec 22 11:25:55 mini kernel: [29872.890096] usb 1-1.2: New USB device >> > found, >> > idVendor=1058, idProduct=1100 >> > Dec 22 11:25:55 mini kernel: [29872.890107] usb 1-1.2: New USB device >> > strings: Mfr=1, Product=2, SerialNumber=3 >> > Dec 22 11:25:55 mini kernel: [29872.890113] usb 1-1.2: Product: My Book >> > Dec 22 11:25:55 mini kernel: [29872.890117] usb 1-1.2: Manufacturer: >> > Western >> > Digital >> > Dec 22 11:25:55 mini kernel: [29872.890122] usb 1-1.2: SerialNumber: >> > 57442D574341534E30303431303733 >> > Dec 22 11:25:55 mini kernel: [29872.891845] scsi6 : usb-storage >> > 1-1.2:1.0 >> > Dec 22 11:25:55 mini mtp-probe: checking bus 1, device 13: >> > "/sys/devices/pci0001:10/0001:10:1b.2/usb1/1-1/1-1.2" >> > Dec 22 11:25:55 mini mtp-probe: bus: 1, device: 13 was not an MTP device >> > Dec 22 11:25:56 mini kernel: [29873.889632] scsi 6:0:0:0: Direct-Access >> > WD 7500AAC External 1.65 PQ: 0 ANSI: 4 >> > Dec 22 11:25:56 mini kernel: [29873.894127] sd 6:0:0:0: Attached scsi >> > generic sg2 type 0 >> > Dec 22 11:25:56 mini kernel: [29873.894344] sd 6:0:0:0: [sdc] 1465149168 >> > 512-byte logical blocks: (750 GB/698 GiB) >> > Dec 22 11:25:56 mini kernel: [29873.895206] sd 6:0:0:0: [sdc] Write >> > Protect >> > is off >> > Dec 22 11:25:56 mini kernel: [29873.895217] sd 6:0:0:0: [sdc] Mode >> > Sense: 21 >> > 00 00 00 >> > Dec 22 11:25:56 mini kernel: [29873.896080] sd 6:0:0:0: [sdc] No Caching >> > mode page present >> > Dec 22 11:25:56 mini kernel: [29873.896091] sd 6:0:0:0: [sdc] Assuming >> > drive >> > cache: write through >> > Dec 22 11:25:56 mini kernel: [29873.900557] sd 6:0:0:0: [sdc] No Caching >> > mode page present >> > Dec 22 11:25:56 mini kernel: [29873.900571] sd 6:0:0:0: [sdc] Assuming >> > drive >> > cache: write through >> > Dec 22 11:25:56 mini kernel: [29873.901227] sdc: sdc1 >> > Dec 22 11:25:56 mini kernel: [29873.910288] sd 6:0:0:0: [sdc] No Caching >> > mode page present >> > Dec 22 11:25:56 mini kernel: [29873.910302] sd 6:0:0:0: [sdc] Assuming >> > drive >> > cache: write through >> > Dec 22 11:25:56 mini kernel: [29873.910309] sd 6:0:0:0: [sdc] Attached >> > SCSI >> > disk >> > Dec 22 11:25:57 mini /usr/sbin/hplj1020: foo2zjs: HP LaserJet 1020 >> > firmware >> > already loaded into /dev/usb/lp0 >> > Dec 22 11:25:57 mini udev-configure-printer: add >> > /devices/pci0001:10/0001:10:1b.2/usb1/1-1/1-1.1/1-1.1:1.0 >> > Dec 22 11:25:57 mini udev-configure-printer: device devpath is >> > /devices/pci0001:10/0001:10:1b.2/usb1/1-1/1-1.1 >> > Dec 22 11:25:57 mini udev-configure-printer: Device vendor/product is >> > 03F0:2B17 >> > Dec 22 11:25:57 mini udev-configure-printer: add >> > /devices/pci0001:10/0001:10:1b.2/usb1/1-1/1-1.1/1-1.1:1.0/usb/lp0 >> > Dec 22 11:25:57 mini kernel: [29875.483727] usb 2-1: new full-speed USB >> > device number 26 using ohci_hcd >> > Dec 22 11:25:57 mini kernel: [29875.623630] usb 2-1: device descriptor >> > read/64, error -62 >> > Dec 22 11:25:58 mini kernel: [29875.867491] usb 2-1: device descriptor >> > read/64, error -62 >> > Dec 22 11:25:58 mini kernel: [29876.107373] usb 2-1: new full-speed USB >> > device number 27 using ohci_hcd >> > Dec 22 11:25:58 mini kernel: [29876.247315] usb 2-1: device descriptor >> > read/64, error -62 >> > Dec 22 11:25:58 mini kernel: [29876.491190] usb 2-1: device descriptor >> > read/64, error -62 >> > Dec 22 11:25:58 mini kernel: [29876.731075] usb 2-1: new full-speed USB >> > device number 28 using ohci_hcd >> > Dec 22 11:25:59 mini kernel: [29877.138864] usb 2-1: device not >> > accepting >> > address 28, error -62 >> > Dec 22 11:25:59 mini kernel: [29877.274791] usb 2-1: new full-speed USB >> > device number 29 using ohci_hcd >> > Dec 22 11:25:59 mini kernel: [29877.682588] usb 2-1: device not >> > accepting >> > address 29, error -62 >> > Dec 22 11:25:59 mini kernel: [29877.682639] hub 2-0:1.0: unable to >> > enumerate >> > USB device on port 1 >> > Dec 22 11:25:59 mini udev-configure-printer: failed to claim interface >> > Dec 22 11:25:59 mini udev-configure-printer: device devpath is >> > /devices/pci0001:10/0001:10:1b.2/usb1/1-1/1-1.1 >> > Dec 22 11:25:59 mini udev-configure-printer: MFG:Hewlett-Packard MDL:HP >> > LaserJet 1020 SERN:- serial:JL2NBET >> > Dec 22 11:26:00 mini /usr/sbin/hplj1020: foo2zjs: HP LaserJet 1020 >> > firmware >> > already loaded into /dev/usb/lp0 >> > Dec 22 11:26:00 mini kernel: [29878.766132] usblp0: removed >> > Dec 22 11:26:00 mini kernel: [29878.769956] usblp0: USB Bidirectional >> > printer dev 12 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17 >> > Dec 22 11:26:00 mini udev-configure-printer: URI contains USB serial >> > number >> > Dec 22 11:26:00 mini udev-configure-printer: URI match: >> > usb://HP/LaserJet%201020?serial=JL2NBET >> > Dec 22 11:26:00 mini udev-configure-printer: Consider also queues with >> > "/usb/lp0" or "/usblp0" in their URIs as matching >> > Dec 22 11:26:00 mini udev-configure-printer: URI of print queue: >> > usb://HP/LaserJet%201020?serial=JL2NBET, normalized: laserjet 1020 >> > serial >> > jl2nbet >> > Dec 22 11:26:00 mini udev-configure-printer: URI of detected printer: >> > usb://HP/LaserJet%201020?serial=JL2NBET, normalized: laserjet 1020 >> > serial >> > jl2nbet >> > Dec 22 11:26:00 mini udev-configure-printer: Queue >> > ipp://localhost:631/printers/Hewlett-Packard-HP-LaserJet-1020 has >> > matching >> > device URI >> > Dec 22 11:26:00 mini udev-configure-printer: Re-enabled printer >> > ipp://localhost:631/printers/Hewlett-Packard-HP-LaserJet-1020 >> > Dec 22 11:26:01 mini udev-configure-printer: add >> > /devices/pci0001:10/0001:10:1b.2/usb1/1-1/1-1.1/1-1.1:1.0/usb/lp0 >> > Dec 22 11:26:01 mini udev-configure-printer: device devpath is >> > /devices/pci0001:10/0001:10:1b.2/usb1/1-1/1-1.1 >> > Dec 22 11:26:01 mini udev-configure-printer: Device already handled >> > Dec 22 11:26:02 mini colord-sane: io/hpmud/musb.c 2066: Invalid >> > usb_open: >> > Permission denied >> > Dec 22 11:26:04 mini /usr/sbin/hplj1020: foo2zjs: HP LaserJet 1020 >> > firmware >> > already loaded into /dev/usb/lp0 >> > Dec 22 11:26:06 mini kernel: [29884.479195] usb 2-1: new full-speed USB >> > device number 30 using ohci_hcd >> > Dec 22 11:26:06 mini kernel: [29884.619126] usb 2-1: device descriptor >> > read/64, error -62 >> > Dec 22 11:26:07 mini kernel: [29884.864468] usb 2-1: device descriptor >> > read/64, error -62 >> > Dec 22 11:26:07 mini kernel: [29885.102868] usb 2-1: new full-speed USB >> > device number 31 using ohci_hcd >> > Dec 22 11:26:07 mini kernel: [29885.242800] usb 2-1: device descriptor >> > read/64, error -62 >> > Dec 22 11:26:07 mini kernel: [29885.486689] usb 2-1: device descriptor >> > read/64, error -62 >> > Dec 22 11:26:07 mini kernel: [29885.726565] usb 2-1: new full-speed USB >> > device number 32 using ohci_hcd >> > Dec 22 11:26:08 mini kernel: [29886.134353] usb 2-1: device not >> > accepting >> > address 32, error -62 >> > Dec 22 11:26:08 mini kernel: [29886.270289] usb 2-1: new full-speed USB >> > device number 33 using ohci_hcd >> > Dec 22 11:26:08 mini kernel: [29886.678088] usb 2-1: device not >> > accepting >> > address 33, error -62 >> > Dec 22 11:26:08 mini kernel: [29886.678138] hub 2-0:1.0: unable to >> > enumerate >> > USB device on port 1 >> > Dec 22 11:26:11 mini colord-sane: io/hpmud/musb.c 2066: Invalid >> > usb_open: >> > Permission denied >> > >> > >> > 3) >> > >> > root@mini:/home/axet# lsusb >> > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> > Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> > Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> > Bus 001 Device 002: ID 05e3:0608 Genesys Logic, Inc. USB-2.0 4-Port HUB >> > Bus 001 Device 013: ID 1058:1100 Western Digital Technologies, Inc. >> > Bus 001 Device 005: ID 04d9:1702 Holtek Semiconductor, Inc. >> > Bus 001 Device 012: ID 03f0:2b17 Hewlett-Packard LaserJet 1020 >> > root@mini:/home/axet# >> > >> > 4) >> > >> > root@mini:/home/axet# ls -l /dev/usb/ >> > total 0 >> > crw-rw-rw- 1 root lp 180, 0 Dec 22 11:26 lp0 >> > root@mini:/home/axet# >> > >> > 5) >> > >> > root@mini:/home/axet# usb_printerid /dev/usb/lp0 >> > GET_DEVICE_ID string: >> > MFG:Hewlett-Packard;MDL:HP LaserJet 1020;CMD:ACL;CLS:PRINTER;DES:HP >> > LaserJet >> > 1020;FWVER:20080222; >> > root@mini:/home/axet# >> > >> > >> > 6) after this point i install printer drive hplip. so hp-info - i can >> > see my >> > printer >> > >> > axet@mini:~$ hp-info -i >> > >> > HP Linux Imaging and Printing System (ver. 3.12.6) >> > Device Information Utility ver. 5.2 >> > >> > Copyright (c) 2001-14 Hewlett-Packard Development Company, LP >> > This software comes with ABSOLUTELY NO WARRANTY. >> > This is free software, and you are welcome to distribute it >> > under certain conditions. See COPYING file for more details. >> > >> > Using device: hp:/usb/HP_LaserJet_1020?serial=JL2NBET >> > >> > error: Unable to connect to dbus session bus. >> > >> > hp:/usb/HP_LaserJet_1020?serial=JL2NBET >> > >> > Device Parameters (dynamic data): >> > Parameter Value(s) >> > ---------------------------- >> > ---------------------------------------------------------- >> > agent1-ack False >> > agent1-desc Black toner cartridge >> > agent1-dvc 0 >> > agent1-health 0 >> > agent1-health-desc Good/OK >> > agent1-hp-ink False >> > agent1-id 0 >> > agent1-kind 4 >> > agent1-known False >> > agent1-level 100 >> > agent1-level-trigger 0 >> > agent1-sku Q2612A >> > agent1-type 1 >> > agent1-virgin False >> > back-end hp >> > cups-printers ['Hewlett-Packard-HP-LaserJet-1020'] >> > cups-uri hp:/usb/HP_LaserJet_1020?serial=JL2NBET >> > dev-file >> > device-state 1 >> > device-uri hp:/usb/HP_LaserJet_1020?serial=JL2NBET >> > deviceid MFG:Hewlett-Packard;MDL:HP LaserJet >> > 1020;CMD:ACL;CLS:PRINTER;DES:HP LaserJet >> > 1020;FWVER:20080222; >> > duplexer 0 >> > error-state 0 >> > host >> > in-tray1 1 >> > in-tray2 1 >> > is-hp True >> > media-path 1 >> > panel 0 >> > panel-line1 >> > panel-line2 >> > photo-tray 0 >> > port 1 >> > r 0 >> > revision 254 >> > rg 000 >> > rr 000000 >> > rs 000000000 >> > serial JL2NBET >> > status-code 1000 >> > status-desc Idle >> > supply-door 1 >> > top-door 1 >> > >> > Model Parameters (static data): >> > Parameter Value(s) >> > ---------------------------- >> > ---------------------------------------------------------- >> > align-type 0 >> > clean-type 0 >> > color-cal-type 0 >> > copy-type 0 >> > embedded-server-type 0 >> > fax-type 0 >> > fw-download True >> > icon HP_LaserJet_1012.png >> > io-mfp-mode 6 >> > io-mode 1 >> > io-support 2 >> > job-storage 0 >> > linefeed-cal-type 0 >> > model HP_LaserJet_1020 >> > model-ui HP LaserJet 1020 >> > model1 HP LaserJet 1020 Printer >> > model2 HP LaserJet 1020 Plus Printer >> > monitor-type 0 >> > panel-check-type 0 >> > pcard-type 0 >> > plugin 1 >> > plugin-reason 1 >> > power-settings 0 >> > pq-diag-type 0 >> > r-type 0 >> > r0-agent1-kind 4 >> > r0-agent1-sku Q2612A >> > r0-agent1-type 1 >> > scan-src 0 >> > scan-type 0 >> > status-battery-check 0 >> > status-dynamic-counters 0 >> > status-type 8 >> > support-released True >> > support-subtype 16556 >> > support-type 2 >> > support-ver 2.7.10 >> > tech-class ['LJZjsMono'] >> > tech-subclass ['Normal'] >> > tech-type 3 >> > usb-pid 11031 >> > usb-vid 1008 >> > wifi-config 0 >> > >> > Done. >> > axet@mini:~$ >> > >> > >> > 7) >> > >> > axet@mini:~$ hp-makeuri 001:012 >> > >> > HP Linux Imaging and Printing System (ver. 3.12.6) >> > Device URI Creation Utility ver. 5.0 >> > >> > Copyright (c) 2001-14 Hewlett-Packard Development Company, LP >> > This software comes with ABSOLUTELY NO WARRANTY. >> > This is free software, and you are welcome to distribute it >> > under certain conditions. See COPYING file for more details. >> > >> > CUPS URI: hp:/usb/HP_LaserJet_1020?serial=JL2NBET >> > >> > Done. >> > axet@mini:~$ >> > >> > >> > 8) >> > >> > axet@mini:~$ lpinfo -v >> > network ipp14 >> > network https >> > network lpd >> > network ipps >> > network socket >> > network ipp >> > network beh >> > network http >> > direct hp:/usb/HP_LaserJet_1020?serial=JL2NBET >> > direct usb://HP/LaserJet%201020?serial=JL2NBET >> > direct hpfax >> > axet@mini:~$ >> > >> > -- AK >> > >> > >> > On 22 December 2012 00:38, Bastien ROUCARIES >> > <roucaries.bast...@gmail.com> >> > wrote: >> >> >> >> Dear alexy, >> >> >> >> Could you please follow the step detailled ? And please join the file >> >> here instead of use pastebin. >> >> >> >> We do not know even if it is a usb or a netork devince (guess a netwrk >> >> device). >> >> >> >> And failled to print is unknown to me. It could be: >> >> - I wait five minute and it print nothing >> >> - paper was on fire >> >> - it print some garbage. >> >> >> >> Please follown the step on the unbuntu wiki and moreover please add >> >> some words when you send email. >> >> >> >> Language are the proper of the humans >> >> >> >> Bastien >> >> >> >> >> >> >> >> On Fri, Dec 21, 2012 at 8:19 AM, Alexey Kuznetsov >> >> <kuznetsov.ale...@gmail.com> wrote: >> >> > Package: hplip >> >> > Version: 3.12.6-3 >> >> > >> >> > hp laser jet 1020 failed to print >> >> > >> >> > Printer State endup with "Idle - /usr/lib/cups/filter/hpcups failed" >> >> > message. >> >> > >> >> > troubleshot.txt >> >> > >> >> > http://pastebin.com/esvbHW6Q >> >> > >> >> > -- AK >> > >> > > > -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org