----------------------------
 DEVICE side (linux 2.6.11):
 ^     <--- typo previously
 ----------------------------
> 
> 
> This is what I've added to the usb.c sample code (crosscompiled and ran
> on the devce) to the autoconfig() function:
> 
> 
>       } else if (stat (DEVNAME = "amd5536udc", &statb) == 0) {
> 
>               HIGHSPEED = 1;
>               device_desc.bcdDevice = __constant_cpu_to_le16 (0x0212),
> 
>               fs_source_desc.bEndpointAddress = 
> hs_source_desc.bEndpointAddress
>                       = USB_DIR_IN | 1;
>               EP_IN_NAME = "ep2in-bulk";
                                        ^ 
                                        i've changed this to 2

>               fs_sink_desc.bEndpointAddress = hs_sink_desc.bEndpointAddress
>                       = USB_DIR_OUT | 2;
>               EP_OUT_NAME = "ep2out-bulk";
> 
>               source_sink_intf.bNumEndpoints = 3;
>               fs_status_desc.bEndpointAddress
>                       = hs_status_desc.bEndpointAddress
>                       = USB_DIR_IN | 3;
                                        ^ 
                                        and changed to 1, seems to make
more sense that way

>               EP_STATUS_NAME = "ep1in-int";
> 
>       } ....
> 

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-usb-devel@lists.sourceforge.net
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to