Config...:CwLnx(3pm)
π NAME π
Config::Model::models::LCDd::CwLnx β the configuration class for LCDd::CwLnx, bestie. Yes, that whole long name, we're saying it with our chest.
Oh and hey, this page lives in the manual as Config...:CwLnx(3pm) β that's the official title, in case you were wondering where the funky truncated name comes from. It's giving "Perl module that generates configs for an LCD driver," and honestly? Iconic. π
β¨ DESCRIPTION β¨
So basically these are configuration classes used by Config::Model β they're the little blueprint that tells Config::Model how to handle your settings. π
And the tea? It's generated from LCDd.conf. Like, the driver's own config file got scanned and turned into this whole class. Auto-generated glow-up. π₯
π¦ Elements π¦
π Device
Pick which output device you wanna use, bestie. Optional, and the type is uniline β so it's one line of text, no big dramatic novel.
Its upstream_default value is:
/dev/lcd
That's the one the driver falls back to. π«Ά
πΈ Keypad
If you've got a keypad plugged in, this is for you. Quick heads-up though: the keypad layout is currently not configureable from the config file β that's just how it is, no cap. Optional, type uniline.
Its default value is:
yes
π§ Model
Choose your LCD model, periodt. Optional, type enum, and the choices are:
'12232''12832''1602'
Its upstream_default value is:
12232
β Reboot
This one reinitializes the LCD's BIOS. And normally you shouldn't need this β so like, don't just do it for fun, okay? π Optional, type boolean.
Its upstream_default value is:
no
π Size
Pick your LCD size. But the default? It depends on the model, which is so main character of it:
12232:20x412832:21x41602:16x2
Optional, type uniline.
Its default value is:
20x4
π Speed
Set the communication speed, bestie β how fast we're talking. Optional, type enum, choices:
'9600''19200'
Its upstream_default value is:
19200
π keypad_test_mode
Okay so this one is the whole lore. If you have a non-standard keypad, you can associate any keystrings to keys. The CwLnx hardware has 6 input keys that generate characters from 'A' to 'F'. Six keys, letters A through F, that's the vibe.
Now here's the built-in default mapping, hardcoded in the driver:
KeyMap_A=Up KeyMap_B=Down KeyMap_C=Left KeyMap_D=Right KeyMap_E=Enter KeyMap_F=Escape
You can leave those exactly as they are if you've got a standard keypad β no need to touch a thing. But you can change them if you want to report other keystrings, or if your keypad is non-standard and just doing its own thing. π¦
And keypad_test_mode permits one to test keypad assignment. Default value is no. Optional, type uniline.
Its upstream_default value is:
yes
Yeah bestie, the default value in the prose saysnoand theupstream_defaultsaysyesβ that's literally what the page says, so I'm passing it along exactly, no edits from me. π
π SEE ALSO π
cme
That's the whole page, you're welcome. π
This lil masterpiece comes from the User Contributed Perl Documentation, version perl v5.40.1, dated 2025-03-04. Slay, and happy configuring. πβ¨π«Ά
π¦ where this page comes from
- debian trixie: libconfig-model-lcdproc-perl 2.055-2 Β· LGPL-2.1-only
- ubuntu resolute: libconfig-model-lcdproc-perl 2.055-2 Β· LGPL-2.1-only
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms