Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Printing and Scanning with Canon Pixma/Pixus Series
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3 ... 15, 16, 17  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
necron
n00b
n00b


Joined: 09 Sep 2010
Posts: 43

PostPosted: Thu Jun 21, 2012 7:57 pm    Post subject: Reply with quote

it also occurs to me that someone might be interested to know what "../../" actually is: /var/tmp/portage/net-print/cnijfilter-2.80-r1/work/cnijfilter-2.80
Back to top
View user's profile Send private message
tclover
Apprentice
Apprentice


Joined: 10 Apr 2011
Posts: 295

PostPosted: Sun Jun 24, 2012 7:22 pm    Post subject: Reply with quote

@necron: you may try the newer ebuilds--2.80-r2. There's a link on bgo or else follow my sig. you can clone my overlay or copy ebuild+eclass to your local overlay.
_________________
mkinitramfs-ll:topic 879125::(bar-)overlay:topic 889918
Back to top
View user's profile Send private message
necron
n00b
n00b


Joined: 09 Sep 2010
Posts: 43

PostPosted: Sun Jun 24, 2012 8:57 pm    Post subject: Reply with quote

cool. i'll give your ebuild(s) a shot
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2291
Location: Germany

PostPosted: Mon Jul 30, 2012 9:25 pm    Post subject: Reply with quote

Anyone any luck with MX375 via USB on ~amd64?

Tried tclover's bar-overlay, cnijfilter 3.70-r2 emerged fine, use flags (debug gtk mx370 nls usb -e600 -ip100 -multislot -mx430 -mx510 -mx710 -mx890 -net -servicetools)

Could add the printer afterwards, however it just doesn't print. /var/cups/error_log prints out stuff like:

Code:

E [30/Jul/2012:23:06:31 +0200] [Job 337] Files have gone away!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 32!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 33!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 34!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 35!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 36!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 37!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 38!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 39!
E [30/Jul/2012:23:06:31 +0200] [Job 338] Files have gone away!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 41!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 42!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 43!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 44!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 45!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 46!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 47!
E [30/Jul/2012:23:06:31 +0200] Missing <Job #> directive on line 48!


Any clues?

EDIT:
also, when adding printers, it gives me 4 to select from: printer, fax, with and without readback. When I select "readback" it results in this error:
Code:


Add Printer USB_Printer_1_with_status_readback_for_Canon_IJ Error

Unable to add printer:

    Bad device-uri scheme "cnijusb".


EDIT2:

Also digging around some more, /usr/share/cups/model/mx370.ppd mentions pstocanonij3, but I don't have a pstocanonij3 anywhere. Maybe that's part of the problem?
Back to top
View user's profile Send private message
tclover
Apprentice
Apprentice


Joined: 10 Apr 2011
Posts: 295

PostPosted: Tue Jul 31, 2012 3:19 am    Post subject: Reply with quote

@frostschutz:

cups filters dir is `/usr/libexec/cups/filer' where you should find `pstocnaonij3' and backend are stored in `/usr/libexec/cups/backend' where you should find `cnijusb3' (net backend is `cnijnet3'). The `3' suffix are added by the ebuild to let user install at least a 2.x0 and 3.y0 slot at the same time. Double check the locations to see if the files are there or not. I have 2.70 and 3.70 with the required files currently installed. Alas, I don't have my printer near where I live to test the ebuils but other users reported to be fine with other printers on bgo.

I'd recommand at least servicetools and maybe net backend if you have any use of that.

If the files are there and the printer does not work, then move the files (binaries/filters/backend will suffice) by removing the 3 suffix and edit the .ppd file accordingly for test sake and then report back here if it does work that way or not. Do not forget to move back the files before unmerging the package with portage or else you will have to do it manually.
_________________
mkinitramfs-ll:topic 879125::(bar-)overlay:topic 889918
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2291
Location: Germany

PostPosted: Tue Jul 31, 2012 10:19 am    Post subject: Reply with quote

tclover wrote:
@frostschutz:

cups filters dir is `/usr/libexec/cups/filer' where you should find `pstocnaonij3' and backend are stored in `/usr/libexec/cups/backend' where you should find `cnijusb3' (net backend is `cnijnet3').



Aha. Seems I was looking in the wrong place earlier?

Code:

$$ /usr/libexec/cups $ ls */*
backend/cnijusb3     cgi-bin/printers.cgi   filter/pstops
backend/http         daemon/cups-deviced    filter/rastertodymo
backend/https        daemon/cups-driverd    filter/rastertoepson
backend/ipp          daemon/cups-exec       filter/rastertoescpx
backend/ipps         daemon/cups-lpd        filter/rastertohp
backend/lpd          daemon/cups-polld      filter/rastertolabel
backend/parallel     filter/bannertops      filter/rastertopclx
backend/serial       filter/commandtoescpx  filter/rastertopwg
backend/snmp         filter/commandtopclx   filter/texttops
backend/socket       filter/commandtops     monitor/bcp
backend/usb          filter/gziptoany       monitor/tbcp
cgi-bin/admin.cgi    filter/imagetops       notifier/dbus
cgi-bin/classes.cgi  filter/imagetoraster   notifier/mailto
cgi-bin/help.cgi     filter/pdftops         notifier/rss
cgi-bin/jobs.cgi     filter/pstocanonij3


So that seems to check out after all.

When I execute backend/cnijusb3, it prints
Code:

direct cnijusb:/dev/usb/lp0 "Canon MX370 series" "USB Printer #1 with status readback for Canon IJ"
direct cnijusb:/dev/usb/lp1 "Canon MX370 series FAX" "USB Printer #2 with status readback for Canon IJ"


However trying to add that in CUPS it still gives this error:

Code:

Unable to add printer: Bad device-uri scheme "cnijusb".


CUPS also lets me add a printer "without status readback", I can add that, but it does not print.

I'll test your suggested useflag changes / file rename suggestion and report back later. Thanks for helping! :)

EDIT:
The servicetools useflag seems to make it depend on libxml, but I have only libxml2 available and no ebuild for libxml-1.8 - am I missing anything here?
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2291
Location: Germany

PostPosted: Tue Jul 31, 2012 10:58 am    Post subject: Reply with quote

After symlinking cnijusb->cnijusb3 and pstocanonij->pstocanonij3, CUPS lets me add the printer it previously refused with "Bad device-uri scheme "cnijusb"."

However, it still does not print.

Do I need any special drivers apart from the usblp? All I have is lp0 and lp1 in /dev/usb

Code:

ls -l /dev/usb
total 0
crw-rw-r-- 1 root lp 180, 0 Jul 31 12:44 lp0
crw-rw-r-- 1 root lp 180, 1 Jul 31 12:44 lp1
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2291
Location: Germany

PostPosted: Tue Jul 31, 2012 11:15 am    Post subject: Reply with quote

ok, CUPS gives a little more useful output when setting loglevel to debug in cups.conf.

The output is very long, probably too long to post here; please tell me if you need the full log output and I'll nopaste it somewhere. Interesting lines as far as I can tell are:

Code:

I [31/Jul/2012:13:06:52 +0200] [Job 355] Started backend /usr/libexec/cups/backend/cnijusb3 (PID 1137)
E [31/Jul/2012:13:06:52 +0200] [Job 355] Illegal backend: Success
D [31/Jul/2012:13:06:52 +0200] [Job 355] pstocanonij: /usr/bin/gs -sstdout=%stderr -r600 -g4958x7016 -q -dNOPROMPT -dSAFER -sDEVICE=ppmraw -sOutputFile=%stdout -| /usr/local/bin/cifmx370 --imageres 600 --papersize a4 --media plain --paperload front2 --bbox 9,14,586,834 --fit 
D [31/Jul/2012:13:06:52 +0200] [Job 355] /bin/sh: /usr/local/bin/cifmx370: No such file or directory


- The illegal backend message did not show up before, could be a problem?
- For some reason it's looking for a /usr/local/bin/cifmx370, although the ebuild installed its files to /usr/bin/

I'll try symlinking those too just to see if it helps.

EDIT:

After symlinking the /usr/bin/ binaries to /usr/local/bin, the printer now shows "Please wait a while" on its display, and the error log scrolls this message every 2 second:

Code:

I [31/Jul/2012:13:23:43 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:45 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:47 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:49 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:51 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:53 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:55 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:57 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:23:59 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:01 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:03 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:05 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:07 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:09 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:11 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:13 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:15 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:17 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           
I [31/Jul/2012:13:24:19 +0200] [Job 357] STS:USB MX370           00 IVFUFE 100 B 100                                      D                             4           


So something happened. Doesn't look like it's actually going to print (taking its sweet time if it is) but I'll let it sit like that for a while until I have a new idea...

The illegal backend success etc. message isn't showing anymore either.

EDIT:

Minutes later still nothing new - there's a cnijusb process running, if I attach to it with strace it simply says: wait4(1724,

So it's waiting for something, not doing anyhting, not sure what's going on.
Back to top
View user's profile Send private message
frostschutz
Advocate
Advocate


Joined: 22 Feb 2005
Posts: 2291
Location: Germany

PostPosted: Tue Jul 31, 2012 10:07 pm    Post subject: Reply with quote

I've tried various things but no luck so far. No matter what I do, the printer simply "Please wait a while" indefinitely. Cups debug output is also not useful at this point. Both printer and PC seem to be waiting for something.

pstree looks like so:

Code:

        |-cupsd(1794)---cnijusb(1799)---lgmonmx370(1802)-+-lgmonmx370(1839)
        |                                                `-lgmonmx370(1840)


attaching to either of those processes with strace:


pausing and waiting:

Code:

# strace -p 1799
Process 1799 attached
wait4(1802,
# strace -p 1840
Process 1840 attached
pause(
# strace -p 1802
Process 1802 attached
pause(


lgmonmx370(1839) printing periodical debug message:
Code:

# strace -p 1839
Process 1839 attached
restart_syscall(<... resuming interrupted call ...>) = 0
rt_sigprocmask(SIG_BLOCK, [TERM], NULL, 8) = 0
read(1, "<?xml version=\"1.0\" encoding=\"ut"..., 4096) = 984
write(2, "INFO:STS:USB MX370           00 "..., 129) = 129
rt_sigprocmask(SIG_UNBLOCK, [TERM], NULL, 8) = 0
rt_sigprocmask(SIG_BLOCK, [CHLD], [], 8) = 0
rt_sigaction(SIGCHLD, NULL, {SIG_DFL, [], 0}, 8) = 0
rt_sigprocmask(SIG_SETMASK, [], NULL, 8) = 0
nanosleep({2, 0}, 0x7fffd4809500)       = 0
rt_sigprocmask(SIG_BLOCK, [TERM], NULL, 8) = 0
read(1, "<?xml version=\"1.0\" encoding=\"ut"..., 4096) = 984
write(2, "INFO:STS:USB MX370           00 "..., 129) = 129


Nothing really useful.

I still didn't get around to test with network instead of USB. I'll get around to that tomorrow. I'd really prefer getting this to work with USB though. The printer itself is fine - it works fine in Windows.

EDIT:

Out of frustration I went and updated my old TurboPrint license which I bought years ago for a Canon i550. Printer was up and running within a minute. :lol: Thanks anyway.
Back to top
View user's profile Send private message
tclover
Apprentice
Apprentice


Joined: 10 Apr 2011
Posts: 295

PostPosted: Thu Aug 02, 2012 6:53 pm    Post subject: Reply with quote

@frostschutz:

First, multislotibg does not work so I've just update the ebuilds/eclass to take that into account.

No theweird stuff is that it seems some binaries hard coded $bin path which is more annoying. I don't have the time to look at that. I hope my update is not clean enough to not need an extra fix I won't have the time in the next days.

Anyway, I cannot no longer compile cnijfilter with gcc-4.6.3 nor gcc-4.5.4 (used to compile just fine with gcc-4.5.3) so I won't be able to fix that an short time manner. If somebody need extra fixes [s]he has to step in and make it. I would gladly pick the changes latter.

One simple fix and easy while at that would be to revert the prefix[=/usr] to prefix=/usr/local. That should do the trick in a very timely manner.

EDIT: I have pushed a commit which enforce `--prefix=/usr' in src_configure() just now, if that does not work enforcing `--prefix=/usr/local' should do the trick.
_________________
mkinitramfs-ll:topic 879125::(bar-)overlay:topic 889918
Back to top
View user's profile Send private message
Fitzcarraldo
Guru
Guru


Joined: 30 Aug 2008
Posts: 358
Location: United Kingdom

PostPosted: Sat Sep 22, 2012 4:54 am    Post subject: Reply with quote

Just a 'heads up' for users of Canon printers who use USB to connect to the printer: CUPS 1.6.1 has an annoying bug for some models of USB printer (see http://cups.org/str.php?L4155). Apparently the bug was introduced in CUPS 1.5.4, so you can avoid it be staying with CUPS 1.5.3 for the time being.

My Canon PIXMA MP560 is one of the models affected by this bug. Fortunately the printer also supports WiFi so I can print via that instead of USB. The work-around recommended by CUPS developer Till Kamppeter didn't solve the problem using USB in my case:

Code:
# lpadmin -p <printer> -o usb-unidir-default=true

Code:
# lpadmin -p Canon_MP560_series -o usb-unidir-default=true

I have checked that the above command did indeed insert the recommended option in /etc/cups/printers.conf:

Code:
# grep unidir /etc/cups/printers.conf
Option usb-unidir true
#

and here is the section for the printer in /etc/cups/printers.conf:

Code:
<Printer Canon_MP560_series>
UUID urn:uuid:b3a780c3-3948-3a03-7f84-bf0eea8c6ba0
Info Canon MP560 series
Location My office upstairs
MakeModel Canon MP560 series Ver.3.20
DeviceURI usb://Canon/MP560%20series?serial=1653C4&interface=1
State Idle
StateTime 1348284757
Type 8425500
Accepting Yes
Shared Yes
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
Option usb-unidir true
</Printer>

but, in my case at least, the problem still remains when printing via USB.

------------------------------------------------

EDIT (March 26, 2013): The problem printing via USB with the Canon PIXMA MP560 was fixed by a quirk in CUPS 1.6.2 in backend/usb-libusb:

Code:
static const struct quirk_printer_struct quirk_printers[] = {
   { 0x03f0, 0x0004, USBLP_QUIRK_BIDIR }, /* HP DeskJet 895C */
   { 0x03f0, 0x0104, USBLP_QUIRK_BIDIR }, /* HP DeskJet 880C */
   { 0x03f0, 0x0204, USBLP_QUIRK_BIDIR }, /* HP DeskJet 815C */
   { 0x03f0, 0x0304, USBLP_QUIRK_BIDIR }, /* HP DeskJet 810C/812C */
   { 0x03f0, 0x0404, USBLP_QUIRK_BIDIR }, /* HP DeskJet 830C */
   { 0x03f0, 0x0504, USBLP_QUIRK_BIDIR }, /* HP DeskJet 885C */
   { 0x03f0, 0x0604, USBLP_QUIRK_BIDIR }, /* HP DeskJet 840C */
   { 0x03f0, 0x0804, USBLP_QUIRK_BIDIR }, /* HP DeskJet 816C */
   { 0x03f0, 0x1104, USBLP_QUIRK_BIDIR }, /* HP Deskjet 959C */
   { 0x0409, 0xefbe, USBLP_QUIRK_BIDIR }, /* NEC Picty900 (HP OEM) */
   { 0x0409, 0xbef4, USBLP_QUIRK_BIDIR }, /* NEC Picty760 (HP OEM) */
   { 0x0409, 0xf0be, USBLP_QUIRK_BIDIR }, /* NEC Picty920 (HP OEM) */
   { 0x0409, 0xf1be, USBLP_QUIRK_BIDIR }, /* NEC Picty800 (HP OEM) */
   { 0x0482, 0x0010, USBLP_QUIRK_BIDIR }, /* Kyocera Mita FS 820,
                    by zut <kernel@zut.de> */
   { 0x04a9, 0x10a2, USBLP_QUIRK_BIDIR }, /* Canon, Inc. PIXMA iP4200
             Printer, http://www.cups.org/str.php?L4155 */
   { 0x04a9, 0x10b6, USBLP_QUIRK_BIDIR }, /* Canon, Inc. PIXMA iP4300
             Printer, https://bugs.launchpad.net/bugs/1032385 */
   { 0x04a9, 0x1721, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP210
            https://bugzilla.redhat.com/show_bug.cgi?id=847923#c53 */
   { 0x04a9, 0x170c, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP500
             Printer, https://bugs.launchpad.net/bugs/1032456 */
   { 0x04a9, 0x1717, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP510
             Printer, https://bugs.launchpad.net/bugs/1050009 */
   { 0x04a9, 0x173d, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP550
             Printer, http://www.cups.org/str.php?L4155 */
   { 0x04a9, 0x173e, USBLP_QUIRK_BIDIR }, /* Canon, Inc. MP560
             Printer, http://www.cups.org/str.php?L4155 */
   { 0x04f9, 0x001a, USBLP_QUIRK_NO_REATTACH }, /* Brother Industries, Ltd
                    HL-1430 Laser Printer,
                 https://bugs.launchpad.net/bugs/1038695 */
   { 0x04f9, 0x000d, USBLP_QUIRK_BIDIR |
           USBLP_QUIRK_NO_REATTACH }, /* Brother Industries, Ltd
                    HL-1440 Laser Printer,
                 https://bugs.launchpad.net/bugs/1000253 */
   { 0x06bc, 0x000b, USBLP_QUIRK_NO_REATTACH }, /* Oki Data Corp.
                    Okipage 14ex Printer,
                 https://bugs.launchpad.net/bugs/872483 */
   { 0x06bc, 0x01c7, USBLP_QUIRK_NO_REATTACH }, /* Oki Data Corp. B410d,
                 https://bugs.launchpad.net/bugs/872483 */
   { 0x04b8, 0x0001, USBLP_QUIRK_BIDIR }, /* Seiko Epson Corp. Stylus Color 740 / Photo 750,
                 http://bugs.debian.org/697970 */
   { 0x04b8, 0x0202, USBLP_QUIRK_BAD_CLASS }, /* Seiko Epson Receipt
                        Printer M129C */
   { 0x067b, 0x2305, USBLP_QUIRK_BIDIR |
           USBLP_QUIRK_NO_REATTACH |
                     USBLP_QUIRK_RESET },
   { 0x0924, 0x3ce9, USBLP_QUIRK_NO_REATTACH }, /* Xerox Phaser 3124
           https://bugzilla.redhat.com/show_bug.cgi?id=867392 */
   { 0x0924, 0x4293, USBLP_QUIRK_NO_REATTACH }, /* Xerox WorkCentre 3210
                 https://bugs.launchpad.net/bugs/1102470 */
   /* Prolific Technology, Inc. PL2305 Parallel Port
      (USB -> Parallel adapter), https://bugs.launchpad.net/bugs/987485 */
   { 0x04e8, 0x0000, USBLP_QUIRK_RESET }, /* All Samsung devices,
                 https://bugs.launchpad.net/bugs/1032456 */
   { 0x0a5f, 0x0000, USBLP_QUIRK_BIDIR }, /* All Zebra devices,
                 https://bugs.launchpad.net/bugs/1001028 */
   /* Canon */
   { 0x04a9, 0x304a, USBLP_QUIRK_BLACKLIST }, /* Canon CP-10 */
   { 0x04a9, 0x3063, USBLP_QUIRK_BLACKLIST }, /* Canon CP-100 */
   { 0x04a9, 0x307c, USBLP_QUIRK_BLACKLIST }, /* Canon CP-200 */
   { 0x04a9, 0x307d, USBLP_QUIRK_BLACKLIST }, /* Canon CP-300 */
   { 0x04a9, 0x30bd, USBLP_QUIRK_BLACKLIST }, /* Canon CP-220 */
   { 0x04a9, 0x30be, USBLP_QUIRK_BLACKLIST }, /* Canon CP-330 */
   { 0x04a9, 0x30f6, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP400 */
   { 0x04a9, 0x310b, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP600 */
   { 0x04a9, 0x3127, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP710 */
   { 0x04a9, 0x3128, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP510 */
   { 0x04a9, 0x3141, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY ES1 */
   { 0x04a9, 0x3142, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP730 */
   { 0x04a9, 0x3143, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP720 */
   { 0x04a9, 0x3170, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP750 */
   { 0x04a9, 0x3171, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP740 */
   { 0x04a9, 0x3185, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY ES2 */
   { 0x04a9, 0x3186, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY ES20 */
   { 0x04a9, 0x31aa, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP770 */
   { 0x04a9, 0x31ab, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP760 */
   { 0x04a9, 0x31b0, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY ES30 */
   { 0x04a9, 0x31dd, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP780 */
   { 0x04a9, 0x31ee, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY ES40 */
   { 0x04a9, 0x3214, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP800 */
   { 0x04a9, 0x3255, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP900 */
   { 0x04a9, 0x3256, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP810 */
   { 0x04a9, 0x30F5, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY CP500 */
   { 0x04a9, 0x31AF, USBLP_QUIRK_BLACKLIST }, /* Canon SELPHY ES3 */
    /* MISSING PIDs: CP520, CP530, CP790 */
   { 0, 0 }
};

_________________
Fitzcarraldo's blog


Last edited by Fitzcarraldo on Tue Apr 23, 2013 11:34 am; edited 1 time in total
Back to top
View user's profile Send private message
keenblade
Veteran
Veteran


Joined: 03 Oct 2004
Posts: 1066

PostPosted: Sun Oct 07, 2012 5:15 pm    Post subject: Reply with quote

Hi, tclover.
I use your overlay and net-print/cnijfilter-3.00-r4 fails to emerge with the following error:
Code:

checking for pkg-config... /usr/bin/pkg-config
checking for GTK+ - version >= 2.0.0...
*** 'pkg-config --modversion gtk+-2.0' returned 2.24.13, but GTK+ (2.24.10)
*** was found! If pkg-config was correct, then it is best
*** to remove the old version of GTK+. You may also be able to fix the error
*** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing
*** /etc/ld.so.conf. Make sure you have run ldconfig if that is
*** required on your system.
*** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH
*** to point to the correct configuration files
no
configure: error: Cannot find GTK: Is gtk-config in path?

gtk+-2.24.13 is installed. Any idea?
_________________
Anyway it's all the same at the end...
Need help to get it working: "x-fi surround 5.1"
Back to top
View user's profile Send private message
dufeu
l33t
l33t


Joined: 30 Aug 2002
Posts: 717
Location: US-FL-EST

PostPosted: Tue Nov 20, 2012 9:30 pm    Post subject: Reply with quote

I've been trying to get my MP530 to work under linux. I've been deeply saddened over my lack of success.

I haven't been able to build any version of bjfilter nor cnijfilter. I'd like to build and try the latest version of cnijfilter-common.

Can someone share a copy of their ebuild overlay with me? I'm not a programmer but I can usually manage to properly copy overlays.

I have tried to understand from this thread where I can pull an overlay but there have been too many choices and those choices involving github are beyond my current level of knowledge {I've never used git to pull an overlay before}.


FWIW -

I've got the scanner side working well.

As for the printer side and with using USB, I can partially print using the foomatic/bj8oa06n.ppd file as the driver. This means I know I have a confirmed working connection and working printer.
_________________
People whom think M$ is mediocre, don't know the half of it.
Back to top
View user's profile Send private message
mikec1965
n00b
n00b


Joined: 20 Dec 2012
Posts: 1

PostPosted: Thu Dec 20, 2012 9:11 pm    Post subject: Canon MP450 - Password issue Reply with quote

Hi, while updating the printer software I experienced a power outage. When power was restored, I tried to run the update again, but I was being asked for a password to continue. As I haven't set a password, I was a bit stumped.

I tried doing a factory reset, but that didn't solve the problem.

I'm running on Windows 7 software.

Any help available?
Back to top
View user's profile Send private message
mrsaccess
n00b
n00b


Joined: 03 Sep 2005
Posts: 27
Location: Greece

PostPosted: Thu May 30, 2013 10:39 pm    Post subject: Reply with quote

I found an ebuild for scangearmp-1.60 which pointed to this thread. I updated it for scangearmp-2.10, which is for mx390, mx450, mx520, mx720, mx920, e610 series.
I didn't delve too deep in the ebuild, so for now scanning with Canon's driver through sane doesn't seem to work, but Canon's own app (scangearmp) works for both wired (usb, ethernet) and wireless (wifi) connections.

Here it is for anyone interested.
http://www.andmarios.com/attachments/forums_posts/scangearmp-2.10.ebuild

Mind you that some of these machines will be supported by sane-backend-1.0.24 (already in git).

Now, if only someone could help to get cnijfilter-drivers-3.80 compile on my machine. I actually need cnijfilter-drivers-3.90, but trying to adjust the ebuild, I got hit by a compile error.
Code:
x86_64-pc-linux-gnu-gcc -DHAVE_CONFIG_H -I. -DUSE_LIB_GLASE -pthread -I/usr/include/gtk-2.0 -I/usr/lib64/gtk-2.0/include -I/usr/include/pango-1.0 -I/usr/include/atk-1.0 -I/usr/include/cairo -I/usr/include/pixman-1 -I/usr/include/libdrm -I/usr/include/gdk-pixbuf-2.0 -I/usr/include/libpng16 -I/usr/include/pango-1.0 -I/usr/include/harfbuzz -I/usr/include/pango-1.0 -I/usr/include/glib-2.0 -I/usr/lib64/glib-2.0/include -I/usr/include/freetype2     -O2 -Wall -c support.c
bjcupsmon_ui.c: In function ‘freezeText’:
bjcupsmon_ui.c:1558:13: warning: variable ‘widget’ set but not used [-Wunused-but-set-variable]
bjcupsmon_main.c: In function ‘initApplication’:
bjcupsmon_main.c:496:97: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
bjcupsmon_main.c:531:92: warning: cast to pointer from integer of different size [-Wint-to-pointer-cast]
bjcupsmon_main.c:374:15: warning: variable ‘Odev’ set but not used [-Wunused-but-set-variable]
bjcupsmon_main.c: In function ‘updateUI’:
bjcupsmon_main.c:679:10: warning: variable ‘retx’ set but not used [-Wunused-but-set-variable]
bjcupsmon_main.c:618:14: warning: variable ‘Odev’ set but not used [-Wunused-but-set-variable]
bjcupsmon_cups.c: In function ‘checkPrinterState’:
bjcupsmon_cups.c:219:11: error: dereferencing pointer to incomplete type
bjcupsmon_cups.c:220:11: error: dereferencing pointer to incomplete type
bjcupsmon_cups.c:229:17: error: dereferencing pointer to incomplete type
bjcupsmon_cups.c:234:44: error: dereferencing pointer to incomplete type
.
.
.
bjcupsmon_cups.c:693:30: error: dereferencing pointer to incomplete type
bjcupsmon_cups.c:702:31: error: dereferencing pointer to incomplete type
make[2]: *** [bjcupsmon_cups.o] Error 1
make[2]: Leaving directory `/var/tmp/portage/net-print/cnijfilter-drivers-3.90/work/cnijfilter-source-3.90-1/mx520/cngpijmon/src'
make[1]: *** [all] Error 2
make[1]: Leaving directory `/var/tmp/portage/net-print/cnijfilter-drivers-3.90/work/cnijfilter-source-3.90-1/mx520/cngpijmon/src'

It is the same with 3.80 (and an appropriate drive of course).
_________________
Hardware: The parts of your pc you can kick.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3 ... 15, 16, 17
Page 17 of 17

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum