[sane-devel] usb_submit_urb return ENOMEM?

Fan Dan dan_fancn@hotmail.com
Sun, 06 Apr 2003 22:22:28 +0800


Hello everyone: 
    I have some problem in developing usb scanner.who can help me?
    when call usb_submit_urb() in probe_scanner() (scanner.c of kernel 
2.4.19), return is ENOMEM. why and how to resolve that?  My scanner has 
three endpoints (1 is bulk in, 2 is bulk out, 3 is bulk interrupt). 
    Then I marked usb_submit_urb, scanner is probed, and ioctl system call 
can be called. But when write_scanner, usb_bulk_msg return ENOMEM too. Why 
and how to??
    Thanks a lot

Dan





_________________________________________________________________
享用世界上最大的电子邮件系统— MSN Hotmail。  http://www.hotmail.com