Subj. Дистр Debian Jessie, принтер Lexmark E232, подключен к LPT порту компьютера, но cups упорно его не видит.
user@workstation [~]
>$ lsmod | grep lp
lp 17074 0
parport 35749 3 lp,ppdev,parport_pc
user@workstation [~]
>$ lsmod | grep ppdev
ppdev 16782 0
parport 35749 3 lp,ppdev,parport_pc
user@workstation [~]
>$ lsmod | grep parport_pc
parport_pc 26300 1
parport 35749 3 lp,ppdev,parport_pc
user@workstation [~]
>$ dmesg | grep par
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.014158] AppArmor: AppArmor disabled by boot time parameter
[ 0.444865] hpet0: 4 comparators, 32-bit 14.318180 MHz counter
[ 1.305139] ahci 0000:00:11.0: flags: 64bit ncq sntf ilck pm led clo pmp pio slum part ccc
[ 2.697238] PM: Hibernation image partition 8:38 present
[ 2.881870] ppdev: user-space parallel port driver
[ 2.882644] parport_pc 00:01: reported by Plug and Play ACPI
[ 2.882672] parport0: PC-style at 0x378, irq 7 [PCSPP,TRISTATE,EPP]
[ 2.910787] parport0: Printer, Lexmark International Lexmark E232
[ 2.910905] lp0: using parport0 (interrupt-driven).
user@workstation [~]
>$ ls -l /dev/lp* /dev/parport*
crw-rw---- 1 root lp 6, 0 авг 17 21:58 /dev/lp0
crw-rw-r-- 1 root lp 99, 0 авг 17 21:58 /dev/parport0
user@workstation [~]
>$ ls -l /proc/sys/dev/parport/parport*/autoprobe*
-r--r--r-- 1 root root 0 авг 17 22:00 /proc/sys/dev/parport/parport0/autoprobe
-r--r--r-- 1 root root 0 авг 17 22:00 /proc/sys/dev/parport/parport0/autoprobe0
-r--r--r-- 1 root root 0 авг 17 22:00 /proc/sys/dev/parport/parport0/autoprobe1
-r--r--r-- 1 root root 0 авг 17 22:00 /proc/sys/dev/parport/parport0/autoprobe2
-r--r--r-- 1 root root 0 авг 17 22:00 /proc/sys/dev/parport/parport0/autoprobe3
user@workstation [~]
>$ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
[sudo] password for user:
CLASS:PRINTER;
MODEL:Lexmark E232;
MANUFACTURER:Lexmark International;
DESCRIPTION:Lexmark E232;
COMMAND SET:PCL 6 Emulation, PostScript Level 3 For Mac Emulation, NPAP, PJL;
user@workstation [~]
>$ sudo lpinfo -v
network https
network ipp
network ipp14
network http
network lpd
network socket
serial serial:/dev/ttyS0?baud=115200
network ipps
user@workstation [~]
>$ /usr/lib/cups/backend/parallel
user@workstation [~]
>$ sudo /usr/lib/cups/backend/parallel
direct parallel:/dev/lp0 "Lexmark Lexmark E232" "Lexmark Lexmark E232 LPT #1" "MANUFACTURER:Lexmark International;COMMAND SET:PCL 6 Emulation, PostScript Level 3 For Mac Emulation, NPAP, PJL;MODEL:Lexmark E232;CLS:PRINTER;DES:Lexmark E232;CID:Lexmark_InternationaCC02, Lexmark_Internationa0D83, Lexmark_Internationa9D12, Lexmark_Internationa5DD3;COMMENT:ECP1.0, LV_043D, LP_0091, LF_0035;" ""