From: Martin H. <ma...@he...> - 2004-10-15 20:23:54
|
Hi everybody, my Nexcom box (only a 1040L, not quite as nice as Michael got) got delivered today - and after getting everything else up and running with that box today, I'm wondering what it takes to get the LCD and the buttons to work. It says on the webpage that support for that display should be in CVS - what are the config settings I should use? I didn't see anything in the HD44780 driver along those lines (boy, has that driver changed since I looked at it last...). Any hints? Martin |
From: Michael R. <re...@eu...> - 2004-10-16 07:59:53
|
Hi Martin, > my Nexcom box (only a 1040L, not quite as nice as Michael got) got > delivered today - and after getting everything else up and running with > that box today, I'm wondering what it takes to get the LCD and the > buttons to work. Great! So I get help in integrationg button support to lcd4linux :-) > It says on the webpage that support for that display should be in CVS - > what are the config settings I should use? I didn't see anything in the > HD44780 driver along those lines (boy, has that driver changed since I > looked at it last...). Well, all you have to do is specify "LCM-162" as a "Model". You don't even need to specify a wiring, because this model is hard-wirde (and uses busy-flag checking!) Please let me know if you succeeded! bye, Michael -- Michael Reinelt <re...@eu...> http://members.eunet.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |
From: Martin H. <ma...@he...> - 2004-10-16 21:32:08
|
Hi Michael. > Great! So I get help in integrationg button support to lcd4linux :-) > >> It says on the webpage that support for that display should be in CVS >> - what are the config settings I should use? I didn't see anything in >> the HD44780 driver along those lines (boy, has that driver changed >> since I looked at it last...). > > Well, all you have to do is specify "LCM-162" as a "Model". You don't > even need to specify a wiring, because this model is hard-wirde (and > uses busy-flag checking!) > > Please let me know if you succeeded! Worked like a charm. I already have lots of ideas about how to put those buttons to good use (since you already provided the polling thread), but I'll have to look at what would easily integrate into lcd4linux. The obvious thing would be to define more than the amount of visible lines, and then use the up and down keys to scroll through that "virtual window". But we'll see. If only that box wasn't so loud - it's obviously no problem once I put it into the 19' rack in the server room, but since the box is on my desk at the moment, the noise is driving me nuts (makes me appreciate my _completely_ silent soekris boxes even more). Martin |
From: Michael R. <re...@eu...> - 2004-10-17 17:19:25
|
Hi Martin, >> Well, all you have to do is specify "LCM-162" as a "Model". You don't >> even need to specify a wiring, because this model is hard-wirde (and >> uses busy-flag checking!) > Worked like a charm. I already have lots of ideas about how to put those > buttons to good use (since you already provided the polling thread), but > I'll have to look at what would easily integrate into lcd4linux. The > obvious thing would be to define more than the amount of visible lines, > and then use the up and down keys to scroll through that "virtual > window". But we'll see. Of course, this will be one of the first uses. I already have som ideas: There will be sort of a central "event scheduler", where drivers can deliver events (key presses, alarms from temp sensors or fan rpm measurements, timer events, ...) and one can register "handlers" which will be called for every event. There may be some sort of "event classes", where a handler can be registered to. Providing a "scrolling" feature will be quite easy. There are already two framebuffers in every driver, one of the size of the display, the other of the size of the layout. So one just has to modify the offset where one framebuffer will be copied to the other one. What I have to do for the nexcom box is to provide a capability to manually set up the IP address (along with netmask, gateway and other networking stuff) with the display and keypad only. This will be far more complicated. Honestly, I don't have any idea right now. Maybe there will be some special widgets for this? > If only that box wasn't so loud - it's obviously no problem once I put > it into the 19' rack in the server room, but since the box is on my desk > at the moment, the noise is driving me nuts (makes me appreciate my > _completely_ silent soekris boxes even more). Well, I even appreciate the sound of my vacuum cleaner :-) -- Michael Reinelt <re...@eu...> http://members.eunet.at/reinelt GPG-Key 0xDF13BA50 ICQ #288386781 |