Hi,
        I am planning to write a program to discover particulars of some hardware devices on a system. For the ones where I need to make ioctl() calls, I do not know which device file in /dev to open. How can I discover which file to open and the ioctl never fails ?
 
thanks
Manish