Skip to content
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

rename 7360 to 7560 #50

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft

Conversation

lneuhaus
Copy link

@lneuhaus lneuhaus commented Sep 21, 2020

The driver for 7360 did not work for my 7560 modem. Simply renaming all occurrences of 7360 to 7560 worked for me. I understand that this is not supposed to replace the 7360 driver, but wanted to raise awareness of this option. Maybe both drivers can be merged into one by someone more familiar with the codebase. Until then, using this feature branch should do the job for the 7560.

EDIT: I got further by using this driver, i.e. surpassed a number of errors I had with the original 7360 driver. However, I never actually got a WAN connection working with this either. Not sure what's missing still.

@lneuhaus lneuhaus marked this pull request as draft September 21, 2020 22:15
@artembokhan artembokhan mentioned this pull request Oct 2, 2020
@lneuhaus
Copy link
Author

EDIT: I got further by using this driver, i.e. surpassed a number of errors I had with the original 7360 driver. However, I never actually got a WAN connection working with this either. Not sure what's missing still.

@x42
Copy link

x42 commented Jan 23, 2021

Thanks for getting the ball rolling! Module loads and

I managed to communicate with the device using some basic AT commands (via echo and cat /dev/ttyXMM1) Ostensibly it looks fine.

AT+CGMI         -> Fibocom
AT+CGMM         -> L860 LTE Module
AT+CMEE=2       -> OK
AT+CPIN?        -> +CME ERROR: SIM NOT INSERTED
AT+CSQ          -> CSQ: 99,99

However there is a SIM in the slot... -- Do you get past this stage?

Otherwise I guess we'll have to wait for https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/258#note_681451 (fingers crossed)

@tgxn tgxn added the wontfix This will not be worked on label Mar 9, 2021
@tgxn
Copy link
Contributor

tgxn commented Mar 9, 2021

Without toggle-able support for both devices, this will have to remain a branch/hard fork.

@tgxn tgxn linked an issue Mar 9, 2021 that may be closed by this pull request
@cawilliamson
Copy link

cawilliamson commented May 24, 2021

I've packaged this modified driver for NixOS - even wrote a patch for the latest version with the rename changes referenced here and I get the same thing as you folks - I never managed to get a successful connection - open_xdachannel results in:

root@thinkpad> open_xdatachannel -a everywhere                                                                                      /etc/nixos/pkgs/xmm7560
RPC executing UtaMsSmsInit
b'1600000002040000001602040000003011000100020400000000'
response: 0x0
RPC executing UtaMsCbsInit
b'1600000002040000001602040000002511000100020400000000'
response: 0xffffffa8
RPC executing UtaMsNetOpen
b'1600000002040000001602040000005311000100020400000000'
response: 0xffffffa8
RPC executing UtaMsCallCsInit
b'1600000002040000001602040000002411000100020400000000'
response: 0xffffffa8
RPC executing UtaMsCallPsInitialize
b'1600000002040000001602040000003a11000100020400000000'
response: 0xfffffff7
RPC executing UtaMsSsInit
b'1600000002040000001602040000002611000100020400000000'
response: 0xffffffa8
RPC executing UtaMsSimOpenReq
b'1600000002040000001602040000000111000100020400000000'
response: 0xffffffa8
RPC executing CsiFccLockQueryReq
b'1c00000002040000001c02040000018e11000101020411000101020400000000'
async_ack: 0x0

Did anyone get any further with this? I will continue to poke and prod it when I get some time free but for now I've got this as far as I can.

@tgxn
Copy link
Contributor

tgxn commented May 24, 2021

Hi @cawilliamson,

I'm not sure this fork/branch ever worked. @lneuhaus mentioned he didn't manage to get it working.
There's some more discussion in this thread but not for a few months now.

The part it's getting hung up on could be related to the FCC lock (CsiFccLockQueryReq) (or the UtaModeSet directly afterwards)

Edit: Thinking you should see the output to do_fcc_unlock if it got a response from rpc:

print("FCC lock: state %d mode %d" % (fcc_state, fcc_mode))

If you're not seeing that then something related to FCC unlock code must be borked.

@tgxn tgxn mentioned this pull request Aug 9, 2021
@nursoda
Copy link
Contributor

nursoda commented Feb 26, 2022

You marked this as wontfix. Typically this means that this bug should be closed. I assume the right place to mention this would be the main README.md?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
wontfix This will not be worked on
Projects
None yet
Development

Successfully merging this pull request may close these issues.

xmm7560 support
5 participants