From: Woody <wo...@us...> - 2005-06-21 01:02:20
|
I have an app envisioned where there's a parent process and a child. The child is basically a loop doing usb_bulk_read() calls, and looking at the data. (data from the usb device can arrive at any point and is not caused by sending data to the usb device). The parent will at times use usb_bulk_write() to send data to the usb device. So for device 1, the parent writes and the child reads. Now, lets also add device 2. For this device, bulk_read() and bulk_write() all occur with the same parent process as above. so it would be parent process loop: (various bulk reads and bulk writes to device 2) if "some condition" bulk write to device 1 endloop child: loop: (bulk read device 1) (process rec'd data) endloop This will be on rehat 9 (2.4) or FC3 (2.6) Thanks in advance |