Problem detecting USB Printer

Marcello de Lima Azambuja azambuja at
Wed Apr 23 17:45:54 PDT 2003


I'm trying to use two USB printers on my server, a HP DeskJet 5500C (which
is working pretty fine) and a HP LaserJet 2200. The problem is that the
LaserJet is detected as a generic USB device, not as a printer:

ugen0: HewLett Packard HP LaserJet 2200, rev 1.10/1.00, addr 3

The DeskJet one is detected without problems as ulpt0:

ulpt0: hp deskjet 5550, rev 2.00/1.00, addr 2, iclass 7/1

I created both /dev/ulpt0 and /dev/ulpt1 using MAKEDEV:

crw-------  1 root  wheel  113,   0 Apr 16 16:39 /dev/ulpt0
crw-------  1 root  wheel  113,   1 Apr 16 16:40 /dev/ulpt1

Relevant kernel options:

# USB support
device          uhci            # UHCI PCI->USB interface
device          ohci            # OHCI PCI->USB interface
device          usb             # USB Bus (required)
device          ugen            # Generic
device          uhid            # "Human Interface Devices"
device          ulpt            # USB printer

I also tried to disconnect the DeskJet printer and connect LaserJet
in the same USB port, but it's still detected as ugen0.

I'd be glad if anybody could give me a clue, cause I didnt find 
anything usefull googling. Btw, I'm running FBSD 4.8-STABLE.

Thanks in advance,

Marcello Azambuja

More information about the freebsd-questions mailing list