Thursday, August 13, 2015

Kali 2.0 x64 on Acer c720

Kali 2.0 came out a few days ago, so I wanted to install it and see if the touchpad and suspend quirks had been worked out for the Acer c720. See previous posts to see how to replace the c720 firmware or install an alternate OS.

I downloaded the Kali 2.0 x64 version and created a bootable USB using Rufus 2.2. I then installed it on the Acer by hitting escape at boot to bring up a boot menu. I selected the USB drive and then the install option. I did not use the graphical install.

There was one problem during install where it complained that it could not mount the CDROM (or a similar error). The fix was simply to remove the USB drive, reinsert it, wait a second for it to initialize, and then tell the scrip to try and mount it again. It was clear sailing after that.

The install went smoothly. I was able to suspend using the power button, but closing the lid still does not suspend. Resume worked fine. However, when shutting down, there was an error compaining about ehci-pci port resume error. It just kept going, and I had to shutdown by holding the power button.

I tried the old fixes for sound and ehci with a script in the sleep.d directory, but that didn't seem to do anything. I then modified the grub file in /etc/default/grub.

I changed
GRUB_CMDLINE_LINUX_DEFAULT="quiet"
to
GRUB_CMDLINE_LINUX_DEFAULT="quiet modprobe.blacklist=ehci_hcd,ehci_pci"

Then, I had to rebuild using
# update-grub
# update-grub2

This seemed to resolve the error after suspend, but I haven't tested it with bluetooth or usb devices yet. Also, suspend using the lid seems to work now too. I'm not sure why it didn't before. I might have updated a power setting that got it to work.