Re: [linux-usb-devel] Question about the USB communication in linux driver

2004-04-14 Thread LEUNG Kin Yip
Hi David, I have followed your insturction to do it. But the problem is still here. Thanks your kindly attention and help! Best, Harry > LEUNG Kin Yip wrote: >> >> In the function called "usbnet_start_xmit", I called FILL_BULK_URB and >> submit urb. Yes I called usbnet_start_xmit in probe() bec

Re: [linux-usb-devel] Question about the USB communication in linux driver

2004-04-14 Thread David Brownell
LEUNG Kin Yip wrote: In the function called "usbnet_start_xmit", I called FILL_BULK_URB and submit urb. Yes I called usbnet_start_xmit in probe() because I would like to test usbnet_start_xmit work or not. The return code is 0. If it's not the "usbnet" driver, you should avoid using the same functi

Re: [linux-usb-devel] Question about the USB communication in linux driver

2004-04-14 Thread LEUNG Kin Yip
Dear Oliver, >> 2. What precisely are you doing to cause this? Merely loading the >> driver?Ifconfig? >> I called the FILL_BULK_URB, then I called the submit_urb function. >> After that, I got the error. > In which function? Do you submit the URB in probe() ? > What does usb_submit_urb() return?

Re: [linux-usb-devel] Question about the USB communication in linux driver

2004-04-13 Thread Oliver Neukum
Hi, > 2. What precisely are you doing to cause this? Merely loading the > driver?Ifconfig? > I called the FILL_BULK_URB, then I called the submit_urb function. After > that, I got the error. In which function? Do you submit the URB in probe() ? What does usb_submit_urb() return? > 4. Did you try

Re: [linux-usb-devel] Question about the USB communication in linux driver

2004-04-13 Thread LEUNG Kin Yip
Dear Oliver, 1. please don't send zipped attachments to the list Ok. I am so sorry about it. 2. What precisely are you doing to cause this? Merely loading the driver?Ifconfig? I called the FILL_BULK_URB, then I called the submit_urb function. After that, I got the error. 3. Which kernel version?

Re: [linux-usb-devel] Question about the USB communication in linux driver

2004-04-13 Thread Oliver Neukum
Am Dienstag, 13. April 2004 12:21 schrieb LEUNG Kin Yip: > Dear Sir/Madam, > > I am a student in Hong Kong University of Science and Technology. I am > so sorry to bother all of you. But I face a problem that I can't solve a > long time and I would really want to get some help. I am doing a project