Posted on 03-19-2012 04:39 AM
For anyone that hasn't noticed yet, the new wacom tablet reports the correct name, so no need to amend my EA script to do more replacements. However, the grep for wacom now comes up with a false positive. Easy fix, just change the line:
system_profiler SPUSBDataType | grep -B 3 -i wacom | awk 'NR%5==1' |
to read:
system_profiler SPUSBDataType | grep -B 3 WACOM | awk 'NR%5==1' |
Sean
Posted on 03-20-2012 12:57 PM
Sean,
Brilliant as always, thanks for the update! I'll throw this in the old Wacom EA thread for anyone new thats looking.
Cheers,
Brandon
Posted on 04-16-2012 08:32 AM
since I changed this line my wacom EA stopped working (recon would hang). When I changed back it went smoothly through it.
Posted on 04-17-2012 01:44 AM
@jwojda
What happens if you copy the script and run it locally on a machine?
Sean
Posted on 08-15-2012 11:40 AM
I noticed the same thing when using the script above as an EA, Recon would never complete; running as a local script I noticed command not found errors.
Adding this as my EA is working for me - Casper 8.6, remote Macs are OS X 10.6.8 (will test on 10.7/10.8 shortly):
#!/bin/bash
echo -n "<result>"
system_profiler SPUSBDataType | grep -B 3 -i wacom | sed -e 's/^[ ]*//' | awk 'NR%5==1' |
#sed -e 's/USB Bus://' |
#sed -e 's/USB High-Speed Bus://' |
sed -e 's/XD-0405-U/Intuos2 A6/g' |
sed -e 's/XD-0405-R/Intuos2 A6/g' |
sed -e 's/XD-0608-U/Intuos2 A5/g' |
sed -e 's/XD-0608-R/Intuos2 A5/g' |
sed -e 's/XD-0912-U/Intuos2 A4/g' |
sed -e 's/XD-0912-R/Intuos2 A4/g' |
sed -e 's/XD-1212-U/Intuos2 A4 Oversize/g' |
sed -e 's/XD-1212-R/Intuos2 A4 Oversize/g' |
sed -e 's/XD-1218-U/Intuos2 A3/g' |
sed -e 's/XD-1218-R/Intuos2 A3/g' |
sed -e 's/PTZ-430/Intuos3 A6/g' |
sed -e 's/PTZ-431W/Intuos3 A6 Wide/g' |
sed -e 's/PTZ-630/Intuos3 A5/g' |
sed -e 's/PTZ-631W/Intuos3 A5 Wide/g' |
sed -e 's/PTZ-930/Intuos3 A4/g' |
sed -e 's/PTZ-1230/Intuos3 A4 Oversize/g' |
sed -e 's/PTK-440/Intuos4 S/g' |
sed -e 's/PTK-640/Intuos4 M/g' |
sed -e 's/PTK-840/Intuos4 L/g' |
sed -e 's/PTK-1240/Intuos4 XL/g' |
sed -e 's/PTK-450/Intuos5 touch Small/g' |
sed -e 's/PTH-650/Intuos5 touch Medium/g' |
sed -e 's/PTH-850/Intuos5 touch Large/g' |
sed -e 's/CTH-460/Bamboo Pen&Touch/g' |
sed -e 's/CTH-461/Bamboo Craft/g' |
sed -e 's/CTH-661/Bamboo Fun Pen&Touch/g' |
sed -e 's/CTL-470/Bamboo Connect/g' |
sed -e 's/CTL-471/Bamboo Splash/g' |
sed -e 's/CTH-470/Bamboo Capture/g' |
sed -e 's/CTH-670/Bamboo Create/g' |
sed -e 's/DTZ-1200W/Cintiq-12WX Intuos3/g' |
sed -e 's/DTZ-2100/Cintiq-21UX Intuos3/g' |
sed -e 's/DTK-1200W/Cintiq-12WX Intuos4/g' |
sed -e 's/DTK-2100/Cintiq-21UX Intuos4/g' |
sed -e '/^$/d' |
sed -e 's/(.*)./1/'
echo "</result>"
I also updated the list a bit with the Bamboo consumer models..
Thanks again @sean for the original.
-p