Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-28 Thread Alan Stern
On Thu, 28 Mar 2013, David Linares wrote: > Ok so here is what I did: > - compiled all USB stuff as modules > - boot up the device with nothing plugged in > - Checked that "lsmod | grep usb" didn't return anything > - modprobe usbmon (this will also load usbcore) > - start the capture : cat /sys/k

Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-28 Thread David Linares
On 27 March 2013 20:00, Alan Stern wrote: > On Wed, 27 Mar 2013, David Linares wrote: > >> Please correct me if I am wrong. >> On my iMX25 board, I have got a 1-port root_hub which will provide >> 500mA max to its unique child. > > You should check that against the iMX25's specs. It's possible th

Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-27 Thread Alan Stern
On Wed, 27 Mar 2013, David Linares wrote: > Please correct me if I am wrong. > On my iMX25 board, I have got a 1-port root_hub which will provide > 500mA max to its unique child. You should check that against the iMX25's specs. It's possible that the root hub has a current limit lower than 500

Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-27 Thread David Linares
On 27 March 2013 18:35, Alan Stern wrote: > On Wed, 27 Mar 2013, David Linares wrote: > >> Thanks Alan. I understand, but the USB cable is plugged into an AC/DC >> adaptor which can provide an output of 1A. After breaking out an USB >> cable, I measured that the consumption of my board is around 1

Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-27 Thread Alan Stern
On Wed, 27 Mar 2013, David Linares wrote: > Thanks Alan. I understand, but the USB cable is plugged into an AC/DC > adaptor which can provide an output of 1A. After breaking out an USB > cable, I measured that the consumption of my board is around 130mA > (nothing connected to the hub). Then I mea

Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-27 Thread David Linares
On 26 March 2013 18:50, Alan Stern wrote: > On Tue, 26 Mar 2013, David Linares wrote: > >> >> The device I am working on is an embedded device, therefore the wireless >> >> adapter has to be connected to the internal hub. This hub and the whole >> >> device >> >> are powered via an usb cable. >>

Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-26 Thread Alan Stern
On Tue, 26 Mar 2013, David Linares wrote: > >> The device I am working on is an embedded device, therefore the wireless > >> adapter has to be connected to the internal hub. This hub and the whole > >> device > >> are powered via an usb cable. > > > > Oh. Then maybe the USB cable doesn't provide

Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-26 Thread David Linares
On 26 March 2013 15:27, Alan Stern wrote: > On Tue, 26 Mar 2013, David Linares wrote: > >> >> While enabling usbmon, I noticed something that can be related. >> >> There is a config: "Maximum VBUS Power usage" which is currently set to >> >> 300mA in my case. >> > >> > That option (USB_GADGET_VBUS

Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-26 Thread Alan Stern
On Tue, 26 Mar 2013, David Linares wrote: > >> While enabling usbmon, I noticed something that can be related. > >> There is a config: "Maximum VBUS Power usage" which is currently set to > >> 300mA in my case. > > > > That option (USB_GADGET_VBUS_DRAW) applies only to gadgets. That is, > > it's

Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-26 Thread David Linares
On 25 March 2013 18:07, Alan Stern wrote: > On Mon, 25 Mar 2013, David Linares wrote: > >> > Start with usbmon (see Documentation/usb/usbmon.txt). >> >> Thanks Alan. I have just compiled my kernel with debugfs and usbmon. >> I can now easily capture raw text traces after boot-up. But I am interest

Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-25 Thread Alan Stern
On Mon, 25 Mar 2013, David Linares wrote: > > Start with usbmon (see Documentation/usb/usbmon.txt). > > Thanks Alan. I have just compiled my kernel with debugfs and usbmon. > I can now easily capture raw text traces after boot-up. But I am interested > in capturing these traces at boot time becau

Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-25 Thread David Linares
On 25 March 2013 14:44, Alan Stern wrote: > On Mon, 25 Mar 2013, David Linares wrote: > >> Hi all, >> >> I am currently working on an open-source project using linux 3.5.4 on >> an i.MX25 board manufactured by Voipac. >> I have been experiencing all sorts of USB issues that I have logged here: >>

Re: Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-25 Thread Alan Stern
On Mon, 25 Mar 2013, David Linares wrote: > Hi all, > > I am currently working on an open-source project using linux 3.5.4 on > an i.MX25 board manufactured by Voipac. > I have been experiencing all sorts of USB issues that I have logged here: > http://pastebin.com/Ry6fdne5 > As you will

Help with USB issues at boot-up on i.MX25 (linux 3.5.4)

2013-03-25 Thread David Linares
Hi all, I am currently working on an open-source project using linux 3.5.4 on an i.MX25 board manufactured by Voipac. I have been experiencing all sorts of USB issues that I have logged here: http://pastebin.com/Ry6fdne5 As you will see, it varies from detecting a hub with 0 ports, failing