From owner-freebsd-arm@freebsd.org Sat Jun 18 09:42:15 2016 Return-Path: Delivered-To: freebsd-arm@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 78D75A78559 for ; Sat, 18 Jun 2016 09:42:15 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mail.blih.net", Issuer "mail.blih.net" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id E31011CDC for ; Sat, 18 Jun 2016 09:42:14 +0000 (UTC) (envelope-from manu@bidouilliste.com) Received: from mail.blih.net (mail.blih.net [212.83.177.182]) by mail.blih.net (OpenSMTPD) with ESMTP id 8ff280bd; Sat, 18 Jun 2016 11:42:12 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; s=mail; bh=zaqoPFGQnnPsdLvaboVpv8diVYg=; b=X4y9xoyE3Z4t7NYoe8s4rJ42IXO0 HA7WnKQk/8IURRzXm6KvX5ErlXZuAucQx9HPRYJYJ7hZw2SqFxLqjWkfXIR6lqz8 czFCbbBUk3GIXWq25C5Y7VrA15bgEcX9xn0jI1mJsbVNnDoKY0knuALS2A1jYuuB tuGTimvT3yauylw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=bidouilliste.com; h=date :from:to:cc:subject:message-id:in-reply-to:references :mime-version:content-type:content-transfer-encoding; q=dns; s= mail; b=chpOXuB9sGOMbHDMEczIBb3PjJCIbQLldtL8cKWspnuVIw/GJAySgmqd Sdk4MowVbSobIUHA4+/EJK6bW5Ln0xVWxho9EPgINe4lLlTKcTvSpcdEiQxkNXmI jjBqK+l+3Sl5NneUD+TIA4sgIom87sEQGM3b78aO9il91RAa64s= Received: from knuckles.blih.net (ip-54.net-82-216-203.roubaix.rev.numericable.fr [82.216.203.54]) by mail.blih.net (OpenSMTPD) with ESMTPSA id 44e7680f TLS version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO; Sat, 18 Jun 2016 11:42:12 +0200 (CEST) Date: Sat, 18 Jun 2016 11:42:11 +0200 From: Emmanuel Vadot To: Milan Obuch Cc: freeBSD-arm@freebsd.org Subject: Re: any progress with OrangePi Plus / AllWinner H3 ? Message-Id: <20160618114211.f71809bd2f5a368eabca8164@bidouilliste.com> In-Reply-To: <20160618110041.e5db5c5c8378bb0822783c14@bidouilliste.com> References: <0A7A3F1D-2853-4DA4-A8A1-52C38A6ED093@cs.huji.ac.il> <20160617090156.83824237d9b1ae564bb92088@bidouilliste.com> <487C9542-1397-4CB7-837C-CD724656A0F1@cs.huji.ac.il> <20160617114018.0e70ad81@zeta.dino.sk> <0F8AAA97-99E7-4378-B6AB-F81EF45EAAC5@cs.huji.ac.il> <20160617192745.45f8a18db251547d8a01e571@bidouilliste.com> <20160617195658.0dec9f7875228ba372dadbd3@bidouilliste.com> <20160618093545.1c360555@zeta.dino.sk> <20160618094514.a83fc993b93c120fb6e014f4@bidouilliste.com> <20160618100315.12478671@zeta.dino.sk> <20160618102338.eba15ac1d427a7d3687865d8@bidouilliste.com> <20160618110041.e5db5c5c8378bb0822783c14@bidouilliste.com> X-Mailer: Sylpheed 3.5.0 (GTK+ 2.24.29; amd64-portbld-freebsd11.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 18 Jun 2016 09:42:15 -0000 There seems to be a problem with HIGH speed device but not every time On orangepi I successfully used : - An Optical mouse (LOW speed device) - An FDTI usb adapter (FULL speed device) - An usb 3.0 thumb drive (HIGH speed device) ugen1.2: at usbus1 ums0: on usbus1 ums0: 3 buttons and [XYZ] coordinates ID=0 root@allwinner:~ # usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) ugen1.2: at usbus1, cfg=0 md=HOST spd=LOW (1.5Mbps) pwr=ON (100mA) ugen1.2: at usbus1 uftdi0: on usbus1 root@allwinner:~ # usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) ugen1.2: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=ON (90mA) ugen0.2: at usbus0 umass0: on usbus0 umass0: SCSI over Bulk-Only; quirks = 0x8100 umass0:0:0: Attached to scbus0 da0 at umass-sim0 bus 0 scbus0 target 0 lun 0 da0: Removable Direct Access SPC-4 SCSI device da0: Serial Number 07083C762390FF02 da0: 40.000MB/s transfers da0: 59082MB (120999936 512 byte sectors) da0: quirks=0x2 GEOM: da0: the secondary GPT header is not in the last LBA. GEOM: diskid/DISK-07083C762390FF02: the secondary GPT header is not in the last LBA. root@allwinner:~ # usbconfig ugen0.1: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=SAVE (0mA) ugen1.1: at usbus1, cfg=0 md=HOST spd=FULL (12Mbps) pwr=SAVE (0mA) ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (300mA) But as soon as I unplug my usb thumb drive I have a hard time to attach a HIGH speed device after, I need to wait ~1 min before plugin a new device so that it works again. I also have the problem on my laptop (running ALPHA3) so it's not arm/allwinner related. On Sat, 18 Jun 2016 11:00:41 +0200 Emmanuel Vadot wrote: > On Sat, 18 Jun 2016 10:23:38 +0200 > Emmanuel Vadot wrote: > > > > Also, USB spams console with > > > > > > gic0: Spurious interrupt detected: last irq: 107 on CPU0 > > > usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, > > > ignored) usbd_setup_device_desc: getting device descriptor at addr 2 > > > failed, USB_ERR_IOERROR usbd_req_re_enumerate: addr=2, set address > > > failed! (USB_ERR_IOERROR, ignored) usbd_setup_device_desc: getting > > > device descriptor at addr 2 failed, USB_ERR_IOERROR > > > usbd_req_re_enumerate: addr=2, set address failed! (USB_ERR_IOERROR, > > > ignored) usbd_setup_device_desc: getting device descriptor at addr 2 > > > failed, USB_ERR_IOERROR > > > > > > (sorry mailer mangled this, but I do not expect anyone to analyze this > > > as there *are* working sources available for this... yours) > > > > > > From your tests, which devices are not working yet? Do you have any > > > plans what to work on next? > > > > I'll test USB again, it used to work at least. > > I do see the same stuff, it doesn't happened everytime thought. > I'll try to find the problem. > > -- > Emmanuel Vadot > _______________________________________________ > freebsd-arm@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-arm > To unsubscribe, send any mail to "freebsd-arm-unsubscribe@freebsd.org" -- Emmanuel Vadot