SLCAN serial-line CAN bus adapters
A long-standing protocol, originally defined by Lawicel, that lets simple USB or serial CAN bus dongles appear to Linux as CAN network interfaces by speaking ASCII commands over a tty. It is widely used by hobbyist and professional CAN tools such as the CANable 2.0, CANUSB, and many DIY adapters that automotive, robotics, and industrial developers rely on to talk to vehicle and machinery buses.
recommendation
It should stay because the hardware class is still being sold new in 2025 (CANable 2.0 and similar adapters), the kernel code is actively maintained with fixes landing as recently as mid-2025 and being backported to stable, and there is no single drop-in replacement: while some newer adapters can run native firmware like gs_usb, that does not cover the broad installed base of generic SLCAN-over-serial devices. User-space ecosystems such as python-can also continue to ship maintained SLCAN backends.
repository signals
sources
- spinics.net
A 2025 v3 patch series for slcan was reviewed on linux-can, indicating active upstream maintenance rather than removal.
- spinics.net
The 2025 slcan fix was queued for stable, showing current support burden and relevance.
- canable.io
CANable 2.0 was marketed as a current product and explicitly described as a virtual serial port / serial-line CAN interface compatible with SocketCAN through slcand.
- openlightlabs.com
A retail product page in 2025 sold CANable 2.0 and advertised slcan compatibility for a new USB-to-CAN adapter.
- python-can.readthedocs.io
Current python-can documentation still includes a maintained slcan backend, indicating ongoing user-space and deployment relevance.
codex reasoning notes (technical)
Real driver directory: tty line-discipline CAN driver with module_init/module_exit in local tree inspection via shell `rg`. Local `git log` (shell, safe.directory override) shows substantive slcan work through 2025-05 and treewide touches through 2025-10, plus 2022 maintainer onboarding. Upstream mail evidence was obtained via web search because `lei` was unavailable in this environment; the linux-can and stable threads show active fixes and no removal/deprecation discussion. Market/deployment URLs were obtained via web search and show new slcan-capable hardware still sold in 2025. Replacement driver is null because there is no single upstream drop-in replacement for generic SLCAN-over-tty devices; some newer adapters can use native firmware such as gs_usb, but that does not replace the whole installed SLCAN class.