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

Popular posts from this blog

resizing Telegram inline keyboard -

command line - How can a Python program background itself? -

php - "cURL error 28: Resolving timed out" on Wordpress on Azure App Service on Linux -