mirror of
https://dev.iopsys.eu/feed/iopsys.git
synced 2026-01-27 17:37:18 +01:00
dectmngr: Workaround for BCM hs_uart driver
BCM "high speed" UART driver does not put the device-tree node of the device into sysfs
This commit is contained in:
parent
aaae999e3e
commit
7847ed2c93
1 changed files with 2 additions and 2 deletions
|
|
@ -59,8 +59,8 @@ start_service() {
|
|||
|
||||
local dcx81_uart_device
|
||||
if ! dcx81_uart_device="$(get_dcx81_device)"; then
|
||||
logger -t "$PROG" -p daemon.error "Could not determine DCX81 UART device. Cannot start $PROG"
|
||||
return 1
|
||||
logger -t "$PROG" -p daemon.warning "Could not determine DCX81 UART device. Falling back to default ttyH0."
|
||||
dcx81_uart_device=/dev/ttyH0
|
||||
fi
|
||||
|
||||
[ -n "$DECT_GPIO" ] && echo 1 > /sys/class/gpio/gpio${DECT_GPIO}/value
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue