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

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

 



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
<ravikumar.vallabhu@xxxxxxxxx> 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 <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
>>
>>
>



-- 
Regards,
Murali N
+91-9886743171

--
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