sweetberry/servod : Servod Watchdog ran into unexpected issue trying to find device ... |
|
Issue description
sudo servod -c servo_sweetberry_rails_addr.xml
2018-12-20 16:45:01,937 - servod - INFO - Start
2018-12-20 16:45:02,002 - servod - INFO - Found servo, vid: 0x18d1 pid: 0x5020 sid: gci-01-81b-00048
2018-12-20 16:45:02,002 - servod - WARNING - Servo device's iserial was unrecognized.
2018-12-20 16:45:02,002 - SystemConfig - INFO - Loading XML config (sweetberry.xml, None, 0)
2018-12-20 16:45:02,003 - SystemConfig - INFO - Loading XML config (common.xml, None, 0)
2018-12-20 16:45:02,004 - SystemConfig - INFO - Loading XML config (power_tools.xml, None, 0)
2018-12-20 16:45:02,006 - SystemConfig - INFO - Loading XML config (servo_sweetberry_rails_addr.xml, None, 0)
2018-12-20 16:45:02,033 - SystemConfig - INFO - Loading XML config (ina2xx.xml, None, 0)
2018-12-20 16:45:02,082 - Servod - INFO - Initializing interface 2 to stm32_i2c
2018-12-20 16:45:02,083 - Servod - INFO - Si2cBus: interface: {'interface': 3, 'index': 2, 'name': 'stm32_i2c'}
2018-12-20 16:45:02,102 - Servod - INFO - Initializing interface 3 to stm32_uart
2018-12-20 16:45:02,102 - Servod - INFO - Suart: interface: {'interface': 0, 'index': 3, 'name': 'stm32_uart'}
2018-12-20 16:45:02,124 - Servod - INFO - /dev/pts/11
2018-12-20 16:45:02,631 - ServoDeviceWatchdog - ERROR - Servod Watchdog ran into unexpected issue trying to find device with vid: 0x18d1 pid: 0x5020 serial: 'gci-01-81b-00048'. Device will not be tracked.
Traceback (most recent call last):
File "/usr/lib64/python2.7/site-packages/servo/servod.py", line 106, in __init__
dev_path = usbmap.GetPath(dev)
File "/usr/lib64/python2.7/site-packages/servo/servodutil.py", line 161, in GetPath
dev, _ = self._usb_hierarchy.get((int(usb_device.bus),
AttributeError: 'NoneType' object has no attribute 'bus'
2018-12-20 16:45:02,632 - ServoDeviceWatchdog - INFO - Watchdog setup for devices: set([])
2018-12-20 16:45:02,634 - servod - INFO - Listening on localhost port 9999
for hdctools, hdctools-0.0.1-r887
,
Jan 15
Sweetberry has some issues with pyusb here. The WIP changes below should address this, and I haven't seen this pattern after that CL in my local setup. https://chromium-review.googlesource.com/c/chromiumos/third_party/hdctools/+/1341632 If I can't figure out the last hiccups to start the review, maybe I'll pull those changes a little earlier so we can benefit from that as sooner |
|
►
Sign in to add a comment |
|
Comment 1 by tbroch@chromium.org
, Jan 15Owner: coconutruben@chromium.org
Status: Assigned (was: Untriaged)