-
-
Notifications
You must be signed in to change notification settings - Fork 47
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for Foxconn T99W175 also known as Dell DW5930e #55
Comments
Hi @riccardoferti , I moved your post to a new thread. We can try to add support for this modem. First, show the output of the commands:
|
No USB devices available, but: cat /sys/kernel/debug/mhi/mhi0/devices
sms_tool -d /dev/wwan0at0 at "at^ca_info?"
sms_tool -d /dev/wwan0at0 at "at^debug?"
|
@obsy Cezary masz moze pomysl jak zidentyfikowac w systemie takie modemy, aby je potem przypisac do skryptow? Same wyniki tez sa ciekawe, dwa pasma glowne.. 5G komplikuje znow skrypty. |
Kod nie jest przystosowany do innych urządzeń niż usb. Albo robisz nowe obejście tak jak zrobiłeś dla np. hilinka albo trzeba sporo zmodyfikować główny kod żeby wykrywał też urządzenia pci. |
Could you show also
|
|
And show us:
|
|
Hmm, very sad that /dev/mhi_DIAG does not exist like in Quectel. |
It should be /dev/wwan0qcdm0 but don't know if It works |
what i see in device: root@OpenWrt:/sys/devices/pci0000:00/0000:00:1c.5/0000:02:00.0/mhi0# ls |
|
x are for privacy |
I made the parser and it seems to work. But I'm still wondering how to create a framework to support PCI devices. |
It's not simple to use AT port as device? |
Nope. It's a matter of discovering what is available and what script to use to process it. The script itself is simple. |
On USB 2.0 debug mode, it shows AT console in /dev/ttyUSB3 |
Show us
in this "usb 2.0 debug mode". |
obtained assigning |
Let me share some thoughts on discovery process. Unfortunately, I do not have a suitable device to experiment with at the moment, so this is an example based on PCI Wi-Fi card:
It should be possible to find a path similar to "/sys/devices/platform/1e140000.pcie/pci0000:00/0000:00:01.0/0000:02:00.0" for "/dev/wwan0at0" from SysFS. In my example with net device "phy0-ap0" it was easy like that:
"vendor + product" combination is exactly what is currently used to select modem-specific scripts. Hope it helps ) |
Clear, It Is as you said |
Show me
also install pciutils and show lspci -nn |
|
@riccardoferti please run when you have a chance: BTW, could you please share the details about the module you use - t99w175.?? version and whether it is Dell/HP/Lenovo branded. |
cat /sys/devices/pci0000:00/0000:00:1c.5/0000:02:00.0/vendor ? |
The device Is a Dell Prototype version, bought on AliExpress. Mine Is 0 actually, with latest Lenovo firmware installed. It's the latest in Building time.
|
0x105b
0xe0b0 |
@riccardoferti I was mainly interested what is printed/engraved on the modem itself. Thank you. |
Who wants can DM me on Telegram @nerdherd96 |
@4IceG : zaimplementuj to u siebie: obsy/packages@e1daf55 Jeżeli będzie wszystko ok to trzeba rozważyć czy nie przenieść danych do oddzielnych podkatalogów pci/ i usb/ |
Should be Modem Manager |
So we have problem because MM and 3ginfo-lite cannot work together. |
Oh ok, but T99w175 can't work without MM |
In what device are you running this card with OpenWrt? |
Can the package also be installed for USB2 version QMI protocol?
|
It does not matter. Package requires a serial interface to talk to the modem. |
Hi @sp2003 , The command result is needed to diagnose remaining bugs. If you use MM to connect, the data will be read slower or stupid values will be displayed. This happens when two packages communicate with modem at the same time. |
it's long report. |
@sp2003 install the latest available version of package and then replace the files and check how it works. |
@sp2003 Install this version (contains current fixes) luci-app-3ginfo-lite_1.0.66-20240420_all.zip. If there are errors, show the command results: |
@sp2003 Show me the result of the commands:
Currently, there is no location, no temperature and there is an bug with the TAC hex value. |
of corse!
|
For information, this modem can change communication protocol from QMI to MBIM with an AT command.
so if you want you can also add this mode. |
@sp2003 Uninstall package and install this version luci-app-3ginfo-lite_1.0.66-20240420_all.zip. P.S. |
@sp2003 Does the qmi version work? If you can, check mbim on a version other than ROOTer. |
tested on a different version, it's works!!!! again, great job! |
Hi, I've a Dell T99W175 (DW5930e) and I am using it in a openwrt x86 PC with modemmanager in PCIe mode. I've tried the latest version of this package, but it doesn't seem to work as @riccardoferti.
The device is e0b1, instead of e0b0. I've tried changing the name of the script in pci folder but it didn't work. Moreover, I've tried this command, but the modem doesn't answer:
|
|
@riccardoferti has DW5930e with device e0b0 and he is using this package with ModemManager. He just said that is a little bit slow |
Hi @SuperMitic , ls -al /dev/* From pure curiosity.. |
I am not at home right now, but it is the same as riccardo. I have wwan0at0, wwan0mbim0, wwan0qcdm0 I have discovered the difference between riccardoferti module and mine. He has the e-sim version (e0b0), I have the non e-sim version (e0b1) |
|
I don't use MM, so I may be wrong. Doesn't MM create its interface using hotplug..? I don't know if it's possible to "unplug" this interface from MM. You've probably already tried methods from net. |
The problem is that ModemManager take the wwan0at0 port for itself. qmicli and mbimcli are able to contact the modem using --device-open-proxy. I don't know if you can implement a similar feature in sms_tool |
Would you like to add support for Foxconn T99W175 also known as Dell DW5930e?
Device connected to board with PCI MHI and AT port available at /dev/wwan0at0, MBIM at /dev/wwan0mbim0 and QCDM at /dev/wwan0qcdm0
AT Commands available here:
https://www.codico.com/media/productattach/m/v/mv31_w_atc_v00058_2111538_1.pdf
by now only this info are shown
Originally posted by @riccardoferti in #28 (comment)
The text was updated successfully, but these errors were encountered: