From: Ran Talbott <embed-mobile@cox.net>
To: linux-hotplug@vger.kernel.org
Subject: How to skip scripts for already-claimed devices (kernel 2.4)
Date: Mon, 11 Jun 2007 02:49:05 +0000 [thread overview]
Message-ID: <200706101949.05766.embed-mobile@cox.net> (raw)
I've got an old tablet (120MHz Pentium) that I've converted for use as an
in-car navigation and music player. I'm getting hammered on startup
times because it takes so long to run the hotplug scripts. I actually
had applications run by init scripts fail because their USB devices
weren't configured yet.
I got around that by modprobe-ing drivers, but I'm still seeing delays
in "ready-to-run" of a minute or more because the system is busy running
CPU-intensive scripts for devices that are already configured.
Maybe I haven't been using the right search keywords, but I haven't
turned up any effort to speed up the usb map searches, or a way for a
script to determine that it isn't needed because the device is already
claimed by a driver. Have I missed something? Or has nothing been done
about this?
Thanks,
Ran
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
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
reply other threads:[~2007-06-11 2:49 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=200706101949.05766.embed-mobile@cox.net \
--to=embed-mobile@cox.net \
--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).