HI Daniel,
of course the cleanest way to solve the problem is to prevent any process from talking to the display without knowing what it is doing. But the idea of locking the display while the intended program is not running is a good workaround.
Thanks for your help!
Markus
Search found 4 matches
- Tue Dec 08, 2015 9:49 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: GLK19264A-7T-1U-USB only generates echo after booting
- Replies: 7
- Views: 12006
- Fri Dec 04, 2015 4:28 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: GLK19264A-7T-1U-USB only generates echo after booting
- Replies: 7
- Views: 12006
Re: GLK19264A-7T-1U-USB only generates echo after booting
Hi Daniel, the other commands were echoed as well, but I found an explanation for this. After continuously sending text to the display for about one minute the display went back to normal operation. That suggests that some process during startup sent the echo command (FE FF). Is there any other chan...
- Wed Dec 02, 2015 11:22 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: GLK19264A-7T-1U-USB only generates echo after booting
- Replies: 7
- Views: 12006
Re: GLK19264A-7T-1U-USB only generates echo after booting
Hi Daniel, for testing the program is started manually, so the booting process should be finished. Here is an excerpt of the code I am using: struct termios term; int lcd = open("/dev/ttyUSB0", O_RDWR | O_NOCTTY | O_SYNC); term.c_cflag = BAUDRATE | CS8 | CLOCAL | CREAD; term.c_iflag = 0; t...
- Tue Dec 01, 2015 8:17 am
- Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
- Topic: GLK19264A-7T-1U-USB only generates echo after booting
- Replies: 7
- Views: 12006
GLK19264A-7T-1U-USB only generates echo after booting
Hi, I'm writing a small C program to control the display from my CentOS-6-Box. The first command (after setting up the baud rate etc.) sent to the display is "Read Module Type" (0xFE 0x37), so I would expect to get a single byte (0x27) in return. This works fine when I plug in the display ...