Config...serial(3pm)

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

πŸ’– NAME πŸ’–

okay so bestie, gather round, because this one's a whole configuration class moment:

Config::Model::models::LCDd::rawserial β€” Configuration class LCDd::rawserial

that's it. that's the name. she's a Config::Model model class for the LCDd rawserial driver and she's serving exactly that πŸ’…


✨ DESCRIPTION ✨

these are the configuration classes used by Config::Model, and the way this one came into existence? it was generated from LCDd.conf 🫢 so it's not handwritten, it's born from the config file itself. iconic behavior honestly.

so if you're using cme to poke at your LCDd setup (which is the whole point, iykyk), this is the class doing the heavy lifting for the rawserial driver.

πŸŽ€ Elements πŸŽ€

these are the elements, aka the things you can actually configure. there's four of them. no cap.

🌈 Device 🌈

select the output device to use. that's the whole job. you pick which device it talks to. ✨

this one is optional, and its type is uniline.

the upstream_default value is:

/dev/cuaU0

so if you don't say anything, that's what you get πŸ’œ

πŸ¦‹ Size πŸ¦‹

specifies the size of the LCD. and here's the little plot twist bestie, listen up πŸ‘‘

  • if this driver is loaded as a secondary driver, it always adopts to the size of the primary driver. always. no discussion. it's giving "i'm just matching your energy" fr fr
  • if it's loaded as the only (or primary) driver, then and only then can the size be set. main character privileges πŸ’…

this one is optional, and its type is uniline.

the upstream_default value is:

40x4

⭐ Speed ⭐

serial port baudrate. that's it, that's the vibe. πŸš€

this one is optional, and its type is uniline.

the upstream_default value is:

9600

πŸ“ UpdateRate πŸ“

how often to dump the LCD contents out the port, in Hertz (times per second). and because units can be a whole situation, here's the cheat sheet, no guessing needed:

  • 1 = once per second
  • 4 = 4 times per second
  • 0.1 = once every 10 seconds

this one is optional, and its type is number.

the upstream_default value is:

1

πŸ‘‘ SEE ALSO πŸ‘‘

  • cme

and that's the whole page bestie, we ate πŸ’…βœ¨ this was User Contributed Perl Documentation, running perl v5.40.1, dated 2025-03-04 β€” mwah, go configure something cute πŸŒΈπŸ¦‹

πŸ“¦ where this page comes from