CDC_ACM, TUSB3410, more info

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello again,

I found that disabling the bailout in acm_tty_open:
> if (0 > acm_set_control(acm, acm->ctrlout = ACM_CTRL_DTR | ACM_CTRL_RTS) &&
>            (acm->ctrl_caps & USB_CDC_CAP_LINE))
>                 goto full_bailout;

and acm_set_control in acm_port_down:
> acm_set_control(acm, acm->ctrlout = 0);

is enough to stop the tusb from going unhappy.
However the consequence is that cdc_acm seems to pile up buffer while no reader is connected, and spit it out all at once when a reader reconnects.

Any idea how one might avoid that?(wiping the buffer when there's no reader)

- Paul-Kenji
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux