From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id A0C56E00B53; Fri, 30 Jun 2017 05:18:41 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_PASS autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.0 RCVD_IN_DNSWL_NONE RBL: Sender listed at http://www.dnswl.org/, no * trust * [104.47.37.45 listed in list.dnswl.org] * -0.0 SPF_HELO_PASS SPF: HELO matches SPF record * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message * 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily * valid * -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Received: from NAM02-CY1-obe.outbound.protection.outlook.com (mail-cys01nam02on0045.outbound.protection.outlook.com [104.47.37.45]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 18FE6E00B1B for ; Fri, 30 Jun 2017 05:18:38 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=uievolution.onmicrosoft.com; s=selector1-xevo-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=NmODsvsRtX+uu4fixc692/7dsq9zFfhPjbKJZydDnAY=; b=Imrltm7+j2kvlSbJ4c1oAodpq6+E1VpgvhczQLbmTeaC/gkV7Gvg32DSOn85ZeTsswxxxiOCax3nXn0SdR8Z9Kb1UpQIb++mYCNDMm3ZR/eRQSjRvk0suTV+VvwxhBFfaSd8hM4IENM2akUQWbaJxmQYaH+E5TpCDpYD/37iG2A= Received: from MWHPR01MB3293.prod.exchangelabs.com (10.172.170.150) by MWHPR01MB3295.prod.exchangelabs.com (10.172.170.135) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_CBC_SHA256_P256) id 15.1.1220.11; Fri, 30 Jun 2017 12:03:38 +0000 Received: from MWHPR01MB3293.prod.exchangelabs.com ([10.172.170.150]) by MWHPR01MB3293.prod.exchangelabs.com ([10.172.170.150]) with mapi id 15.01.1220.015; Fri, 30 Jun 2017 12:03:38 +0000 From: Takashi Matsuzawa To: "meta-freescale@yoctoproject.org" Thread-Topic: unable to initialize libusb: -99 Thread-Index: AQHS8J0fPmH9jGmWzk63iYbewb1hxKI9TU8H Date: Fri, 30 Jun 2017 12:03:38 +0000 Message-ID: References: In-Reply-To: Accept-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: yoctoproject.org; dkim=none (message not signed) header.d=none; yoctoproject.org; dmarc=none action=none header.from=xevo.com; x-originating-ip: [118.238.252.194] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; MWHPR01MB3295; 7:9a86/ebcxbF2dsNWJM5lwPKbIA+o1QnGHOoQio5pHAr6YXu0jkKjfcOJcBdnF7jJejDvrfzJuSIjeWD4eW37jiV0R4mwYXTB+q0I110ZC23SfrNoM06CBBbYDN+jNxh3phbHo0/QRMbWjHu8lNWyUNdwBDpQLMNkCXK1zLlj5xGicJ4scZeWbiKxFZVtJ7vSB5bZUaPWerhz2EN9q2X8EGuf4hmyvZdrVJxRt0cukPRyLN4ChsYnlvmAszy7ACz8L13vXnleT9gXL3tXRhKVQJxC59R91eOwiT0zmwKU1fUCbiayqwA2P54kUn743SROkqZqHq6XIaN3VEzHXIouqMbaQ4+vAeNvWIOtn/PEpDk6SNX1p7pklac5Qb3KOvQQCXkLds1LBHS0ei+Pkkv/67eS6Gf7zqUSSpBfJ/flbC2sfBtiGIR6p9H7BV60e1/Uc7v4J8OT3mk896acANBe+Rn9Z3AJEcACtMqAi/BZq3kLsJxb5oHCmgXtvpNKoljKRK2ihCYD5k2CX1OHdXMKD52juj88rq6EHZRfLZ9AS2xNB3Y2X7hQO20RXAsRbmxmfm4GvnH3ahpMe91GJlMnL60jHYdfFcuqnMz+6+K6A8OcPxav+XllxKLw+elkwnOJ/TT893wA3wH9gCK1H/fvfKGybaqQfd1QofSkcC45FdZCOnQcBaO9huvaJDgo39S3lFdo1v9kk6jxuL255fVtNHDyRsNbhkp4E1VndSVMl7Tj0if5m9VrUJM/dhjIcIMjTY38/hj4DNIEJfO+sjGIXA+u7OL4zf4apnOS/yl97Lo= x-ms-office365-filtering-correlation-id: da3c1a7e-9e18-4282-4ab2-08d4bfb00b11 x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254075)(300000503095)(300135400095)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:MWHPR01MB3295; x-ms-traffictypediagnostic: MWHPR01MB3295: x-microsoft-antispam-prvs: x-exchange-antispam-report-test: UriScan:(236129657087228)(185117386973197)(148574349560750); x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(10201501046)(3002001)(100000703101)(100105400095)(6041248)(20161123555025)(20161123564025)(20161123562025)(20161123560025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123558100)(6072148)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:MWHPR01MB3295; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:MWHPR01MB3295; x-forefront-prvs: 0354B4BED2 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(39830400002)(39410400002)(39400400002)(39450400003)(377454003)(2906002)(3280700002)(2900100001)(3660700001)(54356999)(76176999)(50986999)(189998001)(86362001)(2351001)(19627405001)(33656002)(77096006)(66066001)(966005)(2501003)(25786009)(7736002)(53936002)(110136004)(8936002)(81166006)(38730400002)(6436002)(99286003)(55016002)(6506006)(5640700003)(6916009)(2950100002)(229853002)(54896002)(6306002)(6606003)(9686003)(14454004)(6116002)(102836003)(3846002)(74316002)(53546010)(5660300001)(7696004)(478600001)(8676002); DIR:OUT; SFP:1101; SCL:1; SRVR:MWHPR01MB3295; H:MWHPR01MB3293.prod.exchangelabs.com; FPR:; SPF:None; MLV:sfv; LANG:en; spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM MIME-Version: 1.0 X-OriginatorOrg: xevo.com X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Jun 2017 12:03:38.3633 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: e0a7ca1f-2458-4cd6-a7c7-d733c07495ab X-MS-Exchange-Transport-CrossTenantHeadersStamped: MWHPR01MB3295 Subject: Re: unable to initialize libusb: -99 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 30 Jun 2017 12:18:41 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_MWHPR01MB32938923ADFF97FB1DAB34DEB6D30MWHPR01MB3293prod_" --_000_MWHPR01MB32938923ADFF97FB1DAB34DEB6D30MWHPR01MB3293prod_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Hello. I am still looking into this, since without USB working the board is les us= e. And, I noticed there is an post regarding imx6qdl-sabreauto.dtsi issue rega= rding pca953x control. https://community.nxp.com/thread/435299 In fact before in the boot log, I see the followings before "Can't register= ci_hdrc platform device, err=3D-517" errors. I an hardly imagine none of the sabreauto board users (on linux-fslc) can u= se USB. And also I could use USB on NXP release BSP, so board hardware is= not broken. If there is a fix patch or workaround known, or if it is my configuration p= roblem, I would like to learn. > pca953x 2-0030: failed reading register > pca953x: probe of 2-0030 failed with error -11 > pca953x 2-0032: failed reading register > pca953x: probe of 2-0032 failed with error -11 > pca953x 2-0034: failed reading register > pca953x: probe of 2-0034 failed with error -11 > CPU PMU: Failed to parse /soc/pmu/interrupt-affinity[0] > Unknown username "adit" in message bus configuration file > mag3110 2-000e: read chip ID 0xfffffff5 is not equal to 0xc4! > mag3110: probe of 2-000e failed with error -22 > mma8451 2-001c: read chip ID 0x1 is not equal to 0x1a or 0x2a! > mma8451: probe of 2-001c failed with error -22 > imx_usb 2184000.usb: Can't register ci_hdrc platform device, err=3D-517 > imx_usb 2184200.usb: Can't register ci_hdrc platform device, err=3D-517 > imx_usb 2184000.usb: Can't register ci_hdrc platform device, err=3D-517 > imx_usb 2184200.usb: Can't register ci_hdrc platform device, err=3D-517 Any sugestion is highly appreciated. ________________________________ From: Takashi Matsuzawa Sent: Thursday, June 29, 2017 3:09 PM To: meta-freescale@yoctoproject.org Subject: unable to initialize libusb: -99 Hello. I am trying an image based on morty (2.2) fsl communty BSP on sabre-ai boar= d, and see the lsusb -99 error. Any suggestion/comment on which part of the configuration I should be look = into! (I already googl'ed and found some old questions/answers on libusb -99 erro= rs, but I could not figure out if they are just the same as my case or not.= ) My issue is that SB is not working (lsusb gives me error), as below. I checked and make sure CONFIG_USB_EHCI_HCD/CONFIG_USB_XHCI_HCD are there. >root@imx6qsabreauto:~# export LIBUSB_DEBUG=3D9 >root@imx6qsabreauto:~# lsusb -v >libusb: debug [libusb_init] created default context >libusb: debug [libusb_init] libusb v1.0.20.11004 >libusb: error [op_init] could not find usbfs >unable to initialize libusb: -99 I am also seeing errors like below in journalctl log, but I am not sure wha= t they mean. >Jun 28 12:02:02 imx6qsabreauto kernel[313]: hdm_usb: hdm_usb_init() >Jun 28 12:02:02 imx6qsabreauto kernel[313]: usbcore: registered new interf= ace driver hdm_usb >Jun 28 12:02:02 imx6qsabreauto kernel[313]: usbcore: registered new interf= ace driver k2l-mocca >Jun 28 12:02:02 imx6qsabreauto kernel[313]: imx_usb 2184000.usb: Can't reg= ister ci_hdrc platform device, err=3D-517 >Jun 28 12:02:02 imx6qsabreauto kernel[313]: imx_usb 2184200.usb: Can't reg= ister ci_hdrc platform device, err=3D-517 >... --_000_MWHPR01MB32938923ADFF97FB1DAB34DEB6D30MWHPR01MB3293prod_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable

Hello.

I am still looking into this, since without USB working the board is les= use. 

And, I noticed there is an post re= garding imx6qdl-sabreauto.dtsi issue regarding pca953x control.


https://community.nxp.com/thread/435299

In fact before in the boot log, I see the followings before &q= uot;Can't register ci_hdrc platform device, err=3D-517" errors.=
I an hardly imagine none of the sabreauto board users (on linu= x-fslc) can use USB.   And also I could use USB on NXP release BSP, so= board hardware is not broken.

If there is a fix patch or workaround known, or if it is my configu= ration problem, I would like to learn.

>  pca953x 2-0030: failed rea= ding register
>  pca953x: probe of 2-0030 failed with error -11
>  pca953x 2-0032: failed reading register
>  pca953x: probe of 2-0032 failed with error -11
>  pca953x 2-0034: failed reading register
>  pca953x: probe of 2-0034 failed with error -11

>  CPU PMU: Failed to parse /= soc/pmu/interrupt-affinity[0]

>  Unknown username "adi= t" in message bus configuration file

>  mag3110 2-000e: read chip = ID 0xfffffff5 is not equal to 0xc4!
>  mag3110: probe of 2-000e failed with error -22

>  mma8451 2-001c: read chip = ID 0x1 is not equal to 0x1a or 0x2a!
>  mma8451: probe of 2-001c failed with error -22

>  imx_usb 2184000.usb: Can't= register ci_hdrc platform device, err=3D-517
>  imx_usb 2184200.usb: Can't register ci_hdrc platform device= , err=3D-517
>  imx_usb 2184000.usb: Can't register ci_hdrc platform device= , err=3D-517
>  imx_usb 2184200.usb: Can't register ci_hdrc platform device= , err=3D-517

Any sugestion is highly appreciated.


From: Takashi Matsuzawa
Sent: Thursday, June 29, 2017 3:09 PM
To: meta-freescale@yoctoproject.org
Subject: unable to initialize libusb: -99
 

Hello.

I am trying an image based on morty (2.2) fsl communty BSP o= n sabre-ai board, and see the lsusb -99 error.


Any suggestion/comment on which part of the configuration I should be= look into!
(I already googl'ed and found some old questions/answers on libu= sb -99 errors, but I could not figure out if they are just the same as my c= ase or not.)

My issue is that SB is not working (lsusb gives me error), as bel= ow.

I checked and make sure CONFIG_USB_EHCI_HCD/CONFIG_USB_XHCI_HCD a= re there.


>root@imx6qsabreauto:~# export LIBUSB_DEBUG=3D9
>root@imx6qsabreauto:~# lsusb -v
>libusb: debug [libusb_init] created default contex= t
>libusb: debug [libusb_init] libusb v1.0.20.11004
>libusb: error [op_init] could not find usbfs
>unable to initialize libusb: -99


I am also seeing errors like below in journalctl log, but I am not sur= e what they mean.

>Jun 28 12:02:02 imx6qsabreauto kernel[313]: hdm_usb: hdm_usb_init(= )
>Jun 28 12:02:02 imx6qsabreauto kernel[313]: usbcore: registered ne= w interface driver hdm_usb
>Jun 28 12:02:02 imx6qsabreauto kernel[313]: usbcore: registered ne= w interface driver k2l-mocca
>Jun 28 12:02:02 imx6qsabreauto kernel[313]: imx_usb 2184000.usb: C= an't register ci_hdrc platform device, err=3D-517
>Jun 28 12:02:02 imx6qsabreauto kernel[313]: imx_usb 2184200.usb: C= an't register ci_hdrc platform device, err=3D-517
>...

--_000_MWHPR01MB32938923ADFF97FB1DAB34DEB6D30MWHPR01MB3293prod_--