When I yesterday tried the same changes in the embedded system I’m working on, they didn’t seem to work as expected. But now I don’t know if it’s a faulty build I may have tested or a mess I did in my changes, or a real issue somewhere. I’ll need to confirm once I test again on the device.
@dl5162 tested again in the RPI4 and in this case, the PCI_DEVICE_SUB() entry listed before the more generic one isn’t picked first for some reason, not sure why.
That’s odd. But I won’t claim I understand any of this driver stuff
Maybe sprinkle a few debug printk’s all over pci-driver.c to see what happens? Doesn’t look like there is any debugging there you can just enable on the fly, unfortunately.
Not directly related… Just curious. How do you connect the modem to an RPi4? Did you desolder the xhci controller and replace it with a PCIe connection to an m.2 slot?
EDIT: Ah, right - I see you are referring to a CM4 earlier. Do you have a nice pointer to a carrier board suitable for the EM919x for that one?
My main issue right now is the instability during boot; once that is solved I’ll try to see why the entry is not being picked up But there is definitely something wrong somewhere, and for now I’m just hacking the table by making the generic entry use a different product id
I was given this setup for testing; it’s a custom board with a CM4. Not sure it can be acquired anywhere
These adapters connect either the USB3 or PCI lines, and they’re generic enough to be able to be used with any kind of 5G module, not only the EM919x ones. They seem quite promising for us tinkerers
is it possible to use several MHI event rings for the control, the data and the diag?
I got an answer:
It is possible to use several event , yes it is like they notice and it could not be changed, as it depends on the Qualcomm implementation, which is fixed.
SDX55 or SDX65 support the inband wake method by default, then if it is the case on EM919x, sideband_wake should be set to false.
But the EM919x also provides a gpio pin (PCIE_PEWAKE_N) that can be used by the module to wake the host when the PCIe link is in a power saving state. So, I asked for confirmation, I’m waiting for an answer.