Results 1 to 2 of 2

Thread: Serial port printer

  1. #1
    Join Date
    Oct 2012
    Beans
    5

    Serial port printer

    Hi everyone,

    The port does not show up in CUPS
    after I give permission to the port (chmod 777 /dev/ttyS0)
    it shows up but after a reboot not any more.
    I tried to make it permanent by adding the user in uucp, with no luck
    then added the line
    KERNEL=="ttyS[0-9]*", NAME="tts/%n", SYMLINK+="%k", GROUP="uucp", MODE="0777"
    in /etc/udev/rules.d/90-local.rules and my system froze up.

    I use Lubuntu 12.04

    Thanks in advance,
    Dimitris

  2. #2
    Join Date
    Oct 2012
    Beans
    5

    Re: Serial port printer

    The solution was making file
    /etc/udev/rules.d/40-permissions.rules
    and adding line
    KERNEL=="ttyS[0-9]", GROUP="dialout", MODE="0777"
    and adding user to the dialout group.

    I don't know if it is best practice to open the port like this.
    Please let me know if their is another solution.

    Solution was found in this post
    http://ubuntuforums.org/showthread.p...yS0+permission

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •