MOU-220 problem early in boot
Posted: Thu Feb 02, 2012 3:14 pm
Hi, folks -
I'm trying to write some text out to this device via the /dev/ttyUSB0 path very early in the boot process of a CentOS Linux system that it's connected to.
I can access the device file, and if I echo some text out to it, it DOES affect the display - but the characters are just gibberish.
I've tried sending straight ASCII, as well as octal sequences corresponding to all writeable characters, and the result is always the same - for each character of any type that I send out to the display, it instead shows -three- gibberish characters (line drawing characters, lightning bolts, various sorts of umlauts, that sort of thing).
I've read through the manual for the screen and I couldn't find anything about a required initialization sequence or anything like that, so I'm a bit lost.
I'm also coming into the game pretty late here since I'm taking over maintaining code from someone who no longer works here and thus isn't available to answer questions about how they originally figured this stuff out.
Help!
I'm trying to write some text out to this device via the /dev/ttyUSB0 path very early in the boot process of a CentOS Linux system that it's connected to.
I can access the device file, and if I echo some text out to it, it DOES affect the display - but the characters are just gibberish.
I've tried sending straight ASCII, as well as octal sequences corresponding to all writeable characters, and the result is always the same - for each character of any type that I send out to the display, it instead shows -three- gibberish characters (line drawing characters, lightning bolts, various sorts of umlauts, that sort of thing).
I've read through the manual for the screen and I couldn't find anything about a required initialization sequence or anything like that, so I'm a bit lost.
I'm also coming into the game pretty late here since I'm taking over maintaining code from someone who no longer works here and thus isn't available to answer questions about how they originally figured this stuff out.
Help!