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

_______________________________________________
freebsd-usb@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-usb
To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"

Reply via email to