Automatic USB drive detection/Disconnection in user application!!!

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux