Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 10 May 2016 17:03:36 -0500
From:      Neal Horman <neal@wanlink.com>
To:        freebsd-usb@freebsd.org, freebsd-arm@freebsd.org
Subject:   ehci_disown - Olimex ARM A20 Lime & USB FTDI RS-485 shuts down USB port
Message-ID:  <57325AB8.9010108@wanlink.com>

index | next in thread | raw e-mail

[-- Attachment #1 --]
Hello,
     Sorry for the cross post, but I'm not sure were this should land.
     I posted on https://forums.freebsd.org/threads/56211/ and it was 
suggested that I ask here.


     I'm having problems trying to get my host to recognize a USB FTDI 
RS-485 serial port on an Olimex ARM A20 Lime host.

     To be clear, this is not a "I need to connect to the host console 
port" problem, that is done and works.

     I'm trying to use the RS-485 port to talk to Modbus devices with a 
custom application.

     The FTDI device has been tested on other hosts, and it works.
     When I use the same device on this host running Linux, it works 
just fine.

     When I insert the FTDI RS-485 device (or any other FTDI or Prolific 
serial device) into the FreeBSD host USB connector with 
hw.usb.ehci.debug = 1 I get:

         ehci_roothub_exec: ehci after reset, status=0x00001801
         ehci_disown: index=1 lowspeed=0

     and then the port is unresponsive to any device plug events afterwards.

     I used svn.head -r 298609 and crochet w/ a derived version of 
cubieboard2 board profile and the ALLWINNER kernel.
     I've tried the Olimex DTBs that get built from that profile, but 
the cubieboard2 DTB is the only one that gets me to a login prompt, 
which isn't 100%, so I ran down the "build a DTB" road.
     I've successfully created a DTB, using 
gnu/dts/arm/sun7i-a20-olinuxino-lime.dts, but commenting out the usb otg 
port (I won't be using that port anyway) vbus detect pin configuration 
that causes the kernel to panic on boot, which gets me mmm... about 98% 
I'd say of what I think is a correct DTB for this host platform.

     Can anybody clue me into what is happening when I plug in the USB 
serial device, and how to deal with it ?

Any help with this would be appreciated !
     Without any suggestions, I'm at the end of the road, and I'll have 
to go back to Linux, which I'd rather not do.


TIA, 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
160510220336Z0/	*H
	1" ;
->1r(n~!z}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
c8GOqfx-y.dA)8z3賺%Lh8
X;bSqrxz	],e/ Sl*i4P(b[%^k"Z\GU÷F#	O)
aۙcn\Y17ZlYM}o^/Ŧg勬3DzCZxhYVn=1'T,l78QJMDxn2Uv:`?
help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?57325AB8.9010108>