Page 1 of 2 12 LastLast
Results 1 to 10 of 13

Thread: Need Help With Error Message

  1. #1
    Island Regular
    Join Date
    Jul 2008
    Location
    Charlotte, NC
    Posts
    33

    Need Help With Error Message

    First off... I know nothing about Linux; however, yesterday I was able to install Linux Mint 15 on an old Dell netbook and it's working really well for accessing the Internet.

    Today I figured out how to install Chirp and it will run but when I try and download from my HT which is connected by a USB cable to the netbook I get the following error message...

    Screenshot from 2013-09-17 15:01:23.png

    I did a search on the error message but haven't been able to figure out what I need to do to correct the issue.

    Any guidance would be greatly appreciated!

    Edited to add....

    It would appear that the computer/Linux sees the USB Cable based on this...

    stephen@stephen-Inspiron-1011 ~ $ dmesg | grep FTDI
    [ 965.901651] usb 2-1: Manufacturer: FTDI
    [ 966.301585] usbserial: USB Serial support registered for FTDI USB Serial Device
    [ 966.301920] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
    [ 966.306882] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
    Last edited by KJ4FEL; 09-17-2013 at 02:14 PM.

  2. #2
    SK Member 05/26/2022 WX7P's Avatar
    Join Date
    Jan 2007
    Location
    Underneath the Atomic Ooze of Hanford, WA
    Posts
    9,756
    First of all, I nothing about Linux or very much about computers.

    I have used Chirp to program my Baofengs. I found that I had to change the com port setting on Chirp from Com3 to Com4 or Com7 to Com8, depending on which Baofeng I was programming.

    The error message I got was different than the one you posted, but similar. I am using Win 7.
    http://i138.photobucket.com/albums/q275/nx6d/ham%20radio/SANY1260.jpg

  3. #3
    Administrator ad4mg's Avatar
    Join Date
    Feb 2007
    Posts
    14,947
    Quote Originally Posted by KJ4FEL View Post
    First off... I know nothing about Linux; however, yesterday I was able to install Linux Mint 15 on an old Dell netbook and it's working really well for accessing the Internet.

    Today I figured out how to install Chirp and it will run but when I try and download from my HT which is connected by a USB cable to the netbook I get the following error message...

    Screenshot from 2013-09-17 15:01:23.png

    I did a search on the error message but haven't been able to figure out what I need to do to correct the issue.

    Any guidance would be greatly appreciated!

    Edited to add....

    It would appear that the computer/Linux sees the USB Cable based on this...

    stephen@stephen-Inspiron-1011 ~ $ dmesg | grep FTDI
    [ 965.901651] usb 2-1: Manufacturer: FTDI
    [ 966.301585] usbserial: USB Serial support registered for FTDI USB Serial Device
    [ 966.301920] ftdi_sio 2-1:1.0: FTDI USB Serial Device converter detected
    [ 966.306882] usb 2-1: FTDI USB Serial Device converter now attached to ttyUSB0
    Try running the command to start the program as 'super user'. In a terminal, type 'gksu chirp' or 'su chirp'. Starting it as super user may give you the needed access to the USB port.

    BTW - gksu is usually used to run programs with a GUI as super user. I'm also assuming the name of the executable is 'chirp'... substitute the correct program name if it isn't.
    QAnon / GOP Republicans mentally lack the necessary intelligence to even tell a decent lie (Ex: A cabal of Satanic, cannibalistic pedophiles run a global child sex trafficking ring and conspired against former President Dotard dRUMPf during his term in office... Jewish space lasers, etc.). What in the hell makes anyone believe these melon heads can actually govern?

  4. #4
    Banned
    Join Date
    May 2009
    Posts
    9,698
    Quote Originally Posted by ad4mg View Post
    Try running the command to start the program as 'super user'. In a terminal, type 'gksu chirp' or 'su chirp'. Starting it as super user may give you the needed access to the USB port.

    BTW - gksu is usually used to run programs with a GUI as super user. I'm also assuming the name of the executable is 'chirp'... substitute the correct program name if it isn't.
    Yup, that should fix it. sudo chirp should also work just fine on Linux Mint.

  5. #5
    Orca Whisperer n2ize's Avatar
    Join Date
    Dec 2007
    Location
    Crestwood, New York
    Posts
    33,899
    Quote Originally Posted by ad4mg View Post
    Try running the command to start the program as 'super user'. In a terminal, type 'gksu chirp' or 'su chirp'. Starting it as super user may give you the needed access to the USB port.

    BTW - gksu is usually used to run programs with a GUI as super user. I'm also assuming the name of the executable is 'chirp'... substitute the correct program name if it isn't.
    No No No !! Never run user space programs as root !!!!!!!!! Set the appropriate permissions for the devices/files that the specific application requires. If you are running seLinux set appropriate rules, etc. NHever simply run an app as root. If need be set up a specific user or group with the required permissions. Never give an app full root access.
    Last edited by n2ize; 09-17-2013 at 07:54 PM.
    I keep my 2 feet on the ground, and my head in the twilight zone.

  6. #6
    Island Regular
    Join Date
    Jul 2008
    Location
    Charlotte, NC
    Posts
    33
    DING DING DING.... We have a winner :)

    Thank You Kelli... sudo chirpw worked perfectly!

    Thank you Luke...although for some reason Mint 15 must not recognize "su" or "super user" because when I tried that in Terminal I kept getting "No passwd entry for user "chirp".

    Thank you Janet...I have no trouble with Chirp on my Windows machine and you are correct about the com ports changing and needing to make sure you have the correct one. That's what I couldn't figure out in Linux.

    I really appreciate the help!!! Now to find a good book on learning Linux :)

    Saw John's post after I wrote the reply so I wanted to add that what he said is all Greek (or Linux) to me and I have no idea what that means but I will do my best to learn.

    Thanks Everyone!
    Steve
    Last edited by KJ4FEL; 09-17-2013 at 08:39 PM.

  7. #7
    Forum Addict n6hcm's Avatar
    Join Date
    Jul 2007
    Location
    FN13wb
    Posts
    2,941
    Quote Originally Posted by n2ize View Post
    No No No !! Never run user space programs as root !!!!!!!!! Set the appropriate permissions for the devices/files that the specific application requires. If you are running seLinux set appropriate rules, etc. NHever simply run an app as root. If need be set up a specific user or group with the required permissions. Never give an app full root access.
    and now for the English-language summary: "su" and "sudo" elevate privileges so the program you're using can access pretty much whatever they want. If you know a program inside and out then this is an ok thing to do. Since most people don't have this knowledge, it's a bad thing.

    what you should do instead:

    sudo chown yourUserName /dev/ttyUSB0

    where yourUserName is your Linux login name.

    This will change the ownership ("chown") of the USB device (/dev/ttyUSB0) to you. The chown program comes with Linux and is safe to use with sudo.

    Once this is done you should be able to run chirp regularly without sudo.
    "... and another thing about you democrats ... you all believe in science!" -- denny crane

  8. #8
    Orca Whisperer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,593
    Quote Originally Posted by n6hcm View Post
    and now for the English-language summary: "su" and "sudo" elevate privileges so the program you're using can access pretty much whatever they want. If you know a program inside and out then this is an ok thing to do. Since most people don't have this knowledge, it's a bad thing.

    what you should do instead:

    sudo chown yourUserName /dev/ttyUSB0

    where yourUserName is your Linux login name.

    This will change the ownership ("chown") of the USB device (/dev/ttyUSB0) to you. The chown program comes with Linux and is safe to use with sudo.

    Once this is done you should be able to run chirp regularly without sudo.
    You can just add your user account to the proper group, instead of chowning the serial port to a particular user:

    sudo useradd -G tty {This is generally the serial group in Debian} {login name}

    So, in this case:
    sudo userad -G tty stephen

    You shouldn't have to sudo the gui command, or change the perms on your serial devices.
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  9. #9
    Orca Whisperer
    Join Date
    Oct 2009
    Location
    Buffalo, NY
    Posts
    22,593
    Quote Originally Posted by n2ize View Post
    No No No !! Never run user space programs as root !!!!!!!!! Set the appropriate permissions for the devices/files that the specific application requires. If you are running seLinux set appropriate rules, etc. NHever simply run an app as root. If need be set up a specific user or group with the required permissions. Never give an app full root access.
    I would hazard this is generally good advice, however, there are many userspace programs that need to be ran with sudo (Or, super user perms) in order to function properly. Soundmodem is a perfect example. It's a userspace tool to manage the AX25 stack. Synchronet BBS needs to as well, to use ports under 1024.
    Big Giant Meteor 2020 - We need to make Earth Great Again

    http://www.coreyreichle.com

  10. #10
    Forum Addict n6hcm's Avatar
    Join Date
    Jul 2007
    Location
    FN13wb
    Posts
    2,941
    Quote Originally Posted by KC2UGV View Post
    You can just add your user account to the proper group, instead of chowning the serial port to a particular user ...
    this is better than what i proposed (i haven't had to deal with serial devices in ... a very long time).
    "... and another thing about you democrats ... you all believe in science!" -- denny crane

Posting Permissions

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