2014-12-08 10:22:59 +00:00
|
|
|
table_name("hardware_events")
|
2015-02-09 01:40:35 +00:00
|
|
|
description("Hardware (PCI/USB/HID) events from UDEV or IOKit.")
|
2014-12-08 10:22:59 +00:00
|
|
|
schema([
|
2015-02-09 01:40:35 +00:00
|
|
|
Column("action", TEXT, "Remove, insert, change properties, etc"),
|
|
|
|
Column("path", TEXT, "Local device path assigned (optional)"),
|
|
|
|
Column("type", TEXT, "Type of hardware and hardware event"),
|
|
|
|
Column("driver", TEXT, "Driver claiming the device"),
|
2015-07-16 06:23:42 +00:00
|
|
|
Column("vendor", TEXT, "Hardware device vendor"),
|
2015-11-16 06:37:28 +00:00
|
|
|
Column("vendor_id", TEXT, "Hex encoded Hardware vendor identifier"),
|
|
|
|
Column("model", TEXT, "Hardware device model"),
|
|
|
|
Column("model_id", TEXT, "Hex encoded Hardware model identifier"),
|
2015-02-09 01:40:35 +00:00
|
|
|
Column("serial", TEXT, "Device serial (optional)"),
|
2015-11-16 06:37:28 +00:00
|
|
|
Column("revision", TEXT, "Device revision (optional)"),
|
2015-07-06 07:04:37 +00:00
|
|
|
Column("time", BIGINT, "Time of hardware event"),
|
2014-12-08 10:22:59 +00:00
|
|
|
])
|
2015-02-09 01:40:35 +00:00
|
|
|
attributes(event_subscriber=True)
|
2015-01-30 18:44:25 +00:00
|
|
|
implementation("events/hardware_events@hardware_events::genTable")
|