-----Original Message-----
From: Alan Stern [mailto:[EMAIL PROTECTED]
Sent: Wednesday, May 18, 2005 7:36 PM
To: Borse, Ganesh

>>If you want to get the information that's in /var/log/messages all you

>>need to do is open /var/log/messages and read the contents of the
file.

>>Various pieces of that information are scattered throughout places
like
>>procfs and sysfs.  If you can say more precisely which items you want
to
>>get, we can tell you where to find them.

Thanks for reply.

I have an application which lists the USB devices and their status, such
as drivers installed, overcurrent condition, etc.
For doing so, I am using lsusb command (from usbutils rpm), USB IOCTLs
provided by <linux/usbdeivce_fs.h> file, and information from
/proc/bus/usb/devices file.

What I would like to know is: which IOCTL, system call, /proc or /sysfs
file can provide me the information that certain USB device is causing
overcurrent condition on an external hub?

Even though this information is present in /var/log/messages, I do not
want to extract this info from this file.

Regards,
Ganesh



-------------------------------------------------------
This SF.Net email is sponsored by Oracle Space Sweepstakes
Want to be the first software developer in space?
Enter now for the Oracle Space Sweepstakes!
http://ads.osdn.com/?ad_idt12&alloc_id344&op=click
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to