Fwd: USB to parallel for printer HP LaserJet 4mL

Matthias Apitz guru at unixarea.de
Mon Jun 16 08:33:18 UTC 2014


El día Monday, June 16, 2014 a las 08:55:01AM +0200, Hans Petter Selasky escribió:

> Hi,
> 
> If you disconnect the LPT port from the printer and repeat?
> 
> Is the device sufficiently powered?

Hi,

I did:

# kldunload ulpt.ko
# kldload modules/usb/ulpt/ulpt.ko
# sysctl hw.usb.ulpt.debug=15
hw.usb.ulpt.debug: 0 -> 15

now I power-cycled the printer, let it print the self test page, plug'ed
in the cable into the printers parallel port, plug'ed in the USB end
into the laptop, and:

# date 
lunes, 16 de junio de 2014, 10:27:29 CEST
# date > /dev/unlpt0
^C
# date
lunes, 16 de junio de 2014, 10:27:52 CEST

Jun 16 10:27:18 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1
Jun 16 10:27:18 La-Habana kernel: ulpt_probe: 
Jun 16 10:27:18 La-Habana kernel: ulpt_probe: 
Jun 16 10:27:18 La-Habana kernel: ulpt_attach: sc=0xc5839200
Jun 16 10:27:18 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 10:27:18 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 10:27:18 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 10:27:18 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 10:27:31 La-Habana last message repeated 13 times
Jun 16 10:27:32 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0
Jun 16 10:27:32 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 10:27:49 La-Habana last message repeated 17 times
Jun 16 10:27:50 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
Jun 16 10:27:50 La-Habana kernel: ulpt_detach: sc=0xc5839200
Jun 16 10:27:50 La-Habana kernel: ulpt_write_callback: state=0x2 actlen=0
Jun 16 10:27:51 La-Habana kernel: ulpt_probe: 
Jun 16 10:27:51 La-Habana kernel: ulpt_probe: 
Jun 16 10:27:51 La-Habana kernel: ulpt_attach: sc=0xc5529a80
Jun 16 10:27:51 La-Habana kernel: ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev 1.00/2.00, addr 2> on usbus1
Jun 16 10:27:51 La-Habana kernel: ulpt_attach: setting alternate config number: 1
Jun 16 10:27:51 La-Habana kernel: ulpt0: using bi-directional mode
Jun 16 10:27:51 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status
Jun 16 10:27:57 La-Habana last message repeated 6 times
Jun 16 10:27:57 La-Habana kernel: ugen1.2: <Prlific Technology Inc.> at usbus1 (disconnected)
Jun 16 10:27:57 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected)
Jun 16 10:27:57 La-Habana kernel: ulpt_detach: sc=0xc5529a80

Thx

	matthias
-- 
Matthias Apitz               |  /"\   ASCII Ribbon Campaign:
E-mail: guru at unixarea.de     |  \ /   - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X    - No proprietary attachments
phone: +49-170-4527211       |  / \   - Respect for open standards
                             | en.wikipedia.org/wiki/ASCII_Ribbon_Campaign


More information about the freebsd-usb mailing list