Re: USB HC on i.MX21 hangs with error -110
Hi All, Sorry for crossposting. > Let's see ... Linux-ARM is a "please don't crosspost" list; I did not know that. I will not repeat. I did not know which list to ask help for USB untill afterwards I found the linux-usb-users mailing list. Sorry again. Will not repeat. Thanks, Midhun. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: USB HC on i.MX21 hangs with error -110
On Monday 13 August 2007, Midhun A wrote: > We are using the i.MX21 Litekit. It has got a USB host port on it > and the driver is imx21-hcd.c provided by the vendor. Let's see ... Linux-ARM is a "please don't crosspost" list; but you did (including linux-kernel). And then you also posted much the same message to linux-usb-users and then linux-usb-devel. In none of these messages do you report what that vendor said about these problems ... In short, a good lesson in how NOT to ask for help! If anyone feels inclined to follow up on this, please do so only on linux-usb-devel. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
USB HC on i.MX21 hangs with error -110
Hi All, We are using the i.MX21 Litekit. It has got a USB host port on it and the driver is imx21-hcd.c provided by the vendor. When I plug in a USB stick into the host port, the kernel hangs with the following error: usb 1-2: device descriptor read/64, error -110 I have read on the net that -110 means timeout error. Also there were suggestions to unload ehci-hcd module. But I do not have ehci-hcd built into my kernel. My kernel config for USB is: # # USB support # CONFIG_USB_ARCH_HAS_HCD=y # CONFIG_USB_ARCH_HAS_OHCI is not set # CONFIG_USB_ARCH_HAS_EHCI is not set CONFIG_USB=y # CONFIG_USB_DEBUG is not set The kernel boots with the following log on enabling CONFIG_USB_DEBUG. imx21_hcd_init:1838 imx21_probe:1765 imx21-hc imx21-hc.0: IMX21 USB Host Controller imx21-hc imx21-hc.0: new USB bus registered, assigned bus number 1 imx21_hc_reset:1430 imx21-hc imx21-hc.0: irq 55, io base 0x imx21_hc_start:1438 imx21_hc_start:1451 usb usb1: Product: IMX21 USB Host Controller usb usb1: Manufacturer: Linux 2.6.22 imx21-hc usb usb1: SerialNumber: imx21-hc.0 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found imx21_hc_hub_control:1579 GetHubDescriptor hub 1-0:1.0: 3 ports detected imx21_hc_hub_control:1579 GetHubStatus imx21_hc_hub_control:1579 SetPortFeature USB_PORT_FEAT_POWER imx21_hc_hub_control:1579 SetPortFeature USB_PORT_FEAT_POWER imx21_hc_hub_control:1579 SetPortFeature USB_PORT_FEAT_POWER >>usb_add_hcd - Exiting without error imx21_probe:1822 imx21_hc_hub_control:1579 GetPortStatus: port: 1, 0x100 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x100 imx21_hc_hub_control:1579 GetPortStatus: port: 3, 0x100 The debug on plugging in the flash drive is: / # imx21_hc_hub_status_data:1555 port 1 (of 3): 0x10101 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x10101 imx21_hc_hub_control:1579 ClearPortFeature USB_PORT_FEAT_C_CONNECTION imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x101 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x101 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x101 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x101 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x101 imx21_hc_hub_control:1579 SetPortFeature USB_PORT_FEAT_RESET hwmode = 0x202000a2 cint_stat = 0x cint_sten = 0x0001 clk_ctrl = 0x0003 rst_ctrl = 0x frm_intvl = 0x2a2f2edf frm_remain = 0x28cd hnp_csr = 0x20440200 hint_isr = 0x hnp_ien= 0x usbctrl= 0x000f1004 host_ctrl = 0x0008 sysisr = 0x0004 sysien= 0x xbufstat = 0x ybufstat = 0x xyinten = 0x xfillstat = 0x yfillstat = 0x etdenset = 0x etdenclr = 0x immedint = 0x etddonest = 0x etddoneen = 0x frmnub = 0x2f1e lsthresh = 0x0628 roothuba = 0x01000103 roothubb = 0x0007 rootstat = 0x portst1= 0x0100 portst2= 0x0101 portst3 = 0x0100 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x100103 imx21_hc_hub_control:1579 ClearPortFeature USB_PORT_FEAT_C_RESET usb 1-2: new full speed USB device using imx21-hc and address 2 imx21_hc_urb_enqueue:1466 ep: c2d94034 ep->hcpriv: ep->urb_list: c2d94040 ep->descriptor: bEndpointAddress: 0 wMaxPacketSize: 64 urb: c2d524a0 ->dev->speed: FULL ->hcpriv: ->pipe: 0x8080 IN CTRL ->transfer_flags: 0x0 ->transfer_buffer: c2d734a0 ->transfer_dma: 0xc2d734a0 ->transfer_buffer_length: 64 ->setup_packet: c2cb1200 ->setup_dma: 0xc2cb1200 0x80 0x06 0x00 0x01 0x00 0x00 0x40 0x00 maxpacket: 64 imx21_irq:1403 imx21_irq:1413 etd(0): 0x0040 0x0040 0xf080 0x07e8 imx21_irq:1403 imx21_irq:1407 sh_done_list:1176 hc_parse_trans:1036 hc_parse_trans:1039 hc_parse_trans:1043 etd(0): 0x0840 0x0040 0x5380 0x07e8 hc_parse_trans:1113 hc_parse_trans:1144 hc_parse_trans:1152 urb: c2d524a0 ->dev->speed: FULL ->hcpriv: c2d4e160 ->pipe: 0x8082 IN CTRL ->transfer_flags: 0x0 ->transfer_buffer: c2d734a0 ->transfer_dma: 0xc2d734a0 ->transfer_buffer_length: 64 ->setup_packet: c2cb1200 ->setup_dma: 0xc2cb1200 0x80 0x06 0x00 0x01 0x00 0x00 0x40 0x00 maxpacket: 64 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036
USB HC on i.MX21 hangs with error -110
Hi All, We are using the i.MX21 Litekit. It has got a USB host port on it and the driver is imx21-hcd.c provided by the vendor. When I plug in a USB stick into the host port, the kernel hangs with the following error: usb 1-2: device descriptor read/64, error -110 I have read on the net that -110 means timeout error. Also there were suggestions to unload ehci-hcd module. But I do not have ehci-hcd built into my kernel. My kernel config for USB is: # # USB support # CONFIG_USB_ARCH_HAS_HCD=y # CONFIG_USB_ARCH_HAS_OHCI is not set # CONFIG_USB_ARCH_HAS_EHCI is not set CONFIG_USB=y # CONFIG_USB_DEBUG is not set The kernel boots with the following log on enabling CONFIG_USB_DEBUG. imx21_hcd_init:1838 imx21_probe:1765 imx21-hc imx21-hc.0: IMX21 USB Host Controller imx21-hc imx21-hc.0: new USB bus registered, assigned bus number 1 imx21_hc_reset:1430 imx21-hc imx21-hc.0: irq 55, io base 0x imx21_hc_start:1438 imx21_hc_start:1451 usb usb1: Product: IMX21 USB Host Controller usb usb1: Manufacturer: Linux 2.6.22 imx21-hc usb usb1: SerialNumber: imx21-hc.0 usb usb1: configuration #1 chosen from 1 choice hub 1-0:1.0: USB hub found imx21_hc_hub_control:1579 GetHubDescriptor hub 1-0:1.0: 3 ports detected imx21_hc_hub_control:1579 GetHubStatus imx21_hc_hub_control:1579 SetPortFeature USB_PORT_FEAT_POWER imx21_hc_hub_control:1579 SetPortFeature USB_PORT_FEAT_POWER imx21_hc_hub_control:1579 SetPortFeature USB_PORT_FEAT_POWER usb_add_hcd - Exiting without error imx21_probe:1822 imx21_hc_hub_control:1579 GetPortStatus: port: 1, 0x100 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x100 imx21_hc_hub_control:1579 GetPortStatus: port: 3, 0x100 The debug on plugging in the flash drive is: / # imx21_hc_hub_status_data:1555 port 1 (of 3): 0x10101 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x10101 imx21_hc_hub_control:1579 ClearPortFeature USB_PORT_FEAT_C_CONNECTION imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x101 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x101 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x101 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x101 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x101 imx21_hc_hub_control:1579 SetPortFeature USB_PORT_FEAT_RESET hwmode = 0x202000a2 cint_stat = 0x cint_sten = 0x0001 clk_ctrl = 0x0003 rst_ctrl = 0x frm_intvl = 0x2a2f2edf frm_remain = 0x28cd hnp_csr = 0x20440200 hint_isr = 0x hnp_ien= 0x usbctrl= 0x000f1004 host_ctrl = 0x0008 sysisr = 0x0004 sysien= 0x xbufstat = 0x ybufstat = 0x xyinten = 0x xfillstat = 0x yfillstat = 0x etdenset = 0x etdenclr = 0x immedint = 0x etddonest = 0x etddoneen = 0x frmnub = 0x2f1e lsthresh = 0x0628 roothuba = 0x01000103 roothubb = 0x0007 rootstat = 0x portst1= 0x0100 portst2= 0x0101 portst3 = 0x0100 imx21_hc_hub_control:1579 GetPortStatus: port: 2, 0x100103 imx21_hc_hub_control:1579 ClearPortFeature USB_PORT_FEAT_C_RESET usb 1-2: new full speed USB device using imx21-hc and address 2 imx21_hc_urb_enqueue:1466 ep: c2d94034 ep-hcpriv: ep-urb_list: c2d94040 ep-descriptor: bEndpointAddress: 0 wMaxPacketSize: 64 urb: c2d524a0 -dev-speed: FULL -hcpriv: -pipe: 0x8080 IN CTRL -transfer_flags: 0x0 -transfer_buffer: c2d734a0 -transfer_dma: 0xc2d734a0 -transfer_buffer_length: 64 -setup_packet: c2cb1200 -setup_dma: 0xc2cb1200 0x80 0x06 0x00 0x01 0x00 0x00 0x40 0x00 maxpacket: 64 imx21_irq:1403 imx21_irq:1413 etd(0): 0x0040 0x0040 0xf080 0x07e8 imx21_irq:1403 imx21_irq:1407 sh_done_list:1176 hc_parse_trans:1036 hc_parse_trans:1039 hc_parse_trans:1043 etd(0): 0x0840 0x0040 0x5380 0x07e8 hc_parse_trans:1113 hc_parse_trans:1144 hc_parse_trans:1152 urb: c2d524a0 -dev-speed: FULL -hcpriv: c2d4e160 -pipe: 0x8082 IN CTRL -transfer_flags: 0x0 -transfer_buffer: c2d734a0 -transfer_dma: 0xc2d734a0 -transfer_buffer_length: 64 -setup_packet: c2cb1200 -setup_dma: 0xc2cb1200 0x80 0x06 0x00 0x01 0x00 0x00 0x40 0x00 maxpacket: 64 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036 hc_parse_trans:1036
Re: USB HC on i.MX21 hangs with error -110
On Monday 13 August 2007, Midhun A wrote: We are using the i.MX21 Litekit. It has got a USB host port on it and the driver is imx21-hcd.c provided by the vendor. Let's see ... Linux-ARM is a please don't crosspost list; but you did (including linux-kernel). And then you also posted much the same message to linux-usb-users and then linux-usb-devel. In none of these messages do you report what that vendor said about these problems ... In short, a good lesson in how NOT to ask for help! If anyone feels inclined to follow up on this, please do so only on linux-usb-devel. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/
Re: USB HC on i.MX21 hangs with error -110
Hi All, Sorry for crossposting. Let's see ... Linux-ARM is a please don't crosspost list; I did not know that. I will not repeat. I did not know which list to ask help for USB untill afterwards I found the linux-usb-users mailing list. Sorry again. Will not repeat. Thanks, Midhun. - To unsubscribe from this list: send the line unsubscribe linux-kernel in the body of a message to [EMAIL PROTECTED] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/