Re: CDC-ACM: how to disable the automatic read?

2013-12-22 Thread Oliver Neukum
On Sat, 2013-12-21 at 20:19 +0800, Yingchun Li wrote: before I read the box, it seems the ACM driver will read the box automaticly(I find that from the usb sniffer). and there is a lot of READ-NAK packet. So could the box disable the automatic read by someway such as flow control, and

Re: CDC-ACM: how to disable the automatic read?

2013-12-22 Thread Yingchun Li
On Sun, Dec 22, 2013 at 1:47 AM, Greg KH gre...@linuxfoundation.org wrote: On Sat, Dec 21, 2013 at 08:19:36PM +0800, Yingchun Li wrote: Hi, I have a box presents to PC as a CDC-ACM device. And I write an simple Application to write data to the box by ttyACM0. The application is a loop that

CDC-ACM: how to disable the automatic read?

2013-12-21 Thread Yingchun Li
Hi, I have a box presents to PC as a CDC-ACM device. And I write an simple Application to write data to the box by ttyACM0. The application is a loop that write the data to box, and waiting for the box response the data. The question is , after wrote the data to the box, the box will process the

Re: CDC-ACM: how to disable the automatic read?

2013-12-21 Thread Greg KH
On Sat, Dec 21, 2013 at 08:19:36PM +0800, Yingchun Li wrote: Hi, I have a box presents to PC as a CDC-ACM device. And I write an simple Application to write data to the box by ttyACM0. The application is a loop that write the data to box, and waiting for the box response the data. The