You are not logged in.

#1 2011-09-18 05:20:34

CPU Gastronomy
Member
From: Québec, Canada
Registered: 2010-12-29
Posts: 61

[SOLVED]Problem with cups 1.5.0 & Brother DCP-7065DN on x86_64

Hi guys,

One week ago, I completly wipe up my disk and reinstall Arch.
Today, I tried to  print to my printer (a Brother DCP-7065DN) via the network and it didn't work.

First, it worked before I wipe my disk (but I can't remember which version of cups and of the drivers I had).

I installed the driver with the help of this guide : http://bleedux.wordpress.com/2011/08/01 … -printing/
I got no problem, but I couldn't discover the printer in the web interface of cups.  So, I manually set it up with

lpd://[insert_ip_address_here]/BINARY_P1

Alas, when I tried to print via libreoffice, the printer didn't react, so I checked in the web interface of cups and the job was listed as "completed" with the user "Withheld" and had an unknown name.
I checked the configuration on the printer; it was all good.

I rechecked my install, redone the installation, reinstalled cups,  pinged the printer without problem, accessed its web interface.  I also reinitiliazed the printer to default settings, setting it up for the network, etc.  ...nothing changed.

Later, I saw that there were new PKGBUILD in the AUR for my printer, so I deleted all the files created by my last install and used the PKGBUILD :

  • brother-dcp7065dn-cupswrapper 2.0.4_2-1

  • brother-dcp7065dn-lpr 2.1.0_1-1

Samething as before.

I know there was a problem with the package "file" before, but before my reinstall of Arch, I had the latest version and had no problem.

Here is a sample of /var/log/cups/error_log :

E [17/Sep/2011:21:21:39 -0400] Unable to open listen socket for address [v1.::1]:631 - Address family not supported by protocol.
E [17/Sep/2011:21:32:09 -0400] Unable to open listen socket for address [v1.::1]:631 - Address family not supported by protocol.
E [17/Sep/2011:21:36:11 -0400] Unable to open listen socket for address [v1.::1]:631 - Address family not supported by protocol.
E [17/Sep/2011:21:47:59 -0400] Unable to open listen socket for address [v1.::1]:631 - Address family not supported by protocol.
E [17/Sep/2011:21:54:44 -0400] Unable to open listen socket for address [v1.::1]:631 - Address family not supported by protocol.
E [17/Sep/2011:22:15:06 -0400] Unable to open listen socket for address [v1.::1]:631 - Address family not supported by protocol.
E [17/Sep/2011:23:00:58 -0400] Unable to open listen socket for address [v1.::1]:631 - Address family not supported by protocol.
E [17/Sep/2011:23:01:00 -0400] [cups-deviced] PID 3060 (snmp) stopped with status 1!
E [17/Sep/2011:23:01:25 -0400] [cups-deviced] PID 3086 (snmp) stopped with status 1!
E [17/Sep/2011:23:01:25 -0400] [cups-deviced] PID 3106 (snmp) stopped with status 1!
E [17/Sep/2011:23:05:31 -0400] [cups-deviced] PID 3156 (snmp) stopped with status 1!
E [17/Sep/2011:23:05:37 -0400] [cups-deviced] PID 3175 (snmp) stopped with status 1!
E [17/Sep/2011:23:06:03 -0400] [cups-deviced] PID 3193 (snmp) stopped with status 1!
E [17/Sep/2011:23:06:08 -0400] [cups-deviced] PID 3212 (snmp) stopped with status 1!
E [17/Sep/2011:23:06:22 -0400] [cups-deviced] PID 3234 (snmp) stopped with status 1!
E [17/Sep/2011:23:06:59 -0400] [cups-deviced] PID 3253 (snmp) stopped with status 1!
E [17/Sep/2011:23:07:03 -0400] [cups-deviced] PID 3270 (snmp) stopped with status 1!
E [17/Sep/2011:23:10:23 -0400] [cups-deviced] PID 3304 (snmp) stopped with status 1!
E [17/Sep/2011:23:10:26 -0400] [cups-deviced] PID 3323 (snmp) stopped with status 1!
E [17/Sep/2011:23:11:30 -0400] [cups-deviced] PID 3352 (snmp) stopped with status 1!
E [17/Sep/2011:23:12:59 -0400] [cups-deviced] PID 3372 (snmp) stopped with status 1!
E [17/Sep/2011:23:13:02 -0400] [cups-deviced] PID 3389 (snmp) stopped with status 1!
E [17/Sep/2011:23:14:49 -0400] [cups-deviced] PID 3410 (snmp) stopped with status 1!
E [17/Sep/2011:23:14:56 -0400] [cups-deviced] PID 3429 (snmp) stopped with status 1!
E [17/Sep/2011:23:24:56 -0400] Unable to open listen socket for address [v1.::1]:631 - Address family not supported by protocol.

So, anyone has an idea ?


EDIT : I forgot to mention that my other printer, a Brother 4040CDN is not discovered by CUPS too.  I haven't tried to install for the moment.   I really need to sleep now.


Solution : I installed libcups from the multilib repository and it is finally working.
But it still doesn't discover the printer on the network.  It seems to be a problem with snmp and/or cups, so I have to configure it manually.

Last edited by CPU Gastronomy (2011-09-24 16:56:16)

Offline

#2 2011-09-18 05:24:39

dmbrown
Member
From: Ohio, United States
Registered: 2011-09-18
Posts: 15

Re: [SOLVED]Problem with cups 1.5.0 & Brother DCP-7065DN on x86_64

Try using ipp instead of lpd.  Brother usually uses ipp for the printer and lpd for the fax.

Offline

#3 2011-09-18 14:22:04

CPU Gastronomy
Member
From: Québec, Canada
Registered: 2010-12-29
Posts: 61

Re: [SOLVED]Problem with cups 1.5.0 & Brother DCP-7065DN on x86_64

I tried and it has the same behaviours : the printer does not respond even if cups says it has sent the file correctly.

Maybe it's a driver problem, but I think I use the same as before...

Offline

#4 2011-09-18 15:10:40

CPU Gastronomy
Member
From: Québec, Canada
Registered: 2010-12-29
Posts: 61

Re: [SOLVED]Problem with cups 1.5.0 & Brother DCP-7065DN on x86_64

I checked with my netbook who still has cups 1.4.8 and it shows the printers on "discovered printers" on the network contrary to my desktop. 

I don't know if it's because of the version or a missing package, but I'm going to check that.

Offline

#5 2011-09-18 18:05:28

CPU Gastronomy
Member
From: Québec, Canada
Registered: 2010-12-29
Posts: 61

Re: [SOLVED]Problem with cups 1.5.0 & Brother DCP-7065DN on x86_64

Ok, I hate much more printers now -_-'

I downgraded cups and libcups to 1.4.8-2,  the printer react, but it said "Receiving data"  continuously without printing.  I had this problem before and it was with the package file, but as I remember, the last update of the package was ok before my disk wipe.  I downgraded to 5.0.4 as was saying this blog : http://bleedux.wordpress.com/2011/08/01 … omment-204,
restarted cupsd...same result.  Ha yes, with cups 1.4.8, I could "discover" my two network printers.

I tried with other packages, not better.

I went on my netbook, install the printer drivers and cupwrappers via the AUR and TADA ! it prints ! WTF !?  It used cups 1.4.8...
I continued to fiddle on my desktop...no more result.
I upgraded the cups and libcups package on my netbook to 1.5.0-1 to see if it was cups that was making me wanting to smash my computer.
Upgraded, reboot, started cupsd, sent the job...it prints....what the hell ?!

Maybe it was the config files, so I copied all the directory /etc/cups of my netbook to my desktop.  I restarted cupsd on the desktop (it was on cups 1.5.0-1), sent the job...same result as before : the printer doesn't react and cups show the job aas completed.

I'm about to start smashing my head on the wall.

I don't think that's making a big difference with cups, but my netbook is running a custom kernel that I didn't upgraded for about a while (it's the netbook-kernel 2.6.39 ) and my desktop is x86_64 and on the stock Arch kernel fully updated.

Now, I seriously don't know what to do and/or try.

EDIT : Corrected some errors and added some clarifications.

Last edited by CPU Gastronomy (2011-09-18 18:07:37)

Offline

#6 2011-09-18 19:12:31

fubar0
Member
Registered: 2009-10-05
Posts: 18

Re: [SOLVED]Problem with cups 1.5.0 & Brother DCP-7065DN on x86_64

Offline

#7 2011-09-18 19:16:00

CPU Gastronomy
Member
From: Québec, Canada
Registered: 2010-12-29
Posts: 61

Re: [SOLVED]Problem with cups 1.5.0 & Brother DCP-7065DN on x86_64

Thanks, but as I said, I alreay tried (it was working with file 5.08 before). 

It seems that it's more a problem with cups.

Offline

#8 2011-09-24 16:52:39

CPU Gastronomy
Member
From: Québec, Canada
Registered: 2010-12-29
Posts: 61

Re: [SOLVED]Problem with cups 1.5.0 & Brother DCP-7065DN on x86_64

I finally found the damned solution;  by installing libcups from the multilib repository, I got it working finally with cups 1.5.0-1 !!!

Offline

#9 2011-09-27 17:55:53

ssivil
Member
Registered: 2011-09-23
Posts: 28

Re: [SOLVED]Problem with cups 1.5.0 & Brother DCP-7065DN on x86_64

Do you mean lib32-libcups from multlib?  I too have this problem and still get the Unknown/Withheld on the Cups page.

Offline

#10 2011-09-27 18:45:09

CPU Gastronomy
Member
From: Québec, Canada
Registered: 2010-12-29
Posts: 61

Re: [SOLVED]Problem with cups 1.5.0 & Brother DCP-7065DN on x86_64

Yes, I meant this package.

Is your problem just the username with Withheld and/or you just can't print ?

For the username problem, I rode on http://comments.gmane.org/gmane.comp.pr … eral/28645 :

As for the "withheld" in the web interface, that is new security mojo in CUPS 1.5.0 that is controlled by the JobPrivateAccess and JobPrivateValues directives in each operation policy. Basically we now, by default, hide all "personal" information in jobs unless you are an admin or the owner of the job. You can disable this pretty easily to get the pre-1.5.0 behavior by replacing the existing lines in cupsd.conf with:

    JobPrivateAccess all
    JobPrivateValues none

and then restarting cupsd (editing via the web interface will do this for you...)

I haven't try, so I can't confirm this.

If you can't print, check this : http://bleedux.wordpress.com/2011/08/01 … -printing/ , maybe it cans help by installing the driver completly by hand (don't forget to completly wipe the old one).

If that doesn't help, bring more details about your system, your setup and what you've tried up to now.

EDIT : just corrected some errors.

Last edited by CPU Gastronomy (2011-09-27 18:47:19)

Offline

#11 2011-09-28 11:19:25

ssivil
Member
Registered: 2011-09-23
Posts: 28

Re: [SOLVED]Problem with cups 1.5.0 & Brother DCP-7065DN on x86_64

Thank you for the link CPU!  It's nice knowing the reason is Cups tightening security and not me!

Offline

Board footer

Powered by FluxBB