Search found 6 matches

by jprinzler
Sat Mar 22, 2008 4:02 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Hardware upgrade LCD2041 serial display
Replies: 1
Views: 2980

Hardware upgrade LCD2041 serial display

Hello !

Can i upgrade my old LCD2041 serial display with the keypad or simple buttons ? Now i use the CTS Pin from serial port. Now i need more input keys ?

Thanx...

...Jaro
by jprinzler
Sat Mar 22, 2008 3:55 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Write "Input/output error" after Timeperiod on Fre
Replies: 7
Views: 8352

I works perfect now ;-)
by jprinzler
Thu Mar 20, 2008 3:20 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Write "Input/output error" after Timeperiod on Fre
Replies: 7
Views: 8352

Hello !

Now i hope this is the solution. The Display works now since
last night without errors.

---> SNIP

tcgetattr(id, &options);

options.c_iflag &= ~(IGNBRK|BRKINT|PARMRK|ISTRIP|INLCR|IGNCR|ICRNL|IXON);
options.c_oflag &= ~(OPOST);
options.c_lflag &= ~(ECHO|ECHONL|ICANON|ISIG|IEXTEN);
options ...
by jprinzler
Wed Mar 19, 2008 6:38 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Write "Input/output error" after Timeperiod on Fre
Replies: 7
Views: 8352

Sorry !

The script is running over night without errors ?! Wow !!
Now after restart the same comes errors back ?! Fu...

Here my logfile...

1903 1328 Starting...
1903 1330 Errror on write (-1) [5 Input/output error]
1903 1330 Exiting...

1903 1353 Starting...
1903 1358 Error on write (-1) [5 Input ...
by jprinzler
Tue Mar 18, 2008 10:04 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Write "Input/output error" after Timeperiod on Fre
Replies: 7
Views: 8352

Didn't see any explicit mention of it in your source, so it might be by default but make sure flow control (Xon/Xoff and CTS/RTS) is tunred off.

Hello!

Now i have added follow lines...

portset.c_cflag &= ~(CNEW_RTSCTS);
portset.c_iflag &= ~(IXON|IXOFF|IXANY);

I hope thats all and it works ?
by jprinzler
Tue Mar 18, 2008 9:24 am
Forum: LK/ELK/VK/PK/OK/MX/GLK/EGLK/GVK/GLT
Topic: Write "Input/output error" after Timeperiod on Fre
Replies: 7
Views: 8352

Write "Input/output error" after Timeperiod on Fre

Hello !

I hope you can understand me. My english is bad ;-(

Since one week i have portet my linux server to freebsd 6.3 server.

Now i must compile my source to connect my LCD2041 serial display.

The problem is that the write command after time period produce
Input/output error's (code 5). I ...