Hi Viresh,
On 11/13/18 12:35 PM, Viresh Kumar wrote:
On 13-11-18, 12:22, Lukasz Luba wrote:
Hi ARM folks,
Does the branch 'eas/next/integration_20181109_0000', which has hikey topic, support USB gadget Ethernet connection? I found some issues while running Debian with sshd on Hikey960. I have been trying to connect LISA over usb eth gadget on ssh and I noticed that USB gadget is disabled by Valentin's patch: http://linux-arm.org/git?p=linux-power.git%3Ba=commitdiff%3Bh=81f0a7cdd7171d...
I have tried to configure the kernel with this gadget again, but it does not appear as eth device. Dmesg shows some warnings:
[ 11.592012] dwc3_otg_work: dwc3 is not otg mode!
How do you connect this board to LISA?
Is eth over usb working on any other branch for you ?
I haven't tried 'eas/next/integration_20181109_0000_topic_hikey960_mainline' yet. I will check it now.
There is one typical problem with hikey though. You can either use the controller in host OR device mode and not both.
Good to know, thank you.
So, make sure usb-eth converted is plugged in and nothing is connected to the host port (or do we call it the device port ?).
Currentlt, I don't use any other USB port apart from this small usb-C connected to PC.
I can see in git log that usb gadget probably used to work: 'John Stultz usb: dwc3: Get gadget mode working again'
Regards, Lukasz