auto-detect POS/POW