Hell all, Sorry to bother you , I am developing Linux USB scanner driver and I got some problem. When I trace the scanner.c(from linux-2.3.99-pre3;drivers/usb/scanner.c) ,the only API that can read data from kernel space to user space is read_scanner() , bot this function use USB bulk in to read data ,it is ok for our scanner. Our scanner use USB interrupt in to return status code from scanner,that is when interrupt occur the complete unction( irq_scanner()) will be called. My question is I want to transfer the return data(interrupt in) from kernel space to user space ,but no other API can do this job except read_scanner(), do you have any comment ? Or I can implement poll() function to return my status code , but this is not standard method for Linux origin definition. Best regards , Kevin. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
