You have been subscribed to a public bug:

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/g_ether/parameters":
-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:SerialNumber string (charp)
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: linux-raspi2 (Ubuntu)
     Importance: Undecided
         Status: New

-- 
g_ether missing eem support
https://bugs.launchpad.net/bugs/1864132
You received this bug notification because you are a member of Kernel Packages, 
which is subscribed to linux-raspi2 in Ubuntu.

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to