ulpt can't attach Lexmark E120

Hans Petter Selasky hps at bitfrost.no
Sat Aug 24 06:13:38 UTC 2013


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



More information about the freebsd-current mailing list