NEW: Learning electronics? Ask your questions on the new Electronics Questions & Answers site hosted by CircuitLab.
Microcontroller Programming » /dev/ttyUSB0 "should work"--but doesnt! Help :)
July 19, 2009 by BenjaminLynus |
Just received my kit today, everything has been working great, except a few kinks with my Ubuntu distro. I checked the directory /dev/ for ttyUSB0, and it's there, but when I try to run "ttyUSB0" terminal returns "command not found". Thanks for the help! |
---|---|
July 19, 2009 by BenjaminLynus |
NVM.. I didn't realize that the last line after the command "dmesg" is: "usb 2-2: pl2303 converter now attached to ttyUSB0". I guess it helps sometimes to pay attention. Me = 0 ; Computer = 1 We will get even soon! :D |
January 19, 2010 by treymd |
A note here.. If you are being a good linux user and not running as root, /dev/ttyUSB0 will not be writeable. Change to root momentarily and do something like: chmod a+rw /dev/ttyUSB0 and then you should be able to communicate with your MCU without problems. I know that there is a more elegant way of making the port r/w on a more permanent basis, but this was the easy way. |
Please log in to post a reply.
Did you know that electric fields behave differently in different materials? Learn more...
|