Python Forum
Writing device driver to stop electric supply to any I/O port - Printable Version

+- Python Forum (https://python-forum.io)
+-- Forum: Python Coding (https://python-forum.io/forum-7.html)
+--- Forum: General Coding Help (https://python-forum.io/forum-8.html)
+--- Thread: Writing device driver to stop electric supply to any I/O port (/thread-17990.html)



Writing device driver to stop electric supply to any I/O port - sumandas89 - May-02-2019

I want to know that how to write program to stop electric supply/disable any I/O port like LAN, USB, audio port etc. I know it's a part of writing device driver but I don't have idea how to start with. I searched on google but the results are coming regarding commands to enable or disable this ports, but my interest is to write own code and access this ports to enable these or disable these by running my code. So I want to know how to do this and get expertise, suggest me if there are any tutorials/ebooks available to start with. I am using linux machine and have good knowledge of c programming for general purpose not in this purpose.