From owner-freebsd-usb@FreeBSD.ORG Mon Jun 2 15:38:04 2014 Return-Path: Delivered-To: freebsd-usb@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 60286B87 for ; Mon, 2 Jun 2014 15:38:04 +0000 (UTC) Received: from mail.turbocat.net (mail.turbocat.net [IPv6:2a01:4f8:d16:4514::2]) (using TLSv1.1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 22C7A2399 for ; Mon, 2 Jun 2014 15:38:03 +0000 (UTC) Received: from laptop015.home.selasky.org (cm-176.74.213.204.customer.telag.net [176.74.213.204]) (using TLSv1 with cipher ECDHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by mail.turbocat.net (Postfix) with ESMTPSA id 04E841FE027; Mon, 2 Jun 2014 17:38:02 +0200 (CEST) Message-ID: <538C9A83.7050606@selasky.org> Date: Mon, 02 Jun 2014 17:38:43 +0200 From: Hans Petter Selasky User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:24.0) Gecko/20100101 Thunderbird/24.1.0 MIME-Version: 1.0 To: Matthias Apitz Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL References: <20140601130025.GA2255@La-Habana> <538B6693.5010108@selasky.org> <20140601175846.GA2104@La-Habana> <538B6C4F.9050205@selasky.org> <20140602150802.GA1950@La-Habana> In-Reply-To: <20140602150802.GA1950@La-Habana> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-usb@freebsd.org X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 02 Jun 2014 15:38:04 -0000 On 06/02/14 17:08, Matthias Apitz wrote: > El día Sunday, June 01, 2014 a las 08:09:19PM +0200, Hans Petter Selasky escribió: > >> Try compiling the ulpt module with USB_DEBUG set: >> >> ee /sys/modules/usb/ulpt/Makefile >> >> ADD: >> >> CFLAGS+= -DUSB_DEBUG >> >> Rebuild and install the module. >> >> Set hw.usb.ulpt.debug=15 > > Here it goes: > > # sysctl hw.usb.ulpt.debug=15 > hw.usb.ulpt.debug: 0 -> 15 > > (now attaching the USB cable) > > # tail -f /var/log/messages > Jun 2 16:57:59 La-Habana kernel: ugen1.2: at usbus1 > Jun 2 16:57:59 La-Habana kernel: ulpt_probe: > Jun 2 16:57:59 La-Habana kernel: ulpt_probe: > Jun 2 16:57:59 La-Habana kernel: ulpt_attach: sc=0xc5833700 > Jun 2 16:57:59 La-Habana kernel: ulpt0: on usbus1 > Jun 2 16:57:59 La-Habana kernel: ulpt_attach: setting alternate config number: 1 > Jun 2 16:57:59 La-Habana kernel: ulpt0: using bi-directional mode > Jun 2 16:58:00 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT > Jun 2 16:58:29 La-Habana last message repeated 22 times > > (now doing in anaother session 'date > /dev/unlpt0') > > Jun 2 16:58:30 La-Habana su: guru to root on /dev/pts/1 > Jun 2 16:58:30 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT > Jun 2 16:58:41 La-Habana last message repeated 7 times > Jun 2 16:58:42 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0 > Jun 2 16:58:42 La-Habana kernel: ulpt_status_callback: error=USB_ERR_TIMEOUT > > Thanks > > matthias > Hi, TIMEOUT means the device is not receiving any data. Can you confirm that the device is still working using other computers? Did you dump the complete device and configuration descriptor? --HPS