FS#20396 - [cups] doesn't show serial ports
Attached to Project:
Arch Linux
Opened by Maxwell Draven (Ravenman) - Friday, 06 August 2010, 23:13 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 14 August 2010, 10:37 GMT
Opened by Maxwell Draven (Ravenman) - Friday, 06 August 2010, 23:13 GMT
Last edited by Andreas Radke (AndyRTR) - Saturday, 14 August 2010, 10:37 GMT
|
Details
Description:
I'm trying to install one serial printer, but CUPS doesn't show the serial port, but I can see the serial port with the command "ls /dev/ttyS*" I tried with one Knoppix live CD in the same machine, and I can see the serial port through CUPS. Additional info: * package version(s) cups 1.4.4-1 * config and/or log files etc. Steps to reproduce: Try to install one serial printer through CUPS. |
This task depends upon
Closed by Andreas Radke (AndyRTR)
Saturday, 14 August 2010, 10:37 GMT
Reason for closing: Fixed
Additional comments about closing: fix applied in 1.4.4-3
Saturday, 14 August 2010, 10:37 GMT
Reason for closing: Fixed
Additional comments about closing: fix applied in 1.4.4-3
drm_kms_helper 21512 1 i915
drm 131562 3 i915,drm_kms_helper
lp 6684 0
parport 25403 3 ppdev,parport_pc,lp
i2c_core 15144 5 i915,drm_kms_helper,drm,i2c_algo_bit,i2c_i801
What are the permissions on your /dev/ttyS{0-3}? Are you in the group uucp?
Perhaps this will help: http://ubuntuforums.org/showthread.php?t=116289...
crw-rw---- 1 root uucp 4, 64 Aug 11 18:07 /dev/ttyS0
crw-rw---- 1 root uucp 4, 65 Aug 11 18:07 /dev/ttyS1
crw-rw---- 1 root uucp 4, 66 Aug 11 18:07 /dev/ttyS2
crw-rw---- 1 root uucp 4, 67 Aug 11 18:07 /dev/ttyS3
This is the outcome from the command ls -l /usr/lib/cups/backend/serial (before changes):
-r-xr-xr-x 1 root root 26800 Aug 9 13:58 /usr/lib/cups/backend/serial
Yes, I have added my user to the uucp group.
I followed the instructions from the link and I can see the serial port through CUPS right now. Thanks, Leonid.
@Andreas: Can you add the changes mentioned in the link to the default Arch Linux structure, please?
However, isn't it an issue with 555 permissions on /usr/lib/backend/serial? For instance, on a redhat machine it is 700 root:root. See also http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=516945
[root@researchlinux ~]# lpinfo -v
network ipp
network http
network lpd
direct scsi
network smb
network socket
network beh
serial serial:/dev/ttyS0?baud=115200
direct parallel:/dev/lp0
A lot of thanks to all for your collaboration and interest.