pyudev - checking if a property exist in a device using udev -
i using python script detect plugged in usb device in application. application running in centos , trying migrate centos7.
in centos 6, hal library used manage devices in centos 7, udev library used manage devices.
in script want check whether particular propert exist in plugged in device. in hal library there method device_if.propertyexists check this. in udev library not able identify similar method this.
please me find way fullfill requirement in udev
Comments
Post a Comment