From owner-freebsd-usb@FreeBSD.ORG Sun Oct 27 21:38:46 2013 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 86FBC382 for ; Sun, 27 Oct 2013 21:38:46 +0000 (UTC) (envelope-from aurelien@ap2c.org) Received: from berkelium.ap2c.org (berkelium.ap2c.org [81.56.109.121]) by mx1.freebsd.org (Postfix) with ESMTP id 000252ECF for ; Sun, 27 Oct 2013 21:38:45 +0000 (UTC) Received: from berkelium.ap2c.org (localhost [127.0.0.1]) by berkelium.ap2c.org (Postfix) with ESMTP id CD7E5A72 for ; Sun, 27 Oct 2013 22:29:34 +0100 (CET) X-Virus-Scanned: amavisd-new at ap2c.org Received: from berkelium.ap2c.org ([127.0.0.1]) by berkelium.ap2c.org (berkelium.ap2c.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id BE3lPriFcj6u for ; Sun, 27 Oct 2013 22:28:47 +0100 (CET) Received: from [192.168.1.14] (unknown [78.193.2.39]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by berkelium.ap2c.org (Postfix) with ESMTPSA id 72808A71 for ; Sun, 27 Oct 2013 22:28:47 +0100 (CET) From: =?iso-8859-1?Q?Aur=E9lien_Croc?= Subject: ULPT error: ulpt_status_callback: error=USB_ERR_STALLED Message-Id: <197EDBA6-79AC-47F3-A482-84A4FF543E8D@ap2c.org> Date: Sun, 27 Oct 2013 22:28:49 +0100 To: freebsd-usb@freebsd.org Mime-Version: 1.0 (Mac OS X Mail 6.2 \(1499\)) X-Mailer: Apple Mail (2.1499) Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Oct 2013 21:38:46 -0000 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: at usbus2 ulpt_probe: ulpt_probe: ulpt_attach: sc=3D0xfffffe0007f4fe00 ulpt0: 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: 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=