Please look into /proc/bus/usb/devices file newly plugged in/off usb devices Also go through Documentation/usb/usbmon.txt Regards, Ravikumar. On 9/19/08, Nalajala Murali <nalajala.murali@xxxxxxxxx> wrote: > Hi All, > I need a solution for the below problem. > > When the USB got detected by the kernel ( Linux ) i am not able to > figure it out to where it is mapped on my dev file system. Please let > me know how will i come to know to where my USB is mapped using the C > routine!!! Is there any provision to call some kernel related > functions so that i cae to know where it mapped? Also how do i know ( > application ) the USB disconnection? > > Also i heard few solutions for the above problem like, "Query HAL over > Dbus" and reading information from "libsysfs" library.Though first one > is pretty good i don't know how to use Dbus in my application ( it bit > confused me ).If any one propose any better solutions that would be > very helpful. > > Thanks for your help. > > Murali > > -- > To unsubscribe from this list: send an email with > "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx > Please read the FAQ at http://kernelnewbies.org/FAQ > > -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx Please read the FAQ at http://kernelnewbies.org/FAQ