OSDN Git Service

0-auto-detect: enable bluetooth for other platforms
[android-x86/bootable-newinstaller.git] / initrd / scripts / 0-auto-detect
index fb79fc2..e8fe138 100644 (file)
@@ -39,7 +39,7 @@ asus_info()
        board=`cat /sys/class/dmi/id/product_name`
        # assume Eee PC models
        case "$board" in
-               700|701|900)
+               700|701|702|900)
                        LANDEV=atl2
                        WIFDEV=ath5k
                        ;;
@@ -150,7 +150,8 @@ find_network_dev_name()
 load_modules()
 {
        if [ -n "$FOUND" ]; then
-               for m in $PREDEV $EXTMOD; do
+               BTDEV="bnep rfcomm sco btusb"
+               for m in $BTDEV $PREDEV $EXTMOD; do
                        modprobe $m
                done
                [ -n "$FB0DEV" -a -z "$UVESA_MODE" ] && modprobe $FB0DEV