pmbus.h missing from /usr/include

34 views Asked by At

I'm trying to use pmbus.h in user space on ubuntu 18.04.6 LTS. But the file is missing from /usr/include/ so I'm unable to access the files. Is there any library I need to use like for smbus to include headers? or any other way I can include this header for user space usage? I did try what suggested here and try

dpkg -S pmbus.h

But output was

linux-headers-5.4.0-150-generic: /usr/src/linux-headers-5.4.0-150-generic/include/config/pmbus.h
linux-headers-5.4.0-148-generic: /usr/src/linux-headers-5.4.0-148-generic/include/config/sensors/pmbus.h
linux-headers-5.4.0-150-generic: /usr/src/linux-headers-5.4.0-150-generic/include/config/sensors/pmbus.h
linux-hwe-5.4-headers-5.4.0-150: /usr/src/linux-hwe-5.4-headers-5.4.0-150/include/linux/pmbus.h
linux-headers-4.15.0-213-generic: /usr/src/linux-headers-4.15.0-213-generic/include/config/sensors/pmbus.h
linux-headers-4.15.0-213-generic: /usr/src/linux-headers-4.15.0-213-generic/include/config/pmbus.h
linux-hwe-5.4-headers-5.4.0-148: /usr/src/linux-hwe-5.4-headers-5.4.0-148/include/linux/pmbus.h
linux-headers-4.15.0-213: /usr/src/linux-headers-4.15.0-213/include/linux/pmbus.h
linux-headers-5.4.0-148-generic: /usr/src/linux-headers-5.4.0-148-generic/include/config/pmbus.h

which is again under kernel headers.

Below command returns nothing

sudo apt-file -x search '/pmbus.h$'

0

There are 0 answers