From owner-freebsd-usb@freebsd.org Thu Jul 20 06:06:30 2017 Return-Path: Delivered-To: freebsd-usb@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E109DDA9719 for ; Thu, 20 Jul 2017 06:06:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id C8C1281ED2 for ; Thu, 20 Jul 2017 06:06:30 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id v6K66UYX088126 for ; Thu, 20 Jul 2017 06:06:30 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-usb@FreeBSD.org Subject: [Bug 220852] [cdce] [usb] raspberry pi or anything that can emulate Ethernet gadget over usb mac id not read Date: Thu, 20 Jul 2017 06:06:30 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: usb X-Bugzilla-Version: 11.0-RELEASE X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: bipin@xbipin.com X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-usb@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-usb@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: FreeBSD support for USB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 20 Jul 2017 06:06:31 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D220852 --- Comment #4 from Bipin Chandra --- i use the below command in the rpi cmdline.txt file to load the module which also sets both the device and host mac id and yes i get the same host mac i= d on macos/windows/linux modules-load=3Ddwc2,g_ether g_ether.use_eem=3D0 g_ether.dev_addr=3D8e:7a:7e= :37:6f:bb g_ether.host_addr=3D8e:7a:7e:37:6f:aa usbdump -i usbus0 -f 2 -s 65536 -vvv > log.txt 10:02:39.038743 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 00 01 00 00 12 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 18 bytes flags 0x10 status 0xca1a3 10:02:39.040632 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D20,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 18 bytes 0000 12 01 00 02 02 00 00 40 25 05 A2 A4 09 04 01 02 |.......@%.......| 0010 00 02 -- -- -- -- -- -- -- -- -- -- -- -- -- -- |.. | flags 0x10 status 0xca1a1 10:02:39.043696 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 00 03 00 00 02 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 2 bytes flags 0x10 status 0xca1a3 10:02:39.045496 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 2 bytes 0000 04 03 -- -- -- -- -- -- -- -- -- -- -- -- -- -- |.. | flags 0x10 status 0xca1a1 10:02:39.045546 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 00 03 00 00 04 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 4 bytes flags 0x10 status 0xea1a3 10:02:39.046485 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 4 bytes 0000 04 03 09 04 -- -- -- -- -- -- -- -- -- -- -- -- |.... | flags 0x10 status 0xea1a1 10:02:39.046535 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 01 03 09 04 02 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 2 bytes flags 0x10 status 0xca1a3 10:02:39.047472 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 2 bytes 0000 40 03 -- -- -- -- -- -- -- -- -- -- -- -- -- -- |@. | flags 0x10 status 0xca1a1 10:02:39.047521 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 01 03 09 04 40 00 -- -- -- -- -- -- -- -- |......@. | frame[1] READ 64 bytes flags 0x10 status 0xea1a3 10:02:39.048467 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D64,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 64 bytes 0000 40 03 4C 00 69 00 6E 00 75 00 78 00 20 00 34 00 |@.L.i.n.u.x. .4.| 0010 2E 00 39 00 2E 00 33 00 37 00 2B 00 20 00 77 00 |..9...3.7.+. .w.| 0020 69 00 74 00 68 00 20 00 32 00 30 00 39 00 38 00 |i.t.h. .2.0.9.8.| 0030 30 00 30 00 30 00 30 00 2E 00 75 00 73 00 62 00 |0.0.0.0...u.s.b.| flags 0x10 status 0xea1a1 10:02:39.048523 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 02 03 09 04 02 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 2 bytes flags 0x10 status 0xca1a3 10:02:39.049466 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 2 bytes 0000 2C 03 -- -- -- -- -- -- -- -- -- -- -- -- -- -- |,. | flags 0x10 status 0xca1a1 10:02:39.049519 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 02 03 09 04 2C 00 -- -- -- -- -- -- -- -- |......,. | frame[1] READ 44 bytes flags 0x10 status 0xea1a3 10:02:39.050466 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D44,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 44 bytes 0000 2C 03 52 00 4E 00 44 00 49 00 53 00 2F 00 45 00 |,.R.N.D.I.S./.E.| 0010 74 00 68 00 65 00 72 00 6E 00 65 00 74 00 20 00 |t.h.e.r.n.e.t. .| 0020 47 00 61 00 64 00 67 00 65 00 74 00 -- -- -- -- |G.a.d.g.e.t. | flags 0x10 status 0xea1a1 10:02:39.050543 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 00 02 00 00 09 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 9 bytes flags 0x10 status 0xca1a3 10:02:39.051466 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D12,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 9 bytes 0000 09 02 4B 00 02 02 00 C0 01 -- -- -- -- -- -- -- |..K...... | flags 0x10 status 0xca1a1 10:02:39.051518 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 00 02 00 00 4B 00 -- -- -- -- -- -- -- -- |......K. | frame[1] READ 75 bytes flags 0x10 status 0xea1a3 10:02:39.052717 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D76,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 75 bytes 0000 09 02 4B 00 02 02 00 C0 01 08 0B 00 02 02 06 00 |..K.............| 0010 06 09 04 00 00 01 02 02 FF 04 05 24 00 10 01 05 |...........$....| 0020 24 01 00 01 04 24 02 00 05 24 06 00 01 07 05 82 |$....$...$......| 0030 03 08 00 09 09 04 01 00 02 0A 00 00 05 07 05 81 |................| 0040 02 00 02 00 07 05 01 02 00 02 00 -- -- -- -- -- |........... | flags 0x10 status 0xea1a1 10:02:39.052761 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 00 00 00 00 00 02 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 2 bytes flags 0x10 status 0xca1a3 10:02:39.053718 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 2 bytes 0000 00 00 -- -- -- -- -- -- -- -- -- -- -- -- -- -- |.. | flags 0x10 status 0xca1a1 10:02:39.053955 usbus0.2 SUBM-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 00 09 02 00 00 00 00 00 -- -- -- -- -- -- -- -- |........ | flags 0x10 status 0xea1a3 10:02:39.054835 usbus0.2 DONE-CTRL-EP=3D00000000,SPD=3DHIGH,NFR=3D1,SLEN=3D0,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes flags 0x10 status 0xea1a1 10:02:39.064672 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 04 03 09 04 02 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 2 bytes flags 0x10 status 0xca1a3 10:02:39.065733 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 2 bytes 0000 3A 03 -- -- -- -- -- -- -- -- -- -- -- -- -- -- |:. | flags 0x10 status 0xca1a1 10:02:39.065781 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 04 03 09 04 3A 00 -- -- -- -- -- -- -- -- |......:. | frame[1] READ 58 bytes flags 0x10 status 0xea1a3 10:02:39.066734 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D60,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 58 bytes 0000 3A 03 52 00 4E 00 44 00 49 00 53 00 20 00 43 00 |:.R.N.D.I.S. .C.| 0010 6F 00 6D 00 6D 00 75 00 6E 00 69 00 63 00 61 00 |o.m.m.u.n.i.c.a.| 0020 74 00 69 00 6F 00 6E 00 73 00 20 00 43 00 6F 00 |t.i.o.n.s. .C.o.| 0030 6E 00 74 00 72 00 6F 00 6C 00 -- -- -- -- -- -- |n.t.r.o.l. | flags 0x10 status 0xea1a1 10:02:39.071987 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 A1 80 00 00 00 00 1C 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 28 bytes flags 0x10 status 0xca1a3 10:02:39.073528 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D0,IVAL=3D0,ERR=3DSTALLED frame[0] WRITE 8 bytes frame[1] READ 0 bytes flags 0x10 status 0x8a1a5 10:02:39.085769 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 05 03 09 04 02 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 2 bytes flags 0x10 status 0xea1a3 10:02:39.086618 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D4,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 2 bytes 0000 28 03 -- -- -- -- -- -- -- -- -- -- -- -- -- -- |(. | flags 0x10 status 0xea1a1 10:02:39.086667 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 80 06 05 03 09 04 28 00 -- -- -- -- -- -- -- -- |......(. | frame[1] READ 40 bytes flags 0x10 status 0xca1a3 10:02:39.087617 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D40,IVAL=3D0,ERR=3D0 frame[0] WRITE 8 bytes frame[1] READ 40 bytes 0000 28 03 52 00 4E 00 44 00 49 00 53 00 20 00 45 00 |(.R.N.D.I.S. .E.| 0010 74 00 68 00 65 00 72 00 6E 00 65 00 74 00 20 00 |t.h.e.r.n.e.t. .| 0020 44 00 61 00 74 00 61 00 -- -- -- -- -- -- -- -- |D.a.t.a. | flags 0x10 status 0xca1a1 10:02:39.091911 usbus0.2 SUBM-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D= 8,IVAL=3D0 frame[0] WRITE 8 bytes 0000 A1 80 00 00 01 00 1C 00 -- -- -- -- -- -- -- -- |........ | frame[1] READ 28 bytes flags 0x10 status 0xea1a3 10:02:39.093408 usbus0.2 DONE-CTRL-EP=3D00000080,SPD=3DHIGH,NFR=3D2,SLEN=3D0,IVAL=3D0,ERR=3DSTALLED frame[0] WRITE 8 bytes frame[1] READ 0 bytes flags 0x10 status 0xaa1a5 34 packets captured 34 packets received by filter 0 packets dropped by kernel --=20 You are receiving this mail because: You are the assignee for the bug.=