lrd wrote:

Randy.Dunlap wrote:
I think the following lines do this. Those VID/PID are defined by my device and work fine in MS Windows's driver which is written by me.
#define USB_ZBOARD_VENDOR_ID 0x1234
#define USB_ZBOARD_PRODUCT_ID 0x0000
static struct usb_device_id g_ZBoard_IDS [] =
{
{ USB_DEVICE(USB_ZBOARD_VENDOR_ID, USB_ZBOARD_PRODUCT_ID) },
/* "Gadget Zero" firmware runs under Linux */
// { USB_DEVICE(0x0525, 0xa4a0) },
{ } /* Terminating entry */
};


MODULE_DEVICE_TABLE(usb, g_ZBoard_IDS);


Did you check /proc/bus/usb/devices to check that the device is being properly recognized (correct ID's, endpoints, etc.)?


If you are building the hardware of a USB client "from scratch", there still might be some timing issues, or something, that escape the Windows core, but don't pass the Linux test :)

--
Paulo Marques
Software Development Department - Restinfor, Lda.
Phone: +351 252 290600, Fax: +351 252 290601
Web: www.grupopie.com

"In a world without walls and fences who needs windows and gates?"



-------------------------------------------------------
This SF.net email is sponsored by: SF.net Giveback Program.
Does SourceForge.net help you be more productive?  Does it
help you create better code?  SHARE THE LOVE, and help us help
YOU!  Click Here: http://sourceforge.net/donate/
_______________________________________________
[EMAIL PROTECTED]
To unsubscribe, use the last form field at:
https://lists.sourceforge.net/lists/listinfo/linux-usb-devel

Reply via email to