From: Matthew Garrett on
Full log is at http://www.codon.org.uk/~mjg59/gobi_log.gz

--
Matthew Garrett | mjg59(a)srcf.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Matthew Garrett on
On Mon, Feb 22, 2010 at 02:10:33PM -0500, Alan Stern wrote:
> On Mon, 22 Feb 2010, Anssi Hannula wrote:
> > Does this mean a tty interface is ill-suited for the microcode upload, and
> > instead qcserial should use the kernel's generic microcode upload mechanism or
> > the userspace should use libusb to do it?
>
> I don't know. Didn't the old successful code use a tty interface?

Yes. The kfifo changes have caused some sort of alteration in behaviour.

> > Any idea what could be causing the hang, then?
>
> No idea, unless it's the device.

Once the device hangs, it then tends to refuse any input until power
cycled. So it's clearly getting into some sort of undefined state,
though whether that's because it only gets sent half of its firmware
(ie, the hang occurs and as a result the hardware dies) or whether it's
causing the hang by dying is unclear.

--
Matthew Garrett | mjg59(a)srcf.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
From: Matthew Garrett on
On Mon, Feb 22, 2010 at 09:24:58PM +0000, Alan Cox wrote:

> If the device wants exactly bounded packets then for the firmware loader
> tty is probably the wrong interface.

Upstream's driver is tty based, so it's not really clear what the
hardware expects.

--
Matthew Garrett | mjg59(a)srcf.ucam.org
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo(a)vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/