Config...:CwLnx(3pm)

πŸ“¦
version 2.055 Β· 4 versions
, in debian trixie, ubuntu resolute

πŸ’– 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: 20x4
  • 12832: 21x4
  • 1602: 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 says no and the upstream_default says yes β€” 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