SLCAN_ATTACH(1)

πŸ“¦
version 2023.03 Β· 3 versions
, in ubuntu resolute, ubuntu stonking

πŸ’– SLCAN_ATTACH πŸ’–

okay bestie, so you know how man pages are like... a thing? This is the manual for slcan_attach, a user command, and it lives in section 1 of your manual pages (the "User Commands" girlies). Fr fr it's giving "tiny tool, big job." Let's get into it πŸ’…


✨ NAME ✨

slcan_attach β€” the manual page for slcan_attach version 2023.03-1build1


🌸 SYNOPSIS 🌸

slcan_attach [options] tty

like... options first, then your tty. that's the vibe. ✨


πŸ¦‹ DESCRIPTION πŸ¦‹

./slcan_attach β€” it's a userspace tool for the serial line CAN interface driver SLCAN. That's it, that's the whole description, no cap. It's the little buddy that talks to your serial line CAN driver for you 🫢


πŸ‘‘ OPTIONS πŸ‘‘

one bullet per option, all of them, no skipping, periodt:

  • -o β€” sends the open command 'O\r' πŸ”“
  • -l β€” sends the listen only command 'L\r', and heads up: this overrides -o πŸ‘‚
  • -c β€” sends the close command 'C\r' πŸ”’
  • -f β€” reads the status flags with 'F\r' so error states get reset 🧹
  • -s <speed> β€” sets the CAN speed, and the range is 0..8 🏎️
  • -b <btr> β€” sets the bit time register value πŸŽ›οΈ
  • -d β€” only detaches the line discipline βœ‚οΈ
  • -w β€” attach, then wait for a keypress, then detach βœ‹βŒ¨οΈ
  • -n <name> β€” assigns the created netdevice's name 🏷️

🌈 the <speed> bitrate menu 🌈

so <speed> is the bitrate, and here's the whole menu, don't lose any of these:

  • 0 β€” 10 Kbit/s
  • 1 β€” 20 Kbit/s
  • 2 β€” 50 Kbit/s
  • 3 β€” 100 Kbit/s
  • 4 β€” 125 Kbit/s
  • 5 β€” 250 Kbit/s
  • 6 β€” 500 Kbit/s
  • 7 β€” 800 Kbit/s
  • 8 β€” 1000 Kbit/s
lowkey the vibes here are "pick a number, get a speed." iconic. ✨

πŸŽ€ EXAMPLES πŸŽ€

here's how the girlies actually run it, verbatim, do not touch:

slcan_attach -w -o -f -s6 -c /dev/ttyS1
slcan_attach /dev/ttyS1
slcan_attach -d /dev/ttyS1
slcan_attach -w -n can15 /dev/ttyS1

k that's the whole page, bestie, you ate πŸ’…

signing off with the receipts: this is slcan_attach version 2023.03-1build1, dated December 2025 πŸ—“οΈπŸ’– mwah, go attach something πŸ¦‹

πŸ“¦ where this page comes from