CDC-ACM: how to disable the automatic read?

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

 



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 data for a while.
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
until it ready for sending response?
--
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