[linux-usb-devel] How to detect of Windows Pc's removal action?

2007-03-07 Thread long mei
Hello, Now I am using usb mass storage function on my pxa270 handset with linux 2.4.20, Now I need a function add to usb driver that detect the action that pc user's safely remove usb device by right click usb tray and stop usb device, The action is mount filesystem back. But from usb

Re: [linux-usb-devel] How to detect of Windows Pc's removal action?

2007-03-07 Thread Alan Stern
On Wed, 7 Mar 2007, long mei wrote: Hello, Now I am using usb mass storage function on my pxa270 handset with linux 2.4.20, Now I need a function add to usb driver that detect the action that pc user's safely remove usb device by right click usb tray and stop usb device£¬ The action is

Re: [linux-usb-devel] How to detect of Windows Pc's removal action?

2007-03-07 Thread Pandita, Vikram
PM To: long mei Cc: linux-usb-devel@lists.sourceforge.net Subject: Re: [linux-usb-devel] How to detect of Windows Pc's removal action? On Wed, 7 Mar 2007, long mei wrote: Hello, Now I am using usb mass storage function on my pxa270 handset with linux 2.4.20, Now I need a function add

Re: [linux-usb-devel] How to detect of Windows Pc's removal action?

2007-03-07 Thread Alan Stern
On Wed, 7 Mar 2007, Pandita, Vikram wrote: I have a related query on USB suspend: In Host mode, is there a way to force a SUSPEND/RESUME from the class driver or application? You can force a suspend from within the kernel. Suppose that udev is a struct usb_device you want to suspend.