<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
</head>
<body dir="ltr">
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hello.</p>
<p>Today I tried testing with the unmodified images.</p>
<p>(just followed the build instruction on README from <a href="https://github.com/Freescale/fsl-community-bsp-platform" class="OWAAutoLink" id="LPlnk910381" previewremoved="true">https://github.com/Freescale/fsl-community-bsp-platform</a>), and the result
was the below.</p>
<p><br>
</p>
<p>lsusb on imx61sabreauto board:</p>
<p><br>
</p>
<p>2.0 (jethro) - OK</p>
<p>2.1 (krogoth) - NG</p>
<p>2.2 (morty) - NG</p>
<p>2.3 (pyro) - NG</p>
<div><br>
</div>
<div>I am curious since it is OK (lsusb correctly list the USB devices) with jethro, but NG on krogoth and after.</div>
<div>I may look into the delta but still not sure where to look into.</div>
<div>Any comment/suggestion is welcomed.</div>
<br>
<div style="color: rgb(0, 0, 0);">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Takashi Matsuzawa<br>
<b>Sent:</b> Friday, June 30, 2017 9:03 PM<br>
<b>To:</b> meta-freescale@yoctoproject.org<br>
<b>Subject:</b> Re: unable to initialize libusb: -99</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p>Hello.</p>
<p>I am still looking into this, since without USB working the board is les use. </p>
<p><span style="font-size:12pt">And, I noticed there is an post regarding imx6qdl-sabreauto.dtsi issue regarding pca953x control.</span><br>
</p>
<p><br>
</p>
<p></p>
<div>https://community.nxp.com/thread/435299</div>
<div><br>
</div>
<div><span style="font-family:Calibri,Helvetica,sans-serif; font-size:16px">In fact before in the boot log, I see the followings before "Can't register ci_hdrc platform device, err=-517" errors.</span><br>
</div>
<div><span style="font-family:Calibri,Helvetica,sans-serif; font-size:16px">I an hardly imagine none of the sabreauto board users (on linux-fslc) can use USB. And also I could use USB on NXP release BSP, so board hardware is not broken.</span></div>
<div><span style="font-family:Calibri,Helvetica,sans-serif; font-size:16px"><br>
</span></div>
<div><span style="font-family:Calibri,Helvetica,sans-serif; font-size:16px">If there is a fix patch or workaround known, or if it is my configuration problem, I would like to learn.</span></div>
<div><br>
</div>
<div><span style="font-size:12pt">> pca953x 2-0030: failed reading register</span><br>
</div>
<div>
<div>> pca953x: probe of 2-0030 failed with error -11</div>
<div>> pca953x 2-0032: failed reading register</div>
<div>> pca953x: probe of 2-0032 failed with error -11</div>
<div>> pca953x 2-0034: failed reading register</div>
<div>> pca953x: probe of 2-0034 failed with error -11</div>
<div><br>
</div>
<div><span style="font-size:12pt">> CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0]</span><br>
</div>
<div><br>
</div>
<div><span style="font-size:12pt">> Unknown username "adit" in message bus configuration file</span><br>
</div>
<div><br>
</div>
<div><span style="font-size:12pt">> mag3110 2-000e: read chip ID 0xfffffff5 is not equal to 0xc4!</span><br>
</div>
<div>> mag3110: probe of 2-000e failed with error -22</div>
<div><br>
</div>
<div><span style="font-size:12pt">> mma8451 2-001c: read chip ID 0x1 is not equal to 0x1a or 0x2a!</span><br>
</div>
<div>> mma8451: probe of 2-001c failed with error -22</div>
<div><br>
</div>
<div><span style="font-size:12pt">> imx_usb 2184000.usb: Can't register ci_hdrc platform device, err=-517</span><br>
</div>
<div>> imx_usb 2184200.usb: Can't register ci_hdrc platform device, err=-517</div>
<div>> imx_usb 2184000.usb: Can't register ci_hdrc platform device, err=-517</div>
<div>> imx_usb 2184200.usb: Can't register ci_hdrc platform device, err=-517</div>
</div>
<div><br>
</div>
<div>Any sugestion is highly appreciated.</div>
<div><br>
</div>
<p></p>
<div style="color:rgb(0,0,0)">
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Takashi Matsuzawa<br>
<b>Sent:</b> Thursday, June 29, 2017 3:09 PM<br>
<b>To:</b> meta-freescale@yoctoproject.org<br>
<b>Subject:</b> unable to initialize libusb: -99</font>
<div> </div>
</div>
<div>
<div id="divtagdefaultwrapper" dir="ltr" style="font-size:12pt; color:#000000; font-family:Calibri,Helvetica,sans-serif">
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">Hello.</span></p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">I am trying an image based on morty (2.2) fsl communty BSP on sabre-ai board, and see the lsusb -99 error.</span></p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px"><br>
</span></p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px"></span></p>
<div style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">Any suggestion/comment on which part of the configuration I should be look into!</div>
<div style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">(I already googl'ed and found some old questions/answers on libusb -99 errors, but I could not figure out if they are just the same as my case or not.)</div>
<div><br>
</div>
<p></p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">My issue is that SB is not working (lsusb gives me error), as below.</span></p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">I checked and make sure CONFIG_USB_EHCI_HCD/CONFIG_USB_XHCI_HCD are there.</span></p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px"><br>
</span></p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">>root@imx6qsabreauto:~# export LIBUSB_DEBUG=9</span><br style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">
<span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">></span>root@imx6qsabreauto:~# lsusb -v</span><br style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">
<span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">></span>libusb: debug [libusb_init] created default context</span><br style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">
<span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">></span>libusb: debug [libusb_init] libusb v1.0.20.11004</span><br style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">
<span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">></span>libusb: error [op_init] could not find usbfs</span><br style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">
<span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px"><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px">></span>unable to initialize libusb: -99</span><br>
</p>
<p><br>
</p>
<p><span style="color:rgb(34,34,34); font-family:arial,sans-serif; font-size:14px"></span></p>
<div>I am also seeing errors like below in journalctl log, but I am not sure what they mean.</div>
<div><br>
</div>
<div>>Jun 28 12:02:02 imx6qsabreauto kernel[313]: hdm_usb: hdm_usb_init()</div>
<div>>Jun 28 12:02:02 imx6qsabreauto kernel[313]: usbcore: registered new interface driver hdm_usb</div>
<div>>Jun 28 12:02:02 imx6qsabreauto kernel[313]: usbcore: registered new interface driver k2l-mocca</div>
<div>>Jun 28 12:02:02 imx6qsabreauto kernel[313]: imx_usb 2184000.usb: Can't register ci_hdrc platform device, err=-517</div>
<div>>Jun 28 12:02:02 imx6qsabreauto kernel[313]: imx_usb 2184200.usb: Can't register ci_hdrc platform device, err=-517</div>
<div>>...</div>
<div><br>
</div>
<p></p>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>