Re: [REGRESSION] "USB: use kfifo to buffer usb-generic serialwrites" causes gobi_loader to hang
From: Alan Cox
Date: Mon Feb 22 2010 - 16:22:26 EST
> Yes, but does the tty interface guarantee that the data of one write call is
> sent as one packet to the device?
Not usually but it can do. At least the core tty code supports this for
suitable ldiscs.
> If I understood this correctly, it seems the changes have caused it to now
> concatenate short writes into one packet, which the device doesn't seem to
> like.
If the device wants exactly bounded packets then for the firmware loader
tty is probably the wrong interface.
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/