DeviceType
Defined in: src/device.ts:24
Properties
Section titled “Properties”dev_attrs
Section titled “dev_attrs”
readonlydev_attrs:Record<string,DeviceAttribute>
Defined in: src/device.ts:26
readonlyname:string
Defined in: src/device.ts:25
Methods
Section titled “Methods”dev_node()?
Section titled “dev_node()?”
optionaldev_node(this,device):DevNode|undefined
Defined in: src/device.ts:29
The name and mode devices of this type get under /dev
Parameters
Section titled “Parameters”void
device
Section titled “device”Returns
Section titled “Returns”DevNode | undefined
Device.dev_node
uevent()?
Section titled “uevent()?”
optionaluevent(device,env):void
Defined in: src/device.ts:32
Add variables to the environment of uevents for devices of this type
Parameters
Section titled “Parameters”device
Section titled “device”Returns
Section titled “Returns”void