summaryrefslogtreecommitdiff
path: root/package/hotplug2
AgeCommit message (Collapse)Author
2010-10-05[package] hotplug2: mark /etc/hotplug2.rules as conffilejow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23249 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-05-10[package] hotplug2: bump pkg release after hotplug fixes in r20679-r20685jow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21422 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03[package] hotplug2: Refresh patchesacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20685 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03[package] hotplug2: Fix event blocking when there are no available children ↵acinonyx
(#6958, #7030) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03[package] hotplug2: Always fork rules flagged as slowacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20682 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03[package] hotplug2: Fix forking (#7033)acinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20681 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03[package] hotplug2: Cancel firmware loading on file openning errorsacinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-04-03[package] hotplug2: Fix sysfs path (#7031)acinonyx
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20679 3c298f89-4303-0410-b956-a3cf2f4a3e73
2010-03-26package/hotplug2: refresh patchesjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20462 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-12-09Fix a memory leak in hotplug2 environment handling.nbd
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
2009-10-20hotplug2: get rid of the unnecessary reference to libdl as wellnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18106 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-20hotplug2: compile in the worker module statically, saves >20k uncompressednbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18104 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-10-19hotplug2: fix "MALLOC FAILURE!" message caused by a missing return code ↵nbd
check on recv() git-svn-id: svn://svn.openwrt.org/openwrt/trunk@18061 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-09-03[package] update hotplug2 to r199, fixes build failures on brcm-2.4florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17508 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-29[package] hotplug2 may need -fPICjow
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16199 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28[hotplug2] added back atm rulehcg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16137 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28[hotplug2] add hotplug2 v1.0hcg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16136 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-28[hotplug2] Move hotplug2 v0.9 to hotplug2-oldhcg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16135 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-05-26[package] allow hotplug events to be triggered with the atm subsystem (#2996)florian
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16073 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-04-17get rid of $Id$ - it has never helped us and it has broken too many patches ;)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@15242 3c298f89-4303-0410-b956-a3cf2f4a3e73
2009-01-30Use block events for the mounting/unmounting of external storage devices.matein4
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
2009-01-28[package] hotplug2: add platform hotpluggingjuhosg
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@14248 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-08-04remove warning from hotplug2, which pops up 10 times during bootblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12086 3c298f89-4303-0410-b956-a3cf2f4a3e73
2008-07-30fix hotplug2 event processing deadlocknbd
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
2008-04-21move hotplug2 & udevtrigger to base sectionnico
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@10910 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-12-01refactor hotplug2 rules, make sure that the default button rule is only used ↵nbd
during the init (should fix #2772) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@9644 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07bump package versions after updatesnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8680 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-07move package description to a separate definition, remove it when ↵nico
DESCRIPTION=TITLE git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8659 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-09-01reduce watchdog trigger from 10 to 5 secondsblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8571 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-23add watchdog start patch from #1967nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8117 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-18fix two small bugs in the hotplug2 rule parser (#2085)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8023 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-13move firmware loading to hotplug2-init.rules (should fix #2056)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7955 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-07-09hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix ↵nbd
permissions of various devices (fixes #2052) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7892 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-30replace the hotplug2 fork handling hack with a better solution implemented ↵nbd
in upstream (thanks, iSteve) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7786 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25hotplug2: add fork handling optimization (also fixes that pesky pppoe race ↵nbd
condition in #1655) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7726 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25update to hotplug2 svn version (recommended by iSteve)nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7725 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25fix failsafe on broadcom, send netlink events in diag when running linux 2.6nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7722 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25hotplug2: add a missing cflag, allow hotplug events that are not 'add'nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7721 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-25make hotplug2 use the build system cflagsnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7720 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-20added usb-storage hotplugingblogic
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7684 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-06-04refresh all package patches in the buildroot using quiltnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7490 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-15Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the ↵florian
sound peripherals (#1677) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7246 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-06fix firmware loadingnbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7115 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-05-05use hotplug2 for serializing hotplug events on 2.6nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@7097 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16add file type autodetection for the unpack command and nuke PKG_CAT:= in ↵nbd
lots of places git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6582 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-16add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use ↵nbd
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
2007-03-04make hotplug2 depend on udevtriggernbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6511 3c298f89-4303-0410-b956-a3cf2f4a3e73
2007-03-04add hotplug2nbd
git-svn-id: svn://svn.openwrt.org/openwrt/trunk@6510 3c298f89-4303-0410-b956-a3cf2f4a3e73