Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save tmc/edd700cf9f501dded731e3c4d69f7cf4 to your computer and use it in GitHub Desktop.
Save tmc/edd700cf9f501dded731e3c4d69f7cf4 to your computer and use it in GitHub Desktop.
Reinstall USB Fax Modem Capabilities on macOS Sierra

This post tells how to reinstall USB fax modem capabilities on macOS Sierra, after Apple dropped support.

If dropping support for fax modems affects you negatively, please take the time to issue feedback at Apple's website.

To restore USB Fax Modem capability to Sierra, simply copy the files listed below from your old El Capitan install.

Here is this list of files you need:

/Library/Preferences/com.apple.print.FaxPrefs.plist
/System/Library/Frameworks/ApplicationServices.framework/Versions/A/Frameworks/PrintCore.framework/Versions/A/Resources/Fax.ppd
/Library/Printers/Fax.ppd # copy /System/Library/Frameworks/.../Fax.ppd file to /Library/Printers
/usr/bin/fax
/usr/bin/efax
/usr/bin/efix
/usr/share/man/man1/fax.1
/usr/share/man/man1/efax.1
/usr/share/man/man1/efix.1
/etc/efax.rc
/usr/libexec/fax/coverpage.py
/usr/libexec/fax/faxnotify
/usr/libexec/fax/imagestopdf
/System/Library/CoreServices/Menu extras/Fax.menu
/usr/libexec/cups/backend/fax

Here are the basic steps. I confirm that this works for me:

  • This requires a Time Machine, Disk Utility, Carbon Copy Cloner, or other backup of your pre-Sierra image.
  • Reboot your Mac with the Command-R recovery partition, and, if necessary (it should be if it's not), use Disk Utility to unlock and mount your encrypted boot drive.
  • Open the Terminal, and disable SIP using the command scrutil disable.
  • Reboot the Mac normally.
  • Use cp -R or rsync to copy over all the files to your Sierra boot drive. Ensure that the files have no ACL's or extended attributes if necessary with chmod -N and xargs -c. Test with ls -e and xargs.
  • Reboot your Mac with the Command-R recovery partition, and, if necessary (it should be if it's not), use Disk Utility to unlock and mount your encrypted boot drive.
  • Open the Terminal, and enable SIP using the command scrutil enable. Do not ignore this step.
  • Reboot the Mac normally.
  • Open the Directory Utility app from the Spotlight search tool, unlock with admin credentials, and enable the root account.
  • In Safari, browse to your Mac's CUPS server at http://localhost:631, Administration>Add Printer, authenticate as root and follow the steps to add the printer with a URI that looks like fax://dev/cu.usbmodem9804243. This will be the same printer in the previous plist prefs file, /Library/Preferences/com.apple.print.FaxPrefs.plist. Specify the PPD file /Library/Printers/Fax.ppd.
  • You should now see a working USB Fax Modem in System Preferences>Printers & Scanners.
  • Open the Directory Utility app from the Spotlight search tool, unlock with admin credentials, and disable the root account.
@tmc
Copy link
Author

tmc commented Jun 15, 2017

How much of this is buildable from https://opensource.apple.com/source/efax/efax-42/ ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment