[Gutsy] : bluetooth printing was working but is not (at the beginning of september).
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apparmor (Ubuntu) |
Invalid
|
High
|
Martin Pitt | ||
Gutsy |
Invalid
|
Undecided
|
Unassigned | ||
cupsys (Ubuntu) |
Fix Released
|
High
|
Martin Pitt | ||
Gutsy |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
I'm using Gutsy, and it's up-to-date.
Once month ago, I was able to print to my bluetooth HP printer, after added very easily this with new system-
However, if the printer is OK, and the setup of system-
Logs from /var/log/
E [01/Oct/
E [01/Oct/
E [01/Oct/
Logs from dmesg :
[ 8360.320000] audit(119126716
[ 8360.596000] audit(119126716
[ 8360.636000] audit(119126716
I can see that my bluetooth stick *doesn't blink* asit usually did while sending a printing request.
But I can use the backend directly and see it blinking :
$ /usr/lib/
network bluetooth:
I don't know how to print the job directly, using the backend. So I can't tell you more.
TEST CASE:
- Make sure bluez-cups is installed and enable a Bluetooth adapter.
- Create a bogus bluetooth printer:
lpadmin -p test -E -v bluetooth:
- try to print something:
echo hello | lp -d test
- dmesg will show that apparmor denied BT access:
type=1503 operation=
- Delete the test printer again:
lpadmin -x test
Changed in cupsys: | |
milestone: | gutsy-updates → ubuntu-8.04-beta |
milestone: | none → gutsy-updates |
assignee: | nobody → pitti |
status: | New → Confirmed |
description: | updated |
description: | updated |
Same problem if I use hp:/usb/ deskjet_ 995c?serial= MY1581C042AP URI (detected automatically when I pluged USB cable).
Logs from dmesg (adding printer) : buildd/ linux-source- 2.6.22- 2.6.22/ drivers/ usb/class/ usblp.c: usblp0: USB Bidirectional printer dev 5 if 0 alt 0 proto 2 vid 0x03F0 pid 0x5004 buildd/ linux-source- 2.6.22- 2.6.22/ drivers/ usb/class/ usblp.c: v0.13: USB Printer Device Class driver
[ 9016.640000] usb 3-1: new full speed USB device using uhci_hcd and address 5
[ 9016.856000] usb 3-1: configuration #1 chosen from 1 choice
[ 9017.452000] /build/
[ 9017.452000] usbcore: registered new interface driver usblp
[ 9017.452000] /build/
Logs from /var/log/syslog : buildd/ linux-source- 2.6.22- 2.6.22/ drivers/ usb/class/ usblp.c: v0.13: USB Printer Device Class driver device_ added() : New device added (hal udi is '/org/freedeskt op/Hal/ devices/ usb_device_ 3f0_5004_ MY1581C042AP_ usbraw' ). deskjet_ 995c?serial= MY1581C042AP' , 'usb:// HP/DESKJET% 20995C? serial= MY1581C042AP' , 'hal:// /org/freedeskto p/Hal/devices/ usb_device_ 3f0_5004_ MY1581C042AP_ if0_printer_ MY1581C042AP' ] PACKARD; MDL:DESKJET 995C;DES: hewlett- packard deskjet 995c;CMD: MLC,PCL, PML,DW- PCL; URI:hp: /usb/deskjet_ 995c?serial= MY1581C042AP HP-DeskJet_ 995C-hpijs. ppd; Status: 0 device_ added() : New device added (hal udi is '/org/freedeskt op/Hal/ devices/ usb_device_ 3f0_5004_ MY1581C042AP_ if0_printer_ MY1581C042AP' ).
Oct 1 21:43:42 Id2ndR-U200 kernel: [ 9017.452000] /build/
Oct 1 21:43:42 Id2ndR-U200 NetworkManager: <debug> [1191267822.604751] nm_hal_
Oct 1 21:43:42 Id2ndR-U200 hal_lpadmin: add
Oct 1 21:43:44 Id2ndR-U200 hal_lpadmin: URIs: ['hp:/usb/
Oct 1 21:43:45 Id2ndR-U200 python: hp-probe[21214]: warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
Oct 1 21:43:45 Id2ndR-U200 python: hp-probe[21214]: warning: check to make sure your devices are properly connected and powered on.
Oct 1 21:43:45 Id2ndR-U200 hal_lpadmin: HPLIP Fax URIs: None
Oct 1 21:43:45 Id2ndR-U200 hal_lpadmin: Calling GetReady
Oct 1 21:43:56 Id2ndR-U200 hal_lpadmin: Device ID: MFG:HEWLETT-
Oct 1 21:43:56 Id2ndR-U200 hal_lpadmin: PPD: foomatic:
Oct 1 21:44:06 Id2ndR-U200 hal_lpadmin: Added printer DESKJET_995C
Oct 1 21:44:07 Id2ndR-U200 python: hp-probe[21249]: warning: No devices found on the 'usb' bus. If this isn't the result you are expecting,
Oct 1 21:44:07 Id2ndR-U200 python: hp-probe[21249]: warning: check to make sure your devices are properly connected and powered on.
Oct 1 21:44:07 Id2ndR-U200 NetworkManager: <debug> [1191267847.940116] nm_hal_
New job send. Logs from /var/log/syslog : 995c?serial= MY1581C042AP: io/hpmud/musb.c 549: invalid product id string: Operation not permitted 995c?serial= MY1581C042AP: io/hpmud/musb.c 1003: unable to open hp:/usb/ deskjet_ 995c?serial= MY1581C042AP 995c?serial= MY1581C042AP: INFO: open device failed; will retry in 30 seconds... 4.873:28) : type=1503 operation= "inode_ permission" requested_mask="rw" denied_mask="rw" name="/dev/tty" pid=21269 profile= "/usr/sbin/ cupsd"
Oct 1 21:44:55 Id2ndR-U200 deskjet_
Oct 1 21:44:55 Id2ndR-U200 deskjet_
Oct 1 21:44:55 Id2ndR-U200 deskjet_
Oct 1 21:44:55 Id2ndR-U200 kernel: [ 9090.244000] audit(119126789
Oct 1 21:44:55...