From owner-freebsd-usb@FreeBSD.ORG Mon Jun 16 15:30:14 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 2172CBD6 for ; Mon, 16 Jun 2014 15:30:14 +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 D14AB2CBE for ; Mon, 16 Jun 2014 15:30:13 +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 22D181FE045; Mon, 16 Jun 2014 17:30:12 +0200 (CEST) Message-ID: <539F0D98.6040703@selasky.org> Date: Mon, 16 Jun 2014 17:30:32 +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: <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> <539EBB4B.2070401@selasky.org> <20140616100709.GA2201@La-Habana> <539EC2A1.6040803@selasky.org> <20140616151022.GA1657@La-Habana> In-Reply-To: <20140616151022.GA1657@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 15:30:14 -0000 On 06/16/14 17:10, Matthias Apitz wrote: > El día Monday, June 16, 2014 a las 12:10:41PM +0200, Hans Petter Selasky escribió: > >> What happens if you revert that patch, and do a read first, instead of a >> write? > > I have revert both patches, i.e. the code is now as it was, but has some > DPRINTF statements at the beginning of the fuctions; here is what > happens on plug-in, read and write to the device: > > plug-in USB cable: > Test1) Can you try to connect an external High-Speed HUB in between? Test2) Instead of ulpt.debug, set hw.usb.uhub.debug=15 and collect logs, when executing your "echo XXX > /dev/ulpt". --HPS