3.6.1. devlookup - look up device behind device file and its parameters Usage

devlookup [-v VAR] /dev/DEVICE [parameter] Synopsis

Detects the device behind a device file and outputs it, unless a second argument is given. In that case the device parameter with that name is looked up. Specifying -v VARIABLE will write output to VARIABLE instead of printing it