On Thu, 16 Nov 2006, Jim wrote:

> Hi,
> 
> I am running a usb driver based on usb-skeleton.c, when a device plugged 
> in, the skel_probe() was called, but stop at following error of 
> "Couldn't find both bulk-in and bulk-out endpoints" and my ARM system 
> crashed at "Unable to handle kernel NULL pointer":
> 
> if (!(dev->bulk_in_endpointAddr && dev->bulk_out_endpointAddr)) {
>      err("Couldn't find both bulk-in and bulk-out endpoints");
>      goto error;
> }
> 
> The configuration of endpoint for bulk-in and bulk-out at following was 
> not called. Is the value of iface_desc = &interface->altsetting[0] 
> assigned from the device or core? I guess I tried to figure out where 
> the problem was from the device or core.

The descriptor value comes from the device.  You can view the values in 
/proc/bus/usb/devices.

Alan Stern


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
[email protected]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to