Subject: How should I debug ulpt problems?
To: None <current-users@netbsd.org>
From: Scott Ellis <scotte@warped.com>
List: current-users
Date: 10/30/2000 21:05:57
So, I have two USB->Parallel converters. On my -current i386 box, the
system finds them just dandy:
uhub1 at uhub0 port 1
uhub1: vendor 0x04cc product 0x1122, class 9/0, rev 1.10/1.10, addr 2
uhub1: 5 ports with 5 removable, self powered
ugen0 at uhub1 port 4
ugen0: vendor 0x0711 product 0x0230, rev 1.10/1.02, addr 3
ulpt0 at uhub1 port 5 configuration 1 interface 0
ulpt0: vendor 0x0711 product 0x0300, rev 1.00/1.04, addr 4, iclass 7/1
ulpt1 at uhub1 port 3 configuration 1 interface 0
ulpt1: vendor 0x0557 product 0x2001, rev 1.00/1.50, addr 5, iclass 7/1
(uhub1, ugen0, and ulpt0 are an SIIG "USB+I/O" device (3 USB ports + 1
Serial + 1 Parallel), and ulpt1 is a SIIG USB->Parallel adapter)
Printing via ulpt1 works just great. When I print to ulpt0 however, nothing
ever seems to make it to the printer. Checking lpq, the document is
spooled, but the printer never sees it (no activity light flashing on the
printer), and sending stuff directly to ulpt0 or ulpa0 doesn't do any
different (it just hangs, since I imagine the printer is never reading the
data off the queue).
So, my question is, how do I debug this? ;-) I'd very much like to move
ulpt1 to another system, and just leave the hub+IO on the my server.
Any suggestions on how I should go about determining why ulpt0 isn't working
properly would be appreciated.
ScottE