Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 May 2016 12:22:28 -0500
From:      Neal Horman <neal@wanlink.com>
To:        freebsd-usb@freebsd.org
Subject:   Re: freebsd-usb Digest, Vol 573, Issue 1
Message-ID:  <57336A54.8040201@wanlink.com>
In-Reply-To: <mailman.39.1462968000.74040.freebsd-usb@freebsd.org>
References:  <mailman.39.1462968000.74040.freebsd-usb@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

[-- Attachment #1 --]
Hello Hans,


On 5/11/16 7:00 AM, freebsd-usb-request@freebsd.org wrote:
> Hi,
>
> ehci_disown() means that there should be a full speed controller that
> should handle the device, because it is not high-speed

Ok

> Does your board have OHCI/UHCI or only EHCI?

It's EHCI/OHCI... from the A20 User Manual revision 1.3 @ 
http://dl.linux-sunxi.org/A20/
--- start ---
User USB Host controller is fully compliant with the USB 2.0 
specification, Enhanced Host Controller Interface (EHCI) Specification, 
Revision 1.0, and the Open Host Controller Interface (OHCI) 
Specification Release 1.0a. The controller supports high-speed, 480-Mbps 
transfers (40 times faster than USB 1.1 full-speed mode) using an EHCI 
Host controller, as well as full and low speed through one or more 
integrated OHCI host controllers.
--- end ---

> How are the USB parts wired.
Acording to 
https://github.com/OLIMEX/OLINUXINO/blob/master/HARDWARE/A20-OLinuXino-LIME/A20-OLinuXino-Lime_Rev_C.pdf, 
the two USB Host connectors are wired through a SY6280 for 5V power 
control and current limiting, but otherwise, D+ and D- are directly 
wired to the A20 which has an integrated PHY. A20-OLinuXino-Lime_Rev_C.sch

> Is there a High-Speed TT (USB HUB chip) connected to the EHCI port?

No

>
> Can you compare dmesg from Linux and FreeBSD and look for the USB parts.

Both dmesg outputs below have been selectively edited to remove non-USB 
related output for brevity.

Linux shows :
--- start ---
[    1.691476] ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
[    1.703219] ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
[    1.711811] [sw-ehci1]: open clock
[    1.734483] [sw-ehci1]: Set USB Power ON
[    1.740921] sw-ehci sw-ehci.1: SW USB2.0 'Enhanced' Host Controller 
(EHCI) Driver
[    1.754645] sw-ehci sw-ehci.1: new USB bus registered, assigned bus 
number 1
[    1.766085] sw-ehci sw-ehci.1: irq 71, io mem 0x01c14000
[    1.793517] sw-ehci sw-ehci.1: USB 2.0 started, EHCI 1.00
[    1.802224] hub 1-0:1.0: USB hub found
[    1.808859] hub 1-0:1.0: 1 port detected
[    1.825173] [sw-ohci1]: open clock
[    1.851333] sw-ohci sw-ohci.1: SW USB2.0 'Open' Host Controller 
(OHCI) Driver
[    1.864658] sw-ohci sw-ohci.1: new USB bus registered, assigned bus 
number 2
[    1.876014] sw-ohci sw-ohci.1: irq 96, io mem 0x01c14400
[    1.946433] hub 2-0:1.0: USB hub found
[    1.953102] hub 2-0:1.0: 1 port detected
[    1.959564] [sw-ehci2]: open clock
[    1.982249] [sw-ehci2]: Set USB Power ON
[    1.988684] sw-ehci sw-ehci.2: SW USB2.0 'Enhanced' Host Controller 
(EHCI) Driver
[    2.002368] sw-ehci sw-ehci.2: new USB bus registered, assigned bus 
number 3
[    2.013803] sw-ehci sw-ehci.2: irq 72, io mem 0x01c1c000
[    2.033529] sw-ehci sw-ehci.2: USB 2.0 started, EHCI 1.00
[    2.042206] hub 3-0:1.0: USB hub found
[    2.048836] hub 3-0:1.0: 1 port detected
[    2.055372] [sw-ohci2]: open clock
[    2.081547] sw-ohci sw-ohci.2: SW USB2.0 'Open' Host Controller 
(OHCI) Driver
[    2.094884] sw-ohci sw-ohci.2: new USB bus registered, assigned bus 
number 4
[    2.106235] sw-ohci sw-ohci.2: irq 97, io mem 0x01c1c400
[    2.176420] hub 4-0:1.0: USB hub found
[    2.183103] hub 4-0:1.0: 1 port detected
--- end ---

Freebsd shows:
--- start ---
awusbphy0: <Allwinner USB PHY> mem 
0x1c13400-0x1c1340f,0x1c14800-0x1c14803,0x1c1c800-0x1c1c803 on simplebus0
ehci0: <Allwinner Integrated USB 2.0 controller> mem 0x1c14000-0x1c140ff 
irq 10016 on simplebus0
usbus0: EHCI version 1.0
usbus0 on ehci0
ehci1: <Allwinner Integrated USB 2.0 controller> mem 0x1c1c000-0x1c1c0ff 
irq 10021 on simplebus0
usbus1: EHCI version 1.0
usbus1 on ehci1
usbus0: 480Mbps High Speed USB v2.0
usbus1: 480Mbps High Speed USB v2.0
ugen1.1: <Allwinner> at usbus1
uhub0: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus1
ugen0.1: <Allwinner> at usbus0
uhub1: <Allwinner EHCI root HUB, class 9/0, rev 2.00/1.00, addr 1> on usbus0
uhub0: 1 port with 1 removable, self powered
uhub1: 1 port with 1 removable, self powered
--- end ---
> --HPS

Regards,
Neal Horman



[-- Attachment #2 --]
0	*H
010
	`He0	*H

00ؠ<]ds˵
0
	*H
0u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA0
160430143609Z
190730143609Z0<10Uneal@wanlink.com10	*H
	neal@wanlink.com0"0
	*H
0
H\B u:X(qŔaϠy]CInX|yMHGt?_IA<_xmNz>]
Z^YEv|NtQva٢N ๎YFi5sq]э?L:۲dVӌv	IJ߹.(ւq=vXxMOAd8!P!DɎxy~\X!J}X-M00U0U%0++0	U00UP㱅,k[z0U#0$l9aIF+('Hmh0o+c0a0$+0http://ocsp.startssl.com09+0-http://aia.startssl.com/certs/sca.client1.crt08U10/0-+)'http://crl.startssl.com/sca-client1.crl0U0neal@wanlink.com0#U0http://www.startssl.com/0FU ?0=0;+70,0*+http://www.startssl.com/policy0
	*H
z(rufӜ\ü`ci8oˣ̈;Ooq\aeܜBAk	hߨ;L5}<!+)M.)*22%cnm7NՄF$wRq5*+J{a@ܱ1	/&·Mԕ2YF9)KQlNPaWlu܀XT6^I~Y|aHGh=ʩ^DM!n6R00ʠk}
׈Q
Y0
	*H
0}10	UIL10U

StartCom Ltd.1+0)U"Secure Digital Certificate Signing1)0'U StartCom Certification Authority0
151216010005Z
301216010005Z0u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA0"0
	*H
0
}â}[[_u$Wy5	|̔
vnqY)\aL$dYG|B"QǤĩVD#'F	k9O_]*ςz_kU.u3r	#:C<ogT)K
Xah8v[\KqdlO)3+u7J5";[vfL/"2ϩJ#4ד[U TB,a˖a7H<=qd0`0U0U%0++0U002U+0)0'%#!http://crl.startssl.com/sfsca.crl0f+Z0X0$+0http://ocsp.startssl.com00+0$http://aia.startssl.com/certs/ca.crt0U$l9aIF+('Hmh0U#0N@[i04hCA0?U 80604U 0,0*+http://www.startssl.com/policy0
	*H
[#'#4pnRۡЗN⛭`]K"#H*߷Թψ;UA8Ҟeg{ozmYE60A)wXRK6c^-Al^k[':G=;oLv{$B5;8b,ZP4{o[-໢j	׏m)[땭[4	s.c|ҴvYLJ<|ӯgu0jD2
@hl+:j\ze_ևa@HyMHINxpK?%	㤺RC:=?^&7m´)A2;E~VB1$EvcKj؝(OoپU`"$a;ҡj0$&<$ۊ+/xjzb,7}W*1ܺtDv#8K
%^P>/i?)yRuQg^z`~sP91000u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA<]ds˵
0
	`He0	*H
	1	*H
0	*H
	1
160511172228Z0/	*H
	1" .,Pjyxgз#Brc]-/)0l	*H
	1_0]0	`He*0	`He0
*H
0*H
0
*H
@0+0
*H
(0	+7100u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA<]ds˵
0*H
	10u10	UIL10U

StartCom Ltd.1)0'U StartCom Certification Authority1#0!UStartCom Class 1 Client CA<]ds˵
0
	*H
#fAYĥѡv^TTѻb0U
qБK6ػ.AY'kA4L:P.B

POL+ˋAu2C;3G֠YR~ƫbu>Nqͼ$HkCTKEe&=àǘ0౺v<|1HiYWu
'JIU$cR+K0gaAd;<0II<%p:Atܱ

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57336A54.8040201>