Hello, here my new proposal for PXA27x USB device support. In this version I fixed the power management support (suspend/resume). As already mentioned in my previous, I know this driver is quite far from perfection but, in my opinion, it could be a good starting point to add this support into the kernel. I use the driver from my platform specific file into "arch/arm/mach-pxa/" by using the following code: static int wwpc1100_udc_is_connected (void) { return 1; } static void wwpc1100_udc_command (int cmd) { switch (cmd) { case PXA2XX_UDC_CMD_DISCONNECT: pr_debug("%s: disconnect\n", __FUNCTION__); break; case PXA2XX_UDC_CMD_CONNECT: pr_debug("%s: connect\n", __FUNCTION__); break; default: printk(KERN_ERR "%s: unknown command!\n", __FUNCTION__); break; } } static struct pxa2xx_udc_mach_info wwpc1100_udc_mach_info = { .udc_is_connected = wwpc1100_udc_is_connected, .udc_command = wwpc1100_udc_command, .gpio_pullup = WWPC1100_USBD_ENABLE, }; Where WWPC1100_USBD_ENABLE is the GPIO number connected to a pull-up on USB lines. Please note that I'm using this driver under linux-2.6.20-rc6 but the patch applies to linux-2.6.21-rc2! The patch is also available at «http://ftp.enneenne.com/pub/misc/pxa270-patches/linux/pxa27x-udc-support.2 Signed-off-by: Rodolfo Giometti ---