On Mon, Apr 08, 2013 at 09:10:18PM +0200, Erwin Geerdink wrote: > Hi, > > Recently I obtained a Canon Pixma MP230 printer/scanner which I can't > get to work on my OpenBSD box. OpenBSD recognizes the device (w/ kernel > ulpt device disabled), however: > > - There is no cups/foomatic driver for this specific model. I tried > the MP220 and MP240 ppd drivers but they don't work (the device > indicator light blinks twice, which means 'no paper in tray', which > is obviously not the case) > > - Canon provides IJ printer drivers for Linux (source). Simply using > the included ppd file results in an error: "File > "/usr/local/libexec/cups/filter/pstocanonij" not available: No such > file or directory" > Clearly, the linux drivers need to be built but this also results in > errors. Unfortunately, I do not have the programming/porting > skills to solve this problem. > > Does anyone know how to get this device work?
Canon is one of the worst brand when it comes to opensource. pstocanonij might just be a wrapper which you can get from a linux rpm and tweak to make it work (I had luck doing that using some linux driver for unsupported Brother printers) -- or it might just be a linux-only binary blob in which case, there's not much hope. When it comes to printing/scanning, I would get the hell away from Canon and Brother -- there are the worst by far. They support Linux the same way NVidia does for its graphic chips... > OpenBSD 5.2 (GENERIC.MP) #368: Wed Aug 1 10:04:49 MDT 2012 > dera...@amd64.openbsd.org:/usr/src/sys/arch/amd64/compile/GENERIC.MP > real mem = 2011496448 (1918MB) > avail mem = 1935638528 (1845MB) > mainbus0 at root > bios0 at mainbus0: SMBIOS rev. 2.4 @ 0xf0e20 (19 entries) > bios0: vendor Hewlett-Packard version "F.07" date 08/09/2007 > bios0: Hewlett-Packard 30D1 > acpi0 at bios0: rev 2 > acpi0: sleep states S0 S3 S4 S5 > acpi0: tables DSDT FACP TCPA SRAT SSDT MCFG HPET APIC BOOT SLIC > acpi0: wakeup devices PCI0(S5) USB0(S0) USB2(S0) Z017(S0) Z018(S0) > MAC0(S5) P2P0(S5) XVR0(S5) XVR1(S5) XVR3(S5) XVR4(S5) XVR5(S5) XVR6(S5) > KBC0(S3) MSE0(S3) > acpitimer0 at acpi0: 3579545 Hz, 24 bits > acpimcfg0 at acpi0 addr 0xe0000000, bus 0-4 > acpihpet0 at acpi0: 25000000 Hz > acpimadt0 at acpi0 addr 0xfee00000: PC-AT compat > cpu0 at mainbus0: apid 0 (boot processor) > cpu0: AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55, 1800.47 MHz > cpu0: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP > cpu0: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB > 64b/line 16-way L2 cache > cpu0: ITLB 32 4KB entries fully associative, 8 4MB entries fully > associative > cpu0: DTLB 32 4KB entries fully associative, 8 4MB entries fully > associative > cpu0: apic clock running at 200MHz > cpu1 at mainbus0: apid 1 (application processor) > cpu1: AMD Athlon(tm) 64 X2 Dual-Core Processor TK-55, 1800.17 MHz > cpu1: > FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CFLUSH,MMX,FXSR,SSE,SSE2,HTT,SSE3,CX16,NXE,MMXX,FFXSR,LONG,3DNOW2,3DNOW,LAHF,CMPLEG,SVM,EAPICSP,AMCR8,3DNOWP > cpu1: 64KB 64b/line 2-way I-cache, 64KB 64b/line 2-way D-cache, 256KB > 64b/line 16-way L2 cache > cpu1: ITLB 32 4KB entries fully associative, 8 4MB entries fully > associative > cpu1: DTLB 32 4KB entries fully associative, 8 4MB entries fully > associative > ioapic0 at mainbus0: apid 2 pa 0xfec00000, version 11, 24 pins > acpiprt0 at acpi0: bus 0 (PCI0) > acpiprt1 at acpi0: bus 2 (P2P0) > acpiprt2 at acpi0: bus -1 (XVR0) > acpiprt3 at acpi0: bus 4 (XVR1) > acpiprt4 at acpi0: bus 3 (XVR2) > acpiprt5 at acpi0: bus -1 (XVR3) > acpiprt6 at acpi0: bus -1 (XVR4) > acpiprt7 at acpi0: bus -1 (XVR5) > acpiprt8 at acpi0: bus -1 (XVR6) > acpiec0 at acpi0 > acpicpu0 at acpi0: C3, C2, PSS > acpicpu1 at acpi0: PSS > acpitz0 at acpi0acpitz0: THRM: failed to read _CRT > : no critical temperature defined > acpibtn0 at acpi0: SLPB > acpiac0 at acpi0: AC unit online > acpibat0 at acpi0: BAT0 not present > acpibtn1 at acpi0: LID_ > acpibtn2 at acpi0: PWRB > acpivideo0 at acpi0: UVGA > acpivout0 at acpivideo0: LCD_ > cpu0: PowerNow! K8 1800 MHz: speeds: 1800 1600 800 MHz > pci0 at mainbus0 bus 0 > "NVIDIA MCP67 Memory" rev 0xa2 at pci0 dev 0 function 0 not configured > pcib0 at pci0 dev 1 function 0 "NVIDIA MCP67 ISA" rev 0xa2 > nviic0 at pci0 dev 1 function 1 "NVIDIA MCP67 SMBus" rev 0xa2 > iic0 at nviic0 > iic1 at nviic0 > spdmem0 at iic1 addr 0x50: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM > spdmem1 at iic1 addr 0x51: 1GB DDR2 SDRAM non-parity PC2-5300CL5 SO-DIMM > "NVIDIA MCP67 Memory" rev 0xa2 at pci0 dev 1 function 2 not configured > "NVIDIA MCP67 Co-processor" rev 0xa2 at pci0 dev 1 function 3 not > configured > ohci0 at pci0 dev 2 function 0 "NVIDIA MCP67 USB" rev 0xa2: apic 2 int > 11, version 1.0, legacy support > ehci0 at pci0 dev 2 function 1 "NVIDIA MCP67 USB" rev 0xa2: apic 2 int 7 > usb0 at ehci0: USB revision 2.0 > uhub0 at usb0 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 > ohci1 at pci0 dev 4 function 0 "NVIDIA MCP67 USB" rev 0xa2: apic 2 int > 5, version 1.0, legacy support > ehci1 at pci0 dev 4 function 1 "NVIDIA MCP67 USB" rev 0xa2: apic 2 int > 10 > usb1 at ehci1: USB revision 2.0 > uhub1 at usb1 "NVIDIA EHCI root hub" rev 2.00/1.00 addr 1 > pciide0 at pci0 dev 6 function 0 "NVIDIA MCP67 IDE" rev 0xa1: DMA, > channel 0 configured to compatibility, channel 1 configured to compatibility > atapiscsi0 at pciide0 channel 0 drive 0 > scsibus0 at atapiscsi0: 2 targets > cd0 at scsibus0 targ 0 lun 0: <MATSHITA, DVD-RAM UJ-861H, 1.50> ATAPI > 5/cdrom removable > cd0(pciide0:0:0): using PIO mode 4, DMA mode 2 > pciide0: channel 1 ignored (disabled) > azalia0 at pci0 dev 7 function 0 "NVIDIA MCP67 HD Audio" rev 0xa1: apic > 2 int 10 > azalia0: codecs: Conexant CX20549 > audio0 at azalia0 > ppb0 at pci0 dev 8 function 0 "NVIDIA MCP67 PCI" rev 0xa2 > pci1 at ppb0 bus 2 > "Ricoh 5C832 Firewire" rev 0x05 at pci1 dev 5 function 0 not configured > sdhc0 at pci1 dev 5 function 1 "Ricoh 5C822 SD/MMC" rev 0x22: apic 2 > int 11 > sdmmc0 at sdhc0 > "Ricoh 5C843 MMC" rev 0x12 at pci1 dev 5 function 2 not configured > "Ricoh 5C592 Memory Stick" rev 0x12 at pci1 dev 5 function 3 not > configured > "Ricoh 5C852 xD" rev 0x12 at pci1 dev 5 function 4 not configured > pciide1 at pci0 dev 9 function 0 "NVIDIA MCP67 SATA" rev 0xa2: DMA > pciide1: using apic 2 int 11 for native-PCI interrupt > wd0 at pciide1 channel 0 drive 0: <SAMSUNG HM321HI> > wd0: 16-sector PIO, LBA48, 305245MB, 625142448 sectors > wd0(pciide1:0:0): using PIO mode 4, Ultra-DMA mode 6 > nfe0 at pci0 dev 10 function 0 "NVIDIA MCP67 LAN" rev 0xa2: apic 2 int > 11, address 00:00:00:00:00:00 > rlphy0 at nfe0 phy 1: RTL8201L 10/100 PHY, rev. 1 > ppb1 at pci0 dev 12 function 0 "NVIDIA MCP67 PCIE" rev 0xa2 > pci2 at ppb1 bus 4 > ppb2 at pci0 dev 13 function 0 "NVIDIA MCP67 PCIE" rev 0xa2 > pci3 at ppb2 bus 3 > "Broadcom BCM4311" rev 0x02 at pci3 dev 0 function 0 not configured > vga1 at pci0 dev 18 function 0 vendor "NVIDIA", unknown product 0x0531 > rev 0xa2 > wsdisplay0 at vga1 mux 1: console (80x25, vt100 emulation) > wsdisplay0: screen 1-5 added (80x25, vt100 emulation) > pchb0 at pci0 dev 24 function 0 "AMD AMD64 0Fh HyperTransport" rev 0x00 > pchb1 at pci0 dev 24 function 1 "AMD AMD64 0Fh Address Map" rev 0x00 > pchb2 at pci0 dev 24 function 2 "AMD AMD64 0Fh DRAM Cfg" rev 0x00 > kate0 at pci0 dev 24 function 3 "AMD AMD64 0Fh Misc Cfg" rev 0x00: core > rev BH-G1 > isa0 at pcib0 > isadma0 at isa0 > pckbc0 at isa0 port 0x60/5 > pckbd0 at pckbc0 (kbd slot) > pckbc0: using irq 1 for kbd slot > wskbd0 at pckbd0: console keyboard, using wsdisplay0 > pms0 at pckbc0 (aux slot) > pckbc0: using irq 12 for aux slot > wsmouse0 at pms0 mux 0 > pms0: Synaptics touchpad, firmware 6.3 > pcppi0 at isa0 port 0x61 > spkr0 at pcppi0 > usb2 at ohci0: USB revision 1.0 > uhub2 at usb2 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 > usb3 at ohci1: USB revision 1.0 > uhub3 at usb3 "NVIDIA OHCI root hub" rev 1.00/1.00 addr 1 > mtrr: Pentium Pro MTRR support > uvideo0 at uhub1 port 2 configuration 1 interface 0 "Chicony > Electronics Co., Ltd. HP Webcam" rev 2.00/6.06 addr 2 > video0 at uvideo0 > uhidev0 at uhub2 port 1 configuration 1 interface 0 "Logitech USB-PS/2 > Optical Mouse" rev 2.00/27.20 addr 2 > uhidev0: iclass 3/1 > ums0 at uhidev0: 8 buttons, Z dir > wsmouse1 at ums0 mux 0 > uhidev1 at uhub2 port 5 configuration 1 interface 0 "vendor 0x145f > Trust Keyboard" rev 2.00/1.00 addr 3 > uhidev1: iclass 3/1 > ukbd0 at uhidev1: 8 variable keys, 6 key codes > wskbd1 at ukbd0 mux 1 > wskbd1: connecting to wsdisplay0 > uhidev2 at uhub2 port 5 configuration 1 interface 1 "vendor 0x145f > Trust Keyboard" rev 2.00/1.00 addr 3 > uhidev2: iclass 3/0, 2 report ids > uhid0 at uhidev2 reportid 1: input=2, output=0, feature=0 > uhid1 at uhidev2 reportid 2: input=1, output=0, feature=0 > vscsi0 at root > scsibus1 at vscsi0: 256 targets > softraid0 at root > scsibus2 at softraid0: 256 targets > root on wd0a (6efc545957b69a15.a) swap on wd0b dump on wd0b > ugen0 at uhub0 port 4 "Canon MP230 series" rev 2.00/1.04 addr 2 > ugen0 detached > ugen0 at uhub0 port 4 "Canon MP230 series" rev 2.00/1.04 addr 2 > -- Antoine