At 08:47 AM 3/9/2012, Brian wrote:
On Fri 09 Mar 2012 at 08:35:59 -0500, Ethan Rosenberg wrote:

> Find New Printers - No Printers Found.

At

   https://wiki.ubuntu.com/DebuggingPrintingProblems

there is some parallel port printer troubleshooting advice. You might
want to post the outputs of some of the suggested commands.
Brian -

Thanks.

Here it is:

   * Make sure that the printer is connected to your system and powered on.
* Open a terminal/console and check if the lp, ppdev, and parport_pc kernel modules are loaded:
   * $ lsmod | grep lp
   * rosenberg:/home/ethan# lsmod | grep lp
lp                     12797  2
drm_kms_helper         22699  1 i915
drm                   134178  3 drm_kms_helper,i915
parport                31254  4 parport_pc,ppa,lp,ppdev
i2c_core               19116  5 i2c_algo_bit,i2c_i801,drm,drm_kms_helper,i915

   * $ lsmod | grep ppdev
rosenberg:/home/ethan# lsmod | grep ppdev
ppdev                  12651  0
parport                31254  4 parport_pc,ppa,lp,ppdev

   * $ lsmod | grep parport_pc
   * rosenberg:/home/ethan# lsmod | grep parport_pc
   * parport_pc             22036  1
   * parport                31254  4 parport_pc,ppa,lp,ppdev


   * Check if the kernel detected the parallel port during bootup:
   * $ dmesg | grep par
rosenberg:/home/ethan# dmesg | grep par
[    0.000000] Booting paravirtualized kernel on bare hardware
[    0.008080] AppArmor: AppArmor disabled by boot time parameter
[    0.268551] hpet0: 3 comparators, 64-bit 14.318180 MHz counter
[    2.963413] mdadm: sending ioctl 800c0910 to a partition!
[    2.963418] mdadm: sending ioctl 800c0910 to a partition!
[    2.963437] mdadm: sending ioctl 1261 to a partition!
[    2.963440] mdadm: sending ioctl 1261 to a partition!
[    2.994627] mdadm: sending ioctl 1261 to a partition!
[    2.994632] mdadm: sending ioctl 1261 to a partition!
[    2.995494] mdadm: sending ioctl 1261 to a partition!
[    2.995498] mdadm: sending ioctl 1261 to a partition!
[    2.995693] mdadm: sending ioctl 1261 to a partition!
[    2.995696] mdadm: sending ioctl 1261 to a partition!
[   11.382306] parport_pc 00:0d: reported by Plug and Play ACPI
[   11.382374] parport0: PC-style at 0x378 (0x778), irq 7 [PCSPP,TRISTATE]
[   15.596219] mdadm: sending ioctl 800c0910 to a partition!
[   15.596223] mdadm: sending ioctl 800c0910 to a partition!
[   15.596236] mdadm: sending ioctl 1261 to a partition!
[   15.596240] mdadm: sending ioctl 1261 to a partition!
[   15.596898] mdadm: sending ioctl 1261 to a partition!
[   15.596903] mdadm: sending ioctl 1261 to a partition!
[   15.597242] mdadm: sending ioctl 1261 to a partition!
[   15.597246] mdadm: sending ioctl 1261 to a partition!
[   15.597615] mdadm: sending ioctl 1261 to a partition!
[   15.597619] mdadm: sending ioctl 1261 to a partition!
[   32.221937] lp0: using parport0 (interrupt-driven).
[   32.420166] ppdev: user-space parallel port driver
[600923.340839] mdadm: sending ioctl 800c0910 to a partition!
[600923.340846] mdadm: sending ioctl 800c0910 to a partition!
[600923.340863] mdadm: sending ioctl 1261 to a partition!
[600923.340868] mdadm: sending ioctl 1261 to a partition!
[600923.341477] mdadm: sending ioctl 1261 to a partition!
[600923.341483] mdadm: sending ioctl 1261 to a partition!
[600923.341944] mdadm: sending ioctl 1261 to a partition!
[600923.341949] mdadm: sending ioctl 1261 to a partition!
[600923.342318] mdadm: sending ioctl 1261 to a partition!
[600923.342323] mdadm: sending ioctl 1261 to a partition!
[601268.620783] mdadm: sending ioctl 800c0910 to a partition!
[601268.620790] mdadm: sending ioctl 800c0910 to a partition!
[601268.620810] mdadm: sending ioctl 1261 to a partition!
[601268.620815] mdadm: sending ioctl 1261 to a partition!
[601268.621535] mdadm: sending ioctl 1261 to a partition!
[601268.621541] mdadm: sending ioctl 1261 to a partition!
[601268.621994] mdadm: sending ioctl 1261 to a partition!
[601268.622000] mdadm: sending ioctl 1261 to a partition!
[601268.622365] mdadm: sending ioctl 1261 to a partition!
[601268.622370] mdadm: sending ioctl 1261 to a partition!

* Check if the device files of the parallel port(s) are created and have the correct permissions and ownerships:
   * $ ls -l /dev/lp* /dev/parport*
* Check if the printer auto-detection result appears in the kernel's virtual file system: <<BR> $ ls -l /proc/sys/dev/parport/parport*/autoprobe*
   * $ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
   * Find out if your printer gets detected by CUPS:
   * $ lpinfo -v
rosenberg:/home/ethan# lpinfo -v
WARNING: gnome-keyring:: couldn't connect to: /tmp/keyring-e42sxy/pkcs11: No such file or directory
network lpd
file cups-pdf:/
network ipp
network ipps
network http
network socket
network beh
network https

* Run the parallel port CUPS backend separately, once with standard user privileges and once as root:
   * $ /usr/lib/cups/backend/parallel
rosenberg:/home/ethan# /usr/lib/cups/backend/parallel
rosenberg:/home/ethan#
   * $ sudo /usr/lib/cups/backend/parallel
   * Attach the output of the above commands to the bug report.
ethan@rosenberg:/var/www/Webpages2$ usr/lib/cups/backend/parallel
-bash: usr/lib/cups/backend/parallel: No such file or directory

Note that problems cannot only caused by CUPS but also by the kernel (package "linux"), HPLIP (package "hplip"), and several third-party printer drivers.

.
Thanks again.

Ethan


--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/0m0m00idclh8t...@mta3.srv.hcvlny.cv.net

Reply via email to