From: Narifumi Y. <yo...@lp...> - 2013-10-29 02:32:20
|
CASE 1: turn on the Host and then insert the USB-hub At the beginning, the HOST and the USB-hub are all turned off. I turn on the HOST and observe its start process by an serial terminal. It works normally and the the prompt appears. Now I turn on the USB-hub and insert it to the Host. The following messages appear to the serial terminal. ---------- [ 20.104400] usb 1-2: new high-speed USB device number 2 using ehci-omap [ 20.270690] usb 1-2: New USB device found, idVendor=05e3, idProduct=0608 [ 20.278503] usb 1-2: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 20.288940] usb 1-2: Product: USB2.0 Hub [ 20.300140] hub 1-2:1.0: USB hub found [ 20.308654] hub 1-2:1.0: 4 ports detected [ 20.604858] usb 1-2.2: new high-speed USB device number 3 using ehci-omap [ 20.731658] usb 1-2.2: New USB device found, idVendor=05e3, idProduct=0608 [ 20.739715] usb 1-2.2: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 20.750183] usb 1-2.2: Product: USB2.0 Hub [ 20.761474] hub 1-2.2:1.0: USB hub found [ 20.770111] hub 1-2.2:1.0: 4 ports detected [ 20.862609] usb 1-2.4: new high-speed USB device number 4 using ehci-omap [ 20.989318] usb 1-2.4: New USB device found, idVendor=05e3, idProduct=0608 [ 20.997375] usb 1-2.4: New USB device strings: Mfr=0, Product=1, SerialNumber=0 [ 21.007293] usb 1-2.4: Product: USB2.0 Hub [ 21.018890] hub 1-2.4:1.0: USB hub found [ 21.027801] hub 1-2.4:1.0: 4 ports detected [ 25.159759] ehci-omap ehci-omap.0: init_60m_fclk set parentfailed error:-16 [ 25.167083] ehci-omap ehci-omap.0: init_60m_fclk set parentfailed error:-16 [ 25.175598] ehci-omap ehci-omap.0: xclk60mhsp1_ck set parentfailed error:-16 [ 25.183013] ehci-omap ehci-omap.0: xclk60mhsp2_ck set parentfailed error:-16 ---------- I also observe the USB-hub with an USB monitor. When the above messages appear, the USB monitor shows that the USB-hub is "suspended". I disconnect the USB-hub, the USB monitor shows that the USB-hub is "disconnected". I insert the USB-hub again, the USB monitor shows that the USB-hub is "suspended." In other words, the USB-hub is suspended shortly after it is inserted to the HOST. The situation will not change no matter how many time I disconnect and insert the USB-hub. CASE 2: Insert the USB-hub to the HOST and then turn them on I also try to insert the USB-hub to the HOST first. And then I turn on the HOST, of course the USB-hub is turned on automatically at the same time. In this case, I can use the USB-hub. But it does not work stably. I connect a usb device. The USB can be recongized, and I can read and write the USB. But sometimes, an error occurs, giving the following message " [10.036956] ehci-omap ehci-omap.0: init_60m_fclk set parentfailed error:-16 [10.044281] ehci-omap ehci-omap.0: init_60m_fclk set parentfailed error:-16 [10.052795] ehci-omap ehci-omap.0: xclk60mhsp1_ck set parentfailed error:-16 [10.060211] ehci-omap ehci-omap.0: xclk60mhsp2_ck set parentfailed error:-16 " After the error, I can not access the USB any more. Even I disconnect the USB-hub from the Summit board, no message is output. SUMMARY: In both cases, when the above messages appear, I can not use the USB-hub. The key point for me is When it suspends, how to use it Can you give me some advises? (2013/10/25 14:46), Narifumi Yoshida wrote: > Hi all. > > I'm trying to use an usb hub. The USB-hub has its own AC adatper. > The USB hub is inserted to the host connector of Summit board. > The Summit board is used in WaterSTORM > My working image is linux kernel 3.5.0 with yocto. > > A USB can be used but it does not work stably. > I connect and disconnect a usb device. The USB can be recongized, and I > can read and write the USB. > But sometimes, an error occurs, giving the following message > " > [10.036956] ehci-omap ehci-omap.0: init_60m_fclk set parentfailed > error:-16 > [10.044281] ehci-omap ehci-omap.0: init_60m_fclk set parentfailed > error:-16 > [10.052795] ehci-omap ehci-omap.0: xclk60mhsp1_ck set parentfailed > error:-16 > [10.060211] ehci-omap ehci-omap.0: xclk60mhsp2_ck set parentfailed > error:-16 > " > > After the error, I can not access the USB any more. Even I disconnect > the USB-hub from the Summit board, > no message is output. > > It works again ONLY IF I restart the whole system, turning off the > power of Summit board and waterStorm and turn it on again. > > I want to know > 1 how to avoid the problem > 2 when such an error occurs, how to solve it and keep on using it > WITHOUT restarting the whole system. > > Can you give me some advise? > Thanks in advance. > > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60135991&iu=/4140/ostg.clktrk > _______________________________________________ > gumstix-users mailing list > gum...@li... > https://lists.sourceforge.net/lists/listinfo/gumstix-users > -- ※ ダートフィッシュ・ソフトウェアの販売代理店となりました。 ※ センサと動画のリアルタイム連携も可能です。 ※ 動画サンプル(http://www.lp-d.co.jp/products/appdartfish.html) ※ 薬事法 医療機器製造業の認可を取得しました(40BZ200061) ※ リハビリテーション機器OEM(https://www.p-supply.co.jp/products/436) ※ 日経エレクトロニクスに取り上げていただきました。 ※ http://techon.nikkeibp.co.jp/article/FEATURE/20120717/228515/ ※ iPadアプリケーション、遂に発売開始!! ※ http://www.lp-d.co.jp/products/appipad01.html *********************************************************** 株式会社ロジカルプロダクト ワイヤレスセンシング事業部 技師 吉田 位史 Narifumi Yoshida 住所:〒811-1314 福岡市南区的場2丁目25-5 中原ビル2F (都市高速 野多目IC 近く) 電話 092-405-7603(代表) FAX 092-405-7604 E-mail:yo...@lp... URL:http://www.lp-d.co.jp ************************************************************ |