Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Jun 2014 17:41:30 +0200
From:      Willy Offermans <Willy@Offermans.Rompen.nl>
To:        cups@cups.org
Cc:        freebsd-stable@FreeBSD.ORG
Subject:   Setup cups and Brother HL-4150CDN on FreeBSD 10
Message-ID:  <20140608154130.GA3621@vpn.offrom.nl>

next in thread | raw e-mail | index | archive | help
Dear cups and freebsd friends,

I'm trying to setup CUPS on FreeBSD 10. I managed to install the software
and I managed to make the printer available to the OS via /dev/ulpt0:

from messages:
<snip>
...
Jun  8 17:16:13 donald kernel: ugen1.2: <Brother> at usbus1
Jun  8 17:16:13 donald kernel: ulpt0: <Brother HL-4150CDN series, class 0/0, rev 2.00/1.00, addr 1> on usbus1
Jun  8 17:16:13 donald kernel: ulpt0: using bi-directional mode
Jun  8 17:16:13 donald kernel: ulpt0: offline
...
</snip>

from ll /dev/ulpt0

crw-rw----  1 root  cups  - 0x65 Jun  8 17:16 /dev/ulpt0

If I executed the following command:

echo 'true' > /dev/ulpt0

then the printer reacts and shows that data is transferred to the printer.

However, if I try to add the printer to CUPS via the web-interface, then
the printer is not detectable. I would expect the printer to be found after
searching. I can find an error message in error_log:

<snip>
...
E [08/Jun/2014:17:37:53 +0200] [Client 15] Invalid peer credentials for "root" - got 8, expected 0!
...
</snip>

I'm not sure if this is related to the fact that the printer cannot be
detected.

If I add the printer manually to the printer.conf file:

</Printer>
<Printer BHL4150CDN_2>
UUID urn:uuid:de11cfc5-3cbd-361e-5750-8b0e3f0ff4ad
AuthInfoRequired none
Info Brother HL-4150CDN series
Location attic
MakeModel Brother HL-4150CDN series CUPS
DeviceURI usb:/dev/ulpt0
State Idle
StateTime 1402241099
Type 8392780
Accepting Yes
Shared No
JobSheets none none
QuotaPeriod 0
PageLimit 0
KLimit 0
OpPolicy default
ErrorPolicy stop-printer
</Printer>

then I still cannot print to the printer.

Does anyone has a clue what is going on? Or how can I debug this problem?


-- 
Met vriendelijke groeten,
With kind regards,
Mit freundlichen Gruessen,
De jrus wah,

Wiel

*************************************
 W.K. Offermans
Home:   +31 45 544 49 44
Mobile: +31 681 15 87 68
Mobile: +49 1575 414 60 55
e-mail: Willy@Offermans.Rompen.nl

                                       Powered by ....

                                            (__)
                                         \\\'',)
                                           \/  \ ^
                                           .\._/_)

                                       www.FreeBSD.org



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140608154130.GA3621>