Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Oct 2013 22:28:49 +0100
From:      =?iso-8859-1?Q?Aur=E9lien_Croc?= <aurelien@ap2c.org>
To:        freebsd-usb@freebsd.org
Subject:   ULPT error: ulpt_status_callback: error=USB_ERR_STALLED
Message-ID:  <197EDBA6-79AC-47F3-A482-84A4FF543E8D@ap2c.org>

next in thread | raw e-mail | index | archive | help
Hello,=20

In order to use my printer I just bought an USB to parallel connector. =
Whereas it works perfectly under Linux I am not able to print under =
FreeBSD.
When I plug the USB connecter to my computer and set the ulpt debug =
level to 15, I can read:

ugen2.4: <Prlific Technology Inc.> at usbus2
ulpt_probe:
ulpt_probe:
ulpt_attach: sc=3D0xfffffe0007f4fe00
ulpt0: <Prlific Technology Inc. IEEE-1284 Controller, class 0/0, rev =
1.00/2.00, addr 4> on usbus2
ulpt_attach: setting alternate config number: 1
ulpt0: using bi-directional mode
ulpt_status_callback: error=3DUSB_ERR_STALLED

The last message repeats indefinitely while the connecter is plugged in.

When I try to read or write the /dev/ulpt0 it hangs..

About the usb to parallel cable it is an USB1 device:
ugen2.4: <IEEE-1284 Controller Prlific Technology Inc.> at usbus2, cfg=3D0=
 md=3DHOST spd=3DFULL (12Mbps) pwr=3DON (100mA)

My FreeBSD version is 9.2:
FreeBSD paris 9.2-RELEASE FreeBSD 9.2-RELEASE #0 r255898: Thu Sep 26 =
22:50:31 UTC 2013     =
root@bake.isc.freebsd.org:/usr/obj/usr/src/sys/GENERIC  amd64


I found that in 2009 someone got the same problem and a patch was =
proposed but its URL is no more available:
http://lists.freebsd.org/pipermail/freebsd-usb/2009-March/006531.html

Please can you help me?
Thank you in advance.
Regards,

Aur=E9lien=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?197EDBA6-79AC-47F3-A482-84A4FF543E8D>