printing via serial to usb cable

Wade Smart wadesmart at gmail.com
Wed Jan 28 20:23:38 UTC 2009


Rashkae wrote:
> Wade Smart wrote:
> 
>> 20090128 1200 GMT-5
>>
>> I did the above and I have the following:
>>
>> logs:
>> Xorg.0.log: (WW) Open ACPI failed (/var/run/acpid.socket) (Connection 
>> refused)
>>
>> Message:
>> Jan 28 11:59:37 wadesmart kernel: [152755.014555] 
>> audit(1233165577.832:39): type=1503 operation="inode_permission" 
>> requested_mask="rw::" denied_mask="rw::" name="/dev/ttyUSB0" pid=1745 
>> profile="/usr/sbin/cupsd" namespace="default"
>>
>> Jan 28 11:59:37 wadesmart kernel: [152755.144901] 
>> audit(1233165577.964:40): type=1503 operation="inode_permission" 
>> requested_mask="::rw" denied_mask="::rw" name="/dev/tty" pid=1752 
>> profile="/usr/sbin/cupsd" namespace="default"
>>
>> restarted cups and this is on the Printers page after refreshing:
>> LaserJet4050 (Default Printer) "Unable to open device file 
>> "/dev/ttyUSB0": Permission denied"
>>
>> Wade
>>
> 
> Can you please paste for me the output of the ls -l /dev/ttyUSB0  ?
> 
> And just for fun, let's throw caution to the wind
> 
> sudo chmod 666 /dev/ttyUSB
> 

20090128 1418 GMT-5

http://ubuntuforums.org/archive/index.php/t-116289.html

I found that link in the forums and I have been following along what
they were doing.

The last bit: creating a link from one file to the other:
This:
-s /usr/lib/cups/backend-available/serial /usr/lib/cups/backend/serial

produces this:

wadesmart at wadesmart:/usr/lib/cups/backend-available$ sudo
/usr/lib/cups/backend-available/serial /usr/lib/cups/backend/serial
Usage: /usr/lib/cups/backend-available/serial job-id user title copies
options [file]

So I thought they meant do sudo :

wadesmart at wadesmart:/usr/lib/cups/backend-available$ sudo -s
/usr/lib/cups/backend-available/serial /usr/lib/cups/backend/serial
/usr/lib/cups/backend-available/serial:
/usr/lib/cups/backend-available/serial: cannot execute binary file
wadesmart at wadesmart:/usr/lib/cups/backend-available$

Wade
-- 
Registered Linux User: #480675
Linux since June 2005




More information about the ubuntu-users mailing list