I don't think this there is any problem with the code
of the probe function as the same code seems to be
working completely fine on another PC. Moreover just
to add another clue that i have been able to find
associated with this peculiar behaviour. I get the
same error when i pico the /proc/bus/usb/devices file
...
 Can anybody suggest a solution to this apart from
Reinstallation of the OS?

Mon, 19 Nov 2001 19:35:07 +1100
From: Brad Hards <[EMAIL PROTECTED]>
To: Kashif Rajput <[EMAIL PROTECTED]>
CC: [EMAIL PROTECTED]
Subject: Re: [linux-usb-devel]
"usb_control/bulkmsg:Timeout" Error

Kashif Rajput wrote:
>
>  I have linux-2.4.2 installed. When i load my driver
> and plug in a USB mouse to see if the probe function
> is called. Instead i get an error:-
>
> usb_control/bulk_msg:Timeout
> usb_control/bulk_msg:Timeout
>
>  The probe function of my driver isn't being called.
> The code of the probe function is as below:-
>
> static void *sample_probe(struct usb_device* udev,
> unsigned int ifnum,const struct usb_device_id*
> id_table)
<snip>
The usb subsystem registers the usb_driver() device,
from the
MODULE_DEVICE_TABLE(), and only calls relevant probe()
routines, not all of
them.

You need to set up the right configuration (eg a
matching device vendor and
product ID).

Brad



__________________________________________________
Do You Yahoo!?
Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.
http://geocities.yahoo.com/ps/info1

_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to