From cc687fa4ead530463467c9d479d5a75981a38581 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Thu, 22 Apr 2021 11:50:34 +0200 Subject: [PATCH 1/9] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index fba01d57..f622648a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,7 @@ ml). ## [1.0.5-beta] - [addend] #124 adding endpoint for extract the internal stats of use - [addend] #122 system for verify all documents that it's produced from devicehub +- [addend] #127 add one code for every named tag - [addend] #131 add one code for every device ## [1.0.4-beta] From e496f8009c5b5cebcab23a3653e4cb186a721e43 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 26 Apr 2021 15:22:09 +0200 Subject: [PATCH 2/9] replicate bug in test --- tests/test_device_find.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/test_device_find.py b/tests/test_device_find.py index 12d6c3d8..476ec36d 100644 --- a/tests/test_device_find.py +++ b/tests/test_device_find.py @@ -248,6 +248,8 @@ def test_device_query_search(user: UserClient): assert i['items'][0]['id'] == 1 i, _ = user.get(res=Device, query=[('search', 'intel')]) assert len(i['items']) == 1 + i, _ = user.get(res=Device, query=[('search', i['items'][0]['devicehubID'])]) + assert len(i['items']) == 1 i, _ = user.get(res=Device, query=[('search', '1')]) assert len(i['items']) == 1 From a65e4ffb821c85a6d71beb595e255473d5a23047 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 26 Apr 2021 15:22:30 +0200 Subject: [PATCH 3/9] fixing bug --- .../8d34480c82c4_add_code_device_search.py | 49 +++++++++++++++++++ ereuse_devicehub/resources/device/search.py | 10 +++- ereuse_devicehub/resources/device/views.py | 10 +++- 3 files changed, 66 insertions(+), 3 deletions(-) create mode 100644 ereuse_devicehub/migrations/versions/8d34480c82c4_add_code_device_search.py diff --git a/ereuse_devicehub/migrations/versions/8d34480c82c4_add_code_device_search.py b/ereuse_devicehub/migrations/versions/8d34480c82c4_add_code_device_search.py new file mode 100644 index 00000000..fbc5e3b0 --- /dev/null +++ b/ereuse_devicehub/migrations/versions/8d34480c82c4_add_code_device_search.py @@ -0,0 +1,49 @@ +"""add code device search + +Revision ID: 8d34480c82c4 +Revises: 8cb91ad1cc40 +Create Date: 2021-04-26 12:00:36.635784 + +""" +from alembic import op +from alembic import context +import sqlalchemy as sa +from sqlalchemy.dialects import postgresql + +from ereuse_devicehub.resources.device.search import DeviceSearch + + +# revision identifiers, used by Alembic. +revision = '8d34480c82c4' +down_revision = '8cb91ad1cc40' +branch_labels = None +depends_on = None + + +def get_inv(): + INV = context.get_x_argument(as_dictionary=True).get('inventory') + if not INV: + raise ValueError("Inventory value is not specified") + return INV + +def upgrade(): + op.add_column('device_search', + sa.Column('devicehub_ids', + postgresql.TSVECTOR(), + nullable=True), + schema=f'{get_inv()}') + + op.create_index('devicehub_ids gist', + 'device_search', + ['devicehub_ids'], + unique=False, + postgresql_using='gist', + schema=f'{get_inv()}') + + # Next of the migration execute: dh inv search + +def downgrade(): + op.drop_index('devicehub_ids gist', + table_name='device_search', + schema=f'{get_inv()}') + op.drop_column('device_search', 'devicehub_ids', schema=f'{get_inv()}') diff --git a/ereuse_devicehub/resources/device/search.py b/ereuse_devicehub/resources/device/search.py index f8786d18..2f87da6a 100644 --- a/ereuse_devicehub/resources/device/search.py +++ b/ereuse_devicehub/resources/device/search.py @@ -26,12 +26,14 @@ class DeviceSearch(db.Model): properties = db.Column(TSVECTOR, nullable=False) tags = db.Column(TSVECTOR) + devicehub_ids = db.Column(TSVECTOR) __table_args__ = ( # todo to add concurrency this should be commited separately # see https://docs.sqlalchemy.org/en/latest/dialects/postgresql.html#indexes-with-concurrently db.Index('properties gist', properties, postgresql_using='gist'), db.Index('tags gist', tags, postgresql_using='gist'), + db.Index('devicehub_ids gist', devicehub_ids, postgresql_using='gist'), { 'prefixes': ['UNLOGGED'] # Only for temporal tables, can cause table to empty on turn on @@ -140,10 +142,16 @@ class DeviceSearch(db.Model): ) ).filter(Tag.device_id == device.id).join(Tag.org) + devicehub_ids = session.query( + search.Search.vectorize( + (db.func.string_agg(Device.devicehub_id, ' '), search.Weight.A), + ) + ).filter(Device.devicehub_id == device.devicehub_id) + # Note that commit flushes later # todo see how to get rid of the one_or_none() by embedding those as subqueries # I don't like this but I want the 'on_conflict_on_update' thingie - device_document = dict(properties=properties.one_or_none(), tags=tags.one_or_none()) + device_document = dict(properties=properties.one_or_none(), tags=tags.one_or_none(), devicehub_ids=devicehub_ids.one_or_none()) insert = postgresql.insert(DeviceSearch.__table__) \ .values(device_id=device.id, **device_document) \ .on_conflict_do_update(constraint='device_search_pkey', set_=device_document) diff --git a/ereuse_devicehub/resources/device/views.py b/ereuse_devicehub/resources/device/views.py index 7877000d..8e032fc7 100644 --- a/ereuse_devicehub/resources/device/views.py +++ b/ereuse_devicehub/resources/device/views.py @@ -54,6 +54,7 @@ class LotQ(query.Query): class Filters(query.Query): id = query.Or(query.Equal(Device.id, fields.Integer())) + devicehub_id = query.Or(query.ILike(Device.devicehub_id)) type = query.Or(OfType(Device.type)) model = query.ILike(Device.model) manufacturer = query.ILike(Device.manufacturer) @@ -154,10 +155,15 @@ class DeviceView(View): if search_p: properties = DeviceSearch.properties tags = DeviceSearch.tags + devicehub_ids = DeviceSearch.devicehub_ids query = query.join(DeviceSearch).filter( - search.Search.match(properties, search_p) | search.Search.match(tags, search_p) + search.Search.match(properties, search_p) | + search.Search.match(tags, search_p) | + search.Search.match(devicehub_ids, search_p) ).order_by( - search.Search.rank(properties, search_p) + search.Search.rank(tags, search_p) + search.Search.rank(properties, search_p) + + search.Search.rank(tags, search_p) + + search.Search.rank(devicehub_ids, search_p) ) return query.filter(*args['filter']).order_by(*args['sort']) From ead8fe00ce0a52bb0d5c4c6345795067f0946842 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Mon, 26 Apr 2021 15:23:41 +0200 Subject: [PATCH 4/9] change changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index f622648a..42c3a696 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -16,6 +16,7 @@ ml). - [addend] #122 system for verify all documents that it's produced from devicehub - [addend] #127 add one code for every named tag - [addend] #131 add one code for every device +- [bugfix] #138 search device with devicehubId ## [1.0.4-beta] - [addend] #95 adding endpoint for check the hash of one report From faf45e118b43f9fcea30f8c353db2ba9bd3a1413 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Tue, 27 Apr 2021 21:33:38 +0200 Subject: [PATCH 5/9] upgrade version to 1.0.6b --- CHANGELOG.md | 6 ++++-- ereuse_devicehub/__init__.py | 2 +- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 42c3a696..3213330a 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,10 +6,12 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ml). ## master - [1.0.4-beta] + [1.0.5-beta] ## testing - [1.0.5-beta] + [1.0.6-beta] + +## [1.0.6-beta] ## [1.0.5-beta] - [addend] #124 adding endpoint for extract the internal stats of use diff --git a/ereuse_devicehub/__init__.py b/ereuse_devicehub/__init__.py index 53f0b176..eeacf9dd 100644 --- a/ereuse_devicehub/__init__.py +++ b/ereuse_devicehub/__init__.py @@ -1 +1 @@ -__version__ = "1.0.5-beta" +__version__ = "1.0.6-beta" From 5b6073de7e2538880da720bf99f1b98f5c466353 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 12 May 2021 12:24:22 +0200 Subject: [PATCH 6/9] adding test about this bug --- .../files/2021-5-4-13-41_time_out_test_datastorage.yaml | 1 + tests/test_snapshot.py | 9 +++++++++ 2 files changed, 10 insertions(+) create mode 100644 tests/files/2021-5-4-13-41_time_out_test_datastorage.yaml diff --git a/tests/files/2021-5-4-13-41_time_out_test_datastorage.yaml b/tests/files/2021-5-4-13-41_time_out_test_datastorage.yaml new file mode 100644 index 00000000..c0489053 --- /dev/null +++ b/tests/files/2021-5-4-13-41_time_out_test_datastorage.yaml @@ -0,0 +1 @@ +{"closed": true, "components": [{"actions": [], "manufacturer": "SEC", "model": "LCD Monitor", "productionDate": "2012-01-01T00:00:00", "refreshRate": 60, "resolutionHeight": 768, "resolutionWidth": 1366, "serialNumber": null, "size": 15.548539594256658, "technology": "LCD", "type": "Display"}, {"actions": [], "manufacturer": "Realtek Semiconductor Co., Ltd.", "model": "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller", "serialNumber": "c8:cb:b8:5a:5a:bb", "speed": 1000.0, "type": "NetworkAdapter", "variant": "07", "wireless": false}, {"actions": [], "manufacturer": "Ralink corp.", "model": "RT3290 Wireless 802.11n 1T/1R PCIe", "serialNumber": "a4:17:31:2b:c9:99", "speed": null, "type": "NetworkAdapter", "variant": "00", "wireless": true}, {"actions": [], "manufacturer": "Intel Corporation", "model": "7 Series/C216 Chipset Family High Definition Audio Controller", "serialNumber": null, "type": "SoundCard"}, {"actions": [], "manufacturer": "Chicony Electronics Co.,Ltd.", "model": "HP Truevision HD", "serialNumber": "0x0001", "type": "SoundCard"}, {"actions": [], "format": "SODIMM", "interface": "DDR3", "manufacturer": "Kingston", "model": "HP536727-H41-ELD", "serialNumber": "552AE579", "size": 4096.0, "speed": 1333.0, "type": "RamModule"}, {"actions": [], "format": "SODIMM", "interface": "DDR3", "manufacturer": null, "model": "F3-12800CL11-4GBSQ", "serialNumber": null, "size": 4096.0, "speed": 1333.0, "type": "RamModule"}, {"actions": [{"elapsed": 15, "readSpeed": 98.7, "type": "BenchmarkDataStorage", "writeSpeed": 22.2}, {"assessment": false, "commandTimeout": 4295819304, "currentPendingSectorCount": 0, "elapsed": 119, "length": "Short", "lifetime": 8766, "offlineUncorrectable": 0, "powerCycleCount": 2280, "reallocatedSectorCount": 0, "reportedUncorrectableErrors": 171, "severity": "Info", "status": "Completed without error", "type": "TestDataStorage"}], "interface": "ATA", "manufacturer": "Seagate", "model": "ST500LT012-9WS14", "serialNumber": "W0V3SHRV", "size": 500107.86201599997, "type": "HardDrive", "variant": "YAM1"}, {"actions": [{"elapsed": 21, "rate": 21.3131, "type": "BenchmarkProcessorSysbench"}, {"elapsed": 0, "rate": 17561.92, "type": "BenchmarkProcessor"}], "address": 64, "brand": "Core i3", "cores": 2, "generation": 2, "manufacturer": "Intel Corp.", "model": "Intel Core i3-2328M CPU @ 2.20GHz", "serialNumber": null, "speed": 0.800964, "threads": 4, "type": "Processor"}, {"actions": [], "manufacturer": "Intel Corporation", "memory": null, "model": "2nd Generation Core Processor Family Integrated Graphics Controller", "serialNumber": null, "type": "GraphicCard"}, {"actions": [], "biosDate": "2014-05-13T00:00:00", "firewire": 0, "manufacturer": "Hewlett-Packard", "model": "1858", "pcmcia": 0, "ramMaxSize": 16, "ramSlots": 2, "serial": 1, "serialNumber": "PCTVLB47V3O95U", "slots": 2, "type": "Motherboard", "usb": 2, "version": "F.39"}], "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: off\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 Physical Memory Array: #0\n Use: 0x03 (System memory)\n Location: 0x03 (Motherboard)\n Slots: 2\n Max. Size: 16 GB\n ECC: 0x03 (None)\n Error Info: #9\n Memory Device: #1\n Location: \"Bottom-Slot 2(under)\"\n Bank: \"BANK 0\"\n Manufacturer: \"Kingston\"\n Serial: \"552AE579\"\n Asset Tag: \"Unknown\"\n Part Number: \"HP536727-H41-ELD\"\n Memory Array: #0\n Error Info: #3\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: 1333 MHz\n 32bit-Memory Error Info: #3\n Type: 0x03 (OK)\n Granularity: 0x02 (Unknown)\n Operation: 0x02 (Unknown)\n Memory Device Mapping: #4\n Memory Device: #1\n Array Mapping: #10\n Row: 1\n Interleave Pos: 1\n Interleaved Depth: 1\n Start Address: 0x0000000000000000\n End Address: 0x0000000100000000\n Memory Device: #5\n Location: \"Bottom-Slot 1(top)\"\n Bank: \"BANK 2\"\n Manufacturer: \"Unknown\"\n Serial: \"00000000\"\n Asset Tag: \"Unknown\"\n Part Number: \"F3-12800CL11-4GBSQ\"\n Memory Array: #0\n Error Info: #7\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: 1333 MHz\n 32bit-Memory Error Info: #7\n Type: 0x03 (OK)\n Granularity: 0x02 (Unknown)\n Operation: 0x02 (Unknown)\n Memory Device Mapping: #8\n Memory Device: #5\n Array Mapping: #10\n Row: 1\n Interleave Pos: 2\n Interleaved Depth: 1\n Start Address: 0x0000000000000000\n End Address: 0x0000000100000000\n 32bit-Memory Error Info: #9\n Type: 0x03 (OK)\n Granularity: 0x02 (Unknown)\n Operation: 0x02 (Unknown)\n Memory Array Mapping: #10\n Memory Array: #0\n Partition Width: 2\n Start Address: 0x0000000000000000\n End Address: 0x0000000200000000\n BIOS Info: #12\n Vendor: \"Insyde\"\n Version: \"F.39\"\n Date: \"05/13/2014\"\n Start Address: 0xe0000\n ROM Size: 2560 kB\n Features: 0x0d03005000014bf99880\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: #13\n Manufacturer: \"Hewlett-Packard\"\n Product: \"HP 650 Notebook PC\"\n Version: \"087F110000305B10002620110\"\n Serial: \"5CB2452RGJ\"\n UUID: undefined, but settable\n Wake-up: 0x06 (Power Switch)\n Board Info: #14\n Manufacturer: \"Hewlett-Packard\"\n Product: \"1858\"\n Version: \"65.34\"\n Serial: \"PCTVLB47V3O95U\"\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: #15\n Chassis Info: #15\n Manufacturer: \"Hewlett-Packard\"\n Version: \"Chassis Version\"\n Serial: \"Chassis Serial Number\"\n Asset Tag: \"Chassis Asset Tag\"\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 OEM Info: 0x0000015b\n Port Connector: #16\n Type: 0x10 (USB)\n Internal Designator: \"J3A1\"\n External Designator: \"USB\"\n External Connector: 0x12 (Access Bus [USB])\n Port Connector: #17\n Type: 0x10 (USB)\n Internal Designator: \"J3A1\"\n External Designator: \"USB\"\n External Connector: 0x12 (Access Bus [USB])\n Port Connector: #18\n Type: 0x10 (USB)\n Internal Designator: \"J3A1\"\n External Designator: \"USB\"\n External Connector: 0x12 (Access Bus [USB])\n Port Connector: #19\n Type: 0x1f (Network Port)\n Internal Designator: \"J5A1\"\n External Designator: \"Network\"\n External Connector: 0x0b (RJ-45)\n Port Connector: #20\n Type: 0x1c (Video Port)\n Internal Designator: \"J2A2\"\n External Designator: \"CRT\"\n External Connector: 0x07 (DB-15 pin female)\n Port Connector: #21\n Type: 0x1c (Video Port)\n Internal Designator: \"J2A3\"\n External Designator: \"HDMI\"\n External Connector: 0xff (Other)\n Port Connector: #22\n Type: 0x1d (Audio Port)\n Internal Designator: \"J30\"\n External Designator: \"Line In\"\n External Connector: 0x1f (Mini-jack [headphones])\n Port Connector: #23\n Type: 0x1d (Audio Port)\n Internal Designator: \"J30\"\n External Designator: \"Speaker Out\"\n External Connector: 0x1f (Mini-jack [headphones])\n System Slot: #24\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: #25\n Designation: \"J6C1\"\n Type: 0xa8 (Other)\n Bus Width: 0x0a (Other)\n Status: 0x03 (Available)\n Length: 0x01 (Other)\n Slot ID: 2\n Characteristics: 0x0300 (PME#, Hot-Plug)\n System Slot: #26\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: #27\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: #28\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: #29\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: #30\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: #31\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 OEM Strings: #32\n $HP$\n LOC#ABE\n ABS 70/71 78 79 7A 7B\n CNB1 087F110000305B10002620110\n String6 for Original Equipment Manufacturer\n String7 for Original Equipment Manufacturer\n String8 for Original Equipment Manufacturer\n Language Info: #34\n Languages: en|US|iso8859-1, fr|CA|iso8859-1, es|ES|iso8859-1, zh|TW|unicode\n Current: es|ES|iso8859-1\n Type 22 Record: #37\n Data 00: 16 1a 25 00 01 02 00 00 03 06 a0 b9 30 2a 04 00\n Data 10: 99 20 30 42 05 01 ff ff 00 00\n String 1: \"Primary\"\n String 2: \"11-85\"\n String 3: \"MU06047\"\n String 4: \"v1.1\"\n String 5: \"Li-ion\"\n Type 32 Record: #41\n Data 00: 20 14 29 00 00 00 00 00 00 00 00 00 00 00 00 00\n Data 10: 00 00 00 00\n Type 41 Record: #44\n Data 00: 29 0b 2c 00 01 83 01 00 00 00 10\n String 1: \"Intel VGA Compatible Controller\"\n Type 41 Record: #49\n Data 00: 29 0b 31 00 01 85 01 00 00 01 00\n String 1: \"Realtek PCIe GBE Family Controller\"\n Type 41 Record: #50\n Data 00: 29 0b 32 00 01 81 01 00 00 02 00\n String 1: \"Ralink RT3290LE 802.11bgn 1x1 Wi-Fi\"\n Processor Info: #51\n Socket: \"U3E1\"\n Socket Type: 0x21 (Other)\n Socket Status: Populated\n Type: 0x03 (CPU)\n Family: 0xce (Other)\n Manufacturer: \"Intel(R) Corporation\"\n Version: \"Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz\"\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: 0xbfebfbff000206a7\n Status: 0x01 (Enabled)\n Voltage: 1.1 V\n External Clock: 100 MHz\n Max. Speed: 4000 MHz\n Current Speed: 2200 MHz\n L1 Cache: #53\n L2 Cache: #54\n L3 Cache: #55\n Cache Info: #52\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: #53\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: #54\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: #55\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 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-0x1efa48fff (rw)\n Memory Size: 7 GB + 512 MB\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n13: PCI 1c.3: 0604 PCI bridge (Normal decode)\n [Created at pci.378]\n Unique ID: Z7uZ.u7w9tKvRfT3\n SysFS ID: /devices/pci0000:00/0000:00:1c.3\n SysFS BusID: 0000:00:1c.3\n Hardware Class: bridge\n Model: \"Intel 7 Series/C216 Chipset Family PCI Express Root Port 4\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e16 \"7 Series/C216 Chipset Family PCI Express Root Port 4\"\n SubVendor: pci 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0xc4\n Driver: \"pcieport\"\n IRQ: 19 (no events)\n Module Alias: \"pci:v00008086d00001E16sv0000103Csd00001858bc06sc04i00\"\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\n14: PCI 1f.3: 0c05 SMBus\n [Created at pci.378]\n Unique ID: nS1_.hgYEEmUINm7\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 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0x04\n Driver: \"i801_smbus\"\n Driver Modules: \"i2c_i801\"\n Memory Range: 0xc2605000-0xc26050ff (rw,non-prefetchable)\n I/O Ports: 0x4040-0x405f (rw)\n IRQ: 19 (no events)\n Module Alias: \"pci:v00008086d00001E22sv0000103Csd00001858bc0Csc05i00\"\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\n15: PCI 00.0: 0600 Host bridge\n [Created at pci.378]\n Unique ID: qLht.YD_egPPIpv4\n SysFS ID: /devices/pci0000:00/0000:00:00.0\n SysFS BusID: 0000:00:00.0\n Hardware Class: bridge\n Model: \"Intel 2nd Generation Core Processor Family DRAM Controller\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x0104 \"2nd Generation Core Processor Family DRAM Controller\"\n SubVendor: pci 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0x09\n Module Alias: \"pci:v00008086d00000104sv0000103Csd00001858bc06sc00i00\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n16: PCI 200.1: 0d11 Bluetooth\n [Created at pci.378]\n Unique ID: 2Oa+.OjlkIcR5cH9\n Parent ID: hoOk.sI1gvBg1ci2\n SysFS ID: /devices/pci0000:00/0000:00:1c.2/0000:02:00.1\n SysFS BusID: 0000:02:00.1\n Hardware Class: unknown\n Model: \"Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter\"\n Vendor: pci 0x1814 \"Ralink corp.\"\n Device: pci 0x3298 \"RT3290 Bluetooth\"\n SubVendor: pci 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x18ec \"Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter\"\n Memory Range: 0xc2500000-0xc250ffff (rw,non-prefetchable)\n IRQ: 11 (no events)\n Module Alias: \"pci:v00001814d00003298sv0000103Csd000018ECbc0Dsc11i00\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #20 (PCI bridge)\n\n17: PCI 1a.0: 0c03 USB Controller (EHCI)\n [Created at pci.378]\n Unique ID: pwJ7.qpeEHYGiHa2\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 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0x04\n Driver: \"ehci-pci\"\n Driver Modules: \"ehci_pci\"\n Memory Range: 0xc2609000-0xc26093ff (rw,non-prefetchable)\n IRQ: 16 (29 events)\n Module Alias: \"pci:v00008086d00001E2Dsv0000103Csd00001858bc0Csc03i20\"\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\n18: PCI 1d.0: 0c03 USB Controller (EHCI)\n [Created at pci.378]\n Unique ID: 1GTX.Dw1+vYRmbuF\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 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0x04\n Driver: \"ehci-pci\"\n Driver Modules: \"ehci_pci\"\n Memory Range: 0xc2608000-0xc26083ff (rw,non-prefetchable)\n IRQ: 23 (9425 events)\n Module Alias: \"pci:v00008086d00001E26sv0000103Csd00001858bc0Csc03i20\"\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 02.0: 0300 VGA compatible controller (VGA)\n [Created at pci.378]\n Unique ID: _Znp.nDJOnrrEzD7\n SysFS ID: /devices/pci0000:00/0000:00:02.0\n SysFS BusID: 0000:00:02.0\n Hardware Class: graphics card\n Device Name: \"Intel VGA Compatible Controller\"\n Model: \"Intel 2nd Generation Core Processor Family Integrated Graphics Controller\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x0116 \"2nd Generation Core Processor Family Integrated Graphics Controller\"\n SubVendor: pci 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0x09\n Driver: \"i915\"\n Driver Modules: \"i915\"\n Memory Range: 0xc2000000-0xc23fffff (rw,non-prefetchable)\n Memory Range: 0xb0000000-0xbfffffff (ro,non-prefetchable)\n I/O Ports: 0x4000-0x403f (rw)\n Memory Range: 0x000c0000-0x000dffff (rw,non-prefetchable,disabled)\n IRQ: 27 (60 events)\n Module Alias: \"pci:v00008086d00000116sv0000103Csd00001858bc03sc00i00\"\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\n20: PCI 1c.2: 0604 PCI bridge (Normal decode)\n [Created at pci.378]\n Unique ID: hoOk.sI1gvBg1ci2\n SysFS ID: /devices/pci0000:00/0000:00:1c.2\n SysFS BusID: 0000:00:1c.2\n Hardware Class: bridge\n Model: \"Intel 7 Series/C210 Series Chipset Family PCI Express Root Port 3\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e14 \"7 Series/C210 Series Chipset Family PCI Express Root Port 3\"\n SubVendor: pci 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0xc4\n Driver: \"pcieport\"\n IRQ: 18 (no events)\n Module Alias: \"pci:v00008086d00001E14sv0000103Csd00001858bc06sc04i00\"\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\n21: PCI 1f.2: 0106 SATA controller (AHCI 1.0)\n [Created at pci.378]\n Unique ID: w7Y8.3v_DiuY8eC2\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 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0x04\n Driver: \"ahci\"\n Driver Modules: \"ahci\"\n I/O Ports: 0x4088-0x408f (rw)\n I/O Ports: 0x4094-0x4097 (rw)\n I/O Ports: 0x4080-0x4087 (rw)\n I/O Ports: 0x4090-0x4093 (rw)\n I/O Ports: 0x4060-0x407f (rw)\n Memory Range: 0xc2607000-0xc26077ff (rw,non-prefetchable)\n IRQ: 26 (479 events)\n Module Alias: \"pci:v00008086d00001E03sv0000103Csd00001858bc01sc06i01\"\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\n22: PCI 300.0: ff00 Unclassified device\n [Created at pci.378]\n Unique ID: svHJ.7DXcN_jgPlC\n Parent ID: Z7uZ.u7w9tKvRfT3\n SysFS ID: /devices/pci0000:00/0000:00:1c.3/0000:03:00.0\n SysFS BusID: 0000:03:00.0\n Hardware Class: unknown\n Model: \"Realtek RTS5229 PCI Express Card Reader\"\n Vendor: pci 0x10ec \"Realtek Semiconductor Co., Ltd.\"\n Device: pci 0x5229 \"RTS5229 PCI Express Card Reader\"\n SubVendor: pci 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0x01\n Driver: \"rtsx_pci\"\n Driver Modules: \"rtsx_pci\"\n Memory Range: 0xc1000000-0xc1000fff (rw,non-prefetchable)\n IRQ: 25 (22 events)\n Module Alias: \"pci:v000010ECd00005229sv0000103Csd00001858bcFFsc00i00\"\n Driver Info #0:\n Driver Status: rtsx_pci is active\n Driver Activation Cmd: \"modprobe rtsx_pci\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #13 (PCI bridge)\n\n23: PCI 1c.0: 0604 PCI bridge (Normal decode)\n [Created at pci.378]\n Unique ID: z8Q3.oeFg_vBDVA1\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 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0xc4\n Driver: \"pcieport\"\n IRQ: 17 (no events)\n Module Alias: \"pci:v00008086d00001E10sv0000103Csd00001858bc06sc04i00\"\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\n24: PCI 1f.0: 0601 ISA bridge\n [Created at pci.378]\n Unique ID: BUZT.yM96SWmd_t5\n SysFS ID: /devices/pci0000:00/0000:00:1f.0\n SysFS BusID: 0000:00:1f.0\n Hardware Class: bridge\n Model: \"Intel HM75 Express Chipset LPC Controller\"\n Vendor: pci 0x8086 \"Intel Corporation\"\n Device: pci 0x1e5d \"HM75 Express Chipset LPC Controller\"\n SubVendor: pci 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0x04\n Driver: \"lpc_ich\"\n Driver Modules: \"lpc_ich\"\n Module Alias: \"pci:v00008086d00001E5Dsv0000103Csd00001858bc06sc01i00\"\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\n25: PCI 200.0: 0282 WLAN controller\n [Created at pci.378]\n Unique ID: S6TQ.MxvvoCwdjwB\n Parent ID: hoOk.sI1gvBg1ci2\n SysFS ID: /devices/pci0000:00/0000:00:1c.2/0000:02:00.0\n SysFS BusID: 0000:02:00.0\n Hardware Class: network\n Device Name: \"Ralink RT3290LE 802.11bgn 1x1 Wi-Fi\"\n Model: \"Hewlett-Packard Company Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter\"\n Vendor: pci 0x1814 \"Ralink corp.\"\n Device: pci 0x3290 \"RT3290 Wireless 802.11n 1T/1R PCIe\"\n SubVendor: pci 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x18ec \"Ralink RT3290LE 802.11bgn 1x1 Wi-Fi and Bluetooth 4.0 Combo Adapter\"\n Driver: \"rt2800pci\"\n Driver Modules: \"rt2800pci\"\n Device File: wlo1\n Features: WLAN\n Memory Range: 0xc2510000-0xc251ffff (rw,non-prefetchable)\n IRQ: 18 (no events)\n HW Address: a4:17:31:2b:c9:99\n Permanent HW Address: a4:17:31:2b:c9:99\n Link detected: no\n WLAN channels: 1 2 3 4 5 6 7 8 9 10 11 12 13 14\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 2.484\n WLAN encryption modes: WEP40 WEP104 TKIP CCMP\n WLAN authentication modes: open sharedkey wpa-psk wpa-eap\n Module Alias: \"pci:v00001814d00003290sv0000103Csd000018ECbc02sc80i00\"\n Driver Info #0:\n Driver Status: rt2800pci is active\n Driver Activation Cmd: \"modprobe rt2800pci\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #20 (PCI bridge)\n\n26: PCI 16.0: 0780 Communication controller\n [Created at pci.378]\n Unique ID: WnlC.PAfzourt1C4\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 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0x04\n Driver: \"mei_me\"\n Driver Modules: \"mei_me\"\n Memory Range: 0xc2604000-0xc260400f (rw,non-prefetchable)\n IRQ: 28 (15 events)\n Module Alias: \"pci:v00008086d00001E3Asv0000103Csd00001858bc07sc80i00\"\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\n27: PCI 100.0: 0200 Ethernet controller\n [Created at pci.378]\n Unique ID: wcdH.sjC_dQ9MUK2\n Parent ID: z8Q3.oeFg_vBDVA1\n SysFS ID: /devices/pci0000:00/0000:00:1c.0/0000:01:00.0\n SysFS BusID: 0000:01:00.0\n Hardware Class: network\n Device Name: \"Realtek PCIe GBE Family Controller\"\n Model: \"Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller\"\n Vendor: pci 0x10ec \"Realtek Semiconductor Co., Ltd.\"\n Device: pci 0x8168 \"RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller\"\n SubVendor: pci 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0x07\n Driver: \"r8169\"\n Driver Modules: \"r8169\"\n Device File: eno1\n I/O Ports: 0x3000-0x3fff (rw)\n Memory Range: 0xc2404000-0xc2404fff (ro,non-prefetchable)\n Memory Range: 0xc2400000-0xc2403fff (ro,non-prefetchable)\n IRQ: 24 (33 events)\n HW Address: c8:cb:b8:5a:5a:bb\n Permanent HW Address: c8:cb:b8:5a:5a:bb\n Link detected: yes\n Module Alias: \"pci:v000010ECd00008168sv0000103Csd00001858bc02sc00i00\"\n Driver Info #0:\n Driver Status: r8169 is active\n Driver Activation Cmd: \"modprobe r8169\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #23 (PCI bridge)\n\n28: PCI 1b.0: 0403 Audio device\n [Created at pci.378]\n Unique ID: u1Nb.VYL+dt4oNC7\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 0x103c \"Hewlett-Packard Company\"\n SubDevice: pci 0x1858 \n Revision: 0x04\n Driver: \"snd_hda_intel\"\n Driver Modules: \"snd_hda_intel\"\n Memory Range: 0xc2600000-0xc2603fff (rw,non-prefetchable)\n IRQ: 29 (422 events)\n Module Alias: \"pci:v00008086d00001E20sv0000103Csd00001858bc04sc03i00\"\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\n29: None 00.0: 10002 LCD Monitor\n [Created at monitor.125]\n Unique ID: rdCR.w6MDDLMZW2E\n Parent ID: _Znp.nDJOnrrEzD7\n Hardware Class: monitor\n Model: \"LCD Monitor\"\n Vendor: SEC \n Device: eisa 0x325a \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 1430 1478 1606 (+64 +112 +240) -hsync\n Vertical: 768 770 775 792 (+2 +7 +24) -vsync\n Frequencies: 50.80 MHz, 31.63 kHz, 39.94 Hz\n Year of Manufacture: 2012\n Week of Manufacture: 0\n Detailed Timings #1:\n Resolution: 1366x768\n Horizontal: 1366 1430 1478 1606 (+64 +112 +240) -hsync\n Vertical: 768 770 775 792 (+2 +7 +24) -vsync\n Frequencies: 76.30 MHz, 47.51 kHz, 59.99 Hz\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #19 (VGA compatible controller)\n\n30: ISA(PnP) 00.0: 0000 Unclassified device\n [Created at isapnp.142]\n Unique ID: z9pp.B+yZ9Ve8gC1\n SysFS ID: /devices/pnp0/00:00\n SysFS BusID: 00:00\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\n31: 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\n32: ISA(PnP) 00.0: 0000 Unclassified device\n [Created at isapnp.142]\n Unique ID: KiZ0.ealKjhMMg54\n SysFS ID: /devices/pnp0/00:03\n SysFS BusID: 00:03\n Hardware Class: unknown\n Model: \"Unclassified device\"\n SubVendor: HPQ \n SubDevice: eisa 0x8001 \n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n33: ISA(PnP) 00.0: 0000 Unclassified device\n [Created at isapnp.142]\n Unique ID: QL3u.WYwRElrJa93\n SysFS ID: /devices/pnp0/00:01\n SysFS BusID: 00:01\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\n34: 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\n35: ISA(PnP) 00.0: 0000 Unclassified device\n [Created at isapnp.142]\n Unique ID: ntp4.lcHkZueIptF\n SysFS ID: /devices/pnp0/00:04\n SysFS BusID: 00:04\n Hardware Class: unknown\n Model: \"Unclassified device\"\n SubVendor: SYN \n SubDevice: eisa 0x1e68 \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: tWJy.fzmL0Yx8Ld7\n SysFS ID: /devices/pnp0/00:02\n SysFS BusID: 00:02\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\n37: SCSI 600.0: 10600 Disk\n [Created at block.245]\n Unique ID: tGrL.VJYcNaX5Ib0\n Parent ID: 1GTX.Dw1+vYRmbuF\n SysFS ID: /class/block/sdb\n SysFS BusID: 6:0:0:0\n SysFS Device Link: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.2/2-1.2:1.0/host6/target6:0:0/6:0:0:0\n Hardware Class: disk\n Model: \"TOSHIBA TransMemory\"\n Vendor: usb 0x0930 \"TOSHIBA\"\n Device: usb 0x6544 \"TransMemory\"\n Revision: \"1.00\"\n Serial ID: \"B\"\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-TOSHIBA_TransMemory_B2910FB31BD7CEA033DE686E-0:0, /dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:0\n Device Number: block 8:16-8:31 (char 21:2)\n Geometry (Logical): CHS 1022/239/62\n Size: 15155200 sectors a 512 bytes\n Capacity: 7 GB (7759462400 bytes)\n Speed: 480 Mbps\n Module Alias: \"usb:v0930p6544d0100dc00dsc00dp00ic08isc06ip50in00\"\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: #18 (USB Controller)\n\n38: None 00.0: 11300 Partition\n [Created at block.434]\n Unique ID: h4pj.SE1wIdpsiiC\n Parent ID: tGrL.VJYcNaX5Ib0\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-TOSHIBA_TransMemory_B2910FB31BD7CEA033DE686E-0:0-part1, /dev/disk/by-label/ISOIMAGE, /dev/disk/by-partuuid/00de13ce-01, /dev/disk/by-path/pci-0000:00:1d.0-usb-0:1.2:1.0-scsi-0:0:0:0-part1, /dev/disk/by-uuid/3695-7B86\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #37 (Disk)\n\n39: SCSI 200.0: 10602 CD-ROM (DVD)\n [Created at block.249]\n Unique ID: KD9E.me6G04CQ0G1\n Parent ID: w7Y8.3v_DiuY8eC2\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: \"hp DVD A DS8A8SH\"\n Vendor: \"hp\"\n Device: \"DVD A DS8A8SH\"\n Revision: \"KH63\"\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-hp_DVD_A_DS8A8SH_656243044983, /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: #21 (SATA controller)\n Drive Speed: 24\n\n40: IDE 00.0: 10600 Disk\n [Created at block.245]\n Unique ID: 3OOL.cpntrRN2+88\n Parent ID: w7Y8.3v_DiuY8eC2\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: \"ST500LT012-9WS14\"\n Device: \"ST500LT012-9WS14\"\n Revision: \"YAM1\"\n Serial ID: \"W0V3SHRV\"\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-ST500LT012-9WS142_W0V3SHRV, /dev/disk/by-id/wwn-0x5000c5005ce5d111, /dev/disk/by-path/pci-0000:00:1f.2-ata-1\n Device Number: block 8:0-8:15\n Geometry (Logical): CHS 60801/255/63\n Size: 976773168 sectors a 512 bytes\n Capacity: 465 GB (500107862016 bytes)\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #21 (SATA controller)\n\n41: USB 00.1: 0000 Unclassified device\n [Created at usb.122]\n Unique ID: maja.+kCojFDUyKC\n Parent ID: FKGF.4Nx_qoDfSd7\n SysFS ID: /devices/pci0000:00/0000:00:1d.0/usb2/2-1/2-1.3/2-1.3:1.1\n SysFS BusID: 2-1.3:1.1\n Hardware Class: unknown\n Model: \"Chicony Electronics HP Truevision HD\"\n Hotplug: USB\n Vendor: usb 0x04f2 \"Chicony Electronics Co., Ltd\"\n Device: usb 0xb34f \"HP Truevision HD\"\n Revision: \"60.47\"\n Serial ID: \"0x0001\"\n Driver: \"uvcvideo\"\n Driver Modules: \"uvcvideo\"\n Speed: 480 Mbps\n Module Alias: \"usb:v04F2pB34Fd6047dcEFdsc02dp01ic0Eisc02ip00in01\"\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #42 (Hub)\n\n42: 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: #47 (Hub)\n\n44: USB 00.0: 10a00 Hub\n [Created at usb.122]\n Unique ID: k4bc.FHd55n4xKo7\n Parent ID: pwJ7.qpeEHYGiHa2\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: #17 (USB Controller)\n\n46: 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: #44 (Hub)\n\n47: USB 00.0: 10a00 Hub\n [Created at usb.122]\n Unique ID: pBe4.oLWCeziExdF\n Parent ID: 1GTX.Dw1+vYRmbuF\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: #18 (USB Controller)\n\n48: 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\n49: PS/2 00.0: 10500 PS/2 Mouse\n [Created at input.249]\n Unique ID: AH6Q.ZHI3OT7LsxA\n Hardware Class: mouse\n Model: \"SynPS/2 Synaptics TouchPad\"\n Vendor: 0x0002 \n Device: 0x0007 \"SynPS/2 Synaptics 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/event5\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\n50: 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.42.7 \"Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz\"\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,xsave,avx,lahf_lm,epb,ssbd,ibrs,ibpb,stibp,tpr_shadow,vnmi,flexpriority,ept,vpid,xsaveopt,dtherm,arat,pln,pts,md_clear,flush_l1d\n Clock: 1106 MHz\n BogoMips: 4390.48\n Cache: 3072 kb\n Units/Processor: 16\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n51: 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.42.7 \"Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz\"\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,xsave,avx,lahf_lm,epb,ssbd,ibrs,ibpb,stibp,tpr_shadow,vnmi,flexpriority,ept,vpid,xsaveopt,dtherm,arat,pln,pts,md_clear,flush_l1d\n Clock: 833 MHz\n BogoMips: 4390.48\n Cache: 3072 kb\n Units/Processor: 16\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n52: 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.42.7 \"Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz\"\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,xsave,avx,lahf_lm,epb,ssbd,ibrs,ibpb,stibp,tpr_shadow,vnmi,flexpriority,ept,vpid,xsaveopt,dtherm,arat,pln,pts,md_clear,flush_l1d\n Clock: 1333 MHz\n BogoMips: 4390.48\n Cache: 3072 kb\n Units/Processor: 16\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n53: 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.42.7 \"Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz\"\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,xsave,avx,lahf_lm,epb,ssbd,ibrs,ibpb,stibp,tpr_shadow,vnmi,flexpriority,ept,vpid,xsaveopt,dtherm,arat,pln,pts,md_clear,flush_l1d\n Clock: 1292 MHz\n BogoMips: 4390.48\n Cache: 3072 kb\n Units/Processor: 16\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n\n54: None 01.0: 10701 Ethernet\n [Created at net.126]\n Unique ID: VnCh.ndpeucax6V1\n Parent ID: S6TQ.MxvvoCwdjwB\n SysFS ID: /class/net/wlo1\n SysFS Device Link: /devices/pci0000:00/0000:00:1c.2/0000:02:00.0\n Hardware Class: network interface\n Model: \"Ethernet network interface\"\n Driver: \"rt2800pci\"\n Driver Modules: \"rt2800pci\"\n Device File: wlo1\n HW Address: a4:17:31:2b:c9:99\n Permanent HW Address: a4:17:31:2b:c9:99\n Link detected: no\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #25 (WLAN controller)\n\n55: None 01.0: 10701 Ethernet\n [Created at net.126]\n Unique ID: zHNY.ndpeucax6V1\n Parent ID: wcdH.sjC_dQ9MUK2\n SysFS ID: /class/net/eno1\n SysFS Device Link: /devices/pci0000:00/0000:00:1c.0/0000:01:00.0\n Hardware Class: network interface\n Model: \"Ethernet network interface\"\n Driver: \"r8169\"\n Driver Modules: \"r8169\"\n Device File: eno1\n HW Address: c8:cb:b8:5a:5a:bb\n Permanent HW Address: c8:cb:b8:5a:5a:bb\n Link detected: yes\n Config Status: cfg=new, avail=yes, need=no, active=unknown\n Attached to: #27 (Ethernet controller)\n\n56: 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", "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": [{"children": [{"claimed": true, "class": "memory", "clock": 1333000000, "description": "SODIMM DDR3 Synchronous 1333 MHz (0.8 ns)", "handle": "DMI:0001", "id": "bank:0", "physid": "0", "product": "HP536727-H41-ELD", "serial": "552AE579", "size": 4294967296, "slot": "Bottom-Slot 2(under)", "units": "bytes", "vendor": "Kingston", "width": 64}, {"claimed": true, "class": "memory", "clock": 1333000000, "description": "SODIMM DDR3 Synchronous 1333 MHz (0.8 ns)", "handle": "DMI:0005", "id": "bank:1", "physid": "1", "product": "F3-12800CL11-4GBSQ", "serial": "00000000", "size": 4294967296, "slot": "Bottom-Slot 1(top)", "units": "bytes", "vendor": "Unknown", "width": 64}], "claimed": true, "class": "memory", "description": "System Memory", "handle": "DMI:0000", "id": "memory", "physid": "0", "size": 8589934592, "slot": "System board or motherboard", "units": "bytes"}, {"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": 2555904, "claimed": true, "class": "memory", "date": "05/13/2014", "description": "BIOS", "id": "firmware", "physid": "c", "size": 131072, "units": "bytes", "vendor": "Insyde", "version": "F.39"}, {"businfo": "cpu@0", "capabilities": {"acpi": "thermal control (ACPI)", "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, "est": true, "flexpriority": true, "flush_l1d": true, "fpu": "mathematical co-processor", "fpu_exception": "FPU exceptions reporting", "fxsr": "fast floating point save/restore", "ht": "HyperThreading", "ibpb": true, "ibrs": 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, "rdtscp": true, "sep": "fast system calls", "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:0035", "id": "cache:0", "physid": "35", "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:0036", "id": "cache:1", "physid": "36", "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:0037", "id": "cache:2", "physid": "37", "size": 3145728, "slot": "L3 Cache", "units": "bytes"}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.0", "id": "logicalcpu:0", "physid": "2.1", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.1", "id": "logicalcpu:1", "physid": "2.2", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.2", "id": "logicalcpu:2", "physid": "2.3", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.3", "id": "logicalcpu:3", "physid": "2.4", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.4", "id": "logicalcpu:4", "physid": "2.5", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.5", "id": "logicalcpu:5", "physid": "2.6", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.6", "id": "logicalcpu:6", "physid": "2.7", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.7", "id": "logicalcpu:7", "physid": "2.8", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.8", "id": "logicalcpu:8", "physid": "2.9", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.9", "id": "logicalcpu:9", "physid": "2.a", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.10", "id": "logicalcpu:10", "physid": "2.b", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.11", "id": "logicalcpu:11", "physid": "2.c", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.12", "id": "logicalcpu:12", "physid": "2.d", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.13", "id": "logicalcpu:13", "physid": "2.e", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.14", "id": "logicalcpu:14", "physid": "2.f", "width": 64}, {"capabilities": {"logical": "Logical CPU"}, "claimed": true, "class": "processor", "description": "Logical CPU", "handle": "CPU:2.15", "id": "logicalcpu:15", "physid": "2.10", "width": 64}], "claimed": true, "class": "processor", "clock": 100000000, "configuration": {"cores": "2", "enabledcores": "2", "id": "2", "threads": "4"}, "description": "CPU", "handle": "DMI:0033", "id": "cpu", "physid": "33", "product": "Intel(R) Core(TM) i3-2328M CPU @ 2.20GHz", "serial": "0002-06A7-0000-0000-0000-0000", "size": 800964000, "slot": "U3E1", "units": "Hz", "vendor": "Intel Corp.", "version": "6.10.7", "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:0034", "id": "cache", "physid": "34", "size": 32768, "slot": "L1 Cache", "units": "bytes"}, {"businfo": "pci@0000:00:00.0", "children": [{"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": "2nd Generation Core Processor Family Integrated Graphics Controller", "vendor": "Intel Corporation", "version": "09", "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"}, "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:0", "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:01: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, "mii": "Media Independent Interface", "msi": "Message Signalled Interrupts", "msix": "MSI-X", "pciexpress": "PCI Express", "physical": "Physical interface", "pm": "Power Management", "tp": "twisted pair", "vpd": "Vital Product Data"}, "capacity": 1000000000, "claimed": true, "class": "network", "clock": 33000000, "configuration": {"autonegotiation": "on", "broadcast": "yes", "driver": "r8169", "driverversion": "2.3LK-NAPI", "duplex": "full", "firmware": "rtl8168e-3_0.0.4 03/27/12", "ip": "192.168.5.40", "latency": "0", "link": "yes", "multicast": "yes", "port": "MII", "speed": "100Mbit/s"}, "description": "Ethernet interface", "handle": "PCI:0000:01:00.0", "id": "network", "logicalname": "eno1", "physid": "0", "product": "RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller", "serial": "c8:cb:b8:5a:5a:bb", "size": 100000000, "units": "bit/s", "vendor": "Realtek Semiconductor Co., Ltd.", "version": "07", "width": 64}], "claimed": true, "class": "bridge", "clock": 33000000, "configuration": {"driver": "pcieport"}, "description": "PCI bridge", "handle": "PCIBUS:0000:01", "id": "pci:0", "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.2", "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": {"bus_master": "bus mastering", "cap_list": "PCI capabilities listing", "ethernet": true, "msi": "Message Signalled Interrupts", "pciexpress": "PCI Express", "physical": "Physical interface", "pm": "Power Management", "wireless": "Wireless-LAN"}, "claimed": true, "class": "network", "clock": 33000000, "configuration": {"broadcast": "yes", "driver": "rt2800pci", "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:02:00.0", "id": "network", "logicalname": "wlo1", "physid": "0", "product": "RT3290 Wireless 802.11n 1T/1R PCIe", "serial": "a4:17:31:2b:c9:99", "vendor": "Ralink corp.", "version": "00", "width": 32}, {"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"}, "class": "generic", "clock": 33000000, "configuration": {"latency": "0"}, "description": "Bluetooth", "handle": "PCI:0000:02:00.1", "id": "generic", "physid": "0.1", "product": "RT3290 Bluetooth", "vendor": "Ralink corp.", "version": "00", "width": 32}], "claimed": true, "class": "bridge", "clock": 33000000, "configuration": {"driver": "pcieport"}, "description": "PCI bridge", "handle": "PCIBUS:0000:02", "id": "pci:1", "physid": "1c.2", "product": "7 Series/C210 Series Chipset Family PCI Express Root Port 3", "vendor": "Intel Corporation", "version": "c4", "width": 32}, {"businfo": "pci@0000:00:1c.3", "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", "msi": "Message Signalled Interrupts", "pciexpress": "PCI Express", "pm": "Power Management"}, "claimed": true, "class": "generic", "clock": 33000000, "configuration": {"driver": "rtsx_pci", "latency": "0"}, "description": "Unassigned class", "handle": "PCI:0000:03:00.0", "id": "generic", "physid": "0", "product": "RTS5229 PCI Express Card Reader", "vendor": "Realtek Semiconductor Co., Ltd.", "version": "01", "width": 32}], "claimed": true, "class": "bridge", "clock": 33000000, "configuration": {"driver": "pcieport"}, "description": "PCI bridge", "handle": "PCIBUS:0000:03", "id": "pci:2", "physid": "1c.3", "product": "7 Series/C216 Chipset Family PCI Express Root Port 4", "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"}, "children": [{"businfo": "usb@2:1.2", "capabilities": {"emulated": "Emulated device", "scsi": "SCSI", "usb-2.00": "USB 2.0"}, "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": 7758413824, "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": "3695-7b86", "size": 7755709440, "vendor": "SYSLINUX", "version": "FAT32"}], "claimed": true, "class": "disk", "configuration": {"signature": "00de13ce"}, "dev": "8:16", "id": "medium", "logicalname": "/dev/sdb", "physid": "0", "size": 7759462400, "units": "bytes"}], "claimed": true, "class": "disk", "configuration": {"ansiversion": "4", "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": "TransMemory", "serial": "B", "size": 7759462400, "units": "bytes", "vendor": "TOSHIBA", "version": "1.00"}], "claimed": true, "class": "storage", "configuration": {"driver": "usb-storage", "maxpower": "200mA", "speed": "480Mbit/s"}, "description": "Mass storage device", "handle": "USB:2:3", "id": "usb:0", "logicalname": "scsi6", "physid": "2", "product": "TransMemory", "serial": "B2910FB31BD7CEA033DE686E", "vendor": "TOSHIBA", "version": "1.00"}, {"businfo": "usb@2: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:2:4", "id": "usb:1", "physid": "3", "product": "HP Truevision HD", "serial": "0x0001", "vendor": "Chicony Electronics Co.,Ltd.", "version": "60.47"}], "claimed": true, "class": "bus", "configuration": {"driver": "hub", "slots": "6", "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:1", "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": "HM75 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, "description": "Host bridge", "handle": "PCIBUS:0000:00", "id": "pci", "physid": "100", "product": "2nd Generation Core Processor Family 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": "4096"}, "description": "ATA Disk", "dev": "8:0", "handle": "SCSI:00:00:00:00", "id": "disk", "logicalname": "/dev/sda", "physid": "0.0.0", "product": "ST500LT012-9WS14", "serial": "W0V3SHRV", "size": 500107862016, "units": "bytes", "vendor": "Seagate", "version": "YAM1"}], "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": "DVD A DS8A8SH", "vendor": "hp", "version": "KH63"}], "claimed": true, "class": "storage", "id": "scsi:1", "logicalname": "scsi2", "physid": "2"}], "claimed": true, "class": "bus", "description": "Motherboard", "handle": "DMI:000E", "id": "core", "physid": "0", "product": "1858", "serial": "PCTVLB47V3O95U", "slot": "Type2 - Board Chassis Location", "vendor": "Hewlett-Packard", "version": "65.34"}, {"capacity": 47520, "claimed": true, "class": "power", "configuration": {"voltage": "10.8V"}, "description": "Lithium Ion Battery", "handle": "DMI:0025", "id": "battery", "physid": "1", "product": "MU06047", "slot": "Primary", "units": "mWh", "vendor": "11-85"}], "claimed": true, "class": "system", "configuration": {"boot": "normal", "chassis": "notebook", "cpus": "1", "family": "103C_5336AN G=N L=SMB B=HP S=650", "sku": "C1N10EA#ABE", "uuid": "114DB646-9E6A-775D-65F0-C8CBB85A5ABB"}, "description": "Notebook", "handle": "DMI:000D", "id": "debian", "product": "HP 650 Notebook PC (C1N10EA#ABE)", "serial": "5CB2452RGJ", "vendor": "Hewlett-Packard", "version": "087F110000305B10002620110", "width": 32}}, "device": {"actions": [{"elapsed": 1, "rate": 1.0979, "type": "BenchmarkRamSysbench"}, {"elapsed": 240, "severity": "Info", "type": "StressTest"}], "chassis": "Netbook", "manufacturer": "Hewlett-Packard", "model": "HP 650 Notebook", "serialNumber": "5CB2452RGJ", "sku": "C1N10EA#ABE", "type": "Laptop", "version": "087F110000305B10002620110"}, "elapsed": -6514, "endTime": "2021-05-04T15:30:14.711668+00:00", "software": "Workbench", "type": "Snapshot", "uuid": "ff194372-52f3-4f31-954e-90a4f02922fa", "version": "11.0b11"} diff --git a/tests/test_snapshot.py b/tests/test_snapshot.py index a4f8ec79..f3d0905c 100644 --- a/tests/test_snapshot.py +++ b/tests/test_snapshot.py @@ -838,3 +838,12 @@ def test_snapshot_mobil(app: Devicehub, user: UserClient): tmp_snapshots = app.config['TMP_SNAPSHOTS'] shutil.rmtree(tmp_snapshots) + + +@pytest.mark.mvp +def test_bug_141(user: UserClient): + """This test check one bug that create a problem when try to up one snapshot + with a big number in the parameter command_timeout of the DataStorage + + """ + user.post(file('2021-5-4-13-41_time_out_test_datastorage'), res=Snapshot) From c7ff58273f8dd9d992439170d69c862f38f257a1 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 12 May 2021 13:02:36 +0200 Subject: [PATCH 7/9] fixing bug changing database model --- ...398826453b39_change_command_timeout_of_.py | 30 +++++++++++++++++++ .../8d34480c82c4_add_code_device_search.py | 2 +- ereuse_devicehub/resources/action/models.py | 2 +- 3 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 ereuse_devicehub/migrations/versions/398826453b39_change_command_timeout_of_.py diff --git a/ereuse_devicehub/migrations/versions/398826453b39_change_command_timeout_of_.py b/ereuse_devicehub/migrations/versions/398826453b39_change_command_timeout_of_.py new file mode 100644 index 00000000..b55d91d1 --- /dev/null +++ b/ereuse_devicehub/migrations/versions/398826453b39_change_command_timeout_of_.py @@ -0,0 +1,30 @@ +"""change command_timeout of TestDataStorage Action + +Revision ID: 398826453b39 +Revises: 8d34480c82c4 +Create Date: 2021-05-12 12:41:02.808311 + +""" +from alembic import op, context +import sqlalchemy as sa + + +# revision identifiers, used by Alembic. +revision = '398826453b39' +down_revision = '8d34480c82c4' +branch_labels = None +depends_on = None + + +def get_inv(): + INV = context.get_x_argument(as_dictionary=True).get('inventory') + if not INV: + raise ValueError("Inventory value is not specified") + return INV + +def upgrade(): + op.alter_column('test_data_storage', 'command_timeout', type_=sa.BigInteger(), schema=f'{get_inv()}') + + +def downgrade(): + op.alter_column('test_data_storage', 'command_timeout', type_=sa.Integer(), schema=f'{get_inv()}') diff --git a/ereuse_devicehub/migrations/versions/8d34480c82c4_add_code_device_search.py b/ereuse_devicehub/migrations/versions/8d34480c82c4_add_code_device_search.py index fbc5e3b0..8c419f0a 100644 --- a/ereuse_devicehub/migrations/versions/8d34480c82c4_add_code_device_search.py +++ b/ereuse_devicehub/migrations/versions/8d34480c82c4_add_code_device_search.py @@ -10,7 +10,7 @@ from alembic import context import sqlalchemy as sa from sqlalchemy.dialects import postgresql -from ereuse_devicehub.resources.device.search import DeviceSearch +# from ereuse_devicehub.resources.device.search import DeviceSearch # revision identifiers, used by Alembic. diff --git a/ereuse_devicehub/resources/action/models.py b/ereuse_devicehub/resources/action/models.py index 1211825b..01edae95 100644 --- a/ereuse_devicehub/resources/action/models.py +++ b/ereuse_devicehub/resources/action/models.py @@ -742,7 +742,7 @@ class TestDataStorage(TestMixin, Test): reallocated_sector_count = Column(SmallInteger) power_cycle_count = Column(SmallInteger) _reported_uncorrectable_errors = Column('reported_uncorrectable_errors', Integer) - command_timeout = Column(Integer) + command_timeout = Column(BigInteger) current_pending_sector_count = Column(Integer) offline_uncorrectable = Column(Integer) remaining_lifetime_percentage = Column(SmallInteger) From 015a886c1a5986261046d458451495901b16d443 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 12 May 2021 13:21:40 +0200 Subject: [PATCH 8/9] changelog --- CHANGELOG.md | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 3213330a..d393ec9e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,12 +6,13 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0. ml). ## master - [1.0.5-beta] - -## testing [1.0.6-beta] +## testing + [1.0.7-beta] + ## [1.0.6-beta] +- [bugfix] #143 biginteger instead of integer in TestDataStorage ## [1.0.5-beta] - [addend] #124 adding endpoint for extract the internal stats of use From 3fc3828326239ff35740aee5ea1163c1213a23a3 Mon Sep 17 00:00:00 2001 From: Cayo Puigdefabregas Date: Wed, 12 May 2021 17:31:44 +0200 Subject: [PATCH 9/9] up version --- ereuse_devicehub/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ereuse_devicehub/__init__.py b/ereuse_devicehub/__init__.py index eeacf9dd..65284dcc 100644 --- a/ereuse_devicehub/__init__.py +++ b/ereuse_devicehub/__init__.py @@ -1 +1 @@ -__version__ = "1.0.6-beta" +__version__ = "1.0.7-beta"