aboutsummaryrefslogtreecommitdiffstats
path: root/package/hotplug2
Commit message (Collapse)AuthorAgeFilesLines
* [package] hotplug2: Refresh patchesVasilis Tsiligiannis2010-04-034-39/+31
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20685 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: Fix event blocking when there are no available children ↵Vasilis Tsiligiannis2010-04-031-0/+203
| | | | | | (#6958, #7030) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: Always fork rules flagged as slowVasilis Tsiligiannis2010-04-031-0/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: Fix forking (#7033)Vasilis Tsiligiannis2010-04-031-0/+59
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20681 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: Cancel firmware loading on file openning errorsVasilis Tsiligiannis2010-04-031-0/+19
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: Fix sysfs path (#7031)Vasilis Tsiligiannis2010-04-031-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/hotplug2: refresh patchesGabor Juhos2010-03-262-12/+9
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20462 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix a memory leak in hotplug2 environment handling.Felix Fietkau2009-12-094-171/+81
| | | | | | | | | | | | | | | | | | | | | | | Bump hotplug2 to the latest svn revision, remove obsolete patches. Memory leak is caused by the way hotplug2 handles environment variables, using setenv() and unsetenv(). setenv() creates copies of the supplied strings, but, due to a POSIX blunder, these copies are never destroyed by unsetenv(), neither in glibc nor uclibc - not until the program terminates. Since some events are handled directly in the main process, even when configured with the "fork" worker, hotplug2 memory usage will keep growing over time. This can be observed by running "udevtrigger" and noting the increase in hotplug2 VmRSS after each run. This patch uses putenv() instead, which leaves storage management to the caller, so that we can explicitly delete stuff when it's no longer needed. Signed-off-by: Aleksandar Radovanovic <biblbroks@sezampro.rs> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2: get rid of the unnecessary reference to libdl as wellFelix Fietkau2009-10-201-6/+7
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18106 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2: compile in the worker module statically, saves >20k uncompressedFelix Fietkau2009-10-202-3/+166
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18104 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2: fix "MALLOC FAILURE!" message caused by a missing return code ↵Felix Fietkau2009-10-191-0/+12
| | | | | | check on recv() git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18061 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] update hotplug2 to r199, fixes build failures on brcm-2.4Florian Fainelli2009-09-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2 may need -fPICJo-Philipp Wich2009-05-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16199 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [hotplug2] added back atm ruleHamish Guthrie2009-05-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [hotplug2] add hotplug2 v1.0Hamish Guthrie2009-05-282-0/+60
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16136 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [hotplug2] Move hotplug2 v0.9 to hotplug2-oldHamish Guthrie2009-05-285-2476/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16135 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] allow hotplug events to be triggered with the atm subsystem (#2996)Florian Fainelli2009-05-261-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16073 3c298f89-4303-0410-b956-a3cf2f4a3e73
* get rid of $Id$ - it has never helped us and it has broken too many patches ;)Felix Fietkau2009-04-171-1/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Use block events for the mounting/unmounting of external storage devices.Jose Vasconcellos2009-01-301-1/+1
| | | | | | | | | | This handles both USB and IEEE1394 devices. It removes /sbin/usb-storage in favor of using the block hotplug event. There are dummy scripts to handle the plug in/out of USB and IEEE1394 devices for updating LEDs. Storage devices are mount as a sub-directory under /mnt. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14289 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: add platform hotpluggingGabor Juhos2009-01-282-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14248 3c298f89-4303-0410-b956-a3cf2f4a3e73
* remove warning from hotplug2, which pops up 10 times during bootJohn Crispin2008-08-041-7/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix hotplug2 event processing deadlockFelix Fietkau2008-07-301-0/+135
| | | | | | | | | | when bringing up ethernet on ixp4xx, the driver may request a firmware while hotplug2 waits for the netdev bringup to complete. change the event processing loop to keep an event backlog to allow unthrottled events to pass through while throttled events are being waited for git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12019 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move hotplug2 & udevtrigger to base sectionNicolas Thill2008-04-211-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10910 3c298f89-4303-0410-b956-a3cf2f4a3e73
* refactor hotplug2 rules, make sure that the default button rule is only used ↵Felix Fietkau2007-12-011-1/+1
| | | | | | during the init (should fix #2772) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9644 3c298f89-4303-0410-b956-a3cf2f4a3e73
* bump package versions after updatesFelix Fietkau2007-09-071-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8680 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move package description to a separate definition, remove it when ↵Nicolas Thill2007-09-071-2/+3
| | | | | | DESCRIPTION=TITLE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
* reduce watchdog trigger from 10 to 5 secondsJohn Crispin2007-09-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8571 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add watchdog start patch from #1967Felix Fietkau2007-07-231-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8117 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix two small bugs in the hotplug2 rule parser (#2085)Felix Fietkau2007-07-181-0/+22
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8023 3c298f89-4303-0410-b956-a3cf2f4a3e73
* move firmware loading to hotplug2-init.rules (should fix #2056)Felix Fietkau2007-07-131-5/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7955 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix ↵Felix Fietkau2007-07-093-92/+1602
| | | | | | permissions of various devices (fixes #2052) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7892 3c298f89-4303-0410-b956-a3cf2f4a3e73
* replace the hotplug2 fork handling hack with a better solution implemented ↵Felix Fietkau2007-06-304-200/+245
| | | | | | in upstream (thanks, iSteve) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7786 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2: add fork handling optimization (also fixes that pesky pppoe race ↵Felix Fietkau2007-06-251-0/+142
| | | | | | condition in #1655) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7726 3c298f89-4303-0410-b956-a3cf2f4a3e73
* update to hotplug2 svn version (recommended by iSteve)Felix Fietkau2007-06-254-48/+543
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7725 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix failsafe on broadcom, send netlink events in diag when running linux 2.6Felix Fietkau2007-06-252-10/+0
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7722 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2: add a missing cflag, allow hotplug events that are not 'add'Felix Fietkau2007-06-252-1/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7721 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make hotplug2 use the build system cflagsFelix Fietkau2007-06-252-0/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7720 3c298f89-4303-0410-b956-a3cf2f4a3e73
* added usb-storage hotplugingJohn Crispin2007-06-201-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7684 3c298f89-4303-0410-b956-a3cf2f4a3e73
* refresh all package patches in the buildroot using quiltFelix Fietkau2007-06-041-3/+4
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7490 3c298f89-4303-0410-b956-a3cf2f4a3e73
* Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the ↵Florian Fainelli2007-05-151-0/+5
| | | | | | sound peripherals (#1677) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7246 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix firmware loadingFelix Fietkau2007-05-061-0/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7115 3c298f89-4303-0410-b956-a3cf2f4a3e73
* use hotplug2 for serializing hotplug events on 2.6Felix Fietkau2007-05-054-1/+58
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7097 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add file type autodetection for the unpack command and nuke PKG_CAT:= in ↵Felix Fietkau2007-03-161-1/+0
| | | | | | lots of places git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6582 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use ↵Felix Fietkau2007-03-161-2/+0
| | | | | | KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6580 3c298f89-4303-0410-b956-a3cf2f4a3e73
* make hotplug2 depend on udevtriggerFelix Fietkau2007-03-041-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6511 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add hotplug2Felix Fietkau2007-03-041-0/+42
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6510 3c298f89-4303-0410-b956-a3cf2f4a3e73