Kirjoittaja Aihe: Canon lbp 1120 ja 14.04 lts 64 / 32 bit  (Luettu 2589 kertaa)

kx

  • Käyttäjä
  • Viestejä: 701
    • Profiili
Canon lbp 1120 ja 14.04 lts 64 / 32 bit
« : 20.05.15 - klo:13.41 »
Taas loppuu taito, vaikka yritystä olisikin.

Yritän siis saada LBP 1120 tulostimen toimimaan Ubuntu 14.04.02 LTS 64 bit kanssa. Mielestäni olen tehnyt aikaisempien
viestien mukaan, mutta ongelmaa on eli tulostin ei hievahdakkaan. Lokin viimeiset on tässä.
Libreltä tulostettaessa

Koodia: [Valitse]
E [20/May/2015:13:09:58 +0300]
E [20/May/2015:13:30:24 +0300] Unable to bind socket for address [v1.::1]:631 - Address already in use.
E [20/May/2015:13:30:24 +0300] Unable to bind socket for address 127.0.0.1:631 - Address already in use.
E [20/May/2015:13:31:10 +0300] [cups-deviced] PID 2327 (dnssd) stopped with status 1!
E [20/May/2015:13:32:26 +0300] [Job 16] Unable to send data to printer.
E [20/May/2015:13:47:53 +0300] [Job 16] Stopping unresponsive job.
kari@kari-HP-Compaq-dc7900-Small-Form-Factor:~$

Noin 15 min hiljaisuuden jälkeen klo 13:47 tulostin kuitenkin printtasi tyhjän sivun, vaikka job 16 on edelleen "käsittelyssä" tulostimella.

Koodia: [Valitse]
kari@kari-HP-Compaq-dc7900-Small-Form-Factor:~$ sudo /etc/init.d/ccpd status
[sudo] password for kari:
/usr/sbin/ccpd: 1670
kari@kari-HP-Compaq-dc7900-Small-Form-Factor:~$ lsusb
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 008 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 005 Device 005: ID 04a9:262b Canon, Inc. LaserShot LBP-1120 Printer
Bus 005 Device 002: ID 1a81:2204 Holtek Semiconductor, Inc. Optical Mouse
Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 004 Device 003: ID 04a9:220e Canon, Inc. CanoScan N1240U/LiDE 30
Bus 004 Device 002: ID 04d9:1603 Holtek Semiconductor, Inc. Keyboard
Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
kari@kari-HP-Compaq-dc7900-Small-Form-Factor:~$

Mitähän tekisi?

Koodia: [Valitse]
May 20 13:30:59 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[607]: [system] Successfully activated service 'org.freedesktop.hostname1'
May 20 13:30:59 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [   59.416609] systemd-hostnamed[2264]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
May 20 13:31:06 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [   66.228045] usb 5-2: new full-speed USB device number 3 using uhci_hcd
May 20 13:31:06 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [   66.409004] usb 5-2: New USB device found, idVendor=04a9, idProduct=262b
May 20 13:31:06 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [   66.409009] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 20 13:31:06 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [   66.409012] usb 5-2: Product: Canon CAPT USB Printer
May 20 13:31:06 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [   66.409016] usb 5-2: Manufacturer: Canon
May 20 13:31:06 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [   66.409019] usb 5-2: SerialNumber: 0345FAri
May 20 13:31:06 kari-HP-Compaq-dc7900-Small-Form-Factor mtp-probe: checking bus 5, device 3: "/sys/devices/pci0000:00/0000:00:1a.2/usb5/5-2"
May 20 13:31:06 kari-HP-Compaq-dc7900-Small-Form-Factor mtp-probe: bus: 5, device: 3 was not an MTP device
May 20 13:31:06 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [   66.416094] usblp 5-2:1.0: usblp1: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04A9 pid 0x262B
May 20 13:31:10 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[607]: [system] Activating service name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
May 20 13:31:10 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[607]: [system] Successfully activated service 'org.opensuse.CupsPkHelper.Mechanism'
May 20 13:31:10 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [   70.198888] usblp1: removed
May 20 13:31:10 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [   70.213495] usblp 5-2:1.0: usblp1: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 0x04A9 pid 0x262B
May 20 13:31:35 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[607]: [system] Failed to activate service 'org.freedesktop.Avahi': timed out
May 20 13:32:20 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[607]: [system] Activating service name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
May 20 13:32:20 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[607]: [system] Successfully activated service 'org.opensuse.CupsPkHelper.Mechanism'
May 20 13:32:20 kari-HP-Compaq-dc7900-Small-Form-Factor colord: Profile added: Canon-LASER-SHOT-LBP-1120-Gray..
May 20 13:32:20 kari-HP-Compaq-dc7900-Small-Form-Factor colord: Device added: cups-Canon-LASER-SHOT-LBP-1120
May 20 13:32:24 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  143.697676] usblp1: removed
May 20 13:32:26 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  146.344086] usb 5-2: USB disconnect, device number 3
May 20 13:32:26 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  146.584034] usb 5-2: new full-speed USB device number 4 using uhci_hcd
May 20 13:32:27 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  146.764409] usb 5-2: New USB device found, idVendor=04a9, idProduct=262b
May 20 13:32:27 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  146.764414] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 20 13:32:27 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  146.764417] usb 5-2: Product: Canon CAPT USB Printer
May 20 13:32:27 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  146.764421] usb 5-2: Manufacturer: Canon
May 20 13:32:27 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  146.764424] usb 5-2: SerialNumber: 0345FAri
May 20 13:32:27 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  146.771475] usblp 5-2:1.0: usblp1: USB Bidirectional printer dev 4 if 0 alt 0 proto 2 vid 0x04A9 pid 0x262B
May 20 13:32:27 kari-HP-Compaq-dc7900-Small-Form-Factor mtp-probe: checking bus 5, device 4: "/sys/devices/pci0000:00/0000:00:1a.2/usb5/5-2"
May 20 13:32:27 kari-HP-Compaq-dc7900-Small-Form-Factor mtp-probe: bus: 5, device: 4 was not an MTP device
May 20 13:37:38 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  458.385299] usblp1: removed
May 20 13:37:40 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  459.872109] usb 5-2: USB disconnect, device number 4
May 20 13:37:40 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  460.112071] usb 5-2: new full-speed USB device number 5 using uhci_hcd
May 20 13:37:40 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  460.292477] usb 5-2: New USB device found, idVendor=04a9, idProduct=262b
May 20 13:37:40 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  460.292483] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 20 13:37:40 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  460.292487] usb 5-2: Product: Canon CAPT USB Printer
May 20 13:37:40 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  460.292490] usb 5-2: Manufacturer: Canon
May 20 13:37:40 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  460.292493] usb 5-2: SerialNumber: 0345FAri
May 20 13:37:40 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  460.299543] usblp 5-2:1.0: usblp1: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x04A9 pid 0x262B
May 20 13:37:40 kari-HP-Compaq-dc7900-Small-Form-Factor mtp-probe: checking bus 5, device 5: "/sys/devices/pci0000:00/0000:00:1a.2/usb5/5-2"
May 20 13:37:40 kari-HP-Compaq-dc7900-Small-Form-Factor mtp-probe: bus: 5, device: 5 was not an MTP device
May 20 13:39:20 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[607]: [system] Activating service name='org.freedesktop.hostname1' (using servicehelper)
May 20 13:39:20 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[607]: [system] Successfully activated service 'org.freedesktop.hostname1'
May 20 13:39:20 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  560.588973] systemd-hostnamed[2725]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
May 20 13:42:51 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  770.909502] usblp1: removed
May 20 13:42:52 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  771.928105] usb 5-2: USB disconnect, device number 5
May 20 13:42:52 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  772.264045] usb 5-2: new full-speed USB device number 6 using uhci_hcd
May 20 13:42:52 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  772.444534] usb 5-2: New USB device found, idVendor=04a9, idProduct=262b
May 20 13:42:52 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  772.444539] usb 5-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
May 20 13:42:52 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  772.444542] usb 5-2: Product: Canon CAPT USB Printer
May 20 13:42:52 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  772.444545] usb 5-2: Manufacturer: Canon
May 20 13:42:52 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  772.444548] usb 5-2: SerialNumber: 0345FAri
May 20 13:42:52 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  772.451604] usblp 5-2:1.0: usblp1: USB Bidirectional printer dev 6 if 0 alt 0 proto 2 vid 0x04A9 pid 0x262B
May 20 13:42:52 kari-HP-Compaq-dc7900-Small-Form-Factor mtp-probe: checking bus 5, device 6: "/sys/devices/pci0000:00/0000:00:1a.2/usb5/5-2"
May 20 13:42:52 kari-HP-Compaq-dc7900-Small-Form-Factor mtp-probe: bus: 5, device: 6 was not an MTP device
May 20 13:48:03 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [ 1083.382382] usblp1: removed
May 20 13:54:40 kari-HP-Compaq-dc7900-Small-Form-Factor dhclient: DHCPREQUEST of 192.168.1.72 on eth0 to 192.168.1.1 port 67 (xid=0x5ffd4b90)
May 20 13:54:40 kari-HP-Compaq-dc7900-Small-Form-Factor dhclient: DHCPACK of 192.168.1.72 from 192.168.1.1
May 20 13:54:40 kari-HP-Compaq-dc7900-Small-Form-Factor dhclient: bound to 192.168.1.72 -- renewal in 1527 seconds.
May 20 13:54:40 kari-HP-Compaq-dc7900-Small-Form-Factor NetworkManager[724]: <info> (eth0): DHCPv4 state changed bound -> renew
May 20 13:54:40 kari-HP-Compaq-dc7900-Small-Form-Factor NetworkManager[724]: <info>   address 192.168.1.72
May 20 13:54:40 kari-HP-Compaq-dc7900-Small-Form-Factor NetworkManager[724]: <info>   prefix 24 (255.255.255.0)
May 20 13:54:40 kari-HP-Compaq-dc7900-Small-Form-Factor NetworkManager[724]: <info>   gateway 192.168.1.1
May 20 13:54:40 kari-HP-Compaq-dc7900-Small-Form-Factor NetworkManager[724]: <info>   nameserver '192.168.1.1'
May 20 13:54:40 kari-HP-Compaq-dc7900-Small-Form-Factor NetworkManager[724]: <info>   domain name 'lan'
May 20 13:54:40 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[607]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
May 20 13:54:40 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[607]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'
« Viimeksi muokattu: 21.05.15 - klo:20.23 kirjoittanut kx »
HP Pro Intel i5-3470 core 4  3,2,Hz RAM 8 Gb+Kingston 240Gt SSD+ nVidia Gt730+Ubuntu 22.04 lts + W10Pro64-bit ja Samsung ML-2165 sekä CanoScan Lide300

nm

  • Käyttäjä
  • Viestejä: 16245
    • Profiili
Vs: Canon lbp 1120 ja 14.04 lts 64bit
« Vastaus #1 : 20.05.15 - klo:19.14 »
Oletko nyt asentanut tarvittavat 32-bittiset kirjastot, kuten viimeksi neuvoin?

Koodia: [Valitse]
sudo apt-get install libstdc++6:i386 libxml2:i386 zlib1g:i386 libpopt0:i386
Kattava englanninkielinen ohje on tosiaan täällä: http://askubuntu.com/a/464334/386708

kx

  • Käyttäjä
  • Viestejä: 701
    • Profiili
Vs: Canon lbp 1120 ja 14.04 lts 64bit
« Vastaus #2 : 20.05.15 - klo:19.29 »
Nuo kirjastot on asennettu kyllä. 
Ja tulostin näkyy yläpalkissa. Kopio menee tulostukseen, käsitellään hetken aikaa ja sitten tulostin menee "joutenoloon"


Nyt sain rtulostimen toimimaan, kun muutin tuon sisältöä:

Koodia: [Valitse]
in this case:

Check in /etc/ccpd.conf (gksudo gedit /etc/ccpd.conf) that you have this:

<Printer  LBP1120>
DevicePath  /dev/usb/lp0
</Printer>

To get it:

sudo /usr/sbin/ccpdadmin -p LBP1120 -o /dev/usb/lp0


Jostain syystä lp1 piti muuttaa  --> lp0

Mitenkähän saan tämän asetuksen pysymään? No ei pysynytkään.

Muutin tuon sisällön edelleen näin:

Koodia: [Valitse]
<Printer LBP1120>
DevicePath /dev/usb/lp1
</Printer>

<Ports>
# Status monitoring socket port.
#  Default 59787
UI_Port  59787
PDATA_Port  59787

Ja nyt menee tulostimelle käsky ja jää sinne "käsittelyyn".  Muttei sen kummempaa... tapahdu.

Loki keroo tuon viimeisen tilanteen

Koodia: [Valitse]
May 20 20:27:55 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[576]: [system] Activating service name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
May 20 20:27:55 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[576]: [system] Successfully activated service 'org.opensuse.CupsPkHelper.Mechanism'
May 20 20:27:55 kari-HP-Compaq-dc7900-Small-Form-Factor colord: device removed: cups-LBP1120
May 20 20:28:06 kari-HP-Compaq-dc7900-Small-Form-Factor colord: Device added: cups-LBP1120
May 20 20:28:37 kari-HP-Compaq-dc7900-Small-Form-Factor colord: device removed: cups-LBP1120
May 20 20:28:37 kari-HP-Compaq-dc7900-Small-Form-Factor colord: Device added: cups-LBP1120
May 20 20:28:57 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[576]: [system] Activating service name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
May 20 20:28:57 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[576]: [system] Successfully activated service 'org.opensuse.CupsPkHelper.Mechanism'
May 20 20:29:46 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[576]: [system] Activating service name='org.opensuse.CupsPkHelper.Mechanism' (using servicehelper)
May 20 20:29:46 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[576]: [system] Successfully activated service 'org.opensuse.CupsPkHelper.Mechanism'
May 20 20:37:13 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  907.173246] usblp1: nonzero read bulk status received: -84
May 20 20:37:13 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  907.336121] usb 5-2: USB disconnect, device number 4
May 20 20:37:16 kari-HP-Compaq-dc7900-Small-Form-Factor kernel: [  909.854290] usblp1: removed
May 20 20:48:52 kari-HP-Compaq-dc7900-Small-Form-Factor dhclient: DHCPREQUEST of 192.168.1.72 on eth0 to 192.168.1.1 port 67 (xid=0x1425265b)
May 20 20:48:52 kari-HP-Compaq-dc7900-Small-Form-Factor dhclient: DHCPACK of 192.168.1.72 from 192.168.1.1
May 20 20:48:52 kari-HP-Compaq-dc7900-Small-Form-Factor dhclient: bound to 192.168.1.72 -- renewal in 1687 seconds.
May 20 20:48:52 kari-HP-Compaq-dc7900-Small-Form-Factor NetworkManager[774]: <info> (eth0): DHCPv4 state changed bound -> renew
May 20 20:48:52 kari-HP-Compaq-dc7900-Small-Form-Factor NetworkManager[774]: <info>   address 192.168.1.72
May 20 20:48:52 kari-HP-Compaq-dc7900-Small-Form-Factor NetworkManager[774]: <info>   prefix 24 (255.255.255.0)
May 20 20:48:52 kari-HP-Compaq-dc7900-Small-Form-Factor NetworkManager[774]: <info>   gateway 192.168.1.1
May 20 20:48:52 kari-HP-Compaq-dc7900-Small-Form-Factor NetworkManager[774]: <info>   nameserver '192.168.1.1'
May 20 20:48:52 kari-HP-Compaq-dc7900-Small-Form-Factor NetworkManager[774]: <info>   domain name 'lan'
May 20 20:48:52 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[576]: [system] Activating service name='org.freedesktop.nm_dispatcher' (using servicehelper)
May 20 20:48:52 kari-HP-Compaq-dc7900-Small-Form-Factor dbus[576]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'

« Viimeksi muokattu: 20.05.15 - klo:20.57 kirjoittanut kx »
HP Pro Intel i5-3470 core 4  3,2,Hz RAM 8 Gb+Kingston 240Gt SSD+ nVidia Gt730+Ubuntu 22.04 lts + W10Pro64-bit ja Samsung ML-2165 sekä CanoScan Lide300

kx

  • Käyttäjä
  • Viestejä: 701
    • Profiili
Vs: Canon lbp 1120 ja 14.04 lts 64 / 32 bit
« Vastaus #3 : 21.05.15 - klo:20.23 »
Joo , ei onnistunut tulostimen asentaminen tuohon 64bittiseen versioon. Palasin takaisin 32-bittiseen Ubuntu 14.04 LTS versioon.

Onnistuin asentamaan Canon LBP 1120 tulostimen aikaisempien oppien mukaan "heti".  Laitan tähän ohjeet myöhemmin, jos olisi hyötyä muille.

HP Pro Intel i5-3470 core 4  3,2,Hz RAM 8 Gb+Kingston 240Gt SSD+ nVidia Gt730+Ubuntu 22.04 lts + W10Pro64-bit ja Samsung ML-2165 sekä CanoScan Lide300