mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-16 10:47:26 +00:00
IOC mediator: Disable hardware flow control by default
This is one workaround patch to resolve read/write failed for /dev/cbc-lifecycle and /dev/cbc-signals cdev nodes. It cause cbc_lifecycle service can't send heartbeat to IOC firmware, also can't receive any signal data from IOC firmware. This patch need to be revert once the IOC firmware or CBC driver fixed the root cause. The [-f] option means enable hardware flow control by set CRTSCTS attribute for c_cflag of termios, without [-f] option will unset the attribute. Signed-off-by: Yuan Liu <yuan1.liu@intel.com> Reviewed-by: Vineetha G Jaya Kumaran <vineetha.g.jaya.kumaran@intel.com> Reviewed-by: Alex Du <alek.du@intel.com> Reviewed-by: Yu Wang <yu1.wang@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
parent
83791190d6
commit
5e521e24e2
@ -5,7 +5,7 @@ After=sysinit.target local.target
|
||||
Before=basic.target
|
||||
|
||||
[Service]
|
||||
ExecStart=/usr/bin/cbc_attach -f /dev/ttyS2
|
||||
ExecStart=/usr/bin/cbc_attach /dev/ttyS2
|
||||
Restart=always
|
||||
Type=notify
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user