Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Jun 2014 12:10:41 +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:  <539EC2A1.6040803@selasky.org>
In-Reply-To: <20140616100709.GA2201@La-Habana>
References:  <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> <539EBB4B.2070401@selasky.org> <20140616100709.GA2201@La-Habana>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06/16/14 12:07, Matthias Apitz wrote:
> El día Monday, June 16, 2014 a las 11:39:23AM +0200, Hans Petter Selasky escribió:
>
>> 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
>> }
>
> Hi,
>
> The code is now:
>
> static void
> ulpt_start_read(struct usb_fifo *fifo)
> {
>          DPRINTF("debugging ulpt.c: %s\n", "ulpt_start_read() skiped ULPT_BULK_DT_RD");
> #if 0
>          struct ulpt_softc *sc = usb_fifo_softc(fifo);
>
>          usbd_transfer_start(sc->sc_xfer[ULPT_BULK_DT_RD]);
> #endif
> }
>
> but it seems that ulpt_start_read() is never called:

What happens if you revert that patch, and do a read first, instead of a 
write?

--HPS




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?539EC2A1.6040803>