From: Greg KH <greg@kroah.com>
To: linux-hotplug@vger.kernel.org
Subject: Re: Reacting on Hotplug events
Date: Tue, 27 Jun 2006 16:16:59 +0000 [thread overview]
Message-ID: <20060627161659.GA10703@kroah.com> (raw)
In-Reply-To: <63738.217.82.144.188.1151402345.squirrel@lo9.de>
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&kid\x120709&bid&3057&dat\x121642
_______________________________________________
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
prev parent reply other threads:[~2006-06-27 16:16 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-06-27 9:59 Reacting on Hotplug events jascha_alte-sauna_net
2006-06-27 16:16 ` Greg KH [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20060627161659.GA10703@kroah.com \
--to=greg@kroah.com \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).