Portability | portable |
---|---|
Stability | stable |
Maintainer | pxqr.sta@gmail.com |
Safe Haskell | None |
Retrieve properties from the hardware database.
- data HWDB
- newHWDB :: UDev -> IO HWDB
- getPropertiesList :: HWDB -> BS.ByteString -> IO List
Documentation
getPropertiesList :: HWDB -> BS.ByteString -> IO ListSource
Lookup a matching device in the hardware database. The lookup key is a modalias string, whose formats are defined for the Linux kernel modules. Examples are: pci:v00008086d00001C2D*, usb:v04F2pB221*. The first entry of a list of retrieved properties is returned.