commit | b27beee2e85a1ad3d68a1218c8c4fef4214626e8 | [log] [tgz] |
---|---|---|
author | Thieu Le <thieule@chromium.org> | Fri Apr 20 09:19:06 2012 -0700 |
committer | Gerrit <chrome-bot@google.com> | Fri Apr 20 13:46:58 2012 -0700 |
tree | 90a5f34b4c8589a2d4137d3a5b262eedd0b24e66 | |
parent | 7fce52c4afdc5e73a9e740dc9b90f1e61ae8cea4 [diff] |
shill: Generalize detection of cdc_ether modem device tty interface. Previously, shill looked for the tty interface in a cdc_ether modem device sysfs directory tree at a particular directory depth. Some cdc_ether modem devices (eg. E362) have the tty interface one directory lower. This CL changes the code to look for the tty directory at all directory levels relative to the USB device directory. BUG=chromium-os:28499 TEST=Unit test, manually tested on Y3300 and E362 Change-Id: I4a67bfa21322bbb3aabf2799008e513e193a0744 Reviewed-on: https://gerrit.chromium.org/gerrit/20695 Commit-Ready: Thieu Le <thieule@chromium.org> Reviewed-by: Thieu Le <thieule@chromium.org> Tested-by: Thieu Le <thieule@chromium.org> Reviewed-by: Jason Glasgow <jglasgow@chromium.org>