g_ether missing eem support
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
linux-raspi (Ubuntu) |
Invalid
|
High
|
Hui Wang | ||
Eoan |
Invalid
|
Undecided
|
Unassigned | ||
Focal |
Invalid
|
Undecided
|
Unassigned |
Bug Description
I am looking into enabling EEM with g_ether by module option use_eem=1, and g_ether won't be loaded because it has no EEM support compiled.
Expected: EEM is compiled with g_ether (no such option for g_cdc) so that it can be enabled by use_eem=1.
My "/sys/module/
-r--r--r-- 1 root root 4096 Feb 20 13:40 bcdDevice
-r--r--r-- 1 root root 4096 Feb 20 13:40 dev_addr
-r--r--r-- 1 root root 4096 Feb 20 13:40 host_addr
-r--r--r-- 1 root root 4096 Feb 20 13:40 iManufacturer
-r--r--r-- 1 root root 4096 Feb 20 13:40 iProduct
-r--r--r-- 1 root root 4096 Feb 20 13:40 iSerialNumber
-r--r--r-- 1 root root 4096 Feb 20 13:40 idProduct
-r--r--r-- 1 root root 4096 Feb 20 13:40 idVendor
-rw-r--r-- 1 root root 4096 Feb 20 14:08 qmult
modinfo g_ether:
parm: idVendor:USB Vendor ID (ushort)
parm: idProduct:USB Product ID (ushort)
parm: bcdDevice:USB Device version (BCD) (ushort)
parm: iSerialNumber:
parm: iManufacturer:USB Manufacturer string (charp)
parm: iProduct:USB Product string (charp)
parm: qmult:queue length multiplier at high/super speed (uint)
parm: dev_addr:Device Ethernet Address (charp)
parm: host_addr:Host Ethernet Address (charp)
parm: use_eem:use CDC EEM mode (bool)
dmesg:
...
[ 4.474689] udc-core: couldn't find an available UDC - added [g_ether] to list of pending drivers
...
[ 5.768660] dwc2 fe980000.usb: EPs: 8, dedicated fifos, 4080 entries in SPRAM
[ 5.772414] g_ether fe980000.usb: failed to start g_ether: -2
...
---- should it be another bug? -----
There is another issue that when my laptop is connected and the with my Pi 4 reboot, the cdc_ether function provided to my laptop will not be available again until I reconnect the cable (I have USB Y-cable + type-c adapter so I can unplug on laptop side w/o Pi 4 losing power). I remember it was working as expected when I was testing out OTG function.
affects: | libvirt (Ubuntu) → linux-raspi2 (Ubuntu) |
Changed in linux-raspi2 (Ubuntu): | |
importance: | Undecided → High |
assignee: | nobody → Hui Wang (hui.wang) |
affects: | linux-raspi2 (Ubuntu) → linux-raspi (Ubuntu) |
What series/kernel is this?