hi,
also mit ubuntu 17.04 braucht folgendes:
festplatte:
vim /etc/initramfs-tools/scripts/init-premount/setup_macbooknvme:
#!/bin/sh
echo 106b 2003 > /sys/bus/pci/drivers/nvme/new_id
mit update-initramfs -k all -u initram fs updaten damit beim booten automatisch die id geschrieben wird;
bei installation von ubuntu live cd terminal oeffnen und befehl echo 106b 2003 > /sys/bus/pci/drivers/nvme/new_id
ausfuehren, dann steht die festplatte zur verfuegung; also dann auf install ubuntu klicken
- boot-loader refind installieren: damit laesst sich spaeter ubuntu booten; z.b. live cd ubuntu starten und dann refind installieren
tastatur mouse:
- oben genanntes alles mit externen keyboard machen
- dann:git clone https://github.com/roadrunner2/macbook12-spi-driver
cd macbook12-spi-driver
make
sudo make install
um gleich die tastatur zu testen: sudo insmod applespi
in /etc/modules "applespi" einfuegen
ich verwende den libinput treiber; klappt ganz gut:
marc@marc-MacBook ~/development/macbook12-spi-driver $ cat /usr/share/X11/xorg.conf.d/40-libinput.conf
# Match on all types of devices but tablet devices and joysticks
Section "InputClass"
Identifier "libinput pointer catchall"
MatchIsPointer "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput keyboard catchall"
MatchIsKeyboard "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchpad catchall"
MatchIsTouchpad "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput touchscreen catchall"
MatchIsTouchscreen "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
Section "InputClass"
Identifier "libinput tablet catchall"
MatchIsTablet "on"
MatchDevicePath "/dev/input/event*"
Driver "libinput"
EndSection
ist alles aus gedaechtnis - bitte probiers mal so! viel erfolg