NOTE: it would be nice if machine maintainers run the script on their device instead of pasting a line from /proc/cpuinfo. If the htc universal people had done so, they would have noticed everything comes up in *uppercase*. So xtscal wasn't broken
module_id() {
- # Get model name
- echo `grep "^Hardware" /proc/cpuinfo | sed -e "s/.*: *//" | tr a-z A-Z`
-+ awk 'BEGIN { FS=": " } /Hardware/ { print $2 }' </proc/cpuinfo
++ awk 'BEGIN { FS=": " } /Hardware/ { print $2 }' </proc/cpuinfo | tr a-z A-Z
}
case `module_id` in
- # H2200: works without rotation
+ "HP IPAQ H3100" | "HP IPAQ H3800" )
+ ARGS="-rotate 90" ;;
-+ "HP IPAQ H3600" | "HP IPAQ H3700" | "HP IPAQ H3900" | "HTC Universal" | *COLLIE | *POODLE | *Spitz | *Akita | *Borzoi)
++ "HP IPAQ H3600" | "HP IPAQ H3700" | "HP IPAQ H3900" | "HTC UNIVERSAL" | *COLLIE | *POODLE | *SPITZ | *AKITA | *BORZOI)
+ ARGS="-rotate 270" ;;
+ # H2200: works without rotation
esac
require xtscal.inc
-PR = "r4"
+PR = "r5"
SRC_URI += "file://xtscal-cxk.patch;patch=1"