summaryrefslogtreecommitdiffstats
path: root/package/hotplug2
Commit message (Collapse)AuthorAgeFilesLines
* hotplug2: make it depend on !PROCD_INITblogic2013-04-251-1/+1
| | | | | | Signed-off-by: John Crispin <blogic@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@36446 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2: restore accidentally deleted patchjuhosg2013-03-031-0/+21
| | | | | | | | | | | | | Without the 170-non_fatal_include.patch hotplug2 throws this: Unable to include '/etc/hotplug2-platform.rules' Syntax error (/etc/hotplug2-common.rules, line 9): Syntax error: Internal parser error. Unable to include '/etc/hotplug2-common.rules' Syntax error (/etc/hotplug2-init.rules, line 3): Syntax error: Internal parser error. Signed-off-by: Gabor Juhos <juhosg@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35863 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2: fix a memory leak and wrong variables leaking into the fork worker ↵nbd2013-03-031-13/+24
| | | | | | process (#12436, maybe also #12765) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35857 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2: merge worker related fixes into one patchnbd2013-03-034-251/+179
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35856 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2: depend on libbsd only when targetting eglibcflorian2013-02-151-1/+1
| | | | | | Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@35608 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [buildroot] add preliminary support for muslflorian2012-11-231-1/+1
| | | | | | | | Musl is an alternative C-library, see http://www.musl-libc.org for more infos. Signed-off-by: Florian Fainelli <florian@openwrt.org> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@34314 3c298f89-4303-0410-b956-a3cf2f4a3e73
* add myself as a maintainer for various packagesnbd2012-10-081-0/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@33660 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package/*] remove special treatment when using glibc - support got droppedmirko2012-04-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@31504 3c298f89-4303-0410-b956-a3cf2f4a3e73
* base-files: process platform hotplug calls in the early launch of hotplug2 ↵nbd2011-11-051-1/+1
| | | | | | to avoid having crda calls get stuck at boot time (fixes #10350, #10354) git-svn-id: svn://svn.openwrt.org/openwrt/trunk@28768 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: make libbsd depend on "not uclibc" for now, the ↵jow2011-06-231-1/+1
| | | | | | conditional depdendency handling needs fixes git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27266 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package/hotplug2] fix conditional dependencies to libbsdmirko2011-06-231-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27265 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package/hotplug2] link against 'libbsd' when using glibcmirko2011-06-171-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27209 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package/hotplug] link hotplug2 against libbsd when eglibc is usedmirko2011-06-131-1/+6
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@27170 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: introduce tty subsystem events (#9211)jow2011-05-031-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26807 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: Added zaptel subsystem to /etc/hotplugs2.rules so that ↵cshore2011-03-211-1/+1
| | | | | | the zaptel kernel module package only needs to had a script to create the correct device nodes (default names differ from what all apps that use zaptel actually use, so a script is necessary). git-svn-id: svn://svn.openwrt.org/openwrt/trunk@26253 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2: replace udevtrigger from the udev-106 source with a much smaller ↵nbd2011-03-072-1/+351
| | | | | | self-contained, stripped-down version git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25920 3c298f89-4303-0410-b956-a3cf2f4a3e73
* hotplug2: Only ignore failed includes for missing filesmb2011-02-081-4/+14
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25421 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: Make missing include files non fatalacinonyx2011-02-071-0/+11
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25414 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: Use stricter matching for rule regular expressionsacinonyx2011-02-012-5/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@25282 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [PATCH] add input subsystem to hotplug rulesjow2010-11-141-1/+1
| | | | | | | | | | This patch adds the input subsystem to the hotplug rules, making it possible to react on the addition of input devices (e.g. USB numpads). Signed-off-by: Stefan Tomanek <stefan.tomanek+openwrt@wertarbyte.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23994 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2 depends on udevtriggerflorian2010-10-261-1/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23646 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: mark /etc/hotplug2.rules as conffilejow2010-10-051-1/+5
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23249 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: bump pkg release after hotplug fixes in r20679-r20685jow2010-05-101-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@21422 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: Refresh patchesacinonyx2010-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 ↵acinonyx2010-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 slowacinonyx2010-04-031-0/+21
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20682 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2: Fix forking (#7033)acinonyx2010-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 errorsacinonyx2010-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)acinonyx2010-04-031-0/+15
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@20679 3c298f89-4303-0410-b956-a3cf2f4a3e73
* package/hotplug2: refresh patchesjuhosg2010-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.nbd2009-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 wellnbd2009-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 uncompressednbd2009-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 ↵nbd2009-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.4florian2009-09-031-2/+2
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@17508 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [package] hotplug2 may need -fPICjow2009-05-291-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16199 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [hotplug2] added back atm rulehcg2009-05-281-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16137 3c298f89-4303-0410-b956-a3cf2f4a3e73
* [hotplug2] add hotplug2 v1.0hcg2009-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-oldhcg2009-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)florian2009-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 ;)nbd2009-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.matein42009-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 hotpluggingjuhosg2009-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 bootblogic2008-08-041-7/+10
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@12086 3c298f89-4303-0410-b956-a3cf2f4a3e73
* fix hotplug2 event processing deadlocknbd2008-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 sectionnico2008-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 ↵nbd2007-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 updatesnbd2007-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 ↵nico2007-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 secondsblogic2007-09-011-1/+1
| | | | git-svn-id: svn://svn.openwrt.org/openwrt/trunk@8571 3c298f89-4303-0410-b956-a3cf2f4a3e73