Date: Sun, 12 Aug 2001 14:57:52 -0700 From: John Merryweather Cooper <jmcoopr@webmail.bmi.net> To: Mike Meyer <mwm@mired.org> Cc: Jim Freeze <jim@freeze.org>, questions@FreeBSD.ORG Subject: Re: What is the magical incantation necessary to print to /dev/ulpt0 Message-ID: <20010812145752.A39719@johncoop> In-Reply-To: <15222.63749.259533.812831@guru.mired.org>; from mwm@mired.org on Sun, Aug 12, 2001 at 14:45:41 -0700 References: <20010812095648.Q477@johncoop> <Pine.BSF.4.32.0108121329170.94319-100000@www.stelesys.com> <20010812132727.C59678@johncoop> <15222.63749.259533.812831@guru.mired.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 2001.08.12 14:45 Mike Meyer wrote: > John Merryweather Cooper <jmcoopr@webmail.bmi.net> types: > > Being MacroHard free, I don't have a WinDoze machine. I have OS/2--on > > which the Z51 works great through USB; and I have my FreeBSD box--on > which > > the printer works only on the parallel port (I'v just tried--using > > apsfilter and setuping up as an HP 500C). > > If the printer works with FreeBSD on the parallel port, it's clearly > not a winprinter. That's a lot more useful information than that it > works on some other OS. > > > The problem is clearly that FreeBSD doesn't like VIA's UHCI USB > > implementation. I'll send in a PR. > > Seems to work fine here: > > uhci0: <VIA 83C572 USB controller> port 0xe400-0xe41f irq 10 at device > 7.2 on pci0 > 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 > uhub0: 2 ports with 2 removable, self powered > ugen0: Diamond Multimedia Systems, Inc. SupraExpress 56e USB V.90, rev > 1.00/1.00, addr 2 > ulpt0: Belkin Components (2nd) F5U002 Parallel printer adapter, rev > 1.00/1.04, addr 3, iclass 7/1 > xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xe800-0xe87f mem > 0xeb000000-0xeb00007f irq 5 at device 10.0 on pci0 > > The modem doesn't get much use, but works fine dialing into shell > logins. I moved the printer to this test system, and doing > "cat stuff.ps > /dev/ulpt0" worked just fine. > > Either the Lexmark USB lpt implementation is crocked, or something > else in the system is causing problems. Have you got another USB > device you can test with? > > <mike > -- > Mike Meyer <mwm@mired.org> http://www.mired.org/home/mwm/ > Independent WWW/Perforce/FreeBSD/Unix consultant, email for more > information. > Yes, I have a USB Zip drive I can borrow. I'm recompiling my kernel to support USB debugging, and the Z51 isn't plugged in right now. Here's the equivalent dmesg fragment for my machine: atapci0: <VIA 82C686 ATA100 controller> port 0xc000-0xc00f at device 7.1 on pci0 ata0: at 0x1f0 irq 14 on atapci0 ata1: at 0x170 irq 15 on atapci0 uhci0: <VIA 83C572 USB controller> port 0xc400-0xc41f irq 9 at device 7.2 on pci0 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 uhub0: 2 ports with 2 removable, self powered uhci1: <VIA 83C572 USB controller> port 0xc800-0xc81f irq 9 at device 7.3 on pci0 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 uhub1: 2 ports with 2 removable, self powered chip0: <VIA 82C686 ACPI interface> at device 7.4 on pci0 pcm0: <VIA VT82C686A> port 0xd400-0xd403,0xd000-0xd003,0xcc00-0xccff irq 5 at device 7.5 on pci0 I'll hook up the ZIP and the Z51 for the next boot and we'll see what happens. jmc P.S. Sorry about getting cross, but I'm not braindead yet. :) To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20010812145752.A39719>