Lines Matching refs:path
137 path = os.path.join(root, attr)
138 with open(path) as f:
154 path = os.path.join(root, attr)
155 with open(path) as f:
192 inf_path = os.path.join(self._USB_DEVICE_SYS_ROOT,
197 tty_list = os.listdir(os.path.join(inf_path, 'tty'))
201 return os.path.join(self._DEV_ROOT, tty_list[0])
210 return os.path.join(self._DEV_ROOT, entry)
222 path = os.path.join(self._USB_DEVICE_SYS_ROOT, dir_entry)
227 vendor_id = self._read_sys_hex_attr(path, self._SYS_VENDOR_ID)
228 product_id = self._read_sys_hex_attr(path, self._SYS_PRODUCT_ID)
229 serial_no = self._read_sys_attr(path, self._SYS_SERIAL_NO)
249 dev_path = os.path.join(self._USB_DEVICE_SYS_ROOT, dir_entry)