From owner-freebsd-usb@FreeBSD.ORG Mon Jun 16 09:39:02 2014 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 ESMTPS id 750D17A6 for ; Mon, 16 Jun 2014 09:39:02 +0000 (UTC) Received: from mail.turbocat.net (heidi.turbocat.net [88.198.202.214]) (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 EEAF72BED for ; Mon, 16 Jun 2014 09:39:01 +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 EFDCA1FE045; Mon, 16 Jun 2014 11:39:00 +0200 (CEST) Message-ID: <539EBB4B.2070401@selasky.org> Date: Mon, 16 Jun 2014 11:39:23 +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: <20140613184921.GA1748@La-Habana> <539BEE2E.9050108@selasky.org> <20140614181138.GA1598@La-Habana> <539C9181.10304@selasky.org> <20140616054141.GA1358@La-Habana> <539E87EF.9080404@selasky.org> <20140616065050.GA1552@La-Habana> <539E94C5.50405@selasky.org> <20140616083302.GA1790@La-Habana> <539EB3D7.7040802@selasky.org> <20140616091858.GA1945@La-Habana> In-Reply-To: <20140616091858.GA1945@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, 16 Jun 2014 09:39:02 -0000 On 06/16/14 11:18, Matthias Apitz wrote: > El día Monday, June 16, 2014 a las 11:07:35AM +0200, Hans Petter Selasky escribió: > >>> 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: >>> >> >> Run the command _before_ plugging the printer cable. > > No change, log is: > > > Jun 16 11:15:03 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3 > Jun 16 11:15:04 La-Habana root: Unknown USB device: vendor 0x0c45 product 0x62c0 bus uhub3 > Jun 16 11:15:14 La-Habana kernel: ugen1.2: at usbus1 > Jun 16 11:15:14 La-Habana kernel: ulpt_probe: > Jun 16 11:15:14 La-Habana kernel: ulpt_probe: > Jun 16 11:15:14 La-Habana kernel: ulpt_attach: sc=0xc5529400 > Jun 16 11:15:14 La-Habana kernel: ulpt0: on usbus1 > Jun 16 11:15:14 La-Habana kernel: ulpt_attach: setting alternate config number: 1 > Jun 16 11:15:15 La-Habana kernel: ulpt0: using bi-directional mode > Jun 16 11:15:15 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status > Jun 16 11:15:22 La-Habana last message repeated 8 times > Jun 16 11:15:23 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status > Jun 16 11:15:45 La-Habana last message repeated 21 times > Jun 16 11:15:45 La-Habana kernel: ulpt_write_callback: state=0x0 actlen=0 > Jun 16 11:15:46 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status > Jun 16 11:16:06 La-Habana last message repeated 20 times > Jun 16 11:16:06 La-Habana kernel: ulpt0: at uhub1, port 1, addr 2 (disconnected) > Jun 16 11:16:06 La-Habana kernel: ulpt_detach: sc=0xc5529400 > Jun 16 11:16:06 La-Habana kernel: ulpt_write_callback: state=0x2 actlen=0 > Jun 16 11:16:07 La-Habana kernel: ulpt_probe: > Jun 16 11:16:07 La-Habana kernel: ulpt_probe: > Jun 16 11:16:07 La-Habana kernel: ulpt_attach: sc=0xc5839100 > Jun 16 11:16:07 La-Habana kernel: ulpt0: on usbus1 > Jun 16 11:16:07 La-Habana kernel: ulpt_attach: setting alternate config number: 1 > Jun 16 11:16:07 La-Habana kernel: ulpt0: using bi-directional mode > Jun 16 11:16:07 La-Habana kernel: ulpt_watchdog: debugging ulpt.c: ulpt_watchdog() skiped read status > Hi, Try to comment out starting of bulk read transfers: static void ulpt_start_read(struct usb_fifo *fifo) { #if 0 struct ulpt_softc *sc = usb_fifo_softc(fifo); usbd_transfer_start(sc->sc_xfer[ULPT_BULK_DT_RD]); #endif } --HPS