commit | 99660ec22eeef66591e850b6e94dd6b6bbe514b9 | [log] [tgz] |
---|---|---|
author | Nathan Hjelm <hjelmn@me.com> | Wed May 15 07:54:53 2013 -0600 |
committer | Hans de Goede <hdegoede@redhat.com> | Thu May 16 17:17:50 2013 +0200 |
tree | 8efcd522f825dfbcd1ea6559c72cfb0300a554a4 | |
parent | 8a76406d91d66eb63898ad6b94a0c0c8d27fb3e0 [diff] |
linux: fix topology Find the parent dev by removing the last number after the . or - (and prepending with usb if only one number is left) and comparing it against the sysfs_dir or previously scanned devices. HdG: Drop hardcoded special casing of root-hubs, this is fixed in a better way in a later commit. Signed-off-by: Hans de Goede <hdegoede@redhat.com>