openthread: [pull/10454] causes the nrf52840dongle usb-acm device fail to start
Describe the bug A clear and concise description of what the bug is. I found that after using the latest commit code, my nrf52840 dongle can no longer be used normally, and the error message is as follows. After gradually narrowing the commit scope, I found that this is caused by pr 10454. After I manually reverted this commit, my thread network started up normally.
root@OpenWrt:~# otbr-agent -I wpan0 -B br-lan -d7 -v spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=1000000 trel://br-lan --auto-attach
otbr-agent[4987]: [NOTE]-AGENT---: Running 0.3.0
otbr-agent[4987]: [NOTE]-AGENT---: Thread version: 1.3.0
otbr-agent[4987]: [NOTE]-AGENT---: Thread interface: wpan0
otbr-agent[4987]: [NOTE]-AGENT---: Radio URL: spinel+hdlc+uart:///dev/ttyACM0?uart-baudrate=1000000
otbr-agent[4987]: [NOTE]-AGENT---: Radio URL: trel://br-lan
otbr-agent[4987]: [NOTE]-ILS-----: Infra link selected: br-lan
otbr-agent[4987]: [INFO]-RCP_HOS-: OpenThread log level changed to 5
otbr-agent[4987]: 49d.21:49:54.141 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:0, cmd:RESET
otbr-agent[4987]: 49d.21:49:54.141 [D] P-SpinelDrive-: Waiting response: key=0
otbr-agent[4987]: 49d.21:49:56.143 [W] P-SpinelDrive-: Wait for response timeout
otbr-agent[4987]: 49d.21:49:56.143 [I] P-SpinelDrive-: co-processor self reset successfully
otbr-agent[4987]: 49d.21:49:56.143 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_GET, key:PROTOCOL_VERSION
otbr-agent[4987]: 49d.21:49:56.143 [D] P-SpinelDrive-: Waiting response: key=1
otbr-agent[4987]: 49d.21:49:58.146 [W] P-SpinelDrive-: Wait for response timeout
otbr-agent[4987]: 49d.21:49:58.146 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_GET, key:PROTOCOL_VERSION
otbr-agent[4987]: 49d.21:49:58.146 [D] P-SpinelDrive-: Waiting response: key=1
otbr-agent[4987]: 49d.21:50:00.148 [W] P-SpinelDrive-: Wait for response timeout
otbr-agent[4987]: 49d.21:50:00.148 [C] Platform------: Init() at spinel_driver.cpp:82: Failure
otbr-agent[4987]: 49d.21:50:00.148 [D] P-SpinelDrive-: Sent spinel frame, flg:0x2, iid:0, tid:1, cmd:PROP_VALUE_GET, key:PROTOCOL_VERSION
otbr-agent[4987]: 49d.21:50:00.148 [D] P-SpinelDrive-: Waiting response: key=1
otbr-agent[4987]: 49d.21:50:02.150 [W] P-SpinelDrive-: Wait for response timeout
To Reproduce Information to reproduce the behavior, including:
- Git commit id I tested it using the following commit for ot-br-posix: Wokring:
-
2024-07-10 #PKG_SOURCE_VERSION:=88403c841c9d7fbaa0606ef480a06181f8c99904
-
2024-07-09 #PKG_SOURCE_VERSION:=04a9963ac8d0165338abadb80da968b26050cacb
-
2024-07-02 #PKG_SOURCE_VERSION:=a994884f099b7765b91a3ea35ce2fbd1a5453d51
-
2024-06-24 #PKG_SOURCE_VERSION:=261a0a1bdce240b7dedc01a765237d444b718549
Not Working:
-
2024-07-16 #PKG_SOURCE_VERSION:=8c7b36b3fa5b265b5897a44e3fcffdcd380f251a
-
2024-07-11-1027 PKG_SOURCE_VERSION:=05ca8d966abccc444c3c3961b1174486a7ddf2e9
-
2024-07-24 #PKG_SOURCE_VERSION:=2325a356761c14095cce8a19c38191c6c187c854
- IEEE 802.15.4 hardware platform nrf52840dongle
- Build steps The construction process of openwrt platform was used, and the hardware was Raspberry PI 4b.
- Network topology
Expected behavior A clear and concise description of what you expected to happen. The nrf52840dongle should work normally and has nothing to do with flow control Console/log output If applicable, add console/log output to help explain your problem.
Additional context Add any other context about the problem here.
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Comments: 22 (17 by maintainers)
I guess can add a flag to control behaviour.
I just received the dongle, will do some testing in the next few days.