Date: Fri, 25 Apr 2008 17:50:11 +0200 From: Roland Smith <rsmith@xs4all.nl> To: David Reedy Jr <davidrjr@comcast.net> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: USB / printer woes Message-ID: <20080425155011.GA86456@slackbox.xs4all.nl> In-Reply-To: <200804250022.02795.davidrjr@comcast.net> References: <200804250022.02795.davidrjr@comcast.net>
next in thread | previous in thread | raw e-mail | index | archive | help
--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: <VIA 83C572 USB controller> port 0xd400-0xd41f at device 11.0 on= =20 > pci2 > uhci0: [GIANT-LOCKED] > uhci0: [ITHREAD] > usb0: <VIA 83C572 USB controller> on uhci0 > usb0: USB revision 1.0 > uhub0: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb0 > uhub0: 2 ports with 2 removable, self powered > uhci1: <VIA 83C572 USB controller> port 0xd000-0xd01f at device 11.1 on= =20 > pci2 > uhci1: [GIANT-LOCKED] > uhci1: [ITHREAD] > usb1: <VIA 83C572 USB controller> on uhci1 > usb1: USB revision 1.0 > uhub1: <VIA UHCI root hub, class 9/0, rev 1.00/1.00, addr 1> on usb1 > uhub1: 2 ports with 2 removable, self powered > ehci0: <VIA VT6202 USB 2.0 controller> 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: <VIA VT6202 USB 2.0 controller> on ehci0 > usb2: USB revision 2.0 > uhub2: <VIA EHCI root hub, class 9/0, rev 2.00/1.00, addr 1> on usb2 > uhub2: 4 ports with 4 removable, self powered >=20 > when I turn on the printer I get... >=20 > ulpt0: <HP Deskjet 3840, class 0/0, rev 2.00/1.00, addr 2> 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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080425155011.GA86456>