• R/O
  • HTTP
  • SSH
  • HTTPS

Commit

Tags
No Tags

Frequently used words (click to add to your profile)

javac++androidlinuxc#windowsobjective-ccocoa誰得qtpythonphprubygameguibathyscaphec計画中(planning stage)翻訳omegatframeworktwitterdomtestvb.netdirectxゲームエンジンbtronarduinopreviewer

bootable/newinstaller


Commit MetaInfo

Revisiond5b17be02de2c13113d75ee47cfdb70d8f46ec34 (tree)
Time2011-01-24 18:17:07
AuthorChih-Wei Huang <cwhuang@linu...>
CommiterChih-Wei Huang

Log Message

0-auto-detect: detect wmi drivers in /sys/devices/virtual/wmi

The patch also reverts previous commit. It changes the order
of modules loaded which causes more problems.

Change Summary

Incremental Difference

--- a/initrd/scripts/0-auto-detect
+++ b/initrd/scripts/0-auto-detect
@@ -22,7 +22,8 @@ auto_detect()
2222 sed -n 's/^alias *\([^ ]*\) *\(.*\)/\1)modprobe \2;;/p' >> $tmp
2323 echo 'esac; done; }' >> $tmp
2424 source $tmp
25- find /sys -name modalias -exec cat {} \; | dev2mod
25+ cat /sys/bus/*/devices/*/modalias | dev2mod
26+ cat /sys/devices/virtual/wmi/*/modalias | dev2mod
2627 }
2728
2829 load_uvesafb()