Hello, I am sending the last information from today :-)
(we are working in MX21, to support USB slave, mainly using Kernel 2.4.20 patched with patch from Freescale) Today MX21 did something more interesting :-) I loaded the modules in this way and order. Lines started with # what I typed, other lines what modules said. # modprobe usbdcore.o Using usbdcore.o usbdcore: usbdcore 0.1 034 2002-06-12 20:00 (dbg="") # modprobe serial_fd.o Using serial_fd.o serial_fd 0.1-beta 034 2002-06-12 20:00 (<NULL>) vendor_id: 0000 product_id: 0000 dbg: <NULL> (one time I tried using modprobe serial_fd.o vendor_id=1212 product_id=2424 dbg=1, but no news) # modprobe usb-mx2otg.o Using usb-mx2otg.o MX2 OTG Driver ver. 1.0 built on 14:50:00 Aug 4 2005 id pin floating - B dev # modprobe mx2_bi.o Using mx2_bi.o serial_fd 0.1-beta 034 2002-06-12 20:00 (dbg="") bi_modinit: call udc_startup_events bi_device_event: call udc_enable bi_device_event: call udc_all_interrupts id pin floating - B dev enable B device Then MX.21 sometimes hung, but not always... If I load mx2_bi.o before usb-mx2otg.o, I get a Kernel Panic... (:-o) In host computer, in /var/log/messages: ug 4 15:21:14 pinux kernel: usb 1-1: new full speed USB device using uhci_hcd and address 18 Aug 4 15:21:26 pinux kernel: usb 1-1: new full speed USB device using uhci_hcd and address 19 Aug 4 15:21:44 pinux kernel: usb 1-1: new full speed USB device using uhci_hcd and address 20 Aug 4 15:21:55 pinux kernel: usb 1-1: new full speed USB device using uhci_hcd and address 21 (repeating it...) And in /var/log/debug, with HCD debug enabled: Aug 4 15:21:14 pinux kernel: hub 1-0:1.0: state 5 ports 2 chg 0000 evt 0002 Aug 4 15:21:14 pinux kernel: uhci_hcd 0000:00:1d.0: port 1 portsc 0093,00 Aug 4 15:21:14 pinux kernel: hub 1-0:1.0: port 1, status 0101, change 0001, 12 Mb/s Aug 4 15:21:14 pinux kernel: hub 1-0:1.0: debounce: port 1: total 100ms stable 100ms status 0x101 Aug 4 15:21:15 pinux kernel: usb 1-1: khubd timed out on ep0in len=8/64 Aug 4 15:21:21 pinux kernel: usb 1-1: khubd timed out on ep0out len=0/0 Aug 4 15:21:26 pinux kernel: usb 1-1: khubd timed out on ep0out len=0/0 Aug 4 15:21:27 pinux kernel: usb 1-1: khubd timed out on ep0in len=0/64 Aug 4 15:21:28 pinux kernel: usb 1-1: khubd timed out on ep0in len=0/64 Aug 4 15:21:29 pinux kernel: usb 1-1: khubd timed out on ep0in len=0/64 Aug 4 15:21:34 pinux kernel: usb 1-1: khubd timed out on ep0in len=0/64 Aug 4 15:21:39 pinux kernel: usb 1-1: khubd timed out on ep0in len=0/64 Aug 4 15:21:44 pinux kernel: usb 1-1: khubd timed out on ep0in len=0/64 Aug 4 15:21:49 pinux kernel: usb 1-1: khubd timed out on ep0out len=0/0 Aug 4 15:21:55 pinux kernel: usb 1-1: khubd timed out on ep0out len=0/0 Aug 4 15:22:00 pinux kernel: usb 1-1: khubd timed out on ep0out len=0/0 Aug 4 15:22:05 pinux kernel: usb 1-1: khubd timed out on ep0out len=0/0 (endless) And, if I type lsusb in host computer, lsusb hangs... until I disconnect the USB cable (no Control+C break, so it is some kind of thing in Kernel-host computer) Does anyone have had that kind of problem? I wanted to test with 2.6.10, Mike Lee patch and JFFS2 patch (we need for RootFS) but I have had some problem compiling Kernel (I need other gcc version, not 3.2.3 either 2.95.2 -I think-. Tomorrow or during weekend I will try to compile, and check it in next week. But I would like to fix 2.4.20 problem, I think that I am not far to fix it!) Thank you for your help, -- Carles Pina i Estany GPG id: 0x8CBDAE64 http://pinux.info ------------------------------------------------------- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf _______________________________________________ linux-usb-devel@lists.sourceforge.net To unsubscribe, use the last form field at: https://lists.sourceforge.net/lists/listinfo/linux-usb-devel