[Nix-dev] canon mp280 printer/scanner drivers

Tobias Geerinckx-Rice tobias.geerinckx.rice at gmail.com
Sat Dec 5 17:19:40 CET 2015


Hallo,

On 5 December 2015 at 16:06, Tomas Hlavaty <tom at logand.com> wrote:

> Is there an example how to handle such situation, e.g. install kernel
> drivers based on a debian package?

That shouldn't be necessary.

> The printer
> works but it doesn't recognise the scanner.  The only thing I found in
> nixpkgs is pkgs/misc/cups/drivers/canon/default.nix but that seems to
> install support for ghostscript and targets other device.

CUPS doesn't handle scanners (even All-In-One models). If your printer
works, CUPS is doing all it can do. Scanning on Linux is handled by
SANE:

  # My NixOS configuration, adapt to your system:
  hardware.sane = {
    extraBackends = with pkgs; [ hplip ];
    snapshot = true;
  };

Then install & try scanning with something like `simple-scan` (nice
and simple) or `xsane` (insanely not so).

Regards,

T G-R


More information about the nix-dev mailing list