[Nix-dev] canon mp280 printer/scanner drivers

2015-12-05 Thread Tomas Hlavaty
Hi,

I would like to get Canon Pixma mp280 to work with NixOS.  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.  There are
Debian drivers at
http://support-nz.canon.co.nz/contents/NZ/EN/0100301402.html#content
(the real download is
).
Is there an example how to handle such situation, e.g. install kernel
drivers based on a debian package?

Thank you,

Tomas
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev


Re: [Nix-dev] canon mp280 printer/scanner drivers

2015-12-05 Thread Tobias Geerinckx-Rice
Hallo,

On 5 December 2015 at 16:06, Tomas Hlavaty  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
___
nix-dev mailing list
nix-dev@lists.science.uu.nl
http://lists.science.uu.nl/mailman/listinfo/nix-dev