Lines Matching refs:serial
15 """This module provides the USB device serial number to USB location map on Win.
57 """Maps serial number to its USB physical location.
127 # device instance id contains a serial number in the format of
128 # [XXX]\[SERIAL]
132 serial = instance_parts.pop().lower()
133 serial_map[serial] = location
141 def get_location(self, serial):
142 """Get the USB location according to the serial number.
145 serial: The serial number for the device.
149 serial_lower = serial.lower()