Date: Sat, 14 Jun 2014 20:16:33 +0200 From: Hans Petter Selasky <hps@selasky.org> To: Matthias Apitz <guru@unixarea.de> Cc: freebsd-usb@freebsd.org Subject: Re: Fwd: USB to parallel for printer HP LaserJet 4mL Message-ID: <539C9181.10304@selasky.org> In-Reply-To: <20140614181138.GA1598@La-Habana> 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> <539BEE2E.9050108@selasky.org> <20140614181138.GA1598@La-Habana>
next in thread | previous in thread | raw e-mail | index | archive | help
On 06/14/14 20:11, Matthias Apitz wrote: > El día Saturday, June 14, 2014 a las 08:39:42AM +0200, Hans Petter Selasky escribió: > >>> 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 :-) >>> >> 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. > > Hi, > This is for administrative reasons not an option in my office and at > home I do not have Win*. > > matthias > Ok, lets try to figure out the: in sys/dev/usb/serial/ulpt.c try to comment out: #if 0 if (sc->sc_fflags == 0) usbd_transfer_start(sc->sc_xfer[ULPT_INTR_DT_RD]); #endif In function: static void ulpt_watchdog(void *arg) { struct ulpt_softc *sc = arg; mtx_assert(&sc->sc_mtx, MA_OWNED); /* * Only read status while the device is not opened, due to * possible hardware or firmware bug in some printers. */ if (sc->sc_fflags == 0) usbd_transfer_start(sc->sc_xfer[ULPT_INTR_DT_RD]); usb_callout_reset(&sc->sc_watchdog, hz, &ulpt_watchdog, sc); } --HPS
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539C9181.10304>