Skip to content
This repository was archived by the owner on Nov 3, 2020. It is now read-only.

Module not found #73

Closed
theailer opened this issue Nov 17, 2019 · 7 comments
Closed

Module not found #73

theailer opened this issue Nov 17, 2019 · 7 comments
Assignees
Labels
bug This is a serious bug that needs to be addressed IMPORTANT Flags an issue as being extremely important

Comments

@theailer
Copy link

Thanks for the awesome work, but I have some issues with my SP4.
Touchscreen and bluetooth does not work. When running the setup.sh I get:
==> ERROR: module not found: intel_ipts' ==> ERROR: module not found: surface_acpi'

I'm guessing the first module is for touchscreen ?

@skogsmaskin
Copy link

surface_acpi seems to have been removed and split into two new ones with the qzed kernel:

linux-surface/linux-surface@3172322

@dmhacker dmhacker self-assigned this Dec 10, 2019
@dmhacker dmhacker added the IMPORTANT Flags an issue as being extremely important label Dec 10, 2019
@dmhacker dmhacker added the bug This is a serious bug that needs to be addressed label Dec 10, 2019
@dmhacker
Copy link
Owner

Solution: after installing the 5.3.15 kernel, refresh your mkinitcpio by following #56.

@ltiao
Copy link

ltiao commented Dec 13, 2019

I have this issue too (as of commit 507b77b). With Surface Pro 6, kernel version:

$ uname -r
5.4.2-arch1-1

I get the following when running sudo sh setup.sh and responding y to all options:

$ sudo sh setup.sh 
This script was created to simplify the setup process for Surface devices running Arch Linux.

Creating temporary cache ...
Cloning into 'linux-surface'...
remote: Enumerating objects: 82, done.
remote: Counting objects: 100% (82/82), done.
remote: Compressing objects: 100% (69/69), done.
remote: Total 114128 (delta 32), reused 38 (delta 8), pack-reused 114046
Receiving objects: 100% (114128/114128), 226.84 MiB | 5.82 MiB/s, done.
Resolving deltas: 100% (44576/44576), done.

1. Copy config files from qzed's kernel to root? [y/N] y
Unpacking files to / ...
Making /lib/systemd/system-sleep/sleep executable ...
Done copying config files.

!!! WARNING !!! The following option will reset the MODULES option in your mkinitcpio config.
!!! WARNING !!! A backup of /etc/mkinitcpio.conf will be saved to /etc/mkinitcpio.conf.old if you proceed.
2. Rebuild kernel with modules from /etc/initramfs-tools/modules? [y/N] y
MODULES=(hid hid_sensor_hub i2c_hid hid_generic usbhid hid_multitouch intel_ipts surface_sam_ssh surface_sam_san surface_sam_vhf) will be added to /etc/mkinitcpio.conf.
==> Starting dry run: 5.4.2-arch1-1
  -> Running build hook: [base]
  -> Running build hook: [udev]
  -> Running build hook: [autodetect]
  -> Running build hook: [modconf]
  -> Running build hook: [block]
  -> Running build hook: [filesystems]
  -> Running build hook: [keyboard]
  -> Running build hook: [fsck]
==> ERROR: module not found: `intel_ipts'
==> ERROR: module not found: `surface_sam_ssh'
==> ERROR: module not found: `surface_sam_san'
==> ERROR: module not found: `surface_sam_vhf'
==> Generating module dependencies
==> Dry run complete, use -g IMAGE to generate a real image

3. Replace suspend with hibernate? [y/N] y
Symlinking suspend target/service to hibernate target/service ...
Done replacing suspend with hibernate.

4. Install WiFi firmware (marvel, mwlwifi)? [y/N] y
Unpacking files to /lib/firmware/mrvl ...
unzip:  cannot find or open .cache_setup/linux-surface/firmware/mrvl_firmware.zip, .cache_setup/linux-surface/firmware/mrvl_firmware.zip.zip or .cache_setup/linux-surface/firmware/mrvl_firmware.zip.ZIP.
Done installing marvel firmware.
Unpacking files to /lib/firmware/mwlwifi ...
unzip:  cannot find or open .cache_setup/linux-surface/firmware/mwlwifi_firmware.zip, .cache_setup/linux-surface/firmware/mwlwifi_firmware.zip.zip or .cache_setup/linux-surface/firmware/mwlwifi_firmware.zip.ZIP.
Done installing mwlwifi firmware.

5. Install device-specific firmware (touchscreen, wireless, GPU)? [y/N] y
What Surface model is your device? Enter the number corresponding to your selection.
1) Surface Pro 3	 3) Surface Pro 4	 5) Surface Pro 6	 7) Surface Laptop	 9) Surface Book	11) Surface Book 2 15"
2) Surface Pro		 4) Surface Pro 2017	 6) Surface Studio	 8) Surface Laptop 2	10) Surface Book 2 13"	12) Surface Go
#? 5
Surface Pro 6 selected. Installing firmware ...
Unpacking files to /lib/firmware/intel/ipts/ ...
unzip:  cannot find or open .cache_setup/linux-surface/firmware/ipts_firmware_v102.zip, .cache_setup/linux-surface/firmware/ipts_firmware_v102.zip.zip or .cache_setup/linux-surface/firmware/ipts_firmware_v102.zip.ZIP.
Unpacking files to /lib/firmware/i915/ ...
unzip:  cannot find or open .cache_setup/linux-surface/firmware/i915_firmware_kbl.zip, .cache_setup/linux-surface/firmware/i915_firmware_kbl.zip.zip or .cache_setup/linux-surface/firmware/i915_firmware_kbl.zip.ZIP.

Removing temporary cache ...

Setup process finished!
Install your patched kernel and then reboot.

In particular, the specifically-relevant messages from above:

==> ERROR: module not found: `intel_ipts'
==> ERROR: module not found: `surface_sam_ssh'
==> ERROR: module not found: `surface_sam_san'
==> ERROR: module not found: `surface_sam_vhf'

and

Surface Pro 6 selected. Installing firmware ...
Unpacking files to /lib/firmware/intel/ipts/ ...
unzip:  cannot find or open .cache_setup/linux-surface/firmware/ipts_firmware_v102.zip, .cache_setup/linux-surface/firmware/ipts_firmware_v102.zip.zip or .cache_setup/linux-surface/firmware/ipts_firmware_v102.zip.ZIP.
Unpacking files to /lib/firmware/i915/ ...
unzip:  cannot find or open .cache_setup/linux-surface/firmware/i915_firmware_kbl.zip, .cache_setup/linux-surface/firmware/i915_firmware_kbl.zip.zip or .cache_setup/linux-surface/firmware/i915_firmware_kbl.zip.ZIP.

@dmhacker
Copy link
Owner

@ltiao Are you using the 5.3.15 kernel?

@ltiao
Copy link

ltiao commented Dec 14, 2019

I am using 5.4.2:

$ uname -r
5.4.2-arch1-1

I did read in your reply #56 (comment) that for kernel versions equal to 5.3.15 or above one needs to re-run the setup script and so on. Note, however, this is my first attempt at installation, and I am using the latest from this repo (commit 507b77b). Furthermore, AFAIK the set-up script will pull the latest from https://github.com/qzed/linux-surface/. So I don't understand why these files cannot be found. Did I miss something obvious?

@dmhacker
Copy link
Owner

@ltiao Sorry for the late response. The reason you were getting those error messages was because qzed's repository changed how firmware is installed and my setup script did not incorporate those changes until now. If you pull this repository, re-run the setup script, and select 'yes' to option 4, it should install all the necessary firmware.

@ltiao
Copy link

ltiao commented Dec 28, 2019

Thanks for the fix! Everything works great now.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug This is a serious bug that needs to be addressed IMPORTANT Flags an issue as being extremely important
Projects
None yet
Development

No branches or pull requests

4 participants