From owner-freebsd-questions Tue Jan 15 19:16:35 2002 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-65-31-201-166.mmcable.com [65.31.201.166]) by hub.freebsd.org (Postfix) with SMTP id D0D7A37B405 for ; Tue, 15 Jan 2002 19:16:30 -0800 (PST) Received: (qmail 19997 invoked by uid 100); 16 Jan 2002 03:16:30 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15428.61581.849827.192624@guru.mired.org> Date: Tue, 15 Jan 2002 21:16:29 -0600 To: Rik Scarborough Cc: questions@freebsd.org Subject: Re: USB Printer In-Reply-To: <31827729@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ From: "Mike Meyer" X-Delivery-Agent: TMDA/0.44 (Python 2.2; freebsd-4.4-STABLE-i386) 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 Rik Scarborough types: > * Mike Meyer (mwm-dated-1011554262.e15458@mired.org) [020115 14:36]: > > IIRC, the dmesg output you posted showed the device as ugen, not > > ulpt. That means the lpt driver isn't recognizing it as a printer for > > some reason. In this case, either 1) it's a WinPrinter connected via > > USB, and your SOL, or > That's possible, it's a HP, and not one of the really expensive ones. > However, in trying to fix this, I install and setup apsfilter and it > lists this printer (HP Photosmart 1215) as one of the HP drivers. I'm > hoping that means someone, somewhere has gotten it working on some > version of *nix. It should mean that. However, I don't know the HP printer model number scheme. Could it be that the same printer model number is being used on a serial port? > > 2) you need to fix the ulpt driver to recognize > > it. > How would I 'fix' this driver? I've tried deleting the ulpt0 device > and running MAKEDEV again, but it still give me the same error. You have to change the C code to for the ulpt driver to recognize the printer. If you're not a programmer, you probably want to post a PR about it. If you are a programmer but haven't done any BSD kernel work, it'll be a bit of work to do this, but it is possible. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message