Announcement

Collapse
No announcement yet.

[solved] Installing HP1020/HP1006 and hp-toolkit in kubuntu lucid

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    [solved] Installing HP1020/HP1006 and hp-toolkit in kubuntu lucid

    I have a notebook (32-bit x86) and two laser printers, an HP1020 at one location and an HP P1006 at another.

    I just did a clean install of kubuntu lucid (keeping my /home partition) on my notebook. I had everything working under karmic.
    I downloaded the foo2zjs (and foo2xqx) drivers and installed them.

    It seems not to have installed correctly.

    /usr/share/foo2zjs/firmware got sihpP1006.dl installed (should have been sihp1020.dl)
    and /usr/share/foo2xqx/firmware was empty.

    Nothing worked.

    I manually copied sihpP1006.dl to /usr/share/foo2xqx/firmware and that got my HP P1006 to work.

    I just replaced sihpP1006.dl with sihp1020.dl in /usr/share/foo2zjs/firmware and, hopefully, that should work when I take my notebook back to the location where my HP1020 is.

    Aside from the install itself going sideways, the remaining problem is that hp-toolkit doesn't see any printers and won't let me install them in a way that works. I installed one called HP1006a so it wouldn't conflict with my HP1006 instance that I had installed through the CUPS web interface, but it won't work and hp-toolkit segfaults on exit.

    Any help would be appreciated.

    Below are a few terminal snippets of how things look on my system.
    Notice how foo2zjs has a lot of files under it, but foo2xqx didn't have any to start with.

    TIA

    Joe

    Code:
    bigbird@sananda:/usr/share/foo2zjs$ ls -lR
    .:
    total 40
    drwxrwxr-x 2 root lp  4096 2011-04-21 04:41 crd
    drwxrwxr-x 2 root lp  4096 2011-04-21 05:23 firmware
    -rw-r--r-- 1 root root 5940 2011-04-21 04:41 gamma-lookup.ps
    -rw-r--r-- 1 root root 777 2011-04-21 04:41 gamma.ps
    -rw-r--r-- 1 root root 1796 2011-04-21 04:41 hplj1020_icon.gif
    -rwxr-xr-x 1 root root 5155 2011-04-21 04:41 hplj10xx_gui.tcl
    drwxrwxr-x 2 root lp  4096 2010-03-25 04:12 icm
    drwxr-xr-x 2 root root 4096 2011-02-15 10:30 tmp
    
    ./crd:
    total 1768
    -rw-r--r-- 1 root root 293295 2011-04-21 04:41 [email]2300w-1200@150-l250-kx,ucr100,0-per.crd[/email]
    -rw-r--r-- 1 root root 293295 2011-04-21 04:41 [email]2300w-1200@150-l250-kx,ucr100,50-per.crd[/email]
    -rw-r--r-- 1 root root 293295 2011-04-21 04:41 [email]2300w-1200@150-l250-kx,ucr100,75-per.crd[/email]
    -rw-r--r-- 1 root root 293295 2011-04-21 04:41 [email]2300w-1200@150-l250-kx,ucr125,75-per.crd[/email]
    -rw-r--r-- 1 root root 293224 2011-04-21 04:41 kh.crd
    -rw-r--r-- 1 root root 293224 2011-04-21 04:41 kx.crd
    -rw-r--r-- 1 root root  2114 2011-04-21 04:41 prolog.ps
    -rw-r--r-- 1 root root 11822 2011-04-21 04:41 screen1200.ps
    -rw-r--r-- 1 root root 21185 2011-04-21 04:41 screen2400.ps
    
    ./firmware:
    total 220
    -rw-r--r-- 1 root root 222891 2011-04-21 05:23 sihpP1006.dl
    
    ./icm:
    total 0
    
    ./tmp:
    total 0
    bigbird@sananda:/usr/share/foo2zjs$
    Code:
    bigbird@sananda:/usr/share/foo2xqx$ ls -lR
    .:
    total 4
    drwxrwxr-x 2 root lp 4096 2011-04-21 04:41 firmware
    
    ./firmware:
    total 220
    -rw-r--r-- 1 root root 222891 2011-04-21 04:41 sihpP1006.dl
    bigbird@sananda:/usr/share/foo2xqx$
    Code:
    bigbird@sananda:/usr/share/ppd/hplip/HP$ locate sihp
    /home/bigbird/installs/HP/foo2zjs/sihp1020.dl
    /home/bigbird/installs/HP/foo2zjs/sihp1020.img
    /home/bigbird/installs/HP/foo2zjs/sihpP1006.dl
    /home/bigbird/installs/HP/foo2zjs/sihpP1006.img
    /home/bigbird/installs/foo2zjs/sihpP1006.dl
    /home/bigbird/installs/foo2zjs/sihpP1006.img
    /lib/firmware/asihpi
    /lib/firmware/asihpi/dsp2400.bin
    /lib/firmware/asihpi/dsp5000.bin
    /lib/firmware/asihpi/dsp6200.bin
    /lib/firmware/asihpi/dsp6205.bin
    /lib/firmware/asihpi/dsp6400.bin
    /lib/firmware/asihpi/dsp6600.bin
    /lib/firmware/asihpi/dsp8700.bin
    /lib/firmware/asihpi/dsp8900.bin
    /usr/share/doc/linux-firmware/licenses/LICENCE.asihpi
    /usr/share/foo2xqx/firmware/sihpP1006.dl
    /usr/share/foo2zjs/firmware/sihpP1006.dl
    bigbird@sananda:/usr/share/ppd/hplip/HP$
    Code:
    bigbird@sananda:~$ hp-toolbox
    
    HP Linux Imaging and Printing System (ver. 3.10.2)
    HP Device Manager ver. 15.0
    
    Copyright (c) 2001-9 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.
    
    Segmentation fault
    bigbird@sananda:~$
    [img width=400 height=76]http://mysite.verizon.net/josephj11/hp-toolkit.png[/img]
    kubuntu Xenial - Toshiba i3 and Toshiba i7 Notebooks

    #2
    Re: Installing HP1020/HP1006 and hp-toolkit in kubuntu lucid

    How are these printers connected to your computer? Direct connection by USB or are they network printers?

    Comment


      #3
      Re: Installing HP1020/HP1006 and hp-toolkit in kubuntu lucid

      Any reason you're not using HP drivers?

      http://hplipopensource.com/hplip-web...rjet_1020.html for the 1020 and it looks like http://foo2xqx.rkkda.com/ is the recommended driver for the old 1006...

      Please Read Me

      Comment


        #4
        Re: Installing HP1020/HP1006 and hp-toolkit in kubuntu lucid

        Both printers are direct usb 2.0 connections (at different physical locations).

        AFAIK, I am using the drivers recommended by linuxprinting.org. These have worked fine for several years.

        I'm using foo2xqx from the source you listed and it works, but with the weird install results detailed above.

        I have hplip 3.10.2 which looks like the right one for lucid. The site you mention installs 3.11.3a which probably won't install on lucid because of dependencies.

        Deleting the printer and reinstalling it (as HP1020 and then HP102a) with hp-setup (as a normal user) yields

        Code:
        HP Linux Imaging and Printing System (ver. 3.10.2)
        Printer/Fax Setup Utility ver. 9.0
        
        Copyright (c) 2001-9 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.
        
        Searching... (bus=usb, search=(None), desc=0)
        /
        Done.
        Segmentation fault
        bigbird@sananda:~/temp$ hp-setup
        
        HP Linux Imaging and Printing System (ver. 3.10.2)
        Printer/Fax Setup Utility ver. 9.0
        
        Copyright (c) 2001-9 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.
        
        Searching... (bus=usb, search=(None), desc=0)
        /error: Channel write error
        error: Printer Error. Printer is busy, offline, or in an error state. Please check the device and try again.
        
        Done.
        Segmentation fault
        bigbird@sananda:~/temp$
        I'm thinking about uninstalling hplip and reinstalling it (same version).

        Any ideas?

        TIA

        Joe
        kubuntu Xenial - Toshiba i3 and Toshiba i7 Notebooks

        Comment


          #5
          Re: Installing HP1020/HP1006 and hp-toolkit in kubuntu lucid

          I'm starting to think this is an ubuntu problem, not an hplip problem.
          I saw a post elsewhere from someone who had it working in lucid, but now it's broken in natty.

          The problem appears to be that ubuntu tries to talk to the printer, gets an error, and then deletes the the printer device while hplip is trying to download the correct driver and fails.
          Below, I have my printer connected to powered 4-port hub which I then plug into my notebook.

          Code:
          Apr 28 15:55:31 sananda kernel: [ 6935.436213] usb 1-4: new high speed USB device using ehci_hcd and address 4
          Apr 28 15:55:31 sananda kernel: [ 6935.568966] usb 1-4: configuration #1 chosen from 1 choice
          Apr 28 15:55:31 sananda kernel: [ 6935.569448] hub 1-4:1.0: USB hub found
          Apr 28 15:55:31 sananda kernel: [ 6935.569579] hub 1-4:1.0: 4 ports detected
          Apr 28 15:55:32 sananda kernel: [ 6935.840237] usb 1-4.3: new high speed USB device using ehci_hcd and address 5
          Apr 28 15:55:32 sananda kernel: [ 6935.952899] usb 1-4.3: configuration #1 chosen from 1 choice
          Apr 28 15:55:32 sananda kernel: [ 6935.955747] usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x2B17
          Apr 28 15:55:32 sananda logger: loading hp_laserjet_1020 firmware 001 005
          Apr 28 15:55:33 sananda kernel: [ 6937.197734] usb 1-4.3: usbfs: interface 0 claimed by usblp while 'usb' sets config #1
          Apr 28 15:55:35 sananda /usr/sbin/hplj1020: foo2zjs: loading HP LaserJet 1020 firmware /usr/share/foo2zjs/firmware/sihp1020.dl to /dev/usb/lp0 ..
          Apr 28 15:55:35 sananda udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/HP1020
          Apr 28 15:55:35 sananda udev-configure-printer: Re-enabled printer ipp://localhost:631/printers/HP1020
          Apr 28 15:55:35 sananda kernel: [ 6939.206985] usblp0: nonzero write bulk status received: -108
          Apr 28 15:55:35 sananda /usr/sbin/hplj1020: foo2zjs: ... download failed.
          Apr 28 15:55:35 sananda kernel: [ 6939.209659] usblp0: removed
          kubuntu Xenial - Toshiba i3 and Toshiba i7 Notebooks

          Comment


            #6
            Re: Installing HP1020/HP1006 and hp-toolkit in kubuntu lucid

            It works!

            I followed:
            http://ubuntuforums.org/showthread.php?t=1576589

            but also had to reinstall hplip and hplip-gui. See my post in the above url for more details.

            When I get back to my other location, I'll see if my HP1006 still works or needs to bee reinstalled
            kubuntu Xenial - Toshiba i3 and Toshiba i7 Notebooks

            Comment

            Working...
            X