This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

minicom: cannot open ttyUSB0: No such file or directory

Hello,

I am meeting an unknow situation. my minicom somehow doesn't work anymore. It was working and don't recall what has been changed since last work session.

The USB0 can be seen in /dev/ttyUSB0

crw-rw---- 1 root dialout 188, 0 2014-05-12 12:35 /dev/ttyUSB0

moserial shows /dev/ttyUSB0 port works and can send data from moserial to target system, but minicom cannot open ttyyUSB0.

I have re-installed minicom and tried other method and doesn't help neither.

does anyone have idea what is going wrong on this minicom? Thank you

My host is ubuntu 10.4 on virtualBox both SW didn't change from minicom works to break.

Joe

  • Hi Joe,

    Please check whether the following link helps you.

    http://processors.wiki.ti.com/index.php/How_to_Build_a_Ubuntu_Linux_host_under_VirtualBox

    Moreover, this query seems to be a common open query on Ubuntu 10.04 and not a TI processor based Linux query.

    You can try out in generic linux forums to get appropriate and quick answers.

     

    Regards,

    Shankari

  • Hi Joe,

    Ensure that the USB serial converter is powered ON and plugged in to the Host computer.

    Thanks.

  • HI Shankari,

    Thank you for your replying. I do agree that it seems a common issue with generic Linux OS, but I do have some reasons to bring to here for asking help because the way of connection has been work more than 1 year and no problem. The second reason is current u-boot fail also ( I tested on other system). Additionally, I do search online and all results shown not same as my situation even error message is same. Most these solved by setting right persimmon, but I am not in that case.

    Of course, I do take look at your linker. It is good resource for beginning of using vBox and ubuntu. I wish I can find these year ago. I think someone will get help on it.

    Other than the information show here what else I can take look at?

    Regards,

    Joe 

  • Hi Rajasekaran,

    Thank you for remembering me. Yes, it does connect a host also on other vBox works, therefore, the connection is not a issue.

    Joe

  • Hi Joe,

    I don't know about your minicom configuration in linux.

    1) sudo minicom -s

    2) i) sudo su

    ii) minicom -s

    1) Can you please try to install "putty" in linux ?

    2) Try to open "cat /dev/ttyUSB0" to check the bootup logs.

    Ex,

    root@titus-desktop:/#
    root@titus-desktop:/#
    root@titus-desktop:/# cat /dev/ttyUSB0   ( I'm switching ON my EVM here)
    NAND:  512 MiB
    MMC:   davinci: 0
    Bad block table found at page 262080, version 0x01
    Bad block table found at page 262016, version 0x01
    In:    serial
    Out:   serial
    Err:   serial
    ARM Clock : 456000000 Hz
    DDR Clock : 150000000 Hz
    Net:   Ethernet PHY: GENERIC @ 0x07
    DaVinci-EMAC
    Hit any key to stop autoboot:  3
     2

    Settings:

    stty -F /dev/ttyUSB0 115200 -echoe -echo -isig -icanon

  • Hi Titus S.

    Thank you for your tips, but there is no output by enter cat /dev/ttyUSB0 

    I finally restore a backup ubuntu image on vBox and works now. Thank you for taking care.

    Joe

  • Hi Joe,

    but there is no output by enter cat /dev/ttyUSB0

    We will face this kind issues for other peripherals such ethernet when we use virtual BOX.

    We never face issues like this when we use desktop setup.

    I finally restore a backup ubuntu image on vBox and works now.

    Thanks for your update.