兄弟,我在vxworks6.6 for x86 平台下。编写usb接口的扫描仪设备驱动,设备上电后可以正常找到,但是到创建物理层链接那块需要根据端点号,端点地址,以+配置值接口值来创建端点到client的通信管道。在这一块调用usbdPipeCreate失败。。俺检查了传入的参数,if (usbdPipeCreate (usbdHandle,
pScanDev->scanDevId, -----实际值为nodeid=2
pOutEp->endpointAddress, ----端点2BULK OUT类型为3
pScanDev->configuration, -----配置值为1
pScanDev->interface, -------接口值为0
USB_XFRTYPE_BULK,
USB_DIR_OUT,
maxPacketSize, ----最大包64
0,
0,
&(pScanDev->outPipe))
!= OK)
{
logMsg ("usbScanPhysDevCreate: Error creating bulk out pipe\n",