Date: Sat, 24 Aug 2013 08:14:49 +0200 From: Hans Petter Selasky <hps@bitfrost.no> To: George Mitchell <george+freebsd@m5p.com> Cc: freebsd-arm@freebsd.org, freebsd-current@freebsd.org Subject: Re: ulpt can't attach Lexmark E120 Message-ID: <52184F59.5080100@bitfrost.no> In-Reply-To: <521801E5.9000309@m5p.com> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?52184F59.5080100>