title: How to find device driver associated with a device file?
body: <pre><code>ls -l /dev
  </code></pre>
  
  <p>command lists the device files, and the associated information like major number, minor number.</p>
  
  <pre><code>cat proc/devices
  </code></pre>
  
  <p>command helps me to find the device name associated with a major number.</p>
  
  <p>So for a node, I have found the major number, device name.</p>
  
  <p>I understood how to <strong>auto create</strong> a device file, by populating the class information under /sys/class => By installing the device driver module, i can find the device file created.</p>
  
  <p>I cant trace back from device file to the corresponding module.</p>
  
  <p>In essence,how to find the Device driver/module associated with the device file, with these information?</p>