]> rtime.felk.cvut.cz Git - linux-lin.git/log
linux-lin.git
12 years agoMerge branch 'master' of ssh://rtime.felk.cvut.cz/lisovros/pcan_lin
Rostislav Lisovy [Fri, 25 Nov 2011 09:36:26 +0000 (10:36 +0100)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/lisovros/pcan_lin

12 years agoUpdate response checksum calculation for kernel code too.
Pavel Pisa [Fri, 25 Nov 2011 01:58:41 +0000 (02:58 +0100)]
Update response checksum calculation for kernel code too.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agoUserspace LIN is compiled with USE_TERMIOS2 by default now.
Pavel Pisa [Fri, 25 Nov 2011 01:41:27 +0000 (02:41 +0100)]
Userspace LIN is compiled with USE_TERMIOS2 by default now.

If compiled with USE_TERMIOS2 then new kernel methods
is used to set generic baudrate.

The baudrate values are specified by c_ospeed
and c_ispeed fields of struct termios2 and new
IOCTL numbers TCSETS2 and TCGETS2 are used
for terminal parameters setting and reading.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agoUserspace LIN master: Provide state encapsulation to test kernel code.
Pavel Pisa [Fri, 25 Nov 2011 00:39:25 +0000 (01:39 +0100)]
Userspace LIN master: Provide state encapsulation to test kernel code.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agosllin: Removed unused 'leased' field.
Rostislav Lisovy [Thu, 24 Nov 2011 15:44:46 +0000 (16:44 +0100)]
sllin: Removed unused 'leased' field.

12 years agosllin: Added debugging prints. Little bugfix.
Rostislav Lisovy [Thu, 24 Nov 2011 15:17:55 +0000 (16:17 +0100)]
sllin: Added debugging prints. Little bugfix.

12 years agoBasic argument parsing made by getopt_long.
Rostislav Lisovy [Thu, 24 Nov 2011 14:50:28 +0000 (15:50 +0100)]
Basic argument parsing made by getopt_long.

12 years agoSetting of uart baudrate done in separate function.
Rostislav Lisovy [Thu, 24 Nov 2011 13:42:19 +0000 (14:42 +0100)]
Setting of uart baudrate done in separate function.

12 years agoSetting UART speed to custom value for sending break.
Rostislav Lisovy [Wed, 23 Nov 2011 17:59:26 +0000 (18:59 +0100)]
Setting UART speed to custom value for sending break.

Used with 19200 baud rate for data TX, break generated by
sending 0x00 with 12800 baud rate.

PCAN LIN converter configured as a slave does respond.

12 years agoMerge branch 'master' of ssh://rtime.felk.cvut.cz/lisovros/pcan_lin
Pavel Pisa [Tue, 22 Nov 2011 21:17:49 +0000 (22:17 +0100)]
Merge branch 'master' of ssh://rtime.felk.cvut.cz/lisovros/pcan_lin

12 years agoBasic functions to synchronize Tx with LIN state automata implemented.
Pavel Pisa [Tue, 22 Nov 2011 21:17:01 +0000 (22:17 +0100)]
Basic functions to synchronize Tx with LIN state automata implemented.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agoAdd pty testing program
Michal Sojka [Tue, 22 Nov 2011 00:21:42 +0000 (01:21 +0100)]
Add pty testing program

This program allows testing serial line disciplines on computers without
any serial port (like my laptop outside of docking station).

12 years agoTool to compute LIN ID parity table.
Pavel Pisa [Mon, 21 Nov 2011 16:43:05 +0000 (17:43 +0100)]
Tool to compute LIN ID parity table.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agoAdded minimal skeleton to use kernel worker thread.
Pavel Pisa [Mon, 21 Nov 2011 12:44:41 +0000 (13:44 +0100)]
Added minimal skeleton to use kernel worker thread.

Signed-off-by: Pavel Pisa <pisa@cmp.felk.cvut.cz>
12 years agoMerge remote branch 'pisa/master'
Rostislav Lisovy [Mon, 21 Nov 2011 09:58:27 +0000 (10:58 +0100)]
Merge remote branch 'pisa/master'

12 years agoAdded some debugging functions.
Rostislav Lisovy [Mon, 21 Nov 2011 09:36:35 +0000 (10:36 +0100)]
Added some debugging functions.

12 years agoAdded basic speed change.
Rostislav Lisovy [Wed, 16 Nov 2011 16:03:54 +0000 (17:03 +0100)]
Added basic speed change.

12 years agoAdded Makefile.
Rostislav Lisovy [Wed, 16 Nov 2011 14:21:56 +0000 (15:21 +0100)]
Added Makefile.

12 years agoVariables called slcan (or similar) renamed to sllin.
Rostislav Lisovy [Wed, 16 Nov 2011 14:21:45 +0000 (15:21 +0100)]
Variables called slcan (or similar) renamed to sllin.

12 years agoInitial commit. Slcan used as starting point for Sllin.
Rostislav Lisovy [Wed, 16 Nov 2011 14:19:53 +0000 (15:19 +0100)]
Initial commit. Slcan used as starting point for Sllin.

12 years agoLIN master simulated with an UART.
Rostislav Lisovy [Wed, 9 Nov 2011 17:12:26 +0000 (18:12 +0100)]
LIN master simulated with an UART.

Slaves (PCAN-LIN and PCAN-USB Pro) are responding only when this master works with B2400 speed.

12 years agoCorrected wrong bit-order in received header.
Rostislav Lisovy [Wed, 2 Nov 2011 15:22:35 +0000 (16:22 +0100)]
Corrected wrong bit-order in received header.

12 years agoInitial commit of UART-LIN slave. Receiving Break does not work.
Rostislav Lisovy [Mon, 31 Oct 2011 17:06:02 +0000 (18:06 +0100)]
Initial commit of UART-LIN slave. Receiving Break does not work.

12 years agoInitial commit; Basic skeleton.
Rostislav Lisovy [Mon, 24 Oct 2011 16:35:19 +0000 (18:35 +0200)]
Initial commit; Basic skeleton.