intel / linux-intel-lts

Intel LTS kernel
Other
195 stars 113 forks source link

Linux drivers for XMM 7560 LTE #8

Open rohit507 opened 5 years ago

rohit507 commented 5 years ago

Hello,

I've been trying to figure out how to get the XMM 7560 working on my HP Spectre Folio's Ubuntu install. As far as I can tell the drivers would end up implemented here, but it's not done yet.

Output of lspci -nnk:

6d:00.0 Wireless controller [0d40]: Intel Corporation Device [8086:7560] (rev 01)
    Subsystem: Hewlett-Packard Company Device [103c:8507]

I figure this is closely related to https://github.com/intel/linux-intel-lts/issues/7 but it seems sensible to track it separately.

Alternately, Is there enough publicly available information on the XMM 7560 to write a driver for it? Low level PCI interface docs? Source for the windows driver? It's been a while since I've written a device driver, but as long as I don't have to reverse engineer the thing from assembly I'd be willing to try.

laf0rge commented 4 years ago

I would also very much be interested in receiving any kind of documentation on the PCIe interface of XMM7xxx LTE chipsets. Like @rohit507 indicated, any information would be helpful, whether documentation or [windows] source code.

amirdagan commented 4 years ago

XMM 7560 on HP ZBook 14u G6 with Ubuntu 18.04. Adding my up-vote to previous comments by @laf0rge and @rohit507 with my willingness to help in developing the Linux driver from the source code (and learn a lot while doing it...). Could someone from Intel please share some ideas and plans? Thanks!

chris84kj commented 4 years ago

Hello. I `m interested in cooperation. I am working on installing the Intel XMM 7560 modem on Lenovo EDGE as well as the Raspberry Pi 2019. Thanks to everyone !

ahampro commented 4 years ago

+1, i'm available for testing, too.

amirdagan commented 4 years ago

Please let me know if any help is needed.

wicadmin commented 4 years ago

Did Intel open source the code to develop the Linux driver as yet?

zharsing commented 3 years ago

Bump. I am also available to test. Was there any progress on this? Does anyone know a solution?

wicadmin commented 3 years ago

Someone from Fibocom mention they are working on the linux driver support

zharsing commented 3 years ago

@wicadmin do you know where / how to track the progress? Is it public at all?

wicadmin commented 3 years ago

@wicadmin do you know where / how to track the progress? Is it public at all?

https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/258#note_672339

sandy-8925 commented 2 years ago

Not sure if any of you have seen this: https://www.phoronix.com/scan.php?page=news_item&px=Intel-M.2-Modem-Linux-5.14

amirdagan commented 2 years ago

Good catch @sandy-8925 and thanks for sharing!

HP ZBook 14 G6 with Ubuntu 20.04 LTS - doesn't seem to work...(no device on Modem Manager)

amir@ZBook:~$ uname -a Linux ZBook 5.15.0-051500-generic #202110312130 SMP Sun Oct 31 21:33:20 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux

amir@ZBook:~$ lspci -vvs 01:00.0 01:00.0 Wireless controller [0d40]: Intel Corporation Device 7560 (rev 01) Subsystem: Hewlett-Packard Company Device 8507 Control: I/O- Mem+ BusMaster+ SpecCycle- MemWINV- VGASnoop- ParErr- Stepping- SERR- FastB2B- DisINTx+ Status: Cap+ 66MHz- UDF- FastB2B- ParErr- DEVSEL=fast >TAbort- <TAbort- <MAbort- >SERR- <PERR- INTx- Latency: 0 Interrupt: pin A routed to IRQ 131 Region 0: Memory at ec300000 (64-bit, non-prefetchable) [size=4K] Region 2: Memory at ec301000 (64-bit, non-prefetchable) [size=256] Capabilities: <access denied> Kernel driver in use: iosm Kernel modules: iosm

Esther-Goldberg commented 2 years ago

@amirdagan I tried the same, device says it's using the iosm driver but I can't bring a network interface up.

I get the following output from dmesg | grep iosm:

before trying to bring the interface up: [ 0.957246] iosm 0000:01:00.0: enabling device (0000 -> 0002) [ 10.608709] iosm 0000:01:00.0: channel id[4] write failed [ 14.007286] iosm 0000:01:00.0: channel id[2] write failed

after trying once, this was added: [ 351.667211] iosm 0000:01:00.0: ch[0] timeout [ 351.667254] iosm 0000:01:00.0: if_id 0: OPEN_SESSION send failed [ 351.667270] iosm 0000:01:00.0: cannot connect wwan0 & id 0 to the IPC mem layer

and after trying a second time: [ 374.481593] iosm 0000:01:00.0: net:0 : refused phase A-CD_READY [ 374.481600] iosm 0000:01:00.0: cannot connect wwan0 & id 0 to the IPC mem layer

There is a thread on this at https://gitlab.freedesktop.org/mobile-broadband/ModemManager/-/issues/385#note_1087439

From what I've seen, this pretty much everyone is coming across the same issue

sandy-8925 commented 2 years ago

Has anyone tested with Linux 5.15?

amirdagan commented 2 years ago

@sandy-8925 - yes I have, still doesn't work:

amir@ZBook:~$ uname -a
Linux ZBook 5.15.0-051500-generic #202110312130 SMP Sun Oct 31 21:33:20 UTC 2021 x86_64 x86_64 x86_64 GNU/Linux
amir@ZBook:~$ sudo dmesg -T | egrep iosm
[Mon Nov  8 19:16:49 2021] iosm 0000:01:00.0: enabling device (0000 -> 0002)
[Mon Nov  8 19:16:55 2021] iosm 0000:01:00.0: channel id[4] write failed
[Mon Nov  8 19:16:59 2021] iosm 0000:01:00.0: channel id[2] write failed
[Mon Nov  8 19:16:59 2021] iosm 0000:01:00.0: msg timeout
[Mon Nov  8 19:17:05 2021] iosm 0000:01:00.0: msg timeout
[Mon Nov  8 19:17:06 2021] iosm 0000:01:00.0: msg timeout
[Mon Nov  8 19:17:06 2021] iosm 0000:01:00.0: msg timeout
[Mon Nov  8 19:17:07 2021] iosm 0000:01:00.0: msg timeout
[Mon Nov  8 19:17:07 2021] iosm 0000:01:00.0: msg timeout
[Mon Nov  8 19:17:08 2021] iosm 0000:01:00.0: msg timeout
amir@ZBook:~$ 

Needless to say ModemManager doesn't find any device.

unstabler commented 2 years ago

finally i was able to get the L860-GL to work on Linux. i wrote a guide, have a look at this.

https://github.com/unstabler/l860gl-linux

Mimamau commented 2 years ago

Any progress on this?

esemeniuc commented 1 year ago

Interested in this also!

DooMMasteR commented 1 year ago

Any news on any support, like at all?

h5rdly commented 1 year ago

Would love to have this work on Linux! Any progress/ updates?

aemonge commented 7 months ago

+1