Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | package/hotplug2: refresh patches | Gabor Juhos | 2010-03-26 | 2 | -12/+9 |
| | | | | SVN-Revision: 20462 | ||||
* | Fix a memory leak in hotplug2 environment handling. Bump hotplug2 to the ↵ | Felix Fietkau | 2009-12-09 | 4 | -171/+81 |
| | | | | | | | | | | | | | | | | | | | | | | | 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> SVN-Revision: 18725 | ||||
* | hotplug2: get rid of the unnecessary reference to libdl as well | Felix Fietkau | 2009-10-20 | 1 | -6/+7 |
| | | | | SVN-Revision: 18106 | ||||
* | hotplug2: compile in the worker module statically, saves >20k uncompressed | Felix Fietkau | 2009-10-20 | 2 | -3/+166 |
| | | | | SVN-Revision: 18104 | ||||
* | hotplug2: fix "MALLOC FAILURE!" message caused by a missing return code ↵ | Felix Fietkau | 2009-10-19 | 1 | -0/+12 |
| | | | | | | check on recv() SVN-Revision: 18061 | ||||
* | update hotplug2 to r199, fixes build failures on brcm-2.4 | Florian Fainelli | 2009-09-03 | 1 | -2/+2 |
| | | | | SVN-Revision: 17508 | ||||
* | hotplug2 may need -fPIC | Jo-Philipp Wich | 2009-05-29 | 1 | -1/+1 |
| | | | | SVN-Revision: 16199 | ||||
* | added back atm rule | Hamish Guthrie | 2009-05-28 | 1 | -1/+1 |
| | | | | SVN-Revision: 16137 | ||||
* | add hotplug2 v1.0 | Hamish Guthrie | 2009-05-28 | 2 | -0/+60 |
| | | | | SVN-Revision: 16136 | ||||
* | Move hotplug2 v0.9 to hotplug2-old | Hamish Guthrie | 2009-05-28 | 5 | -2476/+0 |
| | | | | SVN-Revision: 16135 | ||||
* | allow hotplug events to be triggered with the atm subsystem (#2996) | Florian Fainelli | 2009-05-26 | 1 | -1/+1 |
| | | | | SVN-Revision: 16073 | ||||
* | get rid of $Id$ - it has never helped us and it has broken too many patches ;) | Felix Fietkau | 2009-04-17 | 1 | -1/+0 |
| | | | | SVN-Revision: 15242 | ||||
* | Use block events for the mounting/unmounting of external storage devices. ↵ | Jose Vasconcellos | 2009-01-30 | 1 | -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. SVN-Revision: 14289 | ||||
* | hotplug2: add platform hotplugging | Gabor Juhos | 2009-01-28 | 2 | -5/+5 |
| | | | | SVN-Revision: 14248 | ||||
* | remove warning from hotplug2, which pops up 10 times during boot | John Crispin | 2008-08-04 | 1 | -7/+10 |
| | | | | SVN-Revision: 12086 | ||||
* | fix hotplug2 event processing deadlock | Felix Fietkau | 2008-07-30 | 1 | -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 SVN-Revision: 12019 | ||||
* | move hotplug2 & udevtrigger to base section | Nicolas Thill | 2008-04-21 | 1 | -2/+2 |
| | | | | SVN-Revision: 10910 | ||||
* | refactor hotplug2 rules, make sure that the default button rule is only used ↵ | Felix Fietkau | 2007-12-01 | 1 | -1/+1 |
| | | | | | | during the init (should fix #2772) SVN-Revision: 9644 | ||||
* | bump package versions after updates | Felix Fietkau | 2007-09-07 | 1 | -1/+1 |
| | | | | SVN-Revision: 8680 | ||||
* | move package description to a separate definition, remove it when ↵ | Nicolas Thill | 2007-09-07 | 1 | -2/+3 |
| | | | | | | DESCRIPTION=TITLE SVN-Revision: 8659 | ||||
* | reduce watchdog trigger from 10 to 5 seconds | John Crispin | 2007-09-01 | 1 | -1/+1 |
| | | | | SVN-Revision: 8571 | ||||
* | add watchdog start patch from #1967 | Felix Fietkau | 2007-07-23 | 1 | -0/+5 |
| | | | | SVN-Revision: 8117 | ||||
* | fix two small bugs in the hotplug2 rule parser (#2085) | Felix Fietkau | 2007-07-18 | 1 | -0/+22 |
| | | | | SVN-Revision: 8023 | ||||
* | move firmware loading to hotplug2-init.rules (should fix #2056) | Felix Fietkau | 2007-07-13 | 1 | -5/+0 |
| | | | | SVN-Revision: 7955 | ||||
* | hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix ↵ | Felix Fietkau | 2007-07-09 | 3 | -92/+1602 |
| | | | | | | permissions of various devices (fixes #2052) SVN-Revision: 7892 | ||||
* | replace the hotplug2 fork handling hack with a better solution implemented ↵ | Felix Fietkau | 2007-06-30 | 4 | -200/+245 |
| | | | | | | in upstream (thanks, iSteve) SVN-Revision: 7786 | ||||
* | hotplug2: add fork handling optimization (also fixes that pesky pppoe race ↵ | Felix Fietkau | 2007-06-25 | 1 | -0/+142 |
| | | | | | | condition in #1655) SVN-Revision: 7726 | ||||
* | update to hotplug2 svn version (recommended by iSteve) | Felix Fietkau | 2007-06-25 | 4 | -48/+543 |
| | | | | SVN-Revision: 7725 | ||||
* | fix failsafe on broadcom, send netlink events in diag when running linux 2.6 | Felix Fietkau | 2007-06-25 | 2 | -10/+0 |
| | | | | SVN-Revision: 7722 | ||||
* | hotplug2: add a missing cflag, allow hotplug events that are not 'add' | Felix Fietkau | 2007-06-25 | 2 | -1/+14 |
| | | | | SVN-Revision: 7721 | ||||
* | make hotplug2 use the build system cflags | Felix Fietkau | 2007-06-25 | 2 | -0/+14 |
| | | | | SVN-Revision: 7720 | ||||
* | added usb-storage hotpluging | John Crispin | 2007-06-20 | 1 | -1/+1 |
| | | | | SVN-Revision: 7684 | ||||
* | refresh all package patches in the buildroot using quilt | Felix Fietkau | 2007-06-04 | 1 | -3/+4 |
| | | | | SVN-Revision: 7490 | ||||
* | Fix alsa-lib on 2.6 kernels, add an hotplug rule to populate /dev with the ↵ | Florian Fainelli | 2007-05-15 | 1 | -0/+5 |
| | | | | | | sound peripherals (#1677) SVN-Revision: 7246 | ||||
* | fix firmware loading | Felix Fietkau | 2007-05-06 | 1 | -0/+5 |
| | | | | SVN-Revision: 7115 | ||||
* | use hotplug2 for serializing hotplug events on 2.6 | Felix Fietkau | 2007-05-05 | 4 | -1/+58 |
| | | | | SVN-Revision: 7097 | ||||
* | add file type autodetection for the unpack command and nuke PKG_CAT:= in ↵ | Felix Fietkau | 2007-03-16 | 1 | -1/+0 |
| | | | | | | lots of places SVN-Revision: 6582 | ||||
* | add a default for PKG_BUILD_DIR and PKG_INSTALL_DIR (will use ↵ | Felix Fietkau | 2007-03-16 | 1 | -2/+0 |
| | | | | | | KERNEL_BUILD_DIR if kernel.mk is included, BUILD_DIR otherwise) SVN-Revision: 6580 | ||||
* | make hotplug2 depend on udevtrigger | Felix Fietkau | 2007-03-04 | 1 | -1/+1 |
| | | | | SVN-Revision: 6511 | ||||
* | add hotplug2 | Felix Fietkau | 2007-03-04 | 1 | -0/+42 |
SVN-Revision: 6510 |