From 25714d3703cd2813c726608a3860c7cd6a9023a9 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Fri, 17 Jan 2025 18:28:05 +0100 Subject: [PATCH] add lots and types of lots --- .../db523f01-92b2-4282-af2a-d9a653f93d45.json | 1 + examples_migration_files/device-lots.csv | 2 + examples_migration_files/lot.csv | 5 ++ .../test_migration_dhid.csv | 2 + migration-script.py | 86 +++++++++++++++++-- 5 files changed, 89 insertions(+), 7 deletions(-) create mode 100644 examples_migration_files/db523f01-92b2-4282-af2a-d9a653f93d45.json create mode 100644 examples_migration_files/device-lots.csv create mode 100644 examples_migration_files/lot.csv create mode 100644 examples_migration_files/test_migration_dhid.csv diff --git a/examples_migration_files/db523f01-92b2-4282-af2a-d9a653f93d45.json b/examples_migration_files/db523f01-92b2-4282-af2a-d9a653f93d45.json new file mode 100644 index 0000000..aacf8ee --- /dev/null +++ b/examples_migration_files/db523f01-92b2-4282-af2a-d9a653f93d45.json @@ -0,0 +1 @@ +{"closed": true, "components": [{"actions": [], "manufacturer": "LGD \"LG Display\"", "model": "LG Display LCD Monitor", "productionDate": "2012-01-01T00:00:00", "refreshRate": 60, "resolutionHeight": 768, "resolutionWidth": 1366, "serialNumber": null, "size": 15.548539594256658, "technology": "LCD", "type": "Display"}, {"actions": [{"elapsed": 15, "rate": 14.813, "type": "BenchmarkProcessorSysbench"}, {"elapsed": 0, "rate": 20752.48, "type": "BenchmarkProcessor"}], "address": 64, "brand": "Core i5", "cores": 2, "generation": 3, "manufacturer": "Intel Corp.", "model": "Intel Core i5-3230M CPU @ 2.60GHz", "serialNumber": null, "speed": 1.2052610000000001, "threads": 4, "type": "Processor"}, {"actions": [], "manufacturer": "SunplusIT INC.", "model": "HD WebCam", "serialNumber": null, "type": "SoundCard"}, {"actions": [], "manufacturer": "Intel Corporation", "model": "7 Series/C216 Chipset Family High Definition Audio Controller", "serialNumber": null, "type": "SoundCard"}, {"actions": [], "format": "SODIMM", "interface": "DDR3", "manufacturer": null, "model": "HMT451S6MFR8C-PB", "serialNumber": "02A5B43D", "size": 4096.0, "speed": 1600.0, "type": "RamModule"}, {"actions": [{"elapsed": 13, "readSpeed": 87.7, "type": "BenchmarkDataStorage", "writeSpeed": 27.2}, {"assessment": true, "commandTimeout": 4295032833, "currentPendingSectorCount": 0, "elapsed": 118, "length": "Short", "lifetime": 8392, "offlineUncorrectable": 0, "powerCycleCount": 2663, "reallocatedSectorCount": 0, "reportedUncorrectableErrors": 0, "severity": "Info", "status": "Completed without error", "type": "TestDataStorage"}, {"endTime": "2023-01-05T16:37:09.533923+00:00", "severity": "Info", "startTime": "2023-01-05T13:06:38.241925+00:00", "steps": [{"endTime": "2023-01-05T14:17:01.769342+00:00", "severity": "Info", "startTime": "2023-01-05T13:06:38.242175+00:00", "type": "StepZero"}, {"endTime": "2023-01-05T16:37:09.533670+00:00", "severity": "Info", "startTime": "2023-01-05T14:17:01.769877+00:00", "type": "StepRandom"}], "type": "EraseSectors"}], "interface": "ATA", "manufacturer": "Seagate", "model": "ST9320423AS", "serialNumber": "5VJ6G7TF", "size": 320072.933376, "type": "HardDrive", "variant": "HPM1"}, {"actions": [], "manufacturer": "Broadcom Inc. and subsidiaries", "model": "NetLink BCM57785 Gigabit Ethernet PCIe", "serialNumber": "20:89:84:58:88:15", "speed": 1000.0, "type": "NetworkAdapter", "variant": "10", "wireless": false}, {"actions": [], "manufacturer": "Qualcomm Atheros", "model": "AR9462 Wireless Network Adapter", "serialNumber": "f4:b7:e2:67:5d:7b", "speed": null, "type": "NetworkAdapter", "variant": "01", "wireless": true}, {"actions": [], "manufacturer": "NVIDIA Corporation", "memory": null, "model": "GF117M GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M", "serialNumber": null, "type": "GraphicCard"}, {"actions": [], "manufacturer": "Intel Corporation", "memory": null, "model": "3rd Gen Core processor Graphics Controller", "serialNumber": null, "type": "GraphicCard"}, {"actions": [], "biosDate": "2012-12-25T00:00:00", "firewire": 0, "manufacturer": "Acer", "model": "BA51_HC_CR", "pcmcia": 0, "ramMaxSize": 32, "ramSlots": 4, "serial": 1, "serialNumber": "NBM6B11001303351931601", "slots": 4, "type": "Motherboard", "usb": 3, "version": "V2.11"}], "debug": {"battery": null, "hwinfo": "01: None 00.0: 10105 BIOS\n [Created at bios.186]\n Unique ID: rdCR.lZF+r4EgHp4\n Hardware Class: bios\n BIOS Keyboard LED Status:\n Scroll Lock: off\n Num Lock: on\n Caps Lock: off\n Base Memory: 629 kB\n PnP BIOS: SST2400\n MP spec rev 1.4 info:\n OEM id: \"Insyde\"\n Product id: \"Calpella\"\n 1 CPUs (0 disabled)\n BIOS32 Service Directory Entry: 0xef725\n SMBIOS Version: 2.7\n BIOS Info: #0\n Vendor: \"Insyde Corp.\"\n Version: \"V2.11\"\n Date: \"12/25/2012\"\n Start Address: 0xe0000\n ROM Size: 3584 kB\n Features: 0x0d03000000004bf99880\n PCI supported\n BIOS flashable\n BIOS shadowing allowed\n CD boot supported\n Selectable boot supported\n EDD spec supported\n 1.2MB NEC 9800 Japanese Floppy supported\n 1.2MB Toshiba Japanese Floppy supported\n 360kB Floppy supported\n 1.2MB Floppy supported\n 720kB Floppy supported\n 2.88MB Floppy supported\n 8042 Keyboard Services supported\n CGA/Mono Video supported\n ACPI supported\n USB Legacy supported\n BIOS Boot Spec supported\n System Info: #1\n Manufacturer: \"Acer\"\n Product: \"TravelMate P253\"\n Version: \"V2.11\"\n Serial: \"NXV8AEB0013031EACE1601\"\n UUID: undefined, but settable\n Wake-up: 0x06 (Power Switch)\n Board Info: #2\n Manufacturer: \"Acer\"\n Product: \"BA51_HC_CR\"\n Version: \"Type2 - Board Version\"\n Serial: \"NBM6B11001303351931601\"\n Asset Tag: \"Type2 - Board Asset Tag\"\n Type: 0x0a (Motherboard)\n Features: 0x09\n Hosting Board\n Replaceable\n Location: \"Type2 - Board Chassis Location\"\n Chassis: #3\n Chassis Info: #3\n Manufacturer: \"Insyde Corp.\"\n Version: \"V2.11\"\n Serial: \"NXV8AEB0013031EACE1601\"\n Type: 0x0a (Notebook)\n Bootup State: 0x03 (Safe)\n Power Supply State: 0x03 (Safe)\n Thermal State: 0x03 (Safe)\n Security Status: 0x03 (None)\n Processor Info: #4\n Socket: \"U3E1\"\n Socket Type: 0x21 (Other)\n Socket Status: Populated\n Type: 0x03 (CPU)\n Family: 0xcd (Other)\n Manufacturer: \"Intel(R) Corporation\"\n Version: \"Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz\"\n Serial: \"To Be Filled By O.E.M.\"\n Asset Tag: \"To Be Filled By O.E.M.\"\n Part Number: \"To Be Filled By O.E.M.\"\n Processor ID: 0xbfebfbff000306a9\n Status: 0x01 (Enabled)\n Voltage: 0.8 V\n External Clock: 100 MHz\n Max. Speed: 4000 MHz\n Current Speed: 2600 MHz\n L1 Cache: #11\n L2 Cache: #12\n L3 Cache: #13\n Type 5 Record: #5\n Data 00: 05 18 05 00 03 04 03 03 0d 01 00 01 00 00 04 06\n Data 10: 00 07 00 08 00 09 00 04\n Type 6 Record: #6\n Data 00: 06 0c 06 00 01 ff 00 00 01 7f 7f 00\n String 1: \"DIMM0\"\n Type 6 Record: #7\n Data 00: 06 0c 07 00 01 ff 00 00 01 7f 7f 00\n String 1: \"DIMM1\"\n Type 6 Record: #8\n Data 00: 06 0c 08 00 01 ff 00 00 01 0c 0c 00\n String 1: \"DIMM1\"\n Type 6 Record: #9\n Data 00: 06 0c 09 00 01 ff 00 00 01 7f 7f 00\n String 1: \"DIMM3\"\n Cache Info: #10\n Designation: \"L1 Cache\"\n Level: L1\n State: Enabled\n Mode: 0x00 (Write Through)\n Location: 0x00 (Internal, Not Socketed)\n ECC: 0x04 (Parity)\n Type: 0x04 (Data)\n Associativity: 0x07 (8-way Set-Associative)\n Max. Size: 32 kB\n Current Size: 32 kB\n Supported SRAM Types: 0x0002 (Unknown)\n Current SRAM Type: 0x0002 (Unknown)\n Cache Info: #11\n Designation: \"L1 Cache\"\n Level: L1\n State: Enabled\n Mode: 0x00 (Write Through)\n Location: 0x00 (Internal, Not Socketed)\n ECC: 0x04 (Parity)\n Type: 0x03 (Instruction)\n Associativity: 0x07 (8-way Set-Associative)\n Max. Size: 32 kB\n Current Size: 32 kB\n Supported SRAM Types: 0x0002 (Unknown)\n Current SRAM Type: 0x0002 (Unknown)\n Cache Info: #12\n Designation: \"L2 Cache\"\n Level: L2\n State: Enabled\n Mode: 0x00 (Write Through)\n Location: 0x00 (Internal, Not Socketed)\n ECC: 0x06 (Multi-bit)\n Type: 0x05 (Unified)\n Associativity: 0x07 (8-way Set-Associative)\n Max. Size: 256 kB\n Current Size: 256 kB\n Supported SRAM Types: 0x0002 (Unknown)\n Current SRAM Type: 0x0002 (Unknown)\n Cache Info: #13\n Designation: \"L3 Cache\"\n Level: L3\n State: Enabled\n Mode: 0x01 (Write Back)\n Location: 0x00 (Internal, Not Socketed)\n ECC: 0x06 (Multi-bit)\n Type: 0x05 (Unified)\n Associativity: 0x09 (Other)\n Max. Size: 3072 kB\n Current Size: 3072 kB\n Supported SRAM Types: 0x0002 (Unknown)\n Current SRAM Type: 0x0002 (Unknown)\n System Slot: #14\n Designation: \"J5C1\"\n Type: 0xaa (Other)\n Bus Width: 0x0d (Other)\n Status: 0x03 (Available)\n Length: 0x01 (Other)\n Slot ID: 1\n Characteristics: 0x0300 (PME#, Hot-Plug)\n System Slot: #15\n Designation: \"J6C1\"\n Type: 0xa6 (Other)\n Bus Width: 0x08 (Other)\n Status: 0x03 (Available)\n Length: 0x01 (Other)\n Slot ID: 2\n Characteristics: 0x0300 (PME#, Hot-Plug)\n System Slot: #16\n Designation: \"J6C2\"\n Type: 0xa6 (Other)\n Bus Width: 0x08 (Other)\n Status: 0x03 (Available)\n Length: 0x01 (Other)\n Slot ID: 3\n Characteristics: 0x0300 (PME#, Hot-Plug)\n System Slot: #17\n Designation: \"J6D2\"\n Type: 0xa6 (Other)\n Bus Width: 0x08 (Other)\n Status: 0x03 (Available)\n Length: 0x01 (Other)\n Slot ID: 4\n Characteristics: 0x0300 (PME#, Hot-Plug)\n System Slot: #18\n Designation: \"J7C1\"\n Type: 0xa6 (Other)\n Bus Width: 0x08 (Other)\n Status: 0x03 (Available)\n Length: 0x01 (Other)\n Slot ID: 5\n Characteristics: 0x0300 (PME#, Hot-Plug)\n System Slot: #19\n Designation: \"J7D2\"\n Type: 0xa6 (Other)\n Bus Width: 0x08 (Other)\n Status: 0x03 (Available)\n Length: 0x01 (Other)\n Slot ID: 6\n Characteristics: 0x0300 (PME#, Hot-Plug)\n System Slot: #20\n Designation: \"J8C1\"\n Type: 0xa6 (Other)\n Bus Width: 0x08 (Other)\n Status: 0x03 (Available)\n Length: 0x01 (Other)\n Slot ID: 7\n Characteristics: 0x0300 (PME#, Hot-Plug)\n System Slot: #21\n Designation: \"J8C2\"\n Type: 0xaa (Other)\n Bus Width: 0x0d (Other)\n Status: 0x03 (Available)\n Length: 0x01 (Other)\n Slot ID: 8\n Characteristics: 0x0300 (PME#, Hot-Plug)\n On Board Devices: #22\n Video: \"Video Graphics Controller\"\n On Board Devices: #23\n Ethernet: \"Lan Controller\"\n OEM Strings: #24\n String1 for Original Equipment Manufacturer\n String2 for Original Equipment Manufacturer\n String3 for Original Equipment Manufacturer\n String4 for Original Equipment Manufacturer\n String5 for Original Equipment Manufacturer\n System Config Options (Jumpers & Switches) #25:\n String2 for Type12 Equipment Manufacturer\n String3 for Type12 Equipment Manufacturer\n String4 for Type12 Equipment Manufacturer\n Physical Memory Array: #26\n Use: 0x03 (System memory)\n Location: 0x03 (Motherboard)\n Slots: 4\n Max. Size: 32 GB\n ECC: 0x03 (None)\n Memory Device: #27\n Location: \"DIMM0\"\n Bank: \"BANK 0\"\n Manufacturer: \"Empty\"\n Serial: \"Empty\"\n Asset Tag: \"Unknown\"\n Part Number: \"Empty\"\n Memory Array: #26\n Form Factor: 0x09 (DIMM)\n Type: 0x02 (Unknown)\n Type Detail: 0x0004 (Unknown)\n Data Width: 0 bits\n Size: No Memory Installed\n Memory Device: #28\n Location: \"DIMM1\"\n Bank: \"BANK 1\"\n Manufacturer: \"Empty\"\n Serial: \"Empty\"\n Asset Tag: \"Unknown\"\n Part Number: \"Empty\"\n Memory Array: #26\n Form Factor: 0x09 (DIMM)\n Type: 0x02 (Unknown)\n Type Detail: 0x0004 (Unknown)\n Data Width: 0 bits\n Size: No Memory Installed\n Memory Device: #29\n Location: \"DIMM1\"\n Bank: \"BANK 2\"\n Manufacturer: \"Unknown\"\n Serial: \"02A5B43D\"\n Asset Tag: \"Unknown\"\n Part Number: \"HMT451S6MFR8C-PB\"\n Memory Array: #26\n Form Factor: 0x0d (SODIMM)\n Type: 0x18 (Other)\n Type Detail: 0x0080 (Synchronous)\n Data Width: 64 bits\n Size: 4 GB\n Speed: 1600 MHz\n Memory Device: #30\n Location: \"DIMM3\"\n Bank: \"BANK 3\"\n Manufacturer: \"Empty\"\n Serial: \"Empty\"\n Asset Tag: \"Unknown\"\n Part Number: \"Empty\"\n Memory Array: #26\n Form Factor: 0x09 (DIMM)\n Type: 0x02 (Unknown)\n Type Detail: 0x0004 (Unknown)\n Data Width: 0 bits\n Size: No Memory Installed\n Memory Array Mapping: #31\n Memory Array: #26\n Partition Width: 4\n Start Address: 0x0000000000000000\n End Address: 0x0000000100000000\n Memory Device Mapping: #32\n Memory Device: #29\n Array Mapping: #31\n Interleave Pos: 2\n Interleaved Depth: 1\n Start Address: 0x0000000000000000\n End Address: 0x0000000100000000\n Type 170 Record: #33\n Data 00: aa 52 21 00 01 08 29 00 7f 00 0f 00 06 00 03 02\n Data 10: 01 08 21 02 00 00 23 02 00 00 25 02 00 00 41 02\n Data 20: 04 00 48 02 01 00 49 02 02 00 42 02 20 00 43 02\n Data 30: 40 00 44 02 08 00 45 02 10 00 61 02 08 00 64 02\n Data 40: 04 00 62 02 01 00 63 02 02 00 81 02 04 00 83 02\n Data 50: 02 00\n Type 171 Record: #34\n Data 00: ab 27 22 00 01 86 80 66 01 01 de 10 40 11 02 e4\n Data 10: 14 b5 16 04 f2 04 74 b3 05 86 80 20 1e 07 8c 16\n Data 20: 34 00 08 89 04 4e e0\n Type 172 Record: #35\n Data 00: ac 15 23 00 02 13 01 ff 00 02 03 00 03 ff 00 04\n Data 10: 01 00 05 0f 00\n Type 173 Record: #36\n Data 00: ad 09 24 00 00 00 00 00 00\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n02: None 00.0: 10107 System\n [Created at sys.63]\n Unique ID: rdCR.n_7QNeEnh23\n Hardware Class: system\n Model: \"System\"\n Formfactor: \"laptop\"\n Driver Info #0:\n Driver Status: thermal,fan are not active\n Driver Activation Cmd: \"modprobe thermal; modprobe fan\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n03: None 00.0: 10104 FPU\n [Created at misc.191]\n Unique ID: rdCR.EMpH5pjcahD\n Hardware Class: unknown\n Model: \"FPU\"\n I/O Ports: 0xf0-0xff (rw)\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n04: None 00.0: 0801 DMA controller (8237)\n [Created at misc.205]\n Unique ID: rdCR.f5u1ucRm+H9\n Hardware Class: unknown\n Model: \"DMA controller\"\n I/O Ports: 0x00-0xcf7 (rw)\n I/O Ports: 0xc0-0xdf (rw)\n I/O Ports: 0x80-0x8f (rw)\n DMA: 4\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n05: None 00.0: 0800 PIC (8259)\n [Created at misc.218]\n Unique ID: rdCR.8uRK7LxiIA2\n Hardware Class: unknown\n Model: \"PIC\"\n I/O Ports: 0x20-0x21 (rw)\n I/O Ports: 0xa0-0xa1 (rw)\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n06: None 00.0: 0900 Keyboard controller\n [Created at misc.250]\n Unique ID: rdCR.9N+EecqykME\n Hardware Class: unknown\n Model: \"Keyboard controller\"\n I/O Port: 0x60 (rw)\n I/O Port: 0x64 (rw)\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n07: None 00.0: 10400 PS/2 Controller\n [Created at misc.303]\n Unique ID: rdCR.DziBbWO85o5\n Hardware Class: unknown\n Model: \"PS/2 Controller\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n12: None 00.0: 10102 Main Memory\n [Created at memory.74]\n Unique ID: rdCR.CxwsZFjVASF\n Hardware Class: memory\n Model: \"Main Memory\"\n Memory Range: 0x00000000-0xed13bfff (rw)\n Memory Size: 3 GB + 768 MB\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n13: PCI 1f.3: 0c05 SMBus\n [Created at pci.378]\n Unique ID: nS1_.59hJ1J4Ek23\n SysFS ID: /devices/pci0000:00/0000:00:1f.3\n SysFS BusID: 0000:00:1f.3\n Hardware Class: unknown\n Model: \"Intel 7 Series/C216 Chipset Family SMBus Controller\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e22 \"7 Series/C216 Chipset Family SMBus Controller\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0x04\n Driver: \"i801_smbus\"\n Driver Modules: \"i2c_i801\"\n Memory Range: 0xb3615000-0xb36150ff (rw,non-prefetchable)\n I/O Ports: 0x3040-0x305f (rw)\n IRQ: 19 (no events)\n Module Alias: \"pci:v00008086d00001E22sv00001025sd0000064Bbc0Csc05i00\"\n Driver Info #0:\n Driver Status: i2c_i801 is active\n Driver Activation Cmd: \"modprobe i2c_i801\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n14: PCI 00.0: 0600 Host bridge\n [Created at pci.378]\n Unique ID: qLht.CrdfvQ84J0C\n SysFS ID: /devices/pci0000:00/0000:00:00.0\n SysFS BusID: 0000:00:00.0\n Hardware Class: bridge\n Model: \"Intel 3rd Gen Core processor DRAM Controller\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x0154 \"3rd Gen Core processor DRAM Controller\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0x09\n Driver: \"ivb_uncore\"\n Driver Modules: \"intel_uncore\"\n Module Alias: \"pci:v00008086d00000154sv00001025sd0000064Bbc06sc00i00\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n15: PCI 1c.1: 0604 PCI bridge (Normal decode)\n [Created at pci.378]\n Unique ID: qTvu.EyGFlb0ZvDD\n SysFS ID: /devices/pci0000:00/0000:00:1c.1\n SysFS BusID: 0000:00:1c.1\n Hardware Class: bridge\n Model: \"Intel 7 Series/C210 Series Chipset Family PCI Express Root Port 2\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e12 \"7 Series/C210 Series Chipset Family PCI Express Root Port 2\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0xc4\n Driver: \"pcieport\"\n IRQ: 16 (292 events)\n Module Alias: \"pci:v00008086d00001E12sv00001025sd0000064Bbc06sc04i00\"\n Driver Info #0:\n Driver Status: shpchp is active\n Driver Activation Cmd: \"modprobe shpchp\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n16: PCI 200.3: 0880 System peripheral\n [Created at pci.378]\n Unique ID: n1Zg.hTfxBRh0A41\n Parent ID: z8Q3.C7OlnSn8sSC\n SysFS ID: /devices/pci0000:00/0000:00:1c.0/0000:02:00.3\n SysFS BusID: 0000:02:00.3\n Hardware Class: unknown\n Model: \"Broadcom BCM57765/57785 xD-Picture Card Reader\"\n Vendor: pci 0x14e4 \"Broadcom\"\n Device: pci 0x16bf \"BCM57765/57785 xD-Picture Card Reader\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x0647 \n Revision: 0x10\n Memory Range: 0xb3420000-0xb342ffff (ro,non-prefetchable)\n IRQ: 11 (no events)\n Module Alias: \"pci:v000014E4d000016BFsv00001025sd00000647bc08sc80i00\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #24 (PCI bridge)\n\n17: PCI 200.1: 0805 SD Host controller\n [Created at pci.378]\n Unique ID: 2Oa+.kRzwOJ5q5D2\n Parent ID: z8Q3.C7OlnSn8sSC\n SysFS ID: /devices/pci0000:00/0000:00:1c.0/0000:02:00.1\n SysFS BusID: 0000:02:00.1\n Hardware Class: unknown\n Model: \"Broadcom BCM57765/57785 SDXC/MMC Card Reader\"\n Vendor: pci 0x14e4 \"Broadcom\"\n Device: pci 0x16bc \"BCM57765/57785 SDXC/MMC Card Reader\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x0647 \n Revision: 0x10\n Driver: \"sdhci-pci\"\n Driver Modules: \"sdhci_pci\"\n Memory Range: 0xb3400000-0xb340ffff (ro,non-prefetchable)\n IRQ: 17 (no events)\n Module Alias: \"pci:v000014E4d000016BCsv00001025sd00000647bc08sc05i01\"\n Driver Info #0:\n Driver Status: sdhci_pci is active\n Driver Activation Cmd: \"modprobe sdhci_pci\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #24 (PCI bridge)\n\n18: PCI 1a.0: 0c03 USB Controller (EHCI)\n [Created at pci.378]\n Unique ID: pwJ7.EInJ45sdesD\n SysFS ID: /devices/pci0000:00/0000:00:1a.0\n SysFS BusID: 0000:00:1a.0\n Hardware Class: usb controller\n Model: \"Intel 7 Series/C216 Chipset Family USB Enhanced Host Controller #2\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e2d \"7 Series/C216 Chipset Family USB Enhanced Host Controller #2\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0x04\n Driver: \"ehci-pci\"\n Driver Modules: \"ehci_pci\"\n Memory Range: 0xb3619000-0xb36193ff (rw,non-prefetchable)\n IRQ: 16 (292 events)\n Module Alias: \"pci:v00008086d00001E2Dsv00001025sd0000064Bbc0Csc03i20\"\n Driver Info #0:\n Driver Status: ehci-hcd is active\n Driver Activation Cmd: \"modprobe ehci-hcd\"\n Driver Info #1:\n Driver Status: ehci_pci is active\n Driver Activation Cmd: \"modprobe ehci_pci\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n19: PCI 1d.0: 0c03 USB Controller (EHCI)\n [Created at pci.378]\n Unique ID: 1GTX.dOA4j51iyAB\n SysFS ID: /devices/pci0000:00/0000:00:1d.0\n SysFS BusID: 0000:00:1d.0\n Hardware Class: usb controller\n Model: \"Intel 7 Series/C216 Chipset Family USB Enhanced Host Controller #1\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e26 \"7 Series/C216 Chipset Family USB Enhanced Host Controller #1\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0x04\n Driver: \"ehci-pci\"\n Driver Modules: \"ehci_pci\"\n Memory Range: 0xb3618000-0xb36183ff (rw,non-prefetchable)\n IRQ: 23 (33 events)\n Module Alias: \"pci:v00008086d00001E26sv00001025sd0000064Bbc0Csc03i20\"\n Driver Info #0:\n Driver Status: ehci-hcd is active\n Driver Activation Cmd: \"modprobe ehci-hcd\"\n Driver Info #1:\n Driver Status: ehci_pci is active\n Driver Activation Cmd: \"modprobe ehci_pci\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n20: PCI 02.0: 0300 VGA compatible controller (VGA)\n [Created at pci.378]\n Unique ID: _Znp.RryO0pwETvC\n SysFS ID: /devices/pci0000:00/0000:00:02.0\n SysFS BusID: 0000:00:02.0\n Hardware Class: graphics card\n Model: \"Intel 3rd Gen Core processor Graphics Controller\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x0166 \"3rd Gen Core processor Graphics Controller\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0x09\n Driver: \"i915\"\n Driver Modules: \"i915\"\n Memory Range: 0xb3000000-0xb33fffff (rw,non-prefetchable)\n Memory Range: 0xc0000000-0xcfffffff (ro,non-prefetchable)\n I/O Ports: 0x3000-0x303f (rw)\n Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)\n IRQ: 26 (60 events)\n Module Alias: \"pci:v00008086d00000166sv00001025sd0000064Bbc03sc00i00\"\n Driver Info #0:\n Driver Status: i915 is active\n Driver Activation Cmd: \"modprobe i915\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n21: PCI 14.0: 0c03 USB Controller (XHCI)\n [Created at pci.378]\n Unique ID: MZfG.YyLP8xx2f4E\n SysFS ID: /devices/pci0000:00/0000:00:14.0\n SysFS BusID: 0000:00:14.0\n Hardware Class: usb controller\n Model: \"Intel 7 Series/C210 Series Chipset Family USB xHCI Host Controller\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e31 \"7 Series/C210 Series Chipset Family USB xHCI Host Controller\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0x04\n Driver: \"xhci_hcd\"\n Driver Modules: \"xhci_pci\"\n Memory Range: 0xb3600000-0xb360ffff (rw,non-prefetchable)\n IRQ: 27 (5525 events)\n Module Alias: \"pci:v00008086d00001E31sv00001025sd0000064Bbc0Csc03i30\"\n Driver Info #0:\n Driver Status: xhci_pci is active\n Driver Activation Cmd: \"modprobe xhci_pci\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n22: PCI 1f.2: 0106 SATA controller (AHCI 1.0)\n [Created at pci.378]\n Unique ID: w7Y8.TN7JVR84+UD\n SysFS ID: /devices/pci0000:00/0000:00:1f.2\n SysFS BusID: 0000:00:1f.2\n Hardware Class: storage\n Model: \"Intel 7 Series Chipset Family 6-port SATA Controller [AHCI mode]\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e03 \"7 Series Chipset Family 6-port SATA Controller [AHCI mode]\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0x04\n Driver: \"ahci\"\n Driver Modules: \"ahci\"\n I/O Ports: 0x3088-0x308f (rw)\n I/O Ports: 0x3094-0x3097 (rw)\n I/O Ports: 0x3080-0x3087 (rw)\n I/O Ports: 0x3090-0x3093 (rw)\n I/O Ports: 0x3060-0x307f (rw)\n Memory Range: 0xb3617000-0xb36177ff (rw,non-prefetchable)\n IRQ: 28 (551 events)\n Module Alias: \"pci:v00008086d00001E03sv00001025sd0000064Bbc01sc06i01\"\n Driver Info #0:\n Driver Status: ahci is active\n Driver Activation Cmd: \"modprobe ahci\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n23: PCI 300.0: 0282 WLAN controller\n [Created at pci.378]\n Unique ID: hAO_.Cv4PK6mZ0h7\n Parent ID: qTvu.EyGFlb0ZvDD\n SysFS ID: /devices/pci0000:00/0000:00:1c.1/0000:03:00.0\n SysFS BusID: 0000:03:00.0\n Hardware Class: network\n Model: \"Qualcomm Atheros AR9462 Wireless Network Adapter\"\n Vendor: pci 0x168c \"Qualcomm Atheros\"\n Device: pci 0x0034 \"AR9462 Wireless Network Adapter\"\n SubVendor: pci 0x105b \"Foxconn International, Inc.\"\n SubDevice: pci 0xe052 \n Revision: 0x01\n Driver: \"ath9k\"\n Driver Modules: \"ath9k\"\n Device File: wlp3s0\n Features: WLAN\n Memory Range: 0xb3500000-0xb357ffff (rw,non-prefetchable)\n Memory Range: 0xb3580000-0xb358ffff (ro,non-prefetchable,disabled)\n IRQ: 17 (no events)\n HW Address: f4:b7:e2:67:5d:7b\n Permanent HW Address: f4:b7:e2:67:5d:7b\n Link detected: no\n WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 36 40 44 48 52 56 60 64 100 104 108 112 116 120 124 128 132 136 140\n WLAN frequencies: 2.412 2.417 2.422 2.427 2.432 2.437 2.442 2.447 2.452 2.457 2.462 2.467 2.472 5.18 5.2 5.22 5.24 5.26 5.28 5.3 5.32 5.5 5.52 5.54 5.56 5.58 5.6 5.62 5.64 5.66 5.68 5.7\n WLAN encryption modes: WEP40 WEP104 TKIP CCMP\n WLAN authentication modes: open sharedkey wpa-psk wpa-eap\n Module Alias: \"pci:v0000168Cd00000034sv0000105Bsd0000E052bc02sc80i00\"\n Driver Info #0:\n Driver Status: ath9k is active\n Driver Activation Cmd: \"modprobe ath9k\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #15 (PCI bridge)\n\n24: PCI 1c.0: 0604 PCI bridge (Normal decode)\n [Created at pci.378]\n Unique ID: z8Q3.C7OlnSn8sSC\n SysFS ID: /devices/pci0000:00/0000:00:1c.0\n SysFS BusID: 0000:00:1c.0\n Hardware Class: bridge\n Model: \"Intel 7 Series/C216 Chipset Family PCI Express Root Port 1\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e10 \"7 Series/C216 Chipset Family PCI Express Root Port 1\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0xc4\n Driver: \"pcieport\"\n IRQ: 17 (no events)\n Module Alias: \"pci:v00008086d00001E10sv00001025sd0000064Bbc06sc04i00\"\n Driver Info #0:\n Driver Status: shpchp is active\n Driver Activation Cmd: \"modprobe shpchp\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n25: PCI 200.2: 0880 System peripheral\n [Created at pci.378]\n Unique ID: wi3r.A3jBjsZJeh0\n Parent ID: z8Q3.C7OlnSn8sSC\n SysFS ID: /devices/pci0000:00/0000:00:1c.0/0000:02:00.2\n SysFS BusID: 0000:02:00.2\n Hardware Class: unknown\n Model: \"Broadcom BCM57765/57785 MS Card Reader\"\n Vendor: pci 0x14e4 \"Broadcom\"\n Device: pci 0x16be \"BCM57765/57785 MS Card Reader\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x0647 \n Revision: 0x10\n Memory Range: 0xb3410000-0xb341ffff (ro,non-prefetchable)\n IRQ: 11 (no events)\n Module Alias: \"pci:v000014E4d000016BEsv00001025sd00000647bc08sc80i00\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #24 (PCI bridge)\n\n26: PCI 1f.0: 0601 ISA bridge\n [Created at pci.378]\n Unique ID: BUZT.GMdhMeeKBtE\n SysFS ID: /devices/pci0000:00/0000:00:1f.0\n SysFS BusID: 0000:00:1f.0\n Hardware Class: bridge\n Model: \"Intel HM77 Express Chipset LPC Controller\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e57 \"HM77 Express Chipset LPC Controller\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0x04\n Driver: \"lpc_ich\"\n Driver Modules: \"lpc_ich\"\n Module Alias: \"pci:v00008086d00001E57sv00001025sd0000064Bbc06sc01i00\"\n Driver Info #0:\n Driver Status: lpc_ich is active\n Driver Activation Cmd: \"modprobe lpc_ich\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n27: PCI 01.0: 0604 PCI bridge (Normal decode)\n [Created at pci.378]\n Unique ID: vSkL.jRZFWqoAYL7\n SysFS ID: /devices/pci0000:00/0000:00:01.0\n SysFS BusID: 0000:00:01.0\n Hardware Class: bridge\n Model: \"Intel Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x0151 \"Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0x09\n Driver: \"pcieport\"\n IRQ: 24 (no events)\n Module Alias: \"pci:v00008086d00000151sv00001025sd0000064Bbc06sc04i00\"\n Driver Info #0:\n Driver Status: shpchp is active\n Driver Activation Cmd: \"modprobe shpchp\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n28: PCI 200.0: 0200 Ethernet controller\n [Created at pci.378]\n Unique ID: jbRH.ROT4utcIVG0\n Parent ID: z8Q3.C7OlnSn8sSC\n SysFS ID: /devices/pci0000:00/0000:00:1c.0/0000:02:00.0\n SysFS BusID: 0000:02:00.0\n Hardware Class: network\n Model: \"Broadcom NetLink BCM57785 Gigabit Ethernet PCIe\"\n Vendor: pci 0x14e4 \"Broadcom\"\n Device: pci 0x16b5 \"NetLink BCM57785 Gigabit Ethernet PCIe\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x0647 \n Revision: 0x10\n Driver: \"tg3\"\n Driver Modules: \"tg3\"\n Device File: enp2s0f0\n Memory Range: 0xb3430000-0xb343ffff (ro,non-prefetchable)\n Memory Range: 0xb3440000-0xb344ffff (ro,non-prefetchable)\n Memory Range: 0x9fb00000-0x9fb007ff (ro,non-prefetchable,disabled)\n IRQ: 16 (292 events)\n HW Address: 20:89:84:58:88:15\n Permanent HW Address: 20:89:84:58:88:15\n Link detected: yes\n Module Alias: \"pci:v000014E4d000016B5sv00001025sd00000647bc02sc00i00\"\n Driver Info #0:\n Driver Status: tg3 is active\n Driver Activation Cmd: \"modprobe tg3\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #24 (PCI bridge)\n\n29: PCI 16.0: 0780 Communication controller\n [Created at pci.378]\n Unique ID: WnlC.pen2cRRpOUF\n SysFS ID: /devices/pci0000:00/0000:00:16.0\n SysFS BusID: 0000:00:16.0\n Hardware Class: unknown\n Model: \"Intel 7 Series/C216 Chipset Family MEI Controller #1\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e3a \"7 Series/C216 Chipset Family MEI Controller #1\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0x04\n Driver: \"mei_me\"\n Driver Modules: \"mei_me\"\n Memory Range: 0xb3614000-0xb361400f (rw,non-prefetchable)\n IRQ: 29 (13 events)\n Module Alias: \"pci:v00008086d00001E3Asv00001025sd0000064Bbc07sc80i00\"\n Driver Info #0:\n Driver Status: mei_me is active\n Driver Activation Cmd: \"modprobe mei_me\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n30: PCI 100.0: 0300 VGA compatible controller (VGA)\n [Created at pci.378]\n Unique ID: VCu0.B647AqfC3Q3\n Parent ID: vSkL.jRZFWqoAYL7\n SysFS ID: /devices/pci0000:00/0000:00:01.0/0000:01:00.0\n SysFS BusID: 0000:01:00.0\n Hardware Class: graphics card\n Model: \"Acer Incorporated [ALI] GeForce 710M\"\n Vendor: pci 0x10de \"nVidia Corporation\"\n Device: pci 0x1140 \"GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M]\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x0691 \"GeForce 710M\"\n Revision: 0xa1\n Driver: \"nouveau\"\n Driver Modules: \"drm\"\n Memory Range: 0xb2000000-0xb2ffffff (rw,non-prefetchable)\n Memory Range: 0xa0000000-0xafffffff (ro,non-prefetchable)\n Memory Range: 0xb0000000-0xb1ffffff (ro,non-prefetchable)\n I/O Ports: 0x2000-0x2fff (rw)\n IRQ: 25 (7 events)\n Module Alias: \"pci:v000010DEd00001140sv00001025sd00000691bc03sc00i00\"\n Driver Info #0:\n Driver Status: nouveau is active\n Driver Activation Cmd: \"modprobe nouveau\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #27 (PCI bridge)\n\n31: PCI 1b.0: 0403 Audio device\n [Created at pci.378]\n Unique ID: u1Nb.v0U4RQgjkU2\n SysFS ID: /devices/pci0000:00/0000:00:1b.0\n SysFS BusID: 0000:00:1b.0\n Hardware Class: sound\n Model: \"Intel 7 Series/C216 Chipset Family High Definition Audio Controller\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e20 \"7 Series/C216 Chipset Family High Definition Audio Controller\"\n SubVendor: pci 0x1025 \"Acer Incorporated [ALI]\"\n SubDevice: pci 0x064b \n Revision: 0x04\n Driver: \"snd_hda_intel\"\n Driver Modules: \"snd_hda_intel\"\n Memory Range: 0xb3610000-0xb3613fff (rw,non-prefetchable)\n IRQ: 30 (427 events)\n Module Alias: \"pci:v00008086d00001E20sv00001025sd0000064Bbc04sc03i00\"\n Driver Info #0:\n Driver Status: snd_hda_intel is active\n Driver Activation Cmd: \"modprobe snd_hda_intel\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n32: None 00.0: 10002 LCD Monitor\n [Created at monitor.125]\n Unique ID: rdCR.JVanjAibNA3\n Parent ID: _Znp.RryO0pwETvC\n Hardware Class: monitor\n Model: \"LG Display LCD Monitor\"\n Vendor: LGD \"LG Display\"\n Device: eisa 0x0395 \n Resolution: 1366x768@60Hz\n Size: 344x194 mm\n Year of Manufacture: 2012\n Week of Manufacture: 0\n Detailed Timings #0:\n Resolution: 1366x768\n Horizontal: 1366 1402 1450 1492 (+36 +84 +126) -hsync\n Vertical: 768 771 776 782 (+3 +8 +14) -vsync\n Frequencies: 70.00 MHz, 46.92 kHz, 60.00 Hz\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #20 (VGA compatible controller)\n\n33: ISA(PnP) 00.0: 0000 Unclassified device\n [Created at isapnp.142]\n Unique ID: z9pp.nqZkIsr1tw4\n SysFS ID: /devices/pnp0/00:00\n SysFS BusID: 00:00\n Hardware Class: unknown\n Model: \"Unclassified device\"\n SubVendor: MSF \n SubDevice: eisa 0x0001 \n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n34: ISA(PnP) 00.0: 0000 Unclassified device\n [Created at isapnp.142]\n Unique ID: E349.B+yZ9Ve8gC1\n SysFS ID: /devices/pnp0/00:05\n SysFS BusID: 00:05\n Hardware Class: unknown\n Model: \"Unclassified device\"\n SubVendor: PNP \"PnP\"\n SubDevice: eisa 0x0c02 \n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n35: ISA(PnP) 00.0: 0000 Unclassified device\n [Created at isapnp.142]\n Unique ID: KiZ0.WYwRElrJa93\n SysFS ID: /devices/pnp0/00:03\n SysFS BusID: 00:03\n Hardware Class: unknown\n Model: \"Unclassified device\"\n SubVendor: PNP \"PnP\"\n SubDevice: eisa 0x0b00 \n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n36: ISA(PnP) 00.0: 0000 Unclassified device\n [Created at isapnp.142]\n Unique ID: QL3u.R1ISJC70ydE\n SysFS ID: /devices/pnp0/00:01\n SysFS BusID: 00:01\n Hardware Class: unknown\n Model: \"Unclassified device\"\n SubVendor: ETD \n SubDevice: eisa 0x0500 \n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n37: ISA(PnP) 00.0: 0000 Unclassified device\n [Created at isapnp.142]\n Unique ID: hEKD.gNN83gfynbD\n SysFS ID: /devices/pnp0/00:06\n SysFS BusID: 00:06\n Hardware Class: unknown\n Model: \"Unclassified device\"\n SubVendor: PNP \"PnP\"\n SubDevice: eisa 0x0c01 \n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n38: ISA(PnP) 00.0: 0000 Unclassified device\n [Created at isapnp.142]\n Unique ID: ntp4.fzmL0Yx8Ld7\n SysFS ID: /devices/pnp0/00:04\n SysFS BusID: 00:04\n Hardware Class: unknown\n Model: \"Unclassified device\"\n SubVendor: INT \n SubDevice: eisa 0x3f0d \n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n39: ISA(PnP) 00.0: 0000 Unclassified device\n [Created at isapnp.142]\n Unique ID: tWJy.B+yZ9Ve8gC1\n SysFS ID: /devices/pnp0/00:02\n SysFS BusID: 00:02\n Hardware Class: unknown\n Model: \"Unclassified device\"\n SubVendor: PNP \"PnP\"\n SubDevice: eisa 0x0c02 \n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n40: SCSI 600.0: 10600 Disk\n [Created at block.245]\n Unique ID: PYMB.Q_RuxrUjXl2\n Parent ID: MZfG.YyLP8xx2f4E\n SysFS ID: /class/block/sdb\n SysFS BusID: 6:0:0:0\n SysFS Device Link: /devices/pci0000:00/0000:00:14.0/usb4/4-1/4-1:1.0/host6/target6:0:0/6:0:0:0\n Hardware Class: disk\n Model: \"Kingston DataTraveler 3.0\"\n Vendor: usb 0x0951 \"Kingston\"\n Device: usb 0x1666 \"DataTraveler 3.0\"\n Serial ID: \"0\"\n Driver: \"usb-storage\", \"sd\"\n Driver Modules: \"usb_storage\", \"sd_mod\"\n Device File: /dev/sdb (/dev/sg2)\n Device Files: /dev/sdb, /dev/disk/by-id/usb-Kingston_DataTraveler_3.0_E0D55EA573CCF4A1487A0045-0:0, /dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0\n Device Number: block 8:16-8:31 (char 21:2)\n Geometry (Logical): CHS 29510/64/32\n Size: 60437492 sectors a 512 bytes\n Capacity: 28 GB (30943995904 bytes)\n Module Alias: \"usb:v0951p1666d0001dc00dsc00dp00ic08isc06ip50in00\"\n Driver Info #0:\n Driver Status: uas is active\n Driver Activation Cmd: \"modprobe uas\"\n Driver Info #1:\n Driver Status: usb_storage is active\n Driver Activation Cmd: \"modprobe usb_storage\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #21 (USB Controller)\n\n41: None 00.0: 11300 Partition\n [Created at block.434]\n Unique ID: h4pj.SE1wIdpsiiC\n Parent ID: PYMB.Q_RuxrUjXl2\n SysFS ID: /class/block/sdb/sdb1\n Hardware Class: partition\n Model: \"Partition\"\n Device File: /dev/sdb1\n Device Files: /dev/sdb1, /dev/disk/by-id/usb-Kingston_DataTraveler_3.0_E0D55EA573CCF4A1487A0045-0:0-part1, /dev/disk/by-label/ISOIMAGE, /dev/disk/by-partuuid/428605f9-01, /dev/disk/by-path/pci-0000:00:14.0-usb-0:1:1.0-scsi-0:0:0:0-part1, /dev/disk/by-uuid/0039-9BEE\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #40 (Disk)\n\n42: SCSI 200.0: 10602 CD-ROM (DVD)\n [Created at block.249]\n Unique ID: KD9E.OLCDHWVUpF5\n Parent ID: w7Y8.TN7JVR84+UD\n SysFS ID: /class/block/sr0\n SysFS BusID: 2:0:0:0\n SysFS Device Link: /devices/pci0000:00/0000:00:1f.2/ata3/host2/target2:0:0/2:0:0:0\n Hardware Class: cdrom\n Model: \"HL-DT-ST DVDRAM GT51N\"\n Vendor: \"HL-DT-ST\"\n Device: \"DVDRAM GT51N\"\n Revision: \"1.01\"\n Driver: \"ahci\", \"sr\"\n Driver Modules: \"ahci\", \"sr_mod\"\n Device File: /dev/sr0 (/dev/sg1)\n Device Files: /dev/sr0, /dev/cdrom, /dev/cdrw, /dev/disk/by-id/ata-HL-DT-ST_DVDRAM_GT51N_M5MC83F0611, /dev/disk/by-id/wwn-0x5001480000000000, /dev/disk/by-path/pci-0000:00:1f.2-ata-3, /dev/dvd, /dev/dvdrw\n Device Number: block 11:0 (char 21:1)\n Features: CD-R, CD-RW, DVD, DVD-R, DVD-RW, DVD-R DL, DVD+R, DVD+RW, DVD+R DL, DVD-RAM, MRW, MRW-W\n Drive status: no medium\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #22 (SATA controller)\n Drive Speed: 24\n\n43: IDE 00.0: 10600 Disk\n [Created at block.245]\n Unique ID: 3OOL.SZkD3DQw885\n Parent ID: w7Y8.TN7JVR84+UD\n SysFS ID: /class/block/sda\n SysFS BusID: 0:0:0:0\n SysFS Device Link: /devices/pci0000:00/0000:00:1f.2/ata1/host0/target0:0:0/0:0:0:0\n Hardware Class: disk\n Model: \"ST9320423AS\"\n Device: \"ST9320423AS\"\n Revision: \"HPM1\"\n Serial ID: \"5VJ6G7TF\"\n Driver: \"ahci\", \"sd\"\n Driver Modules: \"ahci\", \"sd_mod\"\n Device File: /dev/sda\n Device Files: /dev/sda, /dev/disk/by-id/ata-ST9320423AS_5VJ6G7TF, /dev/disk/by-id/wwn-0x5000c500257ea9ae, /dev/disk/by-path/pci-0000:00:1f.2-ata-1\n Device Number: block 8:0-8:15\n Geometry (Logical): CHS 38913/255/63\n Size: 625142448 sectors a 512 bytes\n Capacity: 298 GB (320072933376 bytes)\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #22 (SATA controller)\n\n44: USB 00.0: 10503 USB Mouse\n [Created at usb.122]\n Unique ID: CiZ2.GYyOCNYMX78\n Parent ID: uIhY.2DFUsyrieMD\n SysFS ID: /devices/pci0000:00/0000:00:14.0/usb3/3-3/3-3:1.0\n SysFS BusID: 3-3:1.0\n Hardware Class: mouse\n Model: \"Lenovo USB Optical Mouse\"\n Hotplug: USB\n Vendor: usb 0x17ef \"Lenovo\"\n Device: usb 0x6019 \"Lenovo USB Optical Mouse\"\n Revision: \"1.00\"\n Compatible to: int 0x0210 0x0018\n Driver: \"usbhid\"\n Driver Modules: \"usbhid\"\n Device File: /dev/input/mice (/dev/input/mouse1)\n Device Files: /dev/input/mice, /dev/input/mouse1, /dev/input/event8, /dev/input/by-id/usb-PixArt_Lenovo_USB_Optical_Mouse-event-mouse, /dev/input/by-path/pci-0000:00:14.0-usb-0:3:1.0-event-mouse, /dev/input/by-id/usb-PixArt_Lenovo_USB_Optical_Mouse-mouse, /dev/input/by-path/pci-0000:00:14.0-usb-0:3:1.0-mouse\n Device Number: char 13:63 (char 13:33)\n Speed: 1.5 Mbps\n Module Alias: \"usb:v17EFp6019d0100dc00dsc00dp00ic03isc01ip02in00\"\n Driver Info #0:\n Buttons: 8\n Wheels: 1\n XFree86 Protocol: explorerps/2\n GPM Protocol: exps2\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #47 (Hub)\n\n45: USB 00.0: 10a00 Hub\n [Created at usb.122]\n Unique ID: FKGF.4Nx_qoDfSd7\n Parent ID: pBe4.oLWCeziExdF\n SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1:1.0\n SysFS BusID: 2-1:1.0\n Hardware Class: hub\n Model: \"Intel Integrated Rate Matching Hub\"\n Hotplug: USB\n Vendor: usb 0x8087 \"Intel Corp.\"\n Device: usb 0x0024 \"Integrated Rate Matching Hub\"\n Driver: \"hub\"\n Driver Modules: \"usbcore\"\n Speed: 480 Mbps\n Module Alias: \"usb:v8087p0024d0000dc09dsc00dp01ic09isc00ip00in00\"\n Driver Info #0:\n Driver Status: usbcore is active\n Driver Activation Cmd: \"modprobe usbcore\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #55 (Hub)\n\n46: USB 00.1: 11500 Bluetooth Device\n [Created at usb.122]\n Unique ID: DrDI.+XjOheJX3H7\n Parent ID: ADDn.4Nx_qoDfSd7\n SysFS ID: /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.1/1-1.1:1.1\n SysFS BusID: 1-1.1:1.1\n Hardware Class: bluetooth\n Model: \"Foxconn / Hon Hai Bluetooth Device\"\n Hotplug: USB\n Vendor: usb 0x0489 \"Foxconn / Hon Hai\"\n Device: usb 0xe04e \n Revision: \"0.02\"\n Driver: \"btusb\"\n Driver Modules: \"btusb\"\n Speed: 12 Mbps\n Module Alias: \"usb:v0489pE04Ed0002dcE0dsc01dp01icE0isc01ip01in01\"\n Driver Info #0:\n Driver Status: ath3k is active\n Driver Activation Cmd: \"modprobe ath3k\"\n Driver Info #1:\n Driver Status: btusb is active\n Driver Activation Cmd: \"modprobe btusb\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #53 (Hub)\n\n47: USB 00.0: 10a00 Hub\n [Created at usb.122]\n Unique ID: uIhY.2DFUsyrieMD\n Parent ID: MZfG.YyLP8xx2f4E\n SysFS ID: /devices/pci0000:00/0000:00:14.0/usb3/3-0:1.0\n SysFS BusID: 3-0:1.0\n Hardware Class: hub\n Model: \"Linux Foundation 2.0 root hub\"\n Hotplug: USB\n Vendor: usb 0x1d6b \"Linux Foundation\"\n Device: usb 0x0002 \"2.0 root hub\"\n Revision: \"4.09\"\n Serial ID: \"0000:00:14.0\"\n Driver: \"hub\"\n Driver Modules: \"usbcore\"\n Speed: 480 Mbps\n Module Alias: \"usb:v1D6Bp0002d0409dc09dsc00dp01ic09isc00ip00in00\"\n Driver Info #0:\n Driver Status: usbcore is active\n Driver Activation Cmd: \"modprobe usbcore\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #21 (USB Controller)\n\n48: USB 00.0: 0000 Unclassified device\n [Created at usb.122]\n Unique ID: dwDZ.xIQun31R8C1\n Parent ID: ADDn.4Nx_qoDfSd7\n SysFS ID: /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1.3/1-1.3:1.0\n SysFS BusID: 1-1.3:1.0\n Hardware Class: unknown\n Model: \"Chicony Electronics HD WebCam\"\n Hotplug: USB\n Vendor: usb 0x04f2 \"Chicony Electronics Co., Ltd\"\n Device: usb 0xb374 \"HD WebCam\"\n Revision: \"44.02\"\n Driver: \"uvcvideo\"\n Driver Modules: \"uvcvideo\"\n Device File: /dev/input/event15\n Device Files: /dev/input/event15, /dev/input/by-id/usb-SunplusIT_INC._HD_WebCam-event-if00, /dev/input/by-path/pci-0000:00:1a.0-usb-0:1.3:1.0-event\n Device Number: char 13:79\n Speed: 480 Mbps\n Module Alias: \"usb:v04F2pB374d4402dcEFdsc02dp01ic0Eisc01ip00in00\"\n Driver Info #0:\n Driver Status: uvcvideo is active\n Driver Activation Cmd: \"modprobe uvcvideo\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #53 (Hub)\n\n49: USB 00.0: 10a00 Hub\n [Created at usb.122]\n Unique ID: k4bc.FHd55n4xKo7\n Parent ID: pwJ7.EInJ45sdesD\n SysFS ID: /devices/pci0000:00/0000:00:1a.0/usb1/1-0:1.0\n SysFS BusID: 1-0:1.0\n Hardware Class: hub\n Model: \"Linux Foundation 2.0 root hub\"\n Hotplug: USB\n Vendor: usb 0x1d6b \"Linux Foundation\"\n Device: usb 0x0002 \"2.0 root hub\"\n Revision: \"4.09\"\n Serial ID: \"0000:00:1a.0\"\n Driver: \"hub\"\n Driver Modules: \"usbcore\"\n Speed: 480 Mbps\n Module Alias: \"usb:v1D6Bp0002d0409dc09dsc00dp00ic09isc00ip00in00\"\n Driver Info #0:\n Driver Status: usbcore is active\n Driver Activation Cmd: \"modprobe usbcore\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #18 (USB Controller)\n\n50: USB 00.0: 10a00 Hub\n [Created at usb.122]\n Unique ID: zPk0.xYNhIwdOaa6\n Parent ID: MZfG.YyLP8xx2f4E\n SysFS ID: /devices/pci0000:00/0000:00:14.0/usb4/4-0:1.0\n SysFS BusID: 4-0:1.0\n Hardware Class: hub\n Model: \"Linux Foundation 3.0 root hub\"\n Hotplug: USB\n Vendor: usb 0x1d6b \"Linux Foundation\"\n Device: usb 0x0003 \"3.0 root hub\"\n Revision: \"4.09\"\n Serial ID: \"0000:00:14.0\"\n Driver: \"hub\"\n Driver Modules: \"usbcore\"\n Module Alias: \"usb:v1D6Bp0003d0409dc09dsc00dp03ic09isc00ip00in00\"\n Driver Info #0:\n Driver Status: usbcore is active\n Driver Activation Cmd: \"modprobe usbcore\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #21 (USB Controller)\n\n53: USB 00.0: 10a00 Hub\n [Created at usb.122]\n Unique ID: ADDn.4Nx_qoDfSd7\n Parent ID: k4bc.FHd55n4xKo7\n SysFS ID: /devices/pci0000:00/0000:00:1a.0/usb1/1-1/1-1:1.0\n SysFS BusID: 1-1:1.0\n Hardware Class: hub\n Model: \"Intel Integrated Rate Matching Hub\"\n Hotplug: USB\n Vendor: usb 0x8087 \"Intel Corp.\"\n Device: usb 0x0024 \"Integrated Rate Matching Hub\"\n Driver: \"hub\"\n Driver Modules: \"usbcore\"\n Speed: 480 Mbps\n Module Alias: \"usb:v8087p0024d0000dc09dsc00dp01ic09isc00ip00in00\"\n Driver Info #0:\n Driver Status: usbcore is active\n Driver Activation Cmd: \"modprobe usbcore\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #49 (Hub)\n\n55: USB 00.0: 10a00 Hub\n [Created at usb.122]\n Unique ID: pBe4.oLWCeziExdF\n Parent ID: 1GTX.dOA4j51iyAB\n SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-0:1.0\n SysFS BusID: 2-0:1.0\n Hardware Class: hub\n Model: \"Linux Foundation 2.0 root hub\"\n Hotplug: USB\n Vendor: usb 0x1d6b \"Linux Foundation\"\n Device: usb 0x0002 \"2.0 root hub\"\n Revision: \"4.09\"\n Serial ID: \"0000:00:1d.0\"\n Driver: \"hub\"\n Driver Modules: \"usbcore\"\n Speed: 480 Mbps\n Module Alias: \"usb:v1D6Bp0002d0409dc09dsc00dp00ic09isc00ip00in00\"\n Driver Info #0:\n Driver Status: usbcore is active\n Driver Activation Cmd: \"modprobe usbcore\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #19 (USB Controller)\n\n56: PS/2 00.0: 10800 Keyboard\n [Created at input.226]\n Unique ID: nLyy.+49ps10DtUF\n Hardware Class: keyboard\n Model: \"AT Translated Set 2 keyboard\"\n Vendor: 0x0001 \n Device: 0x0001 \"AT Translated Set 2 keyboard\"\n Compatible to: int 0x0211 0x0001\n Device File: /dev/input/event0\n Device Number: char 13:64\n Driver Info #0:\n XkbRules: xfree86\n XkbModel: pc104\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n57: PS/2 00.0: 10500 PS/2 Mouse\n [Created at input.249]\n Unique ID: AH6Q.ABvIlSyGYdD\n Hardware Class: mouse\n Model: \"ETPS/2 Elantech Touchpad\"\n Vendor: 0x0002 \n Device: 0x000e \"ETPS/2 Elantech Touchpad\"\n Compatible to: int 0x0210 0x0002\n Device File: /dev/input/mice (/dev/input/mouse0)\n Device Files: /dev/input/mice, /dev/input/mouse0, /dev/input/event7\n Device Number: char 13:63 (char 13:32)\n Driver Info #0:\n Buttons: 2\n Wheels: 0\n XFree86 Protocol: explorerps/2\n GPM Protocol: exps2\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n58: None 00.0: 10103 CPU\n [Created at cpu.460]\n Unique ID: rdCR.j8NaKXDZtZ6\n Hardware Class: cpu\n Arch: Intel\n Vendor: \"GenuineIntel\"\n Model: 6.58.9 \"Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz\"\n Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,xtopology,nonstop_tsc,aperfmperf,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,sse4_1,sse4_2,x2apic,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,epb,ssbd,ibrs,ibpb,stibp,tpr_shadow,vnmi,flexpriority,ept,vpid,fsgsbase,smep,erms,xsaveopt,dtherm,ida,arat,pln,pts,md_clear,flush_l1d\n Clock: 1253 MHz\n BogoMips: 5188.12\n Cache: 3072 kb\n Units/Processor: 16\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n59: None 01.0: 10103 CPU\n [Created at cpu.460]\n Unique ID: wkFv.j8NaKXDZtZ6\n Hardware Class: cpu\n Arch: Intel\n Vendor: \"GenuineIntel\"\n Model: 6.58.9 \"Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz\"\n Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,xtopology,nonstop_tsc,aperfmperf,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,sse4_1,sse4_2,x2apic,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,epb,ssbd,ibrs,ibpb,stibp,tpr_shadow,vnmi,flexpriority,ept,vpid,fsgsbase,smep,erms,xsaveopt,dtherm,ida,arat,pln,pts,md_clear,flush_l1d\n Clock: 1338 MHz\n BogoMips: 5188.12\n Cache: 3072 kb\n Units/Processor: 16\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n60: None 02.0: 10103 CPU\n [Created at cpu.460]\n Unique ID: +rIN.j8NaKXDZtZ6\n Hardware Class: cpu\n Arch: Intel\n Vendor: \"GenuineIntel\"\n Model: 6.58.9 \"Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz\"\n Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,xtopology,nonstop_tsc,aperfmperf,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,sse4_1,sse4_2,x2apic,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,epb,ssbd,ibrs,ibpb,stibp,tpr_shadow,vnmi,flexpriority,ept,vpid,fsgsbase,smep,erms,xsaveopt,dtherm,ida,arat,pln,pts,md_clear,flush_l1d\n Clock: 1308 MHz\n BogoMips: 5188.12\n Cache: 3072 kb\n Units/Processor: 16\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n61: None 03.0: 10103 CPU\n [Created at cpu.460]\n Unique ID: 4zLr.j8NaKXDZtZ6\n Hardware Class: cpu\n Arch: Intel\n Vendor: \"GenuineIntel\"\n Model: 6.58.9 \"Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz\"\n Features: fpu,vme,de,pse,tsc,msr,pae,mce,cx8,apic,sep,mtrr,pge,mca,cmov,pat,pse36,clflush,dts,acpi,mmx,fxsr,sse,sse2,ss,ht,tm,pbe,nx,rdtscp,lm,constant_tsc,arch_perfmon,pebs,bts,xtopology,nonstop_tsc,aperfmperf,pni,pclmulqdq,dtes64,monitor,ds_cpl,vmx,est,tm2,ssse3,cx16,xtpr,pdcm,sse4_1,sse4_2,x2apic,popcnt,tsc_deadline_timer,aes,xsave,avx,f16c,rdrand,lahf_lm,epb,ssbd,ibrs,ibpb,stibp,tpr_shadow,vnmi,flexpriority,ept,vpid,fsgsbase,smep,erms,xsaveopt,dtherm,ida,arat,pln,pts,md_clear,flush_l1d\n Clock: 1253 MHz\n BogoMips: 5188.12\n Cache: 3072 kb\n Units/Processor: 16\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n62: None 00.0: 10701 Ethernet\n [Created at net.126]\n Unique ID: GVli.ndpeucax6V1\n Parent ID: jbRH.ROT4utcIVG0\n SysFS ID: /class/net/enp2s0f0\n SysFS Device Link: /devices/pci0000:00/0000:00:1c.0/0000:02:00.0\n Hardware Class: network interface\n Model: \"Ethernet network interface\"\n Driver: \"tg3\"\n Driver Modules: \"tg3\"\n Device File: enp2s0f0\n HW Address: 20:89:84:58:88:15\n Permanent HW Address: 20:89:84:58:88:15\n Link detected: yes\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #28 (Ethernet controller)\n\n63: None 00.0: 10700 Loopback\n [Created at net.126]\n Unique ID: ZsBS.GQNx7L4uPNA\n SysFS ID: /class/net/lo\n Hardware Class: network interface\n Model: \"Loopback network interface\"\n Device File: lo\n Link detected: yes\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n64: None 00.0: 10701 Ethernet\n [Created at net.126]\n Unique ID: Mqes.ndpeucax6V1\n Parent ID: hAO_.Cv4PK6mZ0h7\n SysFS ID: /class/net/wlp3s0\n SysFS Device Link: /devices/pci0000:00/0000:00:1c.1/0000:03:00.0\n Hardware Class: network interface\n Model: \"Ethernet network interface\"\n Driver: \"ath9k\"\n Driver Modules: \"ath9k\"\n Device File: wlp3s0\n HW Address: f4:b7:e2:67:5d:7b\n Permanent HW Address: f4:b7:e2:67:5d:7b\n Link detected: no\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #23 (WLAN controller)\n", "lshw": {"capabilities": {"dmi-2.7": "DMI version 2.7", "smbios-2.7": "SMBIOS version 2.7", "smp": "Symmetric Multi-Processing", "smp-1.4": "SMP specification v1.4"}, "children": [{"children": [{"capabilities": {"acpi": "ACPI", "biosbootspecification": "BIOS boot specification", "bootselect": "Selectable boot path", "cdboot": "Booting from CD-ROM/DVD", "edd": "Enhanced Disk Drive extensions", "int10video": "INT10 CGA/Mono video", "int13floppy1200": "5.25\" 1.2MB floppy", "int13floppy2880": "3.5\" 2.88MB floppy", "int13floppy360": "5.25\" 360KB floppy", "int13floppy720": "3.5\" 720KB floppy", "int13floppynec": "NEC 9800 floppy", "int13floppytoshiba": "Toshiba floppy", "int9keyboard": "i8042 keyboard controller", "pci": "PCI bus", "shadowing": "BIOS shadowing", "uefi": "UEFI specification is supported", "upgrade": "BIOS EEPROM can be upgraded", "usb": "USB legacy emulation"}, "capacity": 3604480, "claimed": true, "class": "memory", "date": "12/25/2012", "description": "BIOS", "id": "firmware", "physid": "0", "size": 131072, "units": "bytes", "vendor": "Insyde Corp.", "version": "V2.11"}, {"businfo": "cpu@0", "capabilities": {"acpi": "thermal control (ACPI)", "aes": true, "aperfmperf": true, "apic": "on-chip advanced programmable interrupt controller (APIC)", "arat": true, "arch_perfmon": true, "avx": true, "boot": "boot processor", "bts": true, "clflush": true, "cmov": "conditional move instruction", "constant_tsc": true, "cpufreq": "CPU Frequency scaling", "cx16": true, "cx8": "compare and exchange 8-byte", "de": "debugging extensions", "ds_cpl": true, "dtes64": true, "dtherm": true, "dts": "debug trace and EMON store MSRs", "epb": true, "ept": true, "erms": true, "est": true, "f16c": true, "flexpriority": true, "flush_l1d": true, "fpu": "mathematical co-processor", "fpu_exception": "FPU exceptions reporting", "fsgsbase": true, "fxsr": "fast floating point save/restore", "ht": "HyperThreading", "ibpb": true, "ibrs": true, "ida": true, "lahf_lm": true, "mca": "machine check architecture", "mce": "machine check exceptions", "md_clear": true, "mmx": "multimedia extensions (MMX)", "monitor": true, "msr": "model-specific registers", "mtrr": "memory type range registers", "nonstop_tsc": true, "nx": "no-execute bit (NX)", "pae": "4GB+ memory addressing (Physical Address Extension)", "pat": "page attribute table", "pbe": "pending break event", "pclmulqdq": true, "pdcm": true, "pebs": true, "pge": "page global enable", "pln": true, "pni": true, "popcnt": true, "pse": "page size extensions", "pse36": "36-bit page size extensions", "pts": true, "rdrand": true, "rdtscp": true, "sep": "fast system calls", "smep": true, "ss": "self-snoop", "ssbd": true, "sse": "streaming SIMD extensions (SSE)", "sse2": "streaming SIMD extensions (SSE2)", "sse4_1": true, "sse4_2": true, "ssse3": true, "stibp": true, "tm": "thermal interrupt and status", "tm2": true, "tpr_shadow": true, "tsc": "time stamp counter", "tsc_deadline_timer": true, "vme": "virtual mode extensions", "vmx": "CPU virtualization (Vanderpool)", "vnmi": true, "vpid": true, "wp": true, "x2apic": true, "x86-64": "64bits extensions (x86-64)", "xsave": true, "xsaveopt": true, "xtopology": true, "xtpr": true}, "capacity": 4000000000, "children": [{"capabilities": {"instruction": "Instruction cache", "internal": "Internal", "write-through": "Write-trough"}, "capacity": 32768, "claimed": true, "class": "memory", "configuration": {"level": "1"}, "description": "L1 cache", "handle": "DMI:000B", "id": "cache:0", "physid": "b", "size": 32768, "slot": "L1 Cache", "units": "bytes"}, {"capabilities": {"internal": "Internal", "unified": "Unified cache", "write-through": "Write-trough"}, "capacity": 262144, "claimed": true, "class": "memory", "configuration": {"level": "2"}, "description": "L2 cache", "handle": "DMI:000C", "id": "cache:1", "physid": "c", "size": 262144, "slot": "L2 Cache", "units": "bytes"}, {"capabilities": {"internal": "Internal", "unified": "Unified cache", "write-back": "Write-back"}, "capacity": 3145728, "claimed": true, "class": "memory", "configuration": {"level": "3"}, "description": "L3 cache", "handle": "DMI:000D", "id": "cache:2", "physid": "d", "size": 3145728, "slot": "L3 Cache", "units": "bytes"}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.0", "id": "logicalcpu:0", "physid": "1.1", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.1", "id": "logicalcpu:1", "physid": "1.2", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.2", "id": "logicalcpu:2", "physid": "1.3", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.3", "id": "logicalcpu:3", "physid": "1.4", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.4", "id": "logicalcpu:4", "physid": "1.5", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.5", "id": "logicalcpu:5", "physid": "1.6", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.6", "id": "logicalcpu:6", "physid": "1.7", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.7", "id": "logicalcpu:7", "physid": "1.8", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.8", "id": "logicalcpu:8", "physid": "1.9", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.9", "id": "logicalcpu:9", "physid": "1.a", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.10", "id": "logicalcpu:10", "physid": "1.b", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.11", "id": "logicalcpu:11", "physid": "1.c", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.12", "id": "logicalcpu:12", "physid": "1.d", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.13", "id": "logicalcpu:13", "physid": "1.e", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.14", "id": "logicalcpu:14", "physid": "1.f", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:1.15", "id": "logicalcpu:15", "physid": "1.10", "width": 64}], "claimed": true, "class": "processor", "clock": 100000000, "configuration": {"cores": "2", "enabledcores": "2", "id": "1", "threads": "4"}, "description": "CPU", "handle": "DMI:0004", "id": "cpu", "physid": "4", "product": "Intel(R) Core(TM) i5-3230M CPU @ 2.60GHz", "serial": "0003-06A9-0000-0000-0000-0000", "size": 1205261000, "slot": "U3E1", "units": "Hz", "vendor": "Intel Corp.", "version": "6.10.9", "width": 64}, {"capabilities": {"data": "Data cache", "internal": "Internal", "write-through": "Write-trough"}, "capacity": 32768, "claimed": true, "class": "memory", "configuration": {"level": "1"}, "description": "L1 cache", "handle": "DMI:000A", "id": "cache", "physid": "a", "size": 32768, "slot": "L1 Cache", "units": "bytes"}, {"children": [{"claimed": true, "class": "memory", "description": "DIMM [empty]", "handle": "DMI:001B", "id": "bank:0", "physid": "0", "product": "Empty", "serial": "Empty", "slot": "DIMM0", "vendor": "Empty"}, {"claimed": true, "class": "memory", "description": "DIMM [empty]", "handle": "DMI:001C", "id": "bank:1", "physid": "1", "product": "Empty", "serial": "Empty", "slot": "DIMM1", "vendor": "Empty"}, {"claimed": true, "class": "memory", "clock": 1600000000, "description": "SODIMM DDR3 Synchronous 1600 MHz (0.6 ns)", "handle": "DMI:001D", "id": "bank:2", "physid": "2", "product": "HMT451S6MFR8C-PB", "serial": "02A5B43D", "size": 4294967296, "slot": "DIMM1", "units": "bytes", "vendor": "Unknown", "width": 64}, {"claimed": true, "class": "memory", "description": "DIMM [empty]", "handle": "DMI:001E", "id": "bank:3", "physid": "3", "product": "Empty", "serial": "Empty", "slot": "DIMM3", "vendor": "Empty"}], "claimed": true, "class": "memory", "description": "System Memory", "handle": "DMI:001A", "id": "memory", "physid": "1a", "size": 4294967296, "slot": "System board or motherboard", "units": "bytes"}, {"businfo": "pci@0000:00:00.0", "children": [{"businfo": "pci@0000:00:01.0", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "msi": "Message Signalled Interrupts", "normal_decode": true, "pci": true, "pciexpress": "PCI Express", "pm": "Power Management"}, "children": [{"businfo": "pci@0000:01:00.0", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "msi": "Message Signalled Interrupts", "pciexpress": "PCI Express", "pm": "Power Management", "vga_controller": true}, "claimed": true, "class": "display", "clock": 33000000, "configuration": {"driver": "nouveau", "latency": "0"}, "description": "VGA compatible controller", "handle": "PCI:0000:01:00.0", "id": "display", "physid": "0", "product": "GF117M [GeForce 610M/710M/810M/820M / GT 620M/625M/630M/720M]", "vendor": "NVIDIA Corporation", "version": "a1", "width": 64}], "claimed": true, "class": "bridge", "clock": 33000000, "configuration": {"driver": "pcieport"}, "description": "PCI bridge", "handle": "PCIBUS:0000:01", "id": "pci:0", "physid": "1", "product": "Xeon E3-1200 v2/3rd Gen Core processor PCI Express Root Port", "vendor": "Intel Corporation", "version": "09", "width": 32}, {"businfo": "pci@0000:00:02.0", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "msi": "Message Signalled Interrupts", "pm": "Power Management", "rom": "extension ROM", "vga_controller": true}, "claimed": true, "class": "display", "clock": 33000000, "configuration": {"driver": "i915", "latency": "0"}, "description": "VGA compatible controller", "handle": "PCI:0000:00:02.0", "id": "display", "physid": "2", "product": "3rd Gen Core processor Graphics Controller", "vendor": "Intel Corporation", "version": "09", "width": 64}, {"businfo": "pci@0000:00:14.0", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "msi": "Message Signalled Interrupts", "pm": "Power Management", "xhci": true}, "children": [{"businfo": "usb@3", "capabilities": {"usb-2.00": "USB 2.0"}, "children": [{"businfo": "usb@3:3", "capabilities": {"usb-2.00": "USB 2.0"}, "claimed": true, "class": "input", "configuration": {"driver": "usbhid", "maxpower": "100mA", "speed": "2Mbit/s"}, "description": "Mouse", "handle": "USB:3:3", "id": "usb", "physid": "3", "product": "Lenovo USB Optical Mouse", "vendor": "PixArt", "version": "1.00"}], "claimed": true, "class": "bus", "configuration": {"driver": "hub", "slots": "4", "speed": "480Mbit/s"}, "handle": "USB:3:1", "id": "usbhost:0", "logicalname": "usb3", "physid": "0", "product": "xHCI Host Controller", "vendor": "Linux 4.9.0-14-686-pae xhci-hcd", "version": "4.09"}, {"businfo": "usb@4", "capabilities": {"usb-3.00": true}, "children": [{"businfo": "usb@4:1", "capabilities": {"emulated": "Emulated device", "scsi": "SCSI", "usb-3.20": true}, "children": [{"businfo": "scsi@6:0.0.0", "capabilities": {"removable": "support is removable"}, "children": [{"capabilities": {"partitioned": "Partitioned disk", "partitioned:dos": "MS-DOS partition table"}, "children": [{"capabilities": {"bootable": "Bootable partition (active)", "fat": "Windows FAT", "initialized": "initialized volume", "primary": "Primary partition"}, "capacity": 30942947328, "claimed": true, "class": "volume", "configuration": {"FATs": "2", "filesystem": "fat", "label": "ISOIMAGE", "mount.fstype": "vfat", "mount.options": "ro,noatime,fmask=0022,dmask=0022,codepage=437,iocharset=ascii,shortname=mixed,utf8,errors=remount-ro", "state": "mounted"}, "description": "Windows FAT volume", "dev": "8:17", "id": "volume", "logicalname": ["/dev/sdb1", "/lib/live/mount/medium"], "physid": "1", "serial": "0039-9bee", "size": 30940222464, "vendor": "SYSLINUX", "version": "FAT32"}], "claimed": true, "class": "disk", "configuration": {"signature": "428605f9"}, "dev": "8:16", "id": "medium", "logicalname": "/dev/sdb", "physid": "0", "size": 30943995904, "units": "bytes"}], "claimed": true, "class": "disk", "configuration": {"ansiversion": "6", "logicalsectorsize": "512", "sectorsize": "512"}, "description": "SCSI Disk", "dev": "8:16", "handle": "SCSI:06:00:00:00", "id": "disk", "logicalname": "/dev/sdb", "physid": "0.0.0", "product": "DataTraveler 3.0", "serial": "0", "size": 30943995904, "units": "bytes", "vendor": "Kingston"}], "claimed": true, "class": "storage", "configuration": {"driver": "usb-storage", "maxpower": "296mA", "speed": "5000Mbit/s"}, "description": "Mass storage device", "handle": "USB:4:2", "id": "usb", "logicalname": "scsi6", "physid": "1", "product": "DataTraveler 3.0", "serial": "E0D55EA573CCF4A1487A0045", "vendor": "Kingston", "version": "0.01"}], "claimed": true, "class": "bus", "configuration": {"driver": "hub", "slots": "4", "speed": "5000Mbit/s"}, "handle": "USB:4:1", "id": "usbhost:1", "logicalname": "usb4", "physid": "1", "product": "xHCI Host Controller", "vendor": "Linux 4.9.0-14-686-pae xhci-hcd", "version": "4.09"}], "claimed": true, "class": "bus", "clock": 33000000, "configuration": {"driver": "xhci_hcd", "latency": "0"}, "description": "USB controller", "handle": "PCI:0000:00:14.0", "id": "usb:0", "physid": "14", "product": "7 Series/C210 Series Chipset Family USB xHCI Host Controller", "vendor": "Intel Corporation", "version": "04", "width": 64}, {"businfo": "pci@0000:00:16.0", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "msi": "Message Signalled Interrupts", "pm": "Power Management"}, "claimed": true, "class": "communication", "clock": 33000000, "configuration": {"driver": "mei_me", "latency": "0"}, "description": "Communication controller", "handle": "PCI:0000:00:16.0", "id": "communication", "physid": "16", "product": "7 Series/C216 Chipset Family MEI Controller #1", "vendor": "Intel Corporation", "version": "04", "width": 64}, {"businfo": "pci@0000:00:1a.0", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "debug": "Debug port", "ehci": "Enhanced Host Controller Interface (USB2)", "pm": "Power Management"}, "children": [{"businfo": "usb@1", "capabilities": {"usb-2.00": "USB 2.0"}, "children": [{"businfo": "usb@1:1", "capabilities": {"usb-2.00": "USB 2.0"}, "children": [{"businfo": "usb@1:1.1", "capabilities": {"bluetooth": "Bluetooth wireless radio", "usb-1.10": "USB 1.1"}, "claimed": true, "class": "communication", "configuration": {"driver": "btusb", "maxpower": "100mA", "speed": "12Mbit/s"}, "description": "Bluetooth wireless interface", "handle": "USB:1:5", "id": "usb:0", "physid": "1", "vendor": "Foxconn / Hon Hai", "version": "0.02"}, {"businfo": "usb@1:1.3", "capabilities": {"usb-2.00": "USB 2.0"}, "claimed": true, "class": "multimedia", "configuration": {"driver": "uvcvideo", "maxpower": "500mA", "speed": "480Mbit/s"}, "description": "Video", "handle": "USB:1:3", "id": "usb:1", "physid": "3", "product": "HD WebCam", "vendor": "SunplusIT INC.", "version": "44.02"}], "claimed": true, "class": "bus", "configuration": {"driver": "hub", "slots": "6", "speed": "480Mbit/s"}, "description": "USB hub", "handle": "USB:1:2", "id": "usb", "physid": "1", "product": "Integrated Rate Matching Hub", "vendor": "Intel Corp.", "version": "0.00"}], "claimed": true, "class": "bus", "configuration": {"driver": "hub", "slots": "2", "speed": "480Mbit/s"}, "handle": "USB:1:1", "id": "usbhost", "logicalname": "usb1", "physid": "1", "product": "EHCI Host Controller", "vendor": "Linux 4.9.0-14-686-pae ehci_hcd", "version": "4.09"}], "claimed": true, "class": "bus", "clock": 33000000, "configuration": {"driver": "ehci-pci", "latency": "0"}, "description": "USB controller", "handle": "PCI:0000:00:1a.0", "id": "usb:1", "physid": "1a", "product": "7 Series/C216 Chipset Family USB Enhanced Host Controller #2", "vendor": "Intel Corporation", "version": "04", "width": 32}, {"businfo": "pci@0000:00:1b.0", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "msi": "Message Signalled Interrupts", "pciexpress": "PCI Express", "pm": "Power Management"}, "claimed": true, "class": "multimedia", "clock": 33000000, "configuration": {"driver": "snd_hda_intel", "latency": "0"}, "description": "Audio device", "handle": "PCI:0000:00:1b.0", "id": "multimedia", "physid": "1b", "product": "7 Series/C216 Chipset Family High Definition Audio Controller", "vendor": "Intel Corporation", "version": "04", "width": 64}, {"businfo": "pci@0000:00:1c.0", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "msi": "Message Signalled Interrupts", "normal_decode": true, "pci": true, "pciexpress": "PCI Express", "pm": "Power Management"}, "children": [{"businfo": "pci@0000:02:00.0", "capabilities": {"1000bt": "1Gbit/s", "1000bt-fd": "1Gbit/s (full duplex)", "100bt": "100Mbit/s", "100bt-fd": "100Mbit/s (full duplex)", "10bt": "10Mbit/s", "10bt-fd": "10Mbit/s (full duplex)", "autonegotiation": "Auto-negotiation", "bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "ethernet": true, "msi": "Message Signalled Interrupts", "msix": "MSI-X", "pciexpress": "PCI Express", "physical": "Physical interface", "pm": "Power Management", "rom": "extension ROM", "tp": "twisted pair"}, "capacity": 1000000000, "claimed": true, "class": "network", "clock": 33000000, "configuration": {"autonegotiation": "on", "broadcast": "yes", "driver": "tg3", "driverversion": "3.137", "duplex": "full", "firmware": "sb", "ip": "192.168.5.204", "latency": "0", "link": "yes", "multicast": "yes", "port": "twisted pair", "speed": "1Gbit/s"}, "description": "Ethernet interface", "handle": "PCI:0000:02:00.0", "id": "network", "logicalname": "enp2s0f0", "physid": "0", "product": "NetLink BCM57785 Gigabit Ethernet PCIe", "serial": "20:89:84:58:88:15", "size": 1000000000, "units": "bit/s", "vendor": "Broadcom Inc. and subsidiaries", "version": "10", "width": 64}, {"businfo": "pci@0000:02:00.1", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "msi": "Message Signalled Interrupts", "pciexpress": "PCI Express", "pm": "Power Management"}, "claimed": true, "class": "generic", "clock": 33000000, "configuration": {"driver": "sdhci-pci", "latency": "0"}, "description": "SD Host controller", "handle": "PCI:0000:02:00.1", "id": "generic:0", "physid": "0.1", "product": "BCM57765/57785 SDXC/MMC Card Reader", "vendor": "Broadcom Inc. and subsidiaries", "version": "10", "width": 64}, {"businfo": "pci@0000:02:00.2", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "msi": "Message Signalled Interrupts", "pciexpress": "PCI Express", "pm": "Power Management"}, "class": "generic", "clock": 33000000, "configuration": {"latency": "0"}, "description": "System peripheral", "handle": "PCI:0000:02:00.2", "id": "generic:1", "physid": "0.2", "product": "BCM57765/57785 MS Card Reader", "vendor": "Broadcom Inc. and subsidiaries", "version": "10", "width": 64}, {"businfo": "pci@0000:02:00.3", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "msi": "Message Signalled Interrupts", "pciexpress": "PCI Express", "pm": "Power Management"}, "class": "generic", "clock": 33000000, "configuration": {"latency": "0"}, "description": "System peripheral", "handle": "PCI:0000:02:00.3", "id": "generic:2", "physid": "0.3", "product": "BCM57765/57785 xD-Picture Card Reader", "vendor": "Broadcom Inc. and subsidiaries", "version": "10", "width": 64}], "claimed": true, "class": "bridge", "clock": 33000000, "configuration": {"driver": "pcieport"}, "description": "PCI bridge", "handle": "PCIBUS:0000:02", "id": "pci:1", "physid": "1c", "product": "7 Series/C216 Chipset Family PCI Express Root Port 1", "vendor": "Intel Corporation", "version": "c4", "width": 32}, {"businfo": "pci@0000:00:1c.1", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "msi": "Message Signalled Interrupts", "normal_decode": true, "pci": true, "pciexpress": "PCI Express", "pm": "Power Management"}, "children": [{"businfo": "pci@0000:03:00.0", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "ethernet": true, "msi": "Message Signalled Interrupts", "pciexpress": "PCI Express", "physical": "Physical interface", "pm": "Power Management", "rom": "extension ROM", "wireless": "Wireless-LAN"}, "claimed": true, "class": "network", "clock": 33000000, "configuration": {"broadcast": "yes", "driver": "ath9k", "driverversion": "4.9.0-14-686-pae", "firmware": "N/A", "latency": "0", "link": "no", "multicast": "yes", "wireless": "IEEE 802.11"}, "description": "Wireless interface", "disabled": true, "handle": "PCI:0000:03:00.0", "id": "network", "logicalname": "wlp3s0", "physid": "0", "product": "AR9462 Wireless Network Adapter", "serial": "f4:b7:e2:67:5d:7b", "vendor": "Qualcomm Atheros", "version": "01", "width": 64}], "claimed": true, "class": "bridge", "clock": 33000000, "configuration": {"driver": "pcieport"}, "description": "PCI bridge", "handle": "PCIBUS:0000:03", "id": "pci:2", "physid": "1c.1", "product": "7 Series/C210 Series Chipset Family PCI Express Root Port 2", "vendor": "Intel Corporation", "version": "c4", "width": 32}, {"businfo": "pci@0000:00:1d.0", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "debug": "Debug port", "ehci": "Enhanced Host Controller Interface (USB2)", "pm": "Power Management"}, "children": [{"businfo": "usb@2", "capabilities": {"usb-2.00": "USB 2.0"}, "children": [{"businfo": "usb@2:1", "capabilities": {"usb-2.00": "USB 2.0"}, "claimed": true, "class": "bus", "configuration": {"driver": "hub", "slots": "8", "speed": "480Mbit/s"}, "description": "USB hub", "handle": "USB:2:2", "id": "usb", "physid": "1", "product": "Integrated Rate Matching Hub", "vendor": "Intel Corp.", "version": "0.00"}], "claimed": true, "class": "bus", "configuration": {"driver": "hub", "slots": "2", "speed": "480Mbit/s"}, "handle": "USB:2:1", "id": "usbhost", "logicalname": "usb2", "physid": "1", "product": "EHCI Host Controller", "vendor": "Linux 4.9.0-14-686-pae ehci_hcd", "version": "4.09"}], "claimed": true, "class": "bus", "clock": 33000000, "configuration": {"driver": "ehci-pci", "latency": "0"}, "description": "USB controller", "handle": "PCI:0000:00:1d.0", "id": "usb:2", "physid": "1d", "product": "7 Series/C216 Chipset Family USB Enhanced Host Controller #1", "vendor": "Intel Corporation", "version": "04", "width": 32}, {"businfo": "pci@0000:00:1f.0", "capabilities": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "isa": true}, "claimed": true, "class": "bridge", "clock": 33000000, "configuration": {"driver": "lpc_ich", "latency": "0"}, "description": "ISA bridge", "handle": "PCI:0000:00:1f.0", "id": "isa", "physid": "1f", "product": "HM77 Express Chipset LPC Controller", "vendor": "Intel Corporation", "version": "04", "width": 32}, {"businfo": "pci@0000:00:1f.2", "capabilities": {"ahci_1.0": true, "bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "msi": "Message Signalled Interrupts", "pm": "Power Management", "storage": true}, "claimed": true, "class": "storage", "clock": 66000000, "configuration": {"driver": "ahci", "latency": "0"}, "description": "SATA controller", "handle": "PCI:0000:00:1f.2", "id": "storage", "physid": "1f.2", "product": "7 Series Chipset Family 6-port SATA Controller [AHCI mode]", "vendor": "Intel Corporation", "version": "04", "width": 32}, {"businfo": "pci@0000:00:1f.3", "claimed": true, "class": "bus", "clock": 33000000, "configuration": {"driver": "i801_smbus", "latency": "0"}, "description": "SMBus", "handle": "PCI:0000:00:1f.3", "id": "serial", "physid": "1f.3", "product": "7 Series/C216 Chipset Family SMBus Controller", "vendor": "Intel Corporation", "version": "04", "width": 64}], "claimed": true, "class": "bridge", "clock": 33000000, "configuration": {"driver": "ivb_uncore"}, "description": "Host bridge", "handle": "PCIBUS:0000:00", "id": "pci", "physid": "100", "product": "3rd Gen Core processor DRAM Controller", "vendor": "Intel Corporation", "version": "09", "width": 32}, {"capabilities": {"emulated": "Emulated device"}, "children": [{"businfo": "scsi@0:0.0.0", "claimed": true, "class": "disk", "configuration": {"ansiversion": "5", "logicalsectorsize": "512", "sectorsize": "512"}, "description": "ATA Disk", "dev": "8:0", "handle": "SCSI:00:00:00:00", "id": "disk", "logicalname": "/dev/sda", "physid": "0.0.0", "product": "ST9320423AS", "serial": "5VJ6G7TF", "size": 320072933376, "units": "bytes", "vendor": "Seagate", "version": "HPM1"}], "claimed": true, "class": "storage", "id": "scsi:0", "logicalname": "scsi0", "physid": "1"}, {"capabilities": {"emulated": "Emulated device"}, "children": [{"businfo": "scsi@2:0.0.0", "capabilities": {"audio": "Audio CD playback", "cd-r": "CD-R burning", "cd-rw": "CD-RW burning", "dvd": "DVD playback", "dvd-r": "DVD-R burning", "dvd-ram": "DVD-RAM burning", "removable": "support is removable"}, "claimed": true, "class": "disk", "configuration": {"ansiversion": "5", "status": "nodisc"}, "description": "DVD-RAM writer", "dev": "11:0", "handle": "SCSI:02:00:00:00", "id": "cdrom", "logicalname": ["/dev/cdrom", "/dev/cdrw", "/dev/dvd", "/dev/dvdrw", "/dev/sr0"], "physid": "0.0.0", "product": "DVDRAM GT51N", "vendor": "HL-DT-ST", "version": "1.01"}], "claimed": true, "class": "storage", "id": "scsi:1", "logicalname": "scsi2", "physid": "2"}], "claimed": true, "class": "bus", "description": "Motherboard", "handle": "DMI:0002", "id": "core", "physid": "0", "product": "BA51_HC_CR", "serial": "NBM6B11001303351931601", "slot": "Type2 - Board Chassis Location", "vendor": "Acer", "version": "Type2 - Board Version"}], "claimed": true, "class": "system", "configuration": {"chassis": "notebook", "cpus": "1", "family": "Type1Family", "sku": "TravelMate P253_064C_V2.11", "uuid": "5A8A2C9C-5B9C-11E2-9E12-208984588815"}, "description": "Notebook", "handle": "DMI:0001", "id": "debian", "product": "TravelMate P253 (TravelMate P253_064C_V2.11)", "serial": "NXV8AEB0013031EACE1601", "vendor": "Acer", "version": "V2.11", "width": 32}}, "device": {"actions": [{"elapsed": 1, "rate": 0.8657, "type": "BenchmarkRamSysbench"}], "chassis": "Netbook", "manufacturer": "Acer", "model": "TravelMate P253", "serialNumber": "NXV8AEB0013031EACE1601", "sku": "TravelMate P253_064C_V2.11", "type": "Laptop", "version": "V2.11"}, "elapsed": 12789, "endTime": "2023-01-05T13:04:00.718875+00:00", "software": "Workbench", "type": "Snapshot", "uuid": "db523f01-92b2-4282-af2a-d9a653f93d45", "version": "11.0b11"} \ No newline at end of file diff --git a/examples_migration_files/device-lots.csv b/examples_migration_files/device-lots.csv new file mode 100644 index 0000000..9b0b571 --- /dev/null +++ b/examples_migration_files/device-lots.csv @@ -0,0 +1,2 @@ +"lot_name";"dhid" +"t1";"ZZZZ" \ No newline at end of file diff --git a/examples_migration_files/lot.csv b/examples_migration_files/lot.csv new file mode 100644 index 0000000..d670e18 --- /dev/null +++ b/examples_migration_files/lot.csv @@ -0,0 +1,5 @@ +"name";"type" +"t1";"temporal" +"o2";"outgoing" +"i3";"incoming" +"o4";"outgoing" \ No newline at end of file diff --git a/examples_migration_files/test_migration_dhid.csv b/examples_migration_files/test_migration_dhid.csv new file mode 100644 index 0000000..2a8dd83 --- /dev/null +++ b/examples_migration_files/test_migration_dhid.csv @@ -0,0 +1,2 @@ +"dhid";"uuid" +"ZZZZ";"db523f01-92b2-4282-af2a-d9a653f93d45" \ No newline at end of file diff --git a/migration-script.py b/migration-script.py index 8c10f1a..ac4b7b5 100644 --- a/migration-script.py +++ b/migration-script.py @@ -13,6 +13,7 @@ from django.contrib.auth import get_user_model from utils.save_snapshots import move_json, save_in_disk from evidence.parse import Build from evidence.models import Annotation +from lot.models import Lot, LotTag, DeviceLot logger = logging.getLogger(__name__) @@ -120,6 +121,62 @@ def migrate_snapshots(row, user): ### end migration snapshots ### +### migration lots ### +def migrate_lots(row, user): + tag = row.get("type", "Temporal") + name = row.get("name") + ltag = LotTag.objects.filter(name=tag, owner=user.institution).first() + if tag and not ltag: + ltag = LotTag.objects.create( + name=tag, + owner=user.institution, + user=user + ) + + lot = Lot.objects.filter(name=tag, owner=user.institution).first() + if not lot: + lot = Lot.objects.create( + name=name, + owner=user.institution, + user=user, + type=ltag + ) + + +def add_device_in_lot(row, user): + lot_name = row.get("lot_name") + dhid = row.get("dhid") + + if not lot_name or not dhid: + return + + dev = Annotation.objects.filter( + type=Annotation.Type.SYSTEM, + key='CUSTOM_ID', + value=dhid, + owner=user.institution, + ).first() + + lot = Lot.objects.filter( + name=lot_name, + owner=user.institution, + user=user, + ).first() + + if not lot: + lot = Lot.objects.create( + name=lot_name, + owner=user.institution, + user=user, + ) + + if DeviceLot.objects.filter(lot=lot, device_id=dev.uuid).exists(): + return + DeviceLot.objects.create(lot=lot, device_id=dev.uuid) + +### end migration lots ### + + ### initial main ### def prepare_logger(): @@ -140,8 +197,16 @@ def parse_args(): usage="migration-script.py [-h] [--csv CSV]", description="Csv file with datas to migratie.") parser.add_argument( - '--csv', - help="path to the data file." + '--csv-dhid', + help="path to the csv file with relation dhid and uuid." + ) + parser.add_argument( + '--lots', + help="path to the csv file with relation lot_name and type of lot." + ) + parser.add_argument( + '--csv-lots', + help="path to the csv file with relation lot_name and type of lot." ) parser.add_argument( '--email', @@ -158,14 +223,21 @@ def main(): prepare_logger() logger.info("START") args = parse_args() - - global PATH_SNAPTHOPS - PATH_SNAPTHOPS = args.snapshots user = User.objects.get(email=args.email) - for row in open_csv(args.csv): - migrate_snapshots(row, user) + if args.snapshots: + global PATH_SNAPTHOPS + PATH_SNAPTHOPS = args.snapshots + if args.csv_dhid: + # migration snapthots + for row in open_csv(args.csv): + migrate_snapshots(row, user) + + # migration lots + if args.lots: + for row in open_csv(args.lots): + migrate_lots(row, user) if __name__ == '__main__': main()