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?
Kernel version 2.4-14.18 (red-hat 8)

4. Did you try to enable USB debugging?
No. And how can I enable it?

With many thanks,
Harry

> 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 about writing a net driver in linux using USB communication. I
>> use endpoint 1 as a bulk in communication and endpoint 2 as bulk out
>> communication. When I would like to send some USB packet through
>> endpoint 2, but it is not successful and the kernel message is shown
>> below:
>>
>> -----------------------------------------------------------
>> enter usbnet_init function
>> usb.c: registered new driver FYP
>> enter usbnet_probe function
>> probe idVendor: 1003, probe idProduct: 8194
>> usb-uhci.c: interrupt, status 3, frame# 421
>> divert: allocating divert_blk for usb0
>> enter usbnet_get_stats function
>> quit usbnet_get_stats function
>> usb0: register usbnet 002/005, ATMEL
>> try send in probe function
>> retval: 0
>> finished send in probe function
>> quit usbnet_probe function
>> usb-uhci.c: Host controller halted, trying to restart.
>> quit usbnet_init function
>> usb-uhci.c: Host controller halted, trying to restart.
>> usb-uhci.c: Host controller halted, trying to restart.
>> -----------------------------------------------------------
>>
>> I don't know why the usb controller is halted. As a result, I can't
>> complete the transmission. Notice that I can successfully use an
>> application library called "libusb" to send and receive usb frame. But
>> I don't know why I can't do it in driver level.
>>
>> Thanks for your kindly attention and help. I am looking forward to
>> your reply.
>>
>> PS: the codes are also attached. Please change the extension from .zzz
>> into .zip
>>
>> With many thanks,
>> Harry
>
> Hi,
>
> 1. please don't send zipped attachments to the list
> 2. What precisely are you doing to cause this? Merely loading the
> driver?
>     Ifconfig?
> 3. Which kernel version?
> 4. Did you try to enable USB debugging?
>
>       Regards
>               Oliver




-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to