From owner-freebsd-questions Sun Mar 24 16:49:47 2002 Delivered-To: freebsd-questions@freebsd.org Received: from mgr1.xmission.com (mgr1.xmission.com [198.60.22.201]) by hub.freebsd.org (Postfix) with ESMTP id EACDD37B405 for ; Sun, 24 Mar 2002 16:49:40 -0800 (PST) Received: from [198.60.22.22] (helo=mail.xmission.com) by mgr1.xmission.com with esmtp (Exim 3.22 #1) id 16pIg8-0006xd-00; Sun, 24 Mar 2002 17:49:40 -0700 Received: from [204.228.152.42] (helo=gary.wa5qjh.net.) by mail.xmission.com with esmtp (Exim 3.22 #1) id 16pIg7-0004M4-00; Sun, 24 Mar 2002 17:49:39 -0700 Date: Sun, 24 Mar 2002 17:49:39 -0700 (MST) From: gary To: Andrew Boothman Cc: Mike Meyer , Subject: Re: USB HP printer In-Reply-To: <3C9DFA0B.50105@cream.org> Message-ID: <20020324173245.J1229-100000@gary.wa5qjh.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > Mike Meyer wrote: > > > > >It should be listed in the dmesg output. If it doesn't list the device > >as ulpt0, but lists it as a ugen device, you've got some work ahead of > >you to make it work. > > > Or try the usbdevs command. > > For what its worth, my HP 990Cxi was recognised as ulpt0 and prints > perfectly using print > /apsfilter > > Andrew > > I tried to send along an attachment that might have explained what I've found so far. This time I'll include it inline cause it's not "REAL" long. I've tried to ls >/dev/ulpt0 and ls >/dev/unlpt0 The latter because of something found in www.apsfilter.com. in both cases the computer hung up indefinitly. Below here is the file I tried to include on the original. note the references to :Cuecat. it is the only other USB device I have and I used it for reference and trial ----------- From apsfilter.org handbook Q: My USB-connected Epson Stylus printer won't work with {Free,Net,Open}BSD! [from the gimp-print FAQ] A: By default, the BSD device driver for the USB printer device (usually ulpt0) does a prime, or USB bus reset, when the device is opened. This causes the printer to reset itself (one can hear the print head moving back and forth when this happens) and lose sync. After this the printer won't go into graphics mode and instead spews characters all over your expensive photo paper. This has been observed on the Stylus Photo 870; it likely exists with other USB-connected Epson Stylus printers. The fix is to use the unlpt0 device instead of ulpt0. The driver doesn't perform the USB prime when unlpt0 is opened. If this device doesn't exist on your system you can create it with mknod unlpt0 c 113 64 root wheel in the /dev directory. -------------------------------------------- dmesg: . ulpt0: HEWLETT-PACKARD DESKJET 656C, rev 1.10/1.10, addr 2, iclass 7/1 . usbdevs: % usbdevs -v Controller /dev/usb0: addr 1: self powered, config 1, UHCI root hub(0x0000), Intel(0x0000), rev 0x0100 port 1 addr 2: self powered, config 1, DESKJET 656C(0x2304), HEWLETT-PACKARD(0x03f0), rev 0x0110 port 2 addr 3: low speed, power 48 mA, config 1, product 0x0101(0x0101), KYE Systems Corp.(0x0458), rev 0x0100 ##Here I removed the connectors then replaced it. Note the difference between the printer and cuecat. HP 656C Printer connector being removed from USB port: uhub0: port error, restarting port 1 ulpt0: at uhub0 port 1 (addr 2) disconnected ulpt0: detached Connector re-inserted: ulpt0: HEWLETT-PACKARD DESKJET 656C, rev 1.10/1.10, addr 2, iclass 7/1 Radio-Shack :cuecat disconnected: uhub0: port error, restarting port 2 ukbd0: at uhub0 port 2 (addr 3) disconnected ukbd0: detached And re-inserted: ukbd0: KYE Systems Corp. product 0x0101, rev 1.10/1.00, addr 3, iclass 3/1 kbd1 at ukbd0 Note the second line: kbd1 at ukbd0 , kbd1 or actually /dev/kbd1 cat /dev/kbd1 , then swiping different bar codes yields lots of data. # ls -CF /dev/u* /dev/ugen0 /dev/ugen0.14 /dev/ugen0.6 /dev/ulpt1* /dev/urandom /dev/ugen0.1 /dev/ugen0.15 /dev/ugen0.7 /dev/ulpt2* /dev/usb* /dev/ugen0.10 /dev/ugen0.2 /dev/ugen0.8 /dev/ums0 /dev/usb0* /dev/ugen0.11 /dev/ugen0.3 /dev/ugen0.9 /dev/unlpt0* /dev/ugen0.12 /dev/ugen0.4 /dev/uhid0 /dev/unlpt1* /dev/ugen0.13 /dev/ugen0.5 /dev/ulpt0* /dev/unlpt2* ls >/dev/ulpt0, ls >/dev/unlpt0 hung up the computer. I MAKEDEV'd ulpt1 &2 and unlpt1 & 2. they returned "device not configured". Back when I had a parallel fed printer I would/could ls /dev/lpt0 or cat | dos2unix >/devlpt0 if needed. That's what I've tried to do to discover the device name of my usb printer to no avail/ I hope this is better explanation of what I've tried. -- ___ Gary B. Corell wa5qjh.xmission.com gary@gary.wa5qjh.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message