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

Improvements to the installation procedure #3

Open
DDvO opened this issue Nov 3, 2019 · 6 comments
Open

Improvements to the installation procedure #3

DDvO opened this issue Nov 3, 2019 · 6 comments

Comments

@DDvO
Copy link

DDvO commented Nov 3, 2019

Thanks a lot for providing this module!

I just found that something was missing to make the use of the module permanent - here is an extended list of commands:

make
sudo make install
sudo depmod -A
sudo modprobe xmm7360_usb
echo xmm7360_usb | sudo tee -a /etc/modules
@juhovh
Copy link
Owner

juhovh commented Nov 3, 2019

I've used an alias to make udev load it for me, but I used the alias specific to my computer just in case it causes problems for anyone, I guess I could make it more generic.

Just out of curiosity, what does lspci -nnvd 8086:7360 say on your computer?

@DDvO
Copy link
Author

DDvO commented Nov 6, 2019

lspci -nnvd 8086:7360 yields here:

3b:00.0 Wireless controller [0d40]: Intel Corporation Device [8086:7360] (rev ff) (prog-if ff)
	!!! Unknown header type 7f
	Kernel driver in use: xmm7360_usb

@neurotensin
Copy link

P53 hardware is different I think -
Sat Nov 9 18:26:45 2019] pci 0000:53:00.0: runtime PM trying to activate child device 0000:53:00.0 but parent (0000:00:1c.6) is not active
[Sat Nov 9 18:26:45 2019] pci 0000:53:00.0: PME# supported from D0 D3hot D3cold
[Sat Nov 9 18:26:45 2019] pci 0000:53:00.0: Adding to iommu group 10
[Sat Nov 9 18:26:45 2019] pci 0000:53:00.0: DMAR: Device uses a private identity domain.
[Sat Nov 9 18:26:45 2019] pci 0000:53:00.0: BAR 0: assigned [mem 0xee200000-0xee200fff 64bit]
[Sat Nov 9 18:26:45 2019] pci 0000:53:00.0: BAR 2: assigned [mem 0xee201000-0xee2013ff 64bit]
[Sat Nov 9 18:26:45 2019] xmm7360_usb: Found a PCI device 8086:7360

Note, the Modem complains parent not active, since of course, we broke the link.

Not sure why I'm still not getting a USB device...

@juhovh
Copy link
Owner

juhovh commented Nov 10, 2019

Actually I was thinking about lspci -nnvd 8086:7360 after unloading the module first, otherwise it doesn't give much info. But I guess I could make the module alias itself to everything 8086:7360 to avoid the need to update /etc/modules

@neurotensin
Copy link

DKMS - need to build properly for "UEFI/LockDown"

  1. Make sure the source is in /usr/src/$MODULE_NAME-$MODULE_VERSION
  2. cd /var/lib/dkms
  3. dkms add $MODULE_NAME/$MODULE_VERSION
  4. dkms build $MODULE_NAME/$MODULE_VERSION
  5. dkms intall $MODULE_NAME/$MODULE_VERSION

Example:
cat /usr/src/xmm7360_usb-1.0/dkms.conf

Here's the dkms.conf for "xmm7360_usb" - it's really generic.

MAKE="make -C./ KERNELDIR=/lib/modules/${kernelver}/build"
CLEAN="make -C./ clean"
BUILT_MODULE_NAME=xmm7360_usb
BUILT_MODULE_LOCATION=./
PACKAGE_NAME=xmm7360_usb
PACKAGE_VERSION=1.0
REMAKE_INITRD=no
DEST_MODULE_LOCATION="/kernel/drivers/misc"
ATUOINSTALL="yes"

@DDvO
Copy link
Author

DDvO commented Nov 11, 2019

Actually I was thinking about lspci -nnvd 8086:7360 after unloading the module first, otherwise it doesn't give much info.

@juhovh, makes sense. Here it is:

3b:00.0 Wireless controller [0d40]: Intel Corporation Device [8086:7360] (rev 01)
	Subsystem: Intel Corporation Device [8086:0020]
	Flags: fast devsel, IRQ 255
	Memory at c9600000 (64-bit, non-prefetchable) [disabled] [size=4K]
	Memory at c9601000 (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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants