From owner-freebsd-questions@FreeBSD.ORG Fri Apr 25 15:50:17 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 517E91065688 for ; Fri, 25 Apr 2008 15:50:17 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr2.xs4all.nl (smtp-vbr2.xs4all.nl [194.109.24.22]) by mx1.freebsd.org (Postfix) with ESMTP id D545E8FC27 for ; Fri, 25 Apr 2008 15:50:16 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from slackbox.xs4all.nl (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr2.xs4all.nl (8.13.8/8.13.8) with ESMTP id m3PFoBBi079671; Fri, 25 Apr 2008 17:50:11 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.xs4all.nl (Postfix, from userid 1001) id 40932B829; Fri, 25 Apr 2008 17:50:11 +0200 (CEST) Date: Fri, 25 Apr 2008 17:50:11 +0200 From: Roland Smith To: David Reedy Jr Message-ID: <20080425155011.GA86456@slackbox.xs4all.nl> Mail-Followup-To: David Reedy Jr , FreeBSD Questions References: <200804250022.02795.davidrjr@comcast.net> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9jxsPFA5p3P2qPhR" Content-Disposition: inline In-Reply-To: <200804250022.02795.davidrjr@comcast.net> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.17 (2007-11-01) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: FreeBSD Questions Subject: Re: USB / printer woes X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Apr 2008 15:50:17 -0000 --9jxsPFA5p3P2qPhR Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Fri, Apr 25, 2008 at 12:22:02AM -0500, David Reedy Jr wrote: > Small home network. Bottom line, trying to get a USB printer working=20 > with cups. Right now I'm thinking it's more of a usb problem. >=20 > USB related dmesg output... >=20 > uhci0: port 0xd400-0xd41f at device 11.0 on= =20 > pci2 > uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: on uhci0 > usb0: USB revision 1.0 > uhub0: on usb0 > uhub0: 2 ports with 2 removable, self powered > uhci1: port 0xd000-0xd01f at device 11.1 on= =20 > pci2 > uhci1: [GIANT-LOCKED] > uhci1: [ITHREAD] > usb1: on uhci1 > usb1: USB revision 1.0 > uhub1: on usb1 > uhub1: 2 ports with 2 removable, self powered > ehci0: mem 0xf2000000-0xf20000ff at=20 > device 11.2 on pci2 > ehci0: [GIANT-LOCKED] > ehci0: [ITHREAD] > usb2: EHCI version 1.0 > usb2: companion controllers, 2 ports each: usb0 usb1 > usb2: on ehci0 > usb2: USB revision 2.0 > uhub2: on usb2 > uhub2: 4 ports with 4 removable, self powered >=20 > when I turn on the printer I get... >=20 > ulpt0: on uhub1 > ulpt0: using bi-directional mode >=20 > Depending on the physical port connected to, it's either uhub0 or uhub1,= =20 > connecting to usb0 / usb1 both of which are usb revision 1.0. All the=20 > information I have says this printer is usb 2.0. Why is it not=20 > attaching to ehci0/uhub2/usb2? Hard to say. Some USB products react differently depending on how you connect them. I've got a USB disk enclosure that connects as USB 1.1 if I make the connection first and then switch it on.=20 If I switch it on first and then make the connection it connects as USB 2.0. Try it and see if it helps. =20 > echo "something" > /dev/ulpt0 results in silence. I don't think this is even _supposed_ to work. It's been a while since you could just cat a file to a printer port. :-) > So does printing a=20 > test page from the cups web interface. It's a black hole. If you look at the openprinting.org page for this printer, you'll see that this printer requires the hplip driver;=20 http://openprinting.org/show_printer.cgi?recnum=3DHP-DeskJet_3840 You can install it from ports. It is in print/hplip. > Can anybody tell me what's wrong? Would removing ohci/uhci from the=20 > kernel force it to connect to the usb 2.0 side of things? Make sure that the hplip driver in installed. Make sure that you have the right permissions set for /dev/ulpt0.=20 See /usr/ports/print/cups-base/pkg-message Have a look at the cups logfiles in /var/log/cups. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --9jxsPFA5p3P2qPhR Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.8 (FreeBSD) iEYEARECAAYFAkgR/bMACgkQEnfvsMMhpyUmugCeMmqrLxBQzXRQ4DkyxbVYZ21R LiUAnjsoREOW8bp4YVV3iCENJ/rCTWZP =6nrg -----END PGP SIGNATURE----- --9jxsPFA5p3P2qPhR--