Any one can help me how can i use Dbus to get the USB events ( detection/disconnection ) onto application level!!! aslo please provide me a good reference document links.
On Sun, Sep 21, 2008 at 12:00 PM, Nalajala Murali <[EMAIL PROTECTED]> wrote: > The file has the information which i am not interested.It does not > have any information to which it ( USB ) is mapped in the filesystem ( > sd[a-z][1-9]* ). > > On Sun, Sep 21, 2008 at 11:02 AM, V. Ravikumar > <[EMAIL PROTECTED]> wrote: >> 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 <[EMAIL PROTECTED]> 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 [EMAIL PROTECTED] >>> Please read the FAQ at http://kernelnewbies.org/FAQ >>> >>> >> > > > > -- > Regards, > Murali N > +91-9886743171 > -- Regards, Murali N +91-9886743171 -- To unsubscribe from this list: send an email with "unsubscribe kernelnewbies" to [EMAIL PROTECTED] Please read the FAQ at http://kernelnewbies.org/FAQ