Florian Fainelli
30ccd13c81
hotplug2: depend on libbsd only when targetting eglibc
...
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 35608
12 years ago
Florian Fainelli
6b63716262
add preliminary support for musl
...
Musl is an alternative C-library, see http://www.musl-libc.org for more infos.
Signed-off-by: Florian Fainelli <florian@openwrt.org>
SVN-Revision: 34314
12 years ago
Felix Fietkau
37e89213fd
add myself as a maintainer for various packages
...
SVN-Revision: 33660
12 years ago
Mirko Vogt
232b7aa65b
remove special treatment when using glibc - support got dropped
...
SVN-Revision: 31504
13 years ago
Felix Fietkau
248ab4ac2f
base-files: process platform hotplug calls in the early launch of hotplug2 to avoid having crda calls get stuck at boot time ( fixes #10350 , #10354 )
...
SVN-Revision: 28768
13 years ago
Jo-Philipp Wich
67fc519a3d
hotplug2: make libbsd depend on "not uclibc" for now, the conditional depdendency handling needs fixes
...
SVN-Revision: 27266
14 years ago
Mirko Vogt
ddb4735871
fix conditional dependencies to libbsd
...
SVN-Revision: 27265
14 years ago
Mirko Vogt
8d48672c10
link against 'libbsd' when using glibc
...
SVN-Revision: 27209
14 years ago
Mirko Vogt
471c8077ee
link hotplug2 against libbsd when eglibc is used
...
SVN-Revision: 27170
14 years ago
Jo-Philipp Wich
d66dc5307d
hotplug2: introduce tty subsystem events ( #9211 )
...
SVN-Revision: 26807
14 years ago
Daniel Dickinson
c28e406a9c
hotplug2: Added zaptel subsystem to /etc/hotplugs2.rules so that 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).
...
SVN-Revision: 26253
14 years ago
Felix Fietkau
504eda0da9
hotplug2: replace udevtrigger from the udev-106 source with a much smaller self-contained, stripped-down version
...
SVN-Revision: 25920
14 years ago
Michael Büsch
e69e0dd0b2
hotplug2: Only ignore failed includes for missing files
...
SVN-Revision: 25421
14 years ago
Vasilis Tsiligiannis
1ac5bff825
hotplug2: Make missing include files non fatal
...
SVN-Revision: 25414
14 years ago
Vasilis Tsiligiannis
824331a594
hotplug2: Use stricter matching for rule regular expressions
...
SVN-Revision: 25282
14 years ago
Jo-Philipp Wich
98d4c31860
add input subsystem to hotplug rules 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>
SVN-Revision: 23994
14 years ago
Florian Fainelli
5dba516032
hotplug2 depends on udevtrigger
...
SVN-Revision: 23646
14 years ago
Jo-Philipp Wich
c865a4f5ee
hotplug2: mark /etc/hotplug2.rules as conffile
...
SVN-Revision: 23249
14 years ago
Jo-Philipp Wich
24b5c903f4
hotplug2: bump pkg release after hotplug fixes in r20679-r20685
...
SVN-Revision: 21422
15 years ago
Vasilis Tsiligiannis
34a5f7bcbe
hotplug2: Refresh patches
...
SVN-Revision: 20685
15 years ago
Vasilis Tsiligiannis
ddc4230c30
hotplug2: Fix event blocking when there are no available children ( #6958 , #7030 )
...
SVN-Revision: 20684
15 years ago
Vasilis Tsiligiannis
2cdfbaa86c
hotplug2: Always fork rules flagged as slow
...
SVN-Revision: 20682
15 years ago
Vasilis Tsiligiannis
1516cadf1f
hotplug2: Fix forking ( #7033 )
...
SVN-Revision: 20681
15 years ago
Vasilis Tsiligiannis
41f375e837
hotplug2: Cancel firmware loading on file openning errors
...
SVN-Revision: 20680
15 years ago
Vasilis Tsiligiannis
d234536a34
hotplug2: Fix sysfs path ( #7031 )
...
SVN-Revision: 20679
15 years ago
Gabor Juhos
3b57cccb71
package/hotplug2: refresh patches
...
SVN-Revision: 20462
15 years ago
Felix Fietkau
679cab88fe
Fix a memory leak in hotplug2 environment handling. 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>
SVN-Revision: 18725
15 years ago
Felix Fietkau
73723393f9
hotplug2: get rid of the unnecessary reference to libdl as well
...
SVN-Revision: 18106
15 years ago
Felix Fietkau
ebb1151032
hotplug2: compile in the worker module statically, saves >20k uncompressed
...
SVN-Revision: 18104
15 years ago
Felix Fietkau
47ba8235cd
hotplug2: fix "MALLOC FAILURE!" message caused by a missing return code check on recv()
...
SVN-Revision: 18061
15 years ago
Florian Fainelli
e8727498cb
update hotplug2 to r199, fixes build failures on brcm-2.4
...
SVN-Revision: 17508
15 years ago
Jo-Philipp Wich
12c997d9ec
hotplug2 may need -fPIC
...
SVN-Revision: 16199
16 years ago
Hamish Guthrie
0c5d5b0e9b
added back atm rule
...
SVN-Revision: 16137
16 years ago
Hamish Guthrie
b38b823afb
add hotplug2 v1.0
...
SVN-Revision: 16136
16 years ago
Hamish Guthrie
5513f6a9e9
Move hotplug2 v0.9 to hotplug2-old
...
SVN-Revision: 16135
16 years ago
Florian Fainelli
ae7afb7cdb
allow hotplug events to be triggered with the atm subsystem ( #2996 )
...
SVN-Revision: 16073
16 years ago
Felix Fietkau
34939cad39
get rid of $Id$ - it has never helped us and it has broken too many patches ;)
...
SVN-Revision: 15242
16 years ago
Jose Vasconcellos
58b8cdb5fd
Use block events for the mounting/unmounting of external storage devices. 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
16 years ago
Gabor Juhos
ec34d908c7
hotplug2: add platform hotplugging
...
SVN-Revision: 14248
16 years ago
John Crispin
863afccae8
remove warning from hotplug2, which pops up 10 times during boot
...
SVN-Revision: 12086
17 years ago
Felix Fietkau
c5ecc1790a
fix hotplug2 event processing deadlock
...
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
17 years ago
Nicolas Thill
8231561bce
move hotplug2 & udevtrigger to base section
...
SVN-Revision: 10910
17 years ago
Felix Fietkau
9b27c5b585
refactor hotplug2 rules, make sure that the default button rule is only used during the init (should fix #2772 )
...
SVN-Revision: 9644
17 years ago
Felix Fietkau
4db9556f99
bump package versions after updates
...
SVN-Revision: 8680
17 years ago
Nicolas Thill
34bb4638e7
move package description to a separate definition, remove it when DESCRIPTION=TITLE
...
SVN-Revision: 8659
17 years ago
John Crispin
18a03ce770
reduce watchdog trigger from 10 to 5 seconds
...
SVN-Revision: 8571
17 years ago
Felix Fietkau
50d052a1eb
add watchdog start patch from #1967
...
SVN-Revision: 8117
18 years ago
Felix Fietkau
fd5595ed5c
fix two small bugs in the hotplug2 rule parser ( #2085 )
...
SVN-Revision: 8023
18 years ago
Felix Fietkau
c50816d093
move firmware loading to hotplug2-init.rules (should fix #2056 )
...
SVN-Revision: 7955
18 years ago
Felix Fietkau
0e387805fb
hotplug2 update - include hotplug2-init.rules from hotplug2.rules, fix permissions of various devices ( fixes #2052 )
...
SVN-Revision: 7892
18 years ago