Like Tree2Likes
  • 2 Post By ledow

/dev/ttyUSB0 is missing

This is a discussion on /dev/ttyUSB0 is missing within the Linux Programming forums, part of the Platform Specific Boards category; Hi, I've deleted my /dev/ttyUSB0 ... 1 - is there a way to restore that file? 2 - IF Not, ...

  1. #1
    Registered User
    Join Date
    Feb 2013
    Posts
    58

    Angry /dev/ttyUSB0 is missing

    Hi,

    I've deleted my /dev/ttyUSB0 ...

    1 - is there a way to restore that file?
    2 - IF Not, from where can I get it? I use UBUNTU

    thanks

  2. #2
    Registered User ledow's Avatar
    Join Date
    Dec 2011
    Posts
    435
    1) Yes. Look into mknod (but, to be honest, if you're using an old system that doesn't just regenerate /dev entries on boot, then you're just asking for trouble anyway).
    2) What does this have to do with C at all?
    Salem and stahta01 like this.

    - Compiler warnings are like "Bridge Out Ahead" warnings. DON'T just ignore them.
    - A compiler error is something SO stupid that the compiler genuinely can't carry on with its job. A compiler warning is the compiler saying "Well, that's bloody stupid but if you WANT to ignore me..." and carrying on.
    - The best debugging tool in the world is a bunch of printf()'s for everything important around the bits you think might be wrong.

  3. #3
    Registered User
    Join Date
    Oct 2006
    Posts
    2,266
    Quote Originally Posted by ledow View Post
    2) What does this have to do with C at all?
    nothing. on the other hand, it does potentially have a great deal to do with linux programming.

  4. #4
    Registered User ledow's Avatar
    Join Date
    Dec 2011
    Posts
    435
    Only about as much as how to install a driver for a PL-2038 RS232 convertor on Windows does. Which isn't a lot. Anyway, did you fix your problem?

    - Compiler warnings are like "Bridge Out Ahead" warnings. DON'T just ignore them.
    - A compiler error is something SO stupid that the compiler genuinely can't carry on with its job. A compiler warning is the compiler saying "Well, that's bloody stupid but if you WANT to ignore me..." and carrying on.
    - The best debugging tool in the world is a bunch of printf()'s for everything important around the bits you think might be wrong.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Missing
    By jturner38 in forum C++ Programming
    Replies: 3
    Last Post: 11-30-2010, 10:34 AM
  2. Am I missing something?
    By ke121885 in forum C Programming
    Replies: 8
    Last Post: 10-11-2009, 09:45 PM
  3. Missing something
    By campermama in forum C++ Programming
    Replies: 5
    Last Post: 07-11-2004, 11:43 PM
  4. Missing <mem.h>?
    By thePope in forum C++ Programming
    Replies: 12
    Last Post: 05-07-2003, 11:44 AM
  5. missing something ?
    By Unregistered in forum C# Programming
    Replies: 1
    Last Post: 04-29-2002, 08:08 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21