Date: Sat, 24 Aug 2013 14:21:07 -0400 From: George Mitchell <george+freebsd@m5p.com> To: Hans Petter Selasky <hps@bitfrost.no> Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: ulpt can't attach Lexmark E120 Message-ID: <5218F993.9050504@m5p.com> In-Reply-To: <52184F59.5080100@bitfrost.no> References: <5105527F.3010708@m5p.com> <201301271915.47712.hselasky@c2i.net> <510570C1.1060607@m5p.com> <201301272007.30682.hselasky@c2i.net> <5105AB16.2000607@m5p.com> <5215F4DF.6000305@m5p.com> <5215F743.8060403@bitfrost.no> <5216ACE5.7000500@m5p.com> <5216FE9F.2030608@bitfrost.no> <52174378.2020101@m5p.com> <521801E5.9000309@m5p.com> <52184F59.5080100@bitfrost.no>
next in thread | previous in thread | raw e-mail | index | archive | help
On 08/24/13 02:14, Hans Petter Selasky wrote: > On 08/24/13 02:44, George Mitchell wrote: >> On 08/23/13 07:11, George Mitchell wrote: >>> On 08/23/13 02:18, Hans Petter Selasky wrote: >>>> On 08/23/13 02:29, George Mitchell wrote: >>>>> On 08/22/13 07:34, Hans Petter Selasky wrote: >>>> > >> Give that the printer works fine with the same code on my amd64 >> machines, does this suggest we have a byte-ordering problem in the >> driver? -- George > > Hi, > > I looked at the code and your debug prints, and it looks like the > usbd_transfer_setup() function is to blame. To get further debugging > here, you need to enable hw.usb.debug=15 and hw.usb.dwcotg.debug=15 or > something like that. > > error = usbd_transfer_setup(uaa->device, &iface_index, > sc->sc_xfer, ulpt_config, ULPT_N_TRANSFER, > sc, &sc->sc_mtx); > > I think this should be trivial to fix one the cause is found. > > --HPS Setting hw.usb.dwc_otg.debug to any value greater than 0 generates an unending stream of debug output and effectively locks up the chip scrolling the output on the display. Perhaps there are some specific debug messages I could put in ... -- George
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?5218F993.9050504>