Portál AbcLinuxu, 6. května 2025 07:31

Canon Pixma MG5150

Podpora: částečná
Ovladač: dodává výrobce

Technické parametry

Identifikace pod Linuxem

Bus 001 Device 003: ID 04a9:1748 Canon, Inc.

Postup zprovoznění pod Linuxem

Po jednouché instalace ovladačů (IJ Printer Driver a ScanGearMP z rpm/dep popř. zdrojáků) lze bez problémů tisknout přes CUPS a skenovat pomocí aplikace ScanGear nebo přímo do GIMPu. Nefunguje se SANE.

 

Zprovoznění pod SANE

Pro zprovoznění pod SANE jsem našel (vynalezl :-) následující postup (říkám tomu rychlý hack, asi by šel udělat jednoduše balík). Postup se týká i dalších modelů MGxxxx, ale i dalších, sane nepodporovaných tiskáren od Canonu (pro které je scangearmp)

Ovladač pro "naší" tiskárnu musí být nainstalovaný! (pro MG51xx verze 1.60)

Test 1

[xpj@expee ~]$ sane-find-scanner 

  # sane-find-scanner will now attempt to detect your scanner. If the
  # result is different from what you expected, first make sure your
  # scanner is powered up and properly connected to your computer.

  # No SCSI scanners found. If you expected something different, make sure that
  # you have loaded a kernel SCSI driver for your SCSI adapter.

found USB scanner (vendor=0x04a9 [Canon], product=0x1748 [MG5100 series]) at libusb:001:003
  # Your USB scanner was (probably) detected. It may or may not be supported by
  # SANE. Try scanimage -L and read the backend's manpage.

  # Not checking for parallel port scanners.

  # Most Scanners connected to the parallel port or other proprietary ports
  # can't be detected by this program.

  # You may want to run this program as root to find all devices. Once you
  # found the scanner devices, be sure to adjust access permissions as
  # necessary.

Test 2

[xpj@expee ~]$ scanimage -T
scanimage: scanning image of size 1275x1753 pixels at 24 bits/pixel
scanimage: acquiring RGB frame, 8 bits/sample
scanimage: reading one scanline, 3825 bytes...  PASS
scanimage: reading one byte...          FAIL Overflow: 3825 bytes
scanimage: stepped read, 2 bytes...     FAIL Overflow: 3825 bytes
scanimage: stepped read, 4 bytes...     FAIL Overflow: 3825 bytes
scanimage: stepped read, 8 bytes...     FAIL Overflow: 3825 bytes
scanimage: stepped read, 16 bytes...    FAIL Overflow: 3825 bytes
scanimage: stepped read, 32 bytes...    FAIL Overflow: 3825 bytes
scanimage: stepped read, 64 bytes...    FAIL Overflow: 3825 bytes
scanimage: stepped read, 128 bytes...   FAIL Overflow: 3825 bytes
scanimage: stepped read, 256 bytes...   FAIL Overflow: 3825 bytes
scanimage: stepped read, 512 bytes...   FAIL Overflow: 3825 bytes
scanimage: stepped read, 1024 bytes...  FAIL Overflow: 3825 bytes
scanimage: stepped read, 2048 bytes...  FAIL Overflow: 3825 bytes
scanimage: stepped read, 4096 bytes...  PASS
scanimage: stepped read, 4095 bytes...  PASS
scanimage: stepped read, 2047 bytes...  FAIL Overflow: 3825 bytes
scanimage: stepped read, 1023 bytes...  FAIL Overflow: 3825 bytes
scanimage: stepped read, 511 bytes...   FAIL Overflow: 3825 bytes
scanimage: stepped read, 255 bytes...   FAIL Overflow: 3825 bytes
scanimage: stepped read, 127 bytes...   FAIL Overflow: 3825 bytes
scanimage: stepped read, 63 bytes...    FAIL Overflow: 3825 bytes
scanimage: stepped read, 31 bytes...    FAIL Overflow: 3825 bytes
scanimage: stepped read, 15 bytes...    FAIL Overflow: 3825 bytes
scanimage: stepped read, 7 bytes...     FAIL Overflow: 3825 bytes
scanimage: stepped read, 3 bytes...     FAIL Overflow: 3825 bytes

Sice failuje, ale nakonec funguje :-)

Skenování

[xpj@expee tmp]$ scanimage -v > o.png
scanimage: scanning image of size 1275x1753 pixels at 24 bits/pixel
scanimage: acquiring RGB frame
scanimage: min/max graylevel value = 3/255
scanimage: read 6705225 bytes in total

Dokument vytvořil: xpj, 11.11.2010 15:33 | Poslední úprava: xpj, 29.3.2011 22:49 | Historie změn | Zobrazeno: 5732×

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.