Hi I am porting the usb driver in linux kernel 2.6.8.1 to ADI's blackfin processor running uClinux) on a reference design platform. The reference design platform contains VT6212.V62122L PCI USB 2.0 4 port port Host controller from via technology. To port the driver I have enabled
1. Support for Host side USB 2. USB verbose debug messages 3. USB device filesystem 4. EHCI HCD 2.0 support I am not using the loadable kernel module support and directly linking the usb driver with the kernel to begin with. At the boot-up, the usb driver dumps following message on the console usbcore: registered new driver usbfs usbcore: registered new driver hub Registered USB hub driver PCI: Via IRQ fixup for 0000:00:02.0, from 28 to 12 PCI: Via IRQ fixup for 0000:00:02.1, from 28 to 12 ehci_hcd 0000:00:02.2: EHCI Host Controller ehci_hcd 0000:00:02.2: irq 28, pci mem e0000000 ehci_hcd 0000:00:02.2: new USB bus registered, assigned bus number 1 ehci_hcd 0000:00:02.2: USB 2.0 enabled, EHCI 1.00, driver 2004-May-10 ehci_hcd 0000:00:02.2: init error -12 ehci_hcd 0000:00:02.2: remove, state 0 Debugging to find the cause of the above init error messages indicated that ehci_start() failed when hcd_register_root() was invoked. Hcd_register_root() failed because usb_maxpacket() returned 0 whereas it should return a value which is power of 2. Any idea why usb_maxpacket() failed ? Is this a known issue ? Thanks in advance. Regards Vivek ------------------------------------------------------- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click _______________________________________________ [email protected] To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-users
