From owner-freebsd-usb@FreeBSD.ORG Sat Jun 14 06:39:23 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 C211125E for ; Sat, 14 Jun 2014 06:39:23 +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 81E3F2258 for ; Sat, 14 Jun 2014 06:39:23 +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 B76BF1FE045; Sat, 14 Jun 2014 08:39:22 +0200 (CEST) Message-ID: <539BEE2E.9050108@selasky.org> Date: Sat, 14 Jun 2014 08:39:42 +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> <538C9A83.7050606@selasky.org> <20140610054403.GA1589@La-Habana> <539964AB.1030909@selasky.org> <20140613184921.GA1748@La-Habana> In-Reply-To: <20140613184921.GA1748@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: Sat, 14 Jun 2014 06:39:23 -0000 On 06/13/14 20:49, Matthias Apitz wrote: > El día Thursday, June 12, 2014 a las 10:28:27AM +0200, Hans Petter Selasky escribió: > >>> I've pluged'in the USB-2-parallel cable into a Win7 laptop and Win >>> recogniced the model of the printer at the other end of the cable fine >>> as HP LasetJet 4ML and prints ofc fine too. I'm surprised, btw, that the >>> toner after so many years in the cellary is still fine :-) >>> >>> And now? >> >> Maybe you can sniff the USB traffic on the Win7 laptop, so that we can >> compare the order of USB events. > > I have tried with no luck the tool from > > http://sourceforge.net/projects/usbsnoop/ > > and as well the way described here with M$ tools: > > http://blogs.msdn.com/b/usbcoreblog/archive/2009/12/04/etw-in-the-windows-7-usb-core-stack.aspx > > I can not get any use full traffic dump from them. Someone could point > me to a working tool for Win7. I know, our list deals with FreeBSD > software, but it is some kind of re-engineering why Win7 works with a > device and FreeBSD does not :-) > > Thanks > > matthias > Hi, You might be able to remove "ulpt" driver from the kernel config and also "mv -i /boot/kernel/ulpt.ko /boot/kernel/ulpt.ko.old" and run Win7 from Virtualbox or a VM and see what happens. Then you can sniff the USB traffic in the VM USB host. --HPS