aboutsummaryrefslogtreecommitdiff
path: root/examples/mdev_fat.conf (follow)
Commit message (Collapse)AuthorAgeFilesLines
* examples/mdev_fat.conf: document that newer mdev exposes pathDenys Vlasenko2015-02-071-3/+9
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* examples: add mdev example for Android phoneDenys Vlasenko2013-03-301-0/+30
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: improve $SEQ handling; improve debug loggingDenys Vlasenko2013-02-271-3/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Sequential run of concurrent mdev's was too simplistic: they waited for /dev/mdev.seq to match. This could sometimes cause cumulative loss of time on the order of a second. Added SIGCHLD signaling from exiting mdev to all other mdev's. Added debugging required to see that code actually works as intended. Example of /dev/mdev.log (with "woken up" elevated from dbg lvl 3 to 2): mdev[1023]: first seq written ^^^^ seq, not pid mdev[1023]: 35.022395 ACTION:add SUBSYSTEM:module DEVNAME:(null) DEVPATH:/module/lib80211 mdev[1023]: rule matched, line -1 ^^^^^^^ means "default rule" mdev[1023]: 35.022676 exiting ^^^^^^^^^ second,usec timestamp mdev[1024]: 35.069691 ACTION:add SUBSYSTEM:vc DEVNAME:vcs9 DEVPATH:/devices/virtual/vc/vcs9 mdev[1024]: dev 7,9 mdev[1025]: 35.069889 waiting for '1024' mdev[1026]: 35.069946 waiting for '1024' mdev[1027]: 35.070151 waiting for '1024' mdev[1024]: rule matched, line -1 mdev[1024]: mknod vcs9 (7,9) 20660 0:0 mdev[1024]: 35.070346 exiting mdev[1025]: woken up mdev[1026]: woken up mdev[1025]: 35.071213 ACTION:add SUBSYSTEM:vc DEVNAME:vcsa9 DEVPATH:/devices/virtual/vc/vcsa9 ^^^^^^^^^ took only a millisecond to start running after prev mdev exited mdev[1025]: dev 7,137 mdev[1027]: woken up mdev[1025]: rule matched, line -1 mdev[1025]: mknod vcsa9 (7,137) 20660 0:0 mdev[1025]: 35.072109 exiting function old new delta mdev_main 849 1372 +523 curtime - 59 +59 dirAction 87 134 +47 static.ts - 8 +8 keywords 19 12 -7 make_device 2189 2119 -70 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: remove undocumented subsystem/devname matching hackDenys Vlasenko2012-05-181-1/+0
| | | | | | | It was colliding with matching of devnames with slashes. We need a more generic way to examine env.vars in rules anyway. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: when found, print major,minor into mdev.logDenys Vlasenko2012-05-181-2/+6
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev: add support for $DEVNAME and /dev/mdev.log debug aidDenys Vlasenko2012-05-181-3/+0
| | | | | | | | | | | | | | | function old new delta make_device 1843 2083 +240 mdev_main 712 804 +92 packed_usage 29236 29251 +15 keywords 288 19 -269 ------------------------------------------------------------------------------ (add/remove: 0/0 grow/shrink: 3/1 up/down: 347/-269) Total: 78 bytes text data bss dec hex filename 887506 497 7584 895587 daa63 busybox_old 887982 497 7584 896063 dac3f busybox_unstripped Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* examples/mdev_fat.conf: small additionDenys Vlasenko2012-05-161-0/+3
| | | | | | I needed this to make Android's adb see my phone Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* mdev_fat.conf: add a rule to run nameifDenys Vlasenko2009-11-111-1/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak mdev_fat.conf exampleDenys Vlasenko2009-11-071-1/+4
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* tweak examplesDenys Vlasenko2009-11-071-2/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* adding examples/mdev_fat.confDenys Vlasenko2009-11-071-0/+105
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>