This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

How to capture usb OTG eject event from windows xp on beagle board xM..................

Hi all I have been working on Beagleboard with angstrom linux on it to show a backing file as a storage through usb ...on windows Xp. I have done that successfully using g_file_storage driver.

 

But i was stuck at finding that ... I need to capture event on BB when windows xp safely removes usb ..... and need to handle that event on BB by removing g_file_storage ............ But am unable to do that ...while googling i came across another driver ... f_mass_storage ...which gives some eject capture facility ........... but i am unable to find some supporting document how to use it .... can some one please tell me ...

 

whats difference between g_file_storage and F_mass_storage ...can i use f_mass_storage for my purpose of exposing a backing file as storage ...on windows XP.... how do i capture eject event on BB .... please help ... Nidhi