[ CnUnix ] in KIDS 글 쓴 이(By): concerto (#2/1) 날 짜 (Date): 2005년 8월 18일 목요일 오후 09시 59분 31초 제 목(Title): Win USB Device Driver 제가 device driver를 하나 작성할려고 하는 데... USB의 interrupt pipe와 bulk pipe를 동시에 사용할려고 합니다. 아래 질문은 ms DD 뉴스 그룹에 포스팅한 내용인 데, 한번 읽어 보시고, 문제가 없을 지 짚어 주시면 감사하겠습니다. === Hello, I'd like to process both bulk-pipe data and interrupt-pipe data. I have made the scenario for this as follow: 1. User app starts bulk read operation with overlapped operation and finishs after bulk read operation done. 2. For interrupt pipe read, user app requests IO control for creating a system thread that sends URB to USB interface and saves some of received data to buffer. 3. After creating the interrupt process system thread, user app starts read operation of received data from interrupt pipe with overlapped operation and finishs read operation after data copy from Step 2's buffer. 4. In user mode, for bulk read and interrupt read, 2 independent threads are running for each operation. Is there any problem in my operation scenario? Your comment will be appreciated greatly. 사랑은 아무나 하나... 어느 누가 쉽다고 했나... |