touch-packages team mailing list archive
-
touch-packages team
-
Mailing list archive
-
Message #91448
[Bug 1475921] Re: Hp printer recognized, connected, and set at lpt0 on a parallel port just can not print
To display /var/log/syslog, open it with an editor, or run
less /var/log/syslog
Then search for "audit" lines in the file.
If you run
grep audit /var/log/syslog
only the "audit" lines are displayed. Please post these lines here.
For the second part, run
sudo apt-get install apparmor-utils
and after that
cancel -a
sudo aa-complain cupsd
Try to print again. Does it work now?
--
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to cups in Ubuntu.
https://bugs.launchpad.net/bugs/1475921
Title:
Hp printer recognized,connected,and set at lpt0 on a parallel port
just can not print
Status in cups package in Ubuntu:
Incomplete
Bug description:
Cmd line output from Term
robert@spareparts ~ $ lsmod | grep lp
usblp 18277 0
lp 13299 0
parport 40836 3 lp,ppdev,parport_pc
drm_kms_helper 48868 1 nouveau
drm 244037 5 ttm,drm_kms_helper,nouveau
robert@spareparts ~ $ lsmod | grep ppdev
ppdev 17391 0
parport 40836 3 lp,ppdev,parport_pc
robert@spareparts ~ $ lsmod | grep parport_pc
parport_pc 31981 2
parport 40836 3 lp,ppdev,parport_pc
robert@spareparts ~ $ dmesg | grep par
[ 0.000000] Booting paravirtualized kernel on bare hardware
[ 0.080220] regulator-dummy: no parameters
[ 0.099368] acpi PNP0A08:00: [Firmware Info]: MMCONFIG for domain 0000 [bus 00-1f] only partially covers this bridge
[ 0.116867] hpet0: 4 comparators, 64-bit 25.000000 MHz counter
[ 0.764148] Asymmetric key parser 'x509' registered
[ 1.304060] ahci 0000:06:00.0: flags: 64bit ncq pm led clo pmp pio slum part
[ 1.760491] sdb: unknown partition table
[ 1.762354] sde: unknown partition table
[ 1.765859] sdd: unknown partition table
[ 1.766673] sdc: unknown partition table
[ 3.095589] ppdev: user-space parallel port driver
[ 3.105129] PCI parallel port detected: 1415:c11c, I/O at 0xee00(0xed00), IRQ 18
[ 3.105164] parport0: PC-style at 0xee00 (0xed00), irq 18, using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
[ 3.200344] lp0: using parport0 (interrupt-driven).
[ 3.200348] PCI parallel port detected: 1415:c11c, I/O at 0xec00(0xeb00), IRQ 18
[ 3.200387] parport1: PC-style at 0xec00 (0xeb00), irq 18, using FIFO [PCSPP,TRISTATE,COMPAT,ECP]
[ 3.296140] lp1: using parport1 (interrupt-driven).
[12183.100015] parport0: BUSY timeout (1) in compat_write_block_pio
[12354.820018] parport0: BUSY timeout (1) in compat_write_block_pio
[12384.892008] parport0: BUSY timeout (1) in compat_write_block_pio
[12389.818249] parport0: BUSY timeout (-4) in compat_write_block_pio
[12479.404429] parport1: lp tried to release parport when not owner
[12479.404434] parport1: ppdev1 forgot to release port
robert@spareparts ~ $ ls -l /dev/lp* /dev/parport*
crw-rw---- 1 root lp 6, 0 Jul 18 11:06 /dev/lp0
crw-rw---- 1 root lp 6, 1 Jul 18 11:06 /dev/lp1
crw-rw-rw- 1 lp lp 99, 0 Jul 18 11:06 /dev/parport0
crw-rw-rw- 1 lp lp 99, 1 Jul 18 11:06 /dev/parport1
robert@spareparts ~ $ ls -l /proc/sys/dev/parport/parport*/autoprobe
-r--r--r-- 1 root root 0 Jul 18 15:30 /proc/sys/dev/parport/parport0/autoprobe
-r--r--r-- 1 root root 0 Jul 18 15:30 /proc/sys/dev/parport/parport1/autoprobe
robert@spareparts ~ $ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
[sudo] password for robert:
robert@spareparts ~ $ sudo cat /proc/sys/dev/parport/parport*/autoprobe*
robert@spareparts ~ $ lpinfo -v
network socket
network https
network ipp14
network ipp
network ipps
network http
serial serial:/dev/ttyS0?baud=115200
network smb
network lpd
robert@spareparts ~ $ /usr/lib/cups/backend/parallel
direct parallel:/dev/lp0 "HP OfficeJet T Series" "HP OfficeJet T Series LPT #1" "MFG:Hewlett-Packard;MDL:OfficeJet T Series;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard OfficeJet T Series;VSTATUS:$HB0$FC0,FF,DN,IDLE,CUT;" ""
direct parallel:/dev/lp1 "unknown" "LPT #2" "" ""
robert@spareparts ~ $ sudo /usr/lib/cups/backend/parallel
direct parallel:/dev/lp0 "HP OfficeJet T Series" "HP OfficeJet T Series LPT #1" "MFG:Hewlett-Packard;MDL:OfficeJet T Series;CMD:MLC,PCL,PML;CLASS:PRINTER;DESCRIPTION:Hewlett-Packard OfficeJet T Series;VSTATUS:$HB0$FC0,FF,DN,IDLE,CUT;" ""
direct parallel:/dev/lp1 "unknown" "LPT #2" "" ""
robert@spareparts ~ $
Hplip has been manually installed with ppbuild, and CUPS has been updated
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: cups 1.7.2-0ubuntu1.6
ProcVersionSignature: Ubuntu 3.13.0-37.64-generic 3.13.11.7
Uname: Linux 3.13.0-37-generic i686
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: i386
Date: Sat Jul 18 16:02:06 2015
InstallationDate: Installed on 2015-07-17 (1 days ago)
InstallationMedia: Linux Mint 17.1 "Rebecca" - Release i386 20150108
Lpstat:
device for Hewlett-Packard-OfficeJet-T-Series: parallel:/dev/lp0
device for PSC-900-Series: usb://HP/PSC%20900%20Series?serial=MY19DB206ZWP
device for PSC_950xi: hp:/usb/PSC_950xi?serial=MY19DB206ZWP
Lsusb:
Bus 002 Device 002: ID 0bda:0151 Realtek Semiconductor Corp. Mass Storage Device (Multicard Reader)
Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
Bus 004 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 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub
MachineType: EVGA GeForce 9300 Series
Papersize: letter
PpdFiles:
PSC_950xi: HP PSC 950xi, hpcups 3.15.6
PSC-900-Series: HP PSC 900 Series, hpcups 3.14.3
Hewlett-Packard-OfficeJet-T-Series: HP Officejet T Series, hpcups 3.15.6
ProcEnviron:
TERM=xterm
PATH=(custom, no user)
XDG_RUNTIME_DIR=<set>
LANG=en_US.UTF-8
SHELL=/bin/bash
ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.13.0-37-generic root=UUID=fe034ccc-f1e7-44e0-951e-39acab43e203 ro quiet splash vt.handoff=7
SourcePackage: cups
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 03/02/2009
dmi.bios.vendor: Phoenix Technologies, LTD
dmi.bios.version: 6.00 PG
dmi.board.name: GeForce 9300 Series
dmi.board.vendor: EVGA
dmi.board.version: 1
dmi.chassis.asset.tag: Unknow
dmi.chassis.type: 3
dmi.chassis.vendor: EVGA
dmi.chassis.version: GeForce 9300 Series
dmi.modalias: dmi:bvnPhoenixTechnologies,LTD:bvr6.00PG:bd03/02/2009:svnEVGA:pnGeForce9300Series:pvr1:rvnEVGA:rnGeForce9300Series:rvr1:cvnEVGA:ct3:cvrGeForce9300Series:
dmi.product.name: GeForce 9300 Series
dmi.product.version: 1
dmi.sys.vendor: EVGA
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cups/+bug/1475921/+subscriptions
References