linux-hotplug.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Run hotplug scripts after device node is created?
@ 2005-08-22 20:45 Stefan Schweizer
  2005-08-22 21:15 ` Kay Sievers
                   ` (14 more replies)
  0 siblings, 15 replies; 16+ messages in thread
From: Stefan Schweizer @ 2005-08-22 20:45 UTC (permalink / raw)
  To: linux-hotplug

Hi,

I use a hotplug script to download the firmware to my hp printer. This
is needed for HP Laserjet 1000,1005 and 1020. The procedure is just
cat firmware > /dev/usb/lp*

The problem is that /dev/usb/lp* has to exist for the script to work.
In earlier udev versions I just added "sleep 20" to the script to be
sure that the device node exists. With the last version of udev this
seems to be no longer possiblee because udev waits for the hotplug
script to exit before creating the device node :(

How can I make sure that the hotplug script is run after usblp is
loaded and after the device is created?

Is there some hotplug-way to find out which device-node I am supposed
to load the firmware into?

Regards,
Stefan


-------------------------------------------------------
SF.Net email is Sponsored by the Better Software Conference & EXPO
September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices
Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA
Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf
_______________________________________________
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

^ permalink raw reply	[flat|nested] 16+ messages in thread

end of thread, other threads:[~2005-08-23 21:52 UTC | newest]

Thread overview: 16+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-22 20:45 Run hotplug scripts after device node is created? Stefan Schweizer
2005-08-22 21:15 ` Kay Sievers
2005-08-22 21:23 ` Stefan Schweizer
2005-08-22 21:46 ` Marco d'Itri
2005-08-22 21:48 ` Kay Sievers
2005-08-23  5:26 ` Stefan Schweizer
2005-08-23  5:29 ` Stefan Schweizer
2005-08-23  7:54 ` Marco d'Itri
2005-08-23 11:32 ` Olivier Blin
2005-08-23 12:27 ` Marco d'Itri
2005-08-23 13:39 ` Sergey Vlasov
2005-08-23 14:10 ` Olivier Blin
2005-08-23 18:25 ` Stefan Schweizer
2005-08-23 19:25 ` Kay Sievers
2005-08-23 21:34 ` Stefan Schweizer
2005-08-23 21:52 ` Marco d'Itri

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).