xmm7360 / xmm7360-usb-modeswitch

Tools for the Fibocom L850-GL / Intel XMM7360 LTE modem
125 stars 21 forks source link

Not working on ThinkPad A285 #14

Open TheSentry opened 5 years ago

TheSentry commented 5 years ago

First of all, thank for the great work so far. It's a pitty that it doesn't work for me though.

I've got a Lenovo ThinkPad A285 for work a few months ago, I flashed the BIOS to v1.41 today. LTE is working fine under Windows 10, I can surf the internet there.

I'm on Linux Mint 19.2 Cinnamon with a 5.0.0-36 kernel

$ uname -a
Linux bolle 5.0.0-36-generic #39~18.04.1-Ubuntu SMP Tue Nov 12 11:09:50 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

I installed acpi_call_dkms via apt. This is my output before executing the script:

$ lspci
00:00.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15d0
00:00.2 IOMMU: Advanced Micro Devices, Inc. [AMD] Device 15d1
00:01.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
00:01.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:01.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:01.3 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:01.4 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:01.5 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15d3
00:08.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Family 17h (Models 00h-0fh) PCIe Dummy Host Bridge
00:08.1 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15db
00:08.2 PCI bridge: Advanced Micro Devices, Inc. [AMD] Device 15dc
00:14.0 SMBus: Advanced Micro Devices, Inc. [AMD] FCH SMBus Controller (rev 61)
00:14.3 ISA bridge: Advanced Micro Devices, Inc. [AMD] FCH LPC Bridge (rev 51)
00:18.0 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e8
00:18.1 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15e9
00:18.2 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ea
00:18.3 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15eb
00:18.4 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ec
00:18.5 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ed
00:18.6 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ee
00:18.7 Host bridge: Advanced Micro Devices, Inc. [AMD] Device 15ef
01:00.0 Unassigned class [ff00]: Realtek Semiconductor Co., Ltd. RTS522A PCI Express Card Reader (rev 01)
02:00.0 Network controller: Realtek Semiconductor Co., Ltd. RTL8822BE 802.11a/b/g/n/ac WiFi adapter
03:00.0 Non-Volatile memory controller: Lenovo Device 0006
04:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168/8411 PCI Express Gigabit Ethernet Controller (rev 0e)
04:00.1 Serial controller: Realtek Semiconductor Co., Ltd. Device 816a (rev 0e)
04:00.2 Serial controller: Realtek Semiconductor Co., Ltd. Device 816b (rev 0e)
04:00.3 IPMI Interface: Realtek Semiconductor Co., Ltd. Device 816c (rev 0e)
04:00.4 USB controller: Realtek Semiconductor Co., Ltd. Device 816d (rev 0e)
05:00.0 Wireless controller [0d40]: Intel Corporation Device 7360 (rev 01)
06:00.0 VGA compatible controller: Advanced Micro Devices, Inc. [AMD/ATI] Raven Ridge [Radeon Vega Series / Radeon Vega Mobile Series] (rev d0)
06:00.1 Audio device: Advanced Micro Devices, Inc. [AMD/ATI] Device 15de
06:00.2 Encryption controller: Advanced Micro Devices, Inc. [AMD] Device 15df
06:00.3 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e0
06:00.4 USB controller: Advanced Micro Devices, Inc. [AMD] Device 15e1
06:00.6 Audio device: Advanced Micro Devices, Inc. [AMD] Device 15e3
07:00.0 SATA controller: Advanced Micro Devices, Inc. [AMD] FCH SATA Controller [AHCI mode] (rev 61)
$ lsusb
/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 10000M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 12M
        |__ Port 4: Dev 5, If 0, Class=Chip/SmartCard, Driver=, 12M
    |__ Port 2: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 6, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 1: Dev 6, If 1, Class=Video, Driver=uvcvideo, 480M
        |__ Port 3: Dev 11, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 12, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 4: Dev 12, If 1, Class=Video, Driver=uvcvideo, 480M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    |__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/1p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 1: Dev 2, If 0, Class=, Driver=, 12M
    |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 4: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 480M
            |__ Port 4: Dev 8, If 1, Class=Audio, Driver=snd-usb-audio, 480M
            |__ Port 4: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 480M
            |__ Port 4: Dev 8, If 0, Class=Audio, Driver=snd-usb-audio, 480M
            |__ Port 2: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
                |__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
                |__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 3: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/1p, 480M

I know from previous attempts that it is 05:00.0

$ sudo lspci -v -s 05:00
05:00.0 Wireless controller [0d40]: Intel Corporation Device 7360 (rev 01)
        Subsystem: Intel Corporation Device 0020
        Flags: fast devsel, IRQ 255
        Memory at c0700000 (64-bit, non-prefetchable) [disabled] [size=4K]
        Memory at c0701000 (64-bit, non-prefetchable) [disabled] [size=1K]
        Capabilities: [40] Power Management version 3
        Capabilities: [50] MSI: Enable- Count=1/4 Maskable- 64bit+
        Capabilities: [70] Express Endpoint, MSI 00
        Capabilities: [100] Advanced Error Reporting
        Capabilities: [148] Latency Tolerance Reporting
        Capabilities: [150] L1 PM Substates

No modems are found so far. This is the output when executing the xmm7360 script:

$ sudo ./xmm2usb 
Found XMM7360 modem at 0000:05:00.0 (\_SB_.PCI0.GPP4.L850)
Parent port is at 0000:00:01.5
Disabling PCIe link...
OK!

So far, so good, the PCI device 05:00.0 is gone, but no new USB device appears

/:  Bus 05.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/1p, 10000M
/:  Bus 04.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/2p, 480M
    |__ Port 1: Dev 2, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 4, If 0, Class=Vendor Specific Class, Driver=, 12M
        |__ Port 4: Dev 5, If 0, Class=Chip/SmartCard, Driver=, 12M
    |__ Port 2: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 1: Dev 6, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 1: Dev 6, If 1, Class=Video, Driver=uvcvideo, 480M
        |__ Port 3: Dev 11, If 0, Class=Human Interface Device, Driver=usbhid, 12M
        |__ Port 4: Dev 12, If 0, Class=Video, Driver=uvcvideo, 480M
        |__ Port 4: Dev 12, If 1, Class=Video, Driver=uvcvideo, 480M
/:  Bus 03.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 10000M
    |__ Port 4: Dev 2, If 0, Class=Hub, Driver=hub/4p, 5000M
        |__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/1p, 5000M
/:  Bus 02.Port 1: Dev 1, Class=root_hub, Driver=xhci_hcd/4p, 480M
    |__ Port 1: Dev 2, If 0, Class=, Driver=, 12M
    |__ Port 1: Dev 2, If 1, Class=Human Interface Device, Driver=usbhid, 12M
    |__ Port 4: Dev 3, If 0, Class=Hub, Driver=hub/4p, 480M
        |__ Port 4: Dev 4, If 0, Class=Hub, Driver=hub/4p, 480M
            |__ Port 4: Dev 8, If 3, Class=Human Interface Device, Driver=usbhid, 480M
            |__ Port 4: Dev 8, If 1, Class=Audio, Driver=snd-usb-audio, 480M
            |__ Port 4: Dev 8, If 2, Class=Audio, Driver=snd-usb-audio, 480M
            |__ Port 4: Dev 8, If 0, Class=Audio, Driver=snd-usb-audio, 480M
            |__ Port 2: Dev 5, If 0, Class=Hub, Driver=hub/4p, 480M
                |__ Port 1: Dev 7, If 0, Class=Human Interface Device, Driver=usbhid, 12M
                |__ Port 1: Dev 7, If 1, Class=Human Interface Device, Driver=usbhid, 12M
            |__ Port 3: Dev 6, If 0, Class=Human Interface Device, Driver=usbhid, 1.5M
/:  Bus 01.Port 1: Dev 1, Class=root_hub, Driver=ehci-pci/1p, 480M

Is there anything else I can try?

TheSentry commented 5 years ago

I forgot to mention: The device manager in Windows 10 says that the WWAN module is connected via USB.

enzingerm commented 4 years ago

It seems that this is the same for various AMD based models (see #24). On my T495 the USB device does not appear after the script, either. Windows driver uses some kind of PCIe to USB translation layer, that may be the reason why the device manager shows the modem as connected via USB...