Line discipline, serial datation and log
Hi everybody,
I have to find a solution to log data (and date the data) from serial in my software. This software will be implemented on Linux system (2.6.29 precisly). It's an embedded software and the linux has also an RTC.
I found some documentation on internet. According to me, the best solution to be more deterministic on datation is to implement a new line discipline which add a datation service to the serial driver.
I need to be more deterministic as possible with a non-real time system and I want to re-use this software on different systems. That forces me not to modify the low-level layer driver which is specific to the hardware.
So, do you know if there is already some existing project which includes this kind of solution?
I tried to find some documentation on "how to implement a new line discipline" but unsuccessfully. Do you know something on this subject?
Regards,
Sébastien
ps : sorry for my writting, I'm french...
Comments
-
Please do not double post.0
-
Yes sorry but this post seems to be in the wrong section. It's a programming question that's why I re-post it in the other section. Please delete it if you know how to.
Tks0 -
I've removed the other post, hopefully someone will come along with an answer to your question. Sorry, but it's not something I'm familiar with.0
Categories
- All Categories
- 176 LFX Mentorship
- 176 LFX Mentorship: Linux Kernel
- 745 Linux Foundation IT Professional Programs
- 372 Cloud Engineer IT Professional Program
- 168 Advanced Cloud Engineer IT Professional Program
- 73 DevOps IT Professional Program - Discontinued
- 3 DevOps & GitOps IT Professional Program
- 98 Cloud Native Developer IT Professional Program
- 7.6K Training Courses & Learning Paths
- AI & ML Training
- Blockchain & Decentralized Identity Training
- 2 Cloud & Containers Training
- Cybersecurity Training
- DevOps & Site-Reliability Training
- Linux Kernel Development Training
- Networking Training
- Open Source Best Practice Training
- System Administration Training
- System Engineering Training
- Web & Application Development Training
- 792 Hardware
- 202 Drivers
- 68 I/O Devices
- 37 Monitors
- 95 Multimedia
- 173 Networking
- 91 Printers & Scanners
- 87 Storage
- 768 Linux Distributions
- 81 Debian
- 67 Fedora
- 22 Linux Mint
- 13 Mageia
- 24 openSUSE
- 150 Red Hat Enterprise
- 31 Slackware
- 13 SUSE Enterprise
- 356 Ubuntu
- 465 Linux System Administration
- 31 Cloud Computing
- 73 Command Line/Scripting
- Github systems admin projects
- 98 Linux Security
- 78 Network Management
- 101 System Management
- 46 Web Management
- 106 Mobile Computing
- 18 Android
- 73 Development
- 1.2K New to Linux
- 1K Getting Started with Linux
- 392 Off Topic
- 121 Introductions
- 181 Small Talk
- 29 Study Material
- 946 Programming and Development
- 310 Kernel Development
- 618 Software Development
- 981 Software
- 373 Applications
- 182 Command Line
- 5 Compiling/Installing
- 68 Games
- 317 Installation
- Archived
- 2 LFD140 Class Forum
Upcoming Training
-
August 20, 2018
Kubernetes Administration (LFS458)
-
August 20, 2018
Linux System Administration (LFS301)
-
August 27, 2018
Open Source Virtualization (LFS462)
-
August 27, 2018
Linux Kernel Debugging and Security (LFD440)