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

Explanation of how to install kernel module to get keyboard working #69

Open
wolfsta opened this issue Oct 12, 2018 · 6 comments
Open

Comments

@wolfsta
Copy link

wolfsta commented Oct 12, 2018

Hi,

I have a clean install of ubuntu, and am not sure exactly on how to get the second module. lsmod | grep spi comes back as having 'spi_pxa2xx_platform' installed.

How do I install the second pci one?

Thanks

@roadrunner2
Copy link
Contributor

You don't mention what model of MacBook(Pro) you're running, or what version of Ubuntu. But from the above I'm guessing you've got a MacBook8,1 (2015) then and Ubuntu 18.04? If so, you should be able to load the module with modprobe spi_pxa2xx_pci.

@wolfsta
Copy link
Author

wolfsta commented Oct 15, 2018

Hi, thanks for the response, i have a 2016 MBP and ubuntu 18.04, i managed to get the keyboard and trackpad running following the step by step keyboard section here: https://github.com/chisNaN/ubuntu-on-macbook12.

Next I just need some time to get the touchbar working partially for escape key etc.

Thanks

@roadrunner2
Copy link
Contributor

roadrunner2 commented Oct 20, 2018

Check out my clone of this repo for the touchbar.

Edit: oh, sorry, I see those instructions reference my repo already. In that case you'll just need to take into account that the appletb driver now depends on the industrialio_triggered_buffer module being loaded - it's easiest if you just use dkms to build the modules (see the "DKMS module" section in the README) and then use modprobe appletb to load the touchbar driver.

@xo1
Copy link

xo1 commented Oct 27, 2018

@roadrunner2 Hi, I have been following your instructions and am getting stuck at the very last bit.

Machine: Macbook Pro 2017 (with touchbar)
Kali version: 2017.2
uname -a: Linux kali 4.12.0-kali1-amd64 #1 SMP Debian 4.12.6-1kali6 (2017-08-30) x86_64 GNU/Linux
Folders in /usr/src:
applespi-0.1
linux-kbuild-4.18
linux-headers-4.18.0-kali2-amd64
volatility-tools
linux-headers-4.18.0-kali2-common

So far I am unable to get the keyboard and touchpad to work.

When I run: dkms install -m applespi -v 0.1

I see:

Kernel preparation unnecessary for this kernel. Skipping...

Building module:
cleaning build area.......................

But this goes on forever and does not stop. Sorry for being a newbie, I have spent days trying to get this to work and this is furthest I have got so far.

Hope you can help. I am happy to make a donation for your support, I am just a student, thank you.

@roadrunner2
Copy link
Contributor

@xo1 You mean the dots after "cleaning build area" just keep on going, and nothing else ever shows up? That is odd - something is obviously stuck. Try seeing what process that is, e.g. by opening another terminal, searching for the dkms process (e.g. ps -ef | grep dkms) and then running pstree <pid-of-dkms-process> to see what could be hanging.

@MakGulati
Copy link

Check out my clone of this repo for the touchbar.

Edit: oh, sorry, I see those instructions reference my repo already. In that case you'll just need to take into account that the appletb driver now depends on the industrialio_triggered_buffer module being loaded - it's easiest if you just use dkms to build the modules (see the "DKMS module" section in the README) and then use modprobe appletb to load the touchbar driver.
could you explain this step.
thank you so much

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

4 participants