Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Altera_Forum
Honored Contributor I
763 Views

Ethernet gadget disconnect on Altera SoCKit

Hello, 

 

I've been able to get USB OTG running on my Altera SoCKit board (from Terasic), running Linux 3.18.20. 

 

It runs fine for a while - I'm able to make an SSH connection and do some interaction via the terminal, but after a couple of minutes of operation I get: 

 

[ 41.784199] dwc2 ffb40000.usb: s3c_hsotg_ep_sethalt(ep eec1d05c ep1in, 0) 

[ 41.794121] dwc2 ffb40000.usb: s3c_hsotg_ep_sethalt(ep eec1d0b8 ep2out, 0) 

[ 41.803367] dwc2 ffb40000.usb: s3c_hsotg_ep_sethalt(ep eec1d114 ep3in, 0) 

[ 41.821712] dwc2 ffb40000.usb: s3c_hsotg_ep_sethalt(ep eec1d05c ep1in, 0) 

[ 41.830937] dwc2 ffb40000.usb: s3c_hsotg_ep_sethalt(ep eec1d0b8 ep2out, 0) 

[ 41.840043] dwc2 ffb40000.usb: s3c_hsotg_ep_sethalt(ep eec1d114 ep3in, 0) 

[ 41.857789] dwc2 ffb40000.usb: s3c_hsotg_ep_sethalt(ep eec1d05c ep1in, 0) 

[ 41.866859] dwc2 ffb40000.usb: s3c_hsotg_ep_sethalt(ep eec1d0b8 ep2out, 0) 

[ 41.875958] dwc2 ffb40000.usb: s3c_hsotg_ep_sethalt(ep eec1d114 ep3in, 0) 

[ 41.893237] dwc2 ffb40000.usb: s3c_hsotg_ep_sethalt(ep eec1d05c ep1in, 0) 

[ 41.902237] dwc2 ffb40000.usb: s3c_hsotg_ep_sethalt(ep eec1d0b8 ep2out, 0) 

[ 41.911193] dwc2 ffb40000.usb: s3c_hsotg_ep_sethalt(ep eec1d114 ep3in, 0) 

 

and the terminal dies. Attempts to re-establish an SSH connection are rejected. If I leave the board up and running, I get occasional messages spit out to the USB-UART port: 

 

[ 2683.940759] dwc2 ffb40000.usb: ep0: failed to become enabled (DXEPCTL=0x00008000)? 

[ 2684.208756] dwc2 ffb40000.usb: ep0: failed to become enabled (DXEPCTL=0x00008000)? 

[ 2684.272758] dwc2 ffb40000.usb: ep0: failed to become enabled (DXEPCTL=0x00008000)? 

 

 

 

Can anybody advise what I could do to fix? 

 

Thanks, 

--George Broz 

Moog Industrial Group
0 Kudos
1 Reply
EBenc
Novice
34 Views

I got the same thing with kernels 4.1 and 4.14 in a custom hardware, and I've herd that raspberry pi zero got similar problems, but I don't have one to test it.