Lines Matching refs:path
81 def __init__(self, path):
82 if path is None:
83 self.path = self.find_touch_device()
85 self.path = path
87 fd = open(self.path, "rb")
90 self.udev_device = pyudev.Devices.from_device_file(context, self.path)
311 syspath = device.path.replace("/dev/input/", "/sys/class/input/")
322 d = Device(device.path)
346 def check_file_for_lines(path, template):
348 Checks file at path for the lines given in template. If found, the
353 lines = [l[:-1] for l in open(path).readlines()]
481 "path",
491 device = Device(args.path)
492 print_bold("Using {}: {}".format(device.name, device.path))