Skip to main content
CamerasControl a Canon camera from your computer

Darkgrade controls 52 Canon EOS cameras from a Mac or Linux computer over USB: the EOS R mirrorless bodies, and DSLRs from the EOS 5D Mark II and EOS 50D to the Rebel line. It is the longest list of the three brands. This is tethered shooting. From code, that is one command (npx darkgrade camera take-photo) or a few lines of TypeScript with Slate; on a Mac, Studio does it with no code. Darkgrade talks to a Canon directly, so it needs neither EOS Utility nor Canon's SDK.

Before you plug in a Canon

A Canon usually has no USB mode to set. Three things matter:

  • Quit EOS Utility. Only one program can hold a camera over USB, and Canon's own app takes it when it is open.
  • Disable Wi-Fi on a body that has the setting. On some DSLRs the cable does not work while the camera's wireless setting is on. Canon says so for the EOS 80D and the EOS 750D (Rebel T6i), where the setting is [Wi-Fi/NFC], and for the EOS 6D and EOS 6D Mark II, where it is [Wi-Fi]: set it to [Disable], then connect the cable. Canon adds that the setting cannot be changed while a cable is connected, so unplug first.
  • Put the photo/movie lever at Photo to take photos, on a body that has one. A camera with the lever at Movie refuses the shutter.

Then connect it with a USB cable that carries data and switch it on. On a Mac, macOS itself may hold the camera: Could not claim the USB device has the fix for each product.

Supported Canon cameras

All 52 work in Studio, MCP, the CLI and Slate. A Rebel is listed under its EOS number, with the Rebel name in brackets.

  • EOS R
  • EOS RP
  • EOS R1
  • EOS R3
  • EOS R5
  • EOS R5 Mark II
  • EOS R6
  • EOS R6 Mark II
  • EOS R6 Mark III
  • EOS R8
  • EOS R8 Mark II
  • EOS R7
  • EOS R10
  • EOS R50
  • EOS R50 V
  • EOS R100
  • EOS-1D Mark IV
  • EOS-1D X
  • EOS-1D X Mark II
  • EOS-1D X Mark III
  • EOS 5D Mark II
  • EOS 5D Mark III
  • EOS 5D Mark IV
  • EOS 5DS
  • EOS 5DS R
  • EOS 6D
  • EOS 6D Mark II
  • EOS 7D
  • EOS 7D Mark II
  • EOS 50D
  • EOS 60D
  • EOS 70D
  • EOS 77D
  • EOS 80D
  • EOS 90D
  • EOS 100DRebel SL1
  • EOS 200DRebel SL2
  • EOS 250DRebel SL3
  • EOS 500DRebel T1i
  • EOS 550DRebel T2i
  • EOS 600DRebel T3i
  • EOS 650DRebel T4i
  • EOS 700DRebel T5i
  • EOS 750DRebel T6i
  • EOS 760DRebel T6s
  • EOS 800DRebel T7i
  • EOS 850DRebel T8i
  • EOS 1100DRebel T3
  • EOS 1200DRebel T5
  • EOS 1300DRebel T6
  • EOS 2000DRebel T7, 1500D
  • EOS 4000DRebel T100

A Canon that is not here still gets the Canon driver when you plug it in: try it. The full list has a search box and the other two brands.

What a Canon can do

Settings, autofocus, focus on a point, manual focus steps, photos, live view, video, card files and the battery all work. A Canon also has eye selection and its own Continuous AF, which keeps the lens roughly in focus before you press.

Four things are not there on a Canon:

Not on CanonWhy
FlashNot supported yet.
Picture profileCanon Log can't be set over USB.
Zoom to a focal lengthSony only. A Canon can start and stop a power zoom.
The camera's on-screen display in live viewSony only.

Good to know

  • Darkgrade keeps a Canon awake while it is connected. In Slate, new Camera({ keepAlive: false }) turns this off.
  • Photo formats combine a type and a size, as in RAW+L or cRAW+M1.
  • A video format is one value for size, rate, file type and compression together, such as 4K 23.98 fps · MP4 · IPB (Standard).
  • Live-view quality is High (960×640 on an EOS R6 Mark III) or Low (480×320).
  • Manual focus steps turn live view on, and never report atLimit.
  • A Canon does not say whether autofocus found focus, so autofocus reports unknown.
  • The battery is a coarse level, such as low or full, not a percentage.
  • Image stabilisation is the lens's IS setting, so it appears only when the camera reports one.
  • The audio level runs from 0 to 63, and has so far been read-only.
  • Power zoom appears only when a power-zoom lens or adapter reports its zoom position. Darkgrade has not yet run it on one.

Wi-Fi

Studio, MCP and the CLI reach a Canon over USB only. From Slate, a Canon also connects over Wi-Fi or Ethernet with PTP/IP, the network form of the same protocol: give IPTransport the camera's address and tell Slate the brand with vendorId: VendorIDs.CANON. Support over a network is partial. See Wi-Fi with PTP/IP.

Darkgrade uses neither of Canon's own interfaces, the EDSDK library or the CCAPI web API. How Slate compares sets them side by side.

Canon's words

Darkgrade uses one name per setting on every brand. These are the Canon words for them:

Canon saysIn Darkgrade
Picture StyleLook
One-Shot, AI Servo, Movie Servo AFFocus modes
AF methodFocus area
Continuous AFContinuous AF
Lens ISImage stabilisation
Movie rec sizeVideo quality
Digital teleconverterDigital zoom
Rebel T7i, Rebel SL3 and so onThe EOS number: 800D, 250D

The Vocabulary has the rest.

First steps with a Canon

With EOS Utility closed and the camera plugged in, choose RAW with a large JPEG and take a photo.

Open Studio. The camera's name replaces
"No camera" above the picture.

In the sidebar, choose the photo format,
then press Return to take a photo.

Each product has a quickstart: Studio, MCP, CLI and Slate.

Canon PTP reference

Over USB, Slate speaks standard PTP plus Canon's EOS extensions. A Canon is put into remote mode with CanonSetRemoteMode when it connects, and reports changes in batches that the computer asks for with CanonGetEventData. Canon's USB vendor ID is 04a9.

Other brands: Sony and Nikon.

⌘I