Well this is somewhat embarrassing, I usually have read all of the documentation, but somehow I missed the item you referenced. But not too embarrassing because it doesn’t work. so I would be asking questions in any event.
The page instructions say that some of the steps should be red or blue depending on which side you execute them. All of the instructions are black.
The first significant step is the “sudo modprobe g_ether” returns with no errors, or messages.
the next step is “ifconfig usb0”, but this needs to be “sudo ifconfig usb0”. I get the following message from ifconfig:
usb0: flags=4098<BROADCAST,MULTICAST> mtu 1500
ether 5a:1d:80:11:a9:14 txqueuelen 1000 (Ethernet)
RX packets 0 bytes 0 (0.0 B)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 0 bytes 0 (0.0 B)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
Different format, but it seems to be OK.
I tried conecting both a Win10 laptop, and a ubuntu Desktop, but both report that the is no new device attached when I plug in. The DragonBoard does see some things happening when I unplug the cable I get this (which seams reasonable):
Sep 19 19:24:12 linaro-alip kernel: [ 1321.411032] msm_otg 78d9000.phy: Avail curr from USB = 0
Sep 19 19:24:12 linaro-alip kernel: [ 1321.411114] msm_hsusb_host 78d9000.ehci: EHCI Host Controller
Sep 19 19:24:12 linaro-alip kernel: [ 1321.415907] msm_hsusb_host 78d9000.ehci: new USB bus registered, assigned bus number 1
Sep 19 19:24:12 linaro-alip kernel: [ 1321.423165] msm_hsusb_host 78d9000.ehci: irq 150, io mem 0x078d9000
Sep 19 19:24:12 linaro-alip kernel: [ 1321.442676] msm_hsusb_host 78d9000.ehci: USB 2.0 started, EHCI 1.00
Sep 19 19:24:12 linaro-alip kernel: [ 1321.452039] hub 1-0:1.0: USB hub found
Sep 19 19:24:12 linaro-alip kernel: [ 1321.458014] hub 1-0:1.0: 1 port detected
Sep 19 19:24:12 linaro-alip kernel: [ 1321.790649] usb 1-1: new high-speed USB device number 2 using msm_hsusb_host
Sep 19 19:24:12 linaro-alip kernel: [ 1321.940060] hub 1-1:1.0: USB hub found
Sep 19 19:24:12 linaro-alip kernel: [ 1321.940253] hub 1-1:1.0: 3 ports detected
Sep 19 19:24:12 linaro-alip kernel: [ 1322.234650] usb 1-1.2: new full-speed USB device number 3 using msm_hsusb_host
Sep 19 19:24:13 linaro-alip kernel: [ 1322.354198] input: Logitech USB Receiver as /devices/platform/soc/78d9000.ehci/usb1/1-1/1-1.2/1-1.2:1.0/0003:046D:C52B.000D/input/input10
Sep 19 19:24:13 linaro-alip kernel: [ 1322.413610] hid-generic 0003:046D:C52B.000D: input: USB HID v1.11 Keyboard [Logitech USB Receiver] on usb-78d9000.ehci-1.2/input0
Sep 19 19:24:13 linaro-alip kernel: [ 1322.426668] input: Logitech USB Receiver as /devices/platform/soc/78d9000.ehci/usb1/1-1/1-1.2/1-1.2:1.1/0003:046D:C52B.000E/input/input11
Sep 19 19:24:13 linaro-alip kernel: [ 1322.487948] hid-generic 0003:046D:C52B.000E: input: USB HID v1.11 Mouse [Logitech USB Receiver] on usb-78d9000.ehci-1.2/input1
And when I plug the cable back in I get this:
Sep 19 19:24:20 linaro-alip kernel: [ 1329.699059] msm_hsusb_host 78d9000.ehci: remove, state 1
Sep 19 19:24:20 linaro-alip kernel: [ 1329.699179] usb usb1: USB disconnect, device number 1
Sep 19 19:24:20 linaro-alip kernel: [ 1329.703903] usb 1-1: USB disconnect, device number 2
Sep 19 19:24:20 linaro-alip kernel: [ 1329.708544] usb 1-1.2: USB disconnect, device number 3
Sep 19 19:24:20 linaro-alip kernel: [ 1329.918384] msm_hsusb_host 78d9000.ehci: USB bus 1 deregistered
Sep 19 19:24:20 linaro-alip kernel: [ 1330.066630] msm_otg 78d9000.phy: Avail curr from USB = 100
I expected a little more activity right after the msm_otg connection, but this doesn’t seem to be happening. I did take a quick look at “make menuconfig”, and all the right things seem to be turned on.
Full disclosure: I am an employee of Qualcomm Canada, any opinions I may heve expressed in this or any other post may not reflect the opinions of my employer.