Age | Commit message (Collapse) | Author | Files | Lines |
|
To enable seeing the steering wheel LIN messages on the cluster board
for the planned CES demo, a systemd unit that wraps the use of candump
in bridging mode is added when the agl-cluster-support feature is
enabled. To make sure that the sllin0 interface is always available
for testing without the specific demo LIN hardware, a vcan interface
is set up as sllin0 when the ttyUSB0 device representing the serial
adapter for the LIN transceiver is not present. Since this virtual
sllin0 interface is very useful for general testing of the steering
wheel event support up through the low-can and signal-composer stack,
it has not been hidden behind agl-cluster-demo-support.
Bug-AGL: SPEC-3049
Change-Id: Idb478e3fe4085859e8704ab0329a341b1a11e0ef
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
Changes include:
- Add patch to fix lin-config recipe build QA error.
- Tweak lin-config recipe to install lin_config as executable.
- Rework sllin-demo systemd unit and start_lin_demo.sh script to use
lin_config with an appropriate configuration file that enables
polling of the steering wheel adapter instead of just using
ldattach.
Bug-AGL: SPEC-2918
Change-Id: I3258b7e34cecbbb1cfb93ea6f63a44f0bbb2c06f
Signed-off-by: Scott Murray <scott.murray@konsulko.com>
|
|
[ 30.042717] sllin: sllin_open() invoked
[ 30.046603] sllin: Configured as MASTER
[ 30.051508] sllin: Baudrate set to 9600
[ 30.056332] sllin0 (uninitialized): sllin_kwthread started.
[ 30.062486] sllin0: sllin_kthread <WAIT_EVENT>
[ 31.153606] sllin0: sll_open() invoked
[ 31.271843] can: raw protocol (rev 20170425)
[ 31.276821] sllin0: sllin_kthread <WAKEUPED>
[ 31.281124] sllin0: sllin_kthread: lin_state <00000000>
[ 31.286370] sllin0: sllin_kwthread: NON-RTR SFF CAN frame, ID = 30
dlc=0
[ 31.286390] sllin0: sllin_kthread: SLSTATE finish
[ 31.299297] sllin0: sllin_send_break() invoke.
[ 31.305566] sllin0: Break sent.
[ 31.308743] sllin0: sllin_kthread <WAIT_EVENT>
Change-Id: Id49951cb1ed570c99eb11d19298c1e5b57bcf13c
Signed-off-by: Yuichi Kusakabe <yuichi.kusakabe@denso-ten.com>
|
|
Provide the systemd unit, the init script, the module options and the autoload command.
Change-Id: I8dfe59338f377ca8ac1b94fe568dff9e2b36bf97
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|
|
The sllin driver is needed for the AGL demo unit to drive the actuator and fan.
Change-Id: I76a8e7876148b6c2fcbc526a64a7ec132668c754
Signed-off-by: Jan-Simon Möller <jsmoeller@linuxfoundation.org>
|