From mboxrd@z Thu Jan 1 00:00:00 1970 From: Greg KH Date: Tue, 27 Jun 2006 16:16:59 +0000 Subject: Re: Reacting on Hotplug events Message-Id: <20060627161659.GA10703@kroah.com> List-Id: References: <63738.217.82.144.188.1151402345.squirrel@lo9.de> In-Reply-To: <63738.217.82.144.188.1151402345.squirrel@lo9.de> MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: linux-hotplug@vger.kernel.org On Tue, Jun 27, 2006 at 11:59:05AM +0200, jascha_alte-sauna_net@lo9.de wrote: > Hello, > I want to develop Terminal with an USB Connector. If an USB Stick is > inserted a application on the terminal shall let you select some option > and then some data will be transfered on the USB Stick. > > I played around with dbus, had and ivman and got it managed that the Stick > will be automaticly mounted and to execute a script. > The main Problem with this solution is that it quite takes some time. I > would like to know if it is possilbe to speed up that process. Maybe it > helps that I know i only have 1 USB port and only USB sticks should be > processed. The longest time waiting is when syslog show the message: > usb-storage: waiting for device to settle before scanning > > Can I somehow decrase the time which has to be waited here? That time is due to the timeout in the usb-storage driver where it wants to wait 5 seconds before scanning the device to handle devices that take a while to get started up properly. If you feel you can safely lower that time, just write a new value (in seconds) to /sys/module/usb_storage/parameters/delay_use Hope this helps, greg k-h Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642 _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net Linux-hotplug-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel