USB attached serial ports have permissions problems
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cups (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: cups
Description: Ubuntu 10.04 LTS
Release: 10.04
cups:
Installed: 1.4.3-1
Candidate: 1.4.3-1
Version table:
*** 1.4.3-1 0
500 http://
100 /var/lib/
I was attempting to set up my SiPix A6 serial printer on my new upgrade of Lucid. Going through the system-
Here are my error lines in the CUPS log for one attempt to print to the printer.
E [29/May/
E [29/May/
E [30/May/
E [30/May/
E [30/May/
E [30/May/
I've tested this with setting the permissions on /dev/ttyUSB0 to full open, 666, with the same results.
To do some further testing, I created a file the printer could read following the instructions here: http://
root@myhost:
root@myhost:
STATE: +connecting-
STATE: -connecting-
PAGE: 1 1
DEBUG: Wrote 1152 bytes...
DEBUG: Wrote 1152 bytes...
DEBUG: Wrote 1152 bytes...
...
DEBUG: Wrote 1152 bytes...
DEBUG: Wrote 1152 bytes...
DEBUG: Wrote 764 bytes...
Please let me know if you need any further information from me.
This looks like a problem with the apparmour config for cups, I suggest if you add /dev/ttyUSB* to /etc/apparmor. d/usr.sbin. cupsd
in the same way as the /dev/ttyS* rw, line it should fix it.
Dave