Here's a patch file that you can use to get your local installation to recognize the Atrix in laptop mode (phone mode is already recognized):
- Code: Select all
<?xml version="1.0" encoding="UTF-8"?>
<wurfl_patch>
<devices>
<device user_agent="Mozilla/5.0 (X11; U; Linux armv7l; en-US; rv:1.9.2.13) Gecko/20101218 Firefox/3.6.13 MB860/Version.4.0.2210.MB860.ATT.en.US" fall_back="mot_mb860_ver1" id="mot_mb_860_ver1_desktop">
<group id="product_info">
<capability name="is_wireless_device" value="false" />
</group>
<group id="display">
<capability name="resolution_width" value="1366" />
<capability name="resolution_height" value="768" />
</group>
</device>
</devices>
</wurfl_patch>
The
is_wireless_device setting is commonly used to serve a watered-down mobile site, so you may want to keep it as
false if it can handle desktop sites ok.
To use this, copy the code and paste it into a new text file called
atrix_patch.xml or something similar, then put it in the
data/ dir, then edit
TeraWurflConfig.php and add your file to the end of the PATCH_FILE option and reload the WURFL.
I got this user agent from an Atrix at an AT&T store a couple days ago, so it's possible that it is different from yours, but it should still be detected properly.
Let me know how this works out.