[Bug 220852] [cdce] [usb] raspberry pi or anything that can emulate Ethernet gadget over usb mac id not read
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220852 --- 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 id on macos/windows/linux modules-load=dwc2,g_ether g_ether.use_eem=0 g_ether.dev_addr=8e:7a:7e:37:6f:bb g_ether.host_addr=8e:7a:7e:37:6f:aa usbdump -i usbus0 -f 2 -s 65536 -vvv > log.txt 10:02:39.038743 usbus0.2 SUBM-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 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=0080,SPD=HIGH,NFR=2,SLEN=20,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 18 bytes 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=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 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=0080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 2 bytes 04 03 -- -- -- -- -- -- -- -- -- -- -- -- -- -- |.. | flags 0x10 status 0xca1a1 10:02:39.045546 usbus0.2 SUBM-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 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=0080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 4 bytes 04 03 09 04 -- -- -- -- -- -- -- -- -- -- -- -- || flags 0x10 status 0xea1a1 10:02:39.046535 usbus0.2 SUBM-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 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=0080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 2 bytes 40 03 -- -- -- -- -- -- -- -- -- -- -- -- -- -- |@. | flags 0x10 status 0xca1a1 10:02:39.047521 usbus0.2 SUBM-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 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=0080,SPD=HIGH,NFR=2,SLEN=64,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 64 bytes 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=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 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=0080,SPD=HIGH,NFR=2,SLEN=4,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 2 bytes 2C 03 -- -- -- -- -- -- -- -- -- -- -- -- -- -- |,. | flags 0x10 status 0xca1a1 10:02:39.049519 usbus0.2 SUBM-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 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=0080,SPD=HIGH,NFR=2,SLEN=44,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 44 bytes 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=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 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=0080,SPD=HIGH,NFR=2,SLEN=12,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 9 bytes 09 02 4B 00 02 02 00 C0 01 -- -- -- -- -- -- -- |..K.. | flags 0x10 status 0xca1a1 10:02:39.051518 usbus0.2 SUBM-CTRL-EP=0080,SPD=HIGH,NFR=2,SLEN=8,IVAL=0 frame[0] WRITE 8 bytes 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=0080,SPD=HIGH,NFR=2,SLEN=76,IVAL=0,ERR=0 frame[0] WRITE 8 bytes frame[1] READ 75 bytes 09 02 4B 00 0
[Bug 220549] External USB 3.0 drive does not work when attached to USB 2.0 port in laptop
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220549 --- Comment #13 from Hans Petter Selasky --- No, not yet. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
[Bug 220852] [cdce] [usb] raspberry pi or anything that can emulate Ethernet gadget over usb mac id not read
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220852 Hans Petter Selasky changed: What|Removed |Added CC||hsela...@freebsd.org --- Comment #3 from Hans Petter Selasky --- Could you dump the USB messages when this device is connected under FreeBSD: Note the numbers after ugenX.Y: Before plugging the device, run: usbdump -i usbusX -F Y -s 65536 -vvv > log.txt After plugging CTRL+C the usbdump. Likely the Linux OTG module is storing the MAC address in a way that is currently not compatible. This should be easy to figure out by code inspection. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
[Bug 220852] [cdce] [usb] raspberry pi or anything that can emulate Ethernet gadget over usb mac id not read
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220852 Ed Maste changed: What|Removed |Added CC||ema...@freebsd.org --- Comment #2 from Ed Maste --- Do you get the same MAC on macOS / Windows / Linux? Independent of obtaining the "proper" MAC address the current approach for generating a randomized MAC (from r184610) is somewhat bogus and should also be revisited. -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
[Bug 220549] External USB 3.0 drive does not work when attached to USB 2.0 port in laptop
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220549 --- Comment #12 from verma...@interia.pl --- Any progress? :) -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
[Bug 220852] [cdce] [usb] raspberry pi or anything that can emulate Ethernet gadget over usb mac id not read
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220852 Bipin Chandra changed: What|Removed |Added Hardware|amd64 |Any --- Comment #1 from Bipin Chandra --- ugen0.2: at usbus0, cfg=0 md=HOST spd=HIGH (480Mbps) pwr=ON (2mA) bLength = 0x0012 bDescriptorType = 0x0001 bcdUSB = 0x0200 bDeviceClass = 0x0002 bDeviceSubClass = 0x bDeviceProtocol = 0x bMaxPacketSize0 = 0x0040 idVendor = 0x0525 idProduct = 0xa4a2 bcdDevice = 0x0409 iManufacturer = 0x0001 iProduct = 0x0002 iSerialNumber = 0x bNumConfigurations = 0x0002 -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"
[Bug 220852] [cdce] [usb] raspberry pi or anything that can emulate Ethernet gadget over usb mac id not read
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=220852 Bug ID: 220852 Summary: [cdce] [usb] raspberry pi or anything that can emulate Ethernet gadget over usb mac id not read Product: Base System Version: 11.0-RELEASE Hardware: amd64 OS: Any Status: New Severity: Affects Many People Priority: --- Component: usb Assignee: freebsd-usb@FreeBSD.org Reporter: bi...@xbipin.com raspberry pi zero have a kernel module which allows it to use the OTG port to generate a virtual USB Ethernet adapter (RNDIS Gadget) and we can define its host and device mac id and it works fine connecting the pi to mac OS, windows or Linux but when you connect it to pfsense or any FreeBSD based system then those ignore the supplied mac id and they always generate a random mac id making it almost useless to be able to use on pfsense etc. I had reported this on the pfsense bug request portal and i was told to report it here. when the pi is connected to pfsense using USB the below is generated ugen0.2: at usbus0 cdce0: on usbus0 cdce0: No valid alternate setting found device_attach: cdce0 attach returned 6 cdce0: on usbus0 cdce0: faking MAC address ue0: on cdce0 ue0: Ethernet address: 2a:3f:38:a3:80:00 -- You are receiving this mail because: You are the assignee for the bug. ___ freebsd-usb@freebsd.org mailing list https://lists.freebsd.org/mailman/listinfo/freebsd-usb To unsubscribe, send any mail to "freebsd-usb-unsubscr...@freebsd.org"