D | hardware.py | 56 def __init__(self, name, vid, pid, cfg, inf): argument 59 self._build_device(name, vid, pid, cfg, inf) 77 def _build_device(self, name, vid, pid, cfg, inf): argument 99 entry[self.KEY_CFG] = int(cfg) 181 def _read_tty_name(self, dir_entry, inf, cfg): argument 193 '%s:%d.%d' % (dir_entry, cfg, inf)) 263 cfg = int(inf_dict['cfg']) 267 tty_path = self._read_tty_name(dir_entry, inf, cfg) 276 entry[self.KEY_CFG] = cfg
|