Results 1 to 10 of 17

Thread: Minicom won't start with incorrect def file

Hybrid View

  1. #1
    Join Date
    Aug 2006
    Location
    Whittier, CA, USA
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Minicom won't start with incorrect def file

    I fumblefingered the serial port setup for Minicom, and now it ALWAYS finds the incorrect settings.

    I can start as "sudo minicom -s" and enter the correct info, save it, it says it saved it, then retry and still get the wrong setup

    I can remove the program, delete the configuration files (which don't disappear when the program is removed), reinstall the program, and it STILL finds the wrong serial port info!!!!!!!

    How do I fix this?

  2. #2
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Minicom won't start with incorrect def file

    Quote Originally Posted by RogerDavis View Post
    I fumblefingered the serial port setup for Minicom, and now it ALWAYS finds the incorrect settings.

    I can start as "sudo minicom -s" and enter the correct info, save it, it says it saved it, then retry and still get the wrong setup

    I can remove the program, delete the configuration files (which don't disappear when the program is removed), reinstall the program, and it STILL finds the wrong serial port info!!!!!!!

    How do I fix this?
    1. Use Synaptic to remove the whole package, not just the program files.
    2. Check your home folder for any relevant hidden files.
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  3. #3
    Join Date
    Aug 2006
    Location
    Whittier, CA, USA
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Minicom won't start with incorrect def file

    No luck, same result.

    Complete removal with Synaptic, then removed the log file from my home folder.

    Still says "minicom: cannot open /dev/ttACM0: No such file or directory"

    I need to change this to "ttyACM0".

  4. #4
    Join Date
    Oct 2005
    Location
    Al Ain
    Beans
    8,750

    Re: Minicom won't start with incorrect def file

    $ man minicom

    -s Setup. Root edits the system-wide defaults in /etc/minirc.dfl

    $ sudo rm /etc/minirc.dfl
    $ sudo minicom -s

  5. #5
    Join Date
    Aug 2006
    Location
    Whittier, CA, USA
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Minicom won't start with incorrect def file

    Nope - before "saving" correction...
    minicom: cannot open /dev/ttyACM0: Input/output error
    roger@roger-desktop:~$ minicom
    after "saving" correction...
    minicom: cannot open /dev/ttACM0: No such file or directory
    roger@roger-desktop:~$

  6. #6
    Join Date
    Feb 2005
    Location
    Melbourne, Australia
    Beans
    13,510
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: Minicom won't start with incorrect def file

    Quote Originally Posted by HermanAB View Post
    $ man minicom

    -s Setup. Root edits the system-wide defaults in /etc/minirc.dfl

    $ sudo rm /etc/minirc.dfl
    $ sudo minicom -s
    Running 12.04 minicom and saving new default settings creates a hidden .minirc.dfl file in the user's Home folder.

    Unless this is manually deleted then the settings will not change:

    Code:
    rm ~/.minirc.dfl
    Regards, David.
    Please use the Forum search and Wiki search for immediate help
    Please mark your thread as Solved when appropriate
    New to technical forums?: How To Ask Questions The Smart Way

  7. #7
    Join Date
    Aug 2006
    Location
    Whittier, CA, USA
    Beans
    Hidden!
    Distro
    Ubuntu 16.04 Xenial Xerus

    Re: Minicom won't start with incorrect def file

    Results :
    roger@roger-desktop:~$ rm ~/.minirc.dfl
    rm: cannot remove `/home/roger/.minirc.dfl': No such file or directory
    roger@roger-desktop:~$
    roger@roger-desktop:~$ minicom
    minicom: cannot open /dev/tty8: Permission denied
    roger@roger-desktop:~$

    And how did tty8 get into the picture? That's not what I had there.

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
  •