*)
;;
esac
+
+ if [ "`cat /proc/asound/card0/id`" = "IntelHDMI" ]; then
+ [ -d /proc/asound/card1 ] || set_property ro.hardware.audio.primary hdmi
+ fi
}
function init_hal_bluetooth()
*i7Stylus*)
set_property hal.sensors.iio.accel.matrix 1,0,0,0,-1,0,0,0,-1
;;
+ *ST70416-6*)
+ set_property hal.sensors.iio.accel.matrix 0,-1,0,-1,0,0,0,0,-1
+ ;;
+ *ONDATablet*)
+ set_property hal.sensors.iio.accel.matrix 0,1,0,1,0,0,0,0,-1
+ ;;
*)
;;
esac
*TEGA*|*2010:svnIntel:*|*Lucid-MWE*)
set_property rild.libpath /system/lib/libhuaweigeneric-ril.so
set_property rild.libargs "-d /dev/ttyUSB2 -v /dev/ttyUSB1"
+ set_property ro.radio.noril no
;;
*)
+ set_property ro.radio.noril yes
;;
esac
}
# import cmdline variables
for c in `cat /proc/cmdline`; do
case $c in
- *.*=*)
+ BOOT_IMAGE=*|iso-scan/*|*.*=*)
;;
*=*)
eval $c