MX-18 on MacBooks

Message
Author
User avatar
Hierax_ca
Posts: 64
Joined: Sun Nov 08, 2015 5:46 pm

MX-18 on MacBooks

#1 Post by Hierax_ca »

MX-18 on MacBook 13" (5,1 Late 2008):

Working pretty well so far (installed over MX-17.1 installation on existing partitions, boot ESP not MBR like with Thinkpads, had to change mouse acceleration from 2.0 to 1.0 to get it under reasonable control) with only 1 issue so far, wireless internet:

Wi-Fi not found initially. Went to MX-Tools > Network Assistant > Linux Drivers - unblacklisted b43 and b43 legacy, then wi-fi was auto-detected:

Code: Select all

$ inxi -Nxxx -z
Network:   Device-1: NVIDIA MCP79 Ethernet driver: forcedeth v: kernel port: 21e0 bus ID: 00:0a.0 
           chip ID: 10de:0ab0 
           Device-2: Broadcom Limited BCM4322 802.11a/b/g/n Wireless LAN vendor: Apple AirPort Extreme 
           driver: b43-pci-bridge v: N/A port: 1000 bus ID: 03:00.0 chip ID: 14e4:432b

Wi-Fi:

Code: Select all

$ speedtest-cli
... ping...: 33.609 ms ...
Download: 18.78 Mbit/s ...
Upload: 14.65 Mbit/s
vs.
Ethernet (for comparison):

Code: Select all

$ speedtest-cli
... ping...: 25.148 ms ...
Download: 408.42 Mbit/s ...
Upload: 20.98 Mbit/s

reboot didn't find wireless again. MX17.1 worked way better (Wireless: 16.1/109.8 down, 11/16.2 up (normal/5g) ) used Wireless LAN driver: "wl" for wlan0. Something to look into further fixing here...

Graphics:

Installed Proprietary Driver:

Graphics before NVidia Driver installed:

Code: Select all

$ inxi -Gxxx
Graphics:  Device-1: NVIDIA C79 [GeForce 9400M] vendor: Apple MacBook5 1 driver: nouveau v: kernel 
           bus ID: 02:00.0 chip ID: 10de:0863 
           Display: x11 server: X.Org 1.19.2 driver: nouveau unloaded: fbdev,modesetting,vesa 
           alternate: nv resolution: 1280x800~61Hz 
           OpenGL: renderer: NVAC v: 3.3 Mesa 18.2.6 compat-v: 3.1 direct render: Yes


Graphics after NVidia Driver installed:

Code: Select all

$ inxi -Gxxx -z
Graphics:  Device-1: NVIDIA C79 [GeForce 9400M] vendor: Apple MacBook5 1 driver: nvidia v: 340.107 
           bus ID: 02:00.0 chip ID: 10de:0863 
           Display: x11 server: X.Org 1.19.2 driver: nvidia resolution: 1280x800~61Hz 
           OpenGL: renderer: GeForce 9400M/integrated/SSE2 v: 3.3.0 NVIDIA 340.107 
           direct render: Yes


General info:

Kernel

Code: Select all

$ uname -a
Linux MacBook13-Linux-MX18 4.19.0-1-amd64 #1 SMP Debian 4.19.9-1~mx17+1 (2018-12-21) x86_64 GNU/Linux
Debian

Code: Select all

$ cat /etc/debian_version
9.6
MX

Code: Select all

$ cat /etc/mx-version
MX-18_x64 Continuum Dec 20, 2018
Basic inxi:

Code: Select all

$ inxi -Fxrz
System:    Host: MacBook13-Linux-MX18 Kernel: 4.19.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 Distro: MX-18_x64 Continuum Dec 20  2018 base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: Apple product: MacBook5,1 v: 1.0 serial: <filter> 
           Mobo: Apple model: Mac-F42D89C8 v: Proto serial: <filter> UEFI: Apple 
           v: MB51.88Z.007D.B03.0904271443 date: 04/27/09 
Battery:   ID-1: BAT0 charge: 1.7 Wh condition: 26.1/44.7 Wh (58%) model: DP bq20z951 status: Charging 
CPU:       Topology: Dual Core model: Intel Core2 Duo P7350 bits: 64 type: MCP arch: Penryn rev: 6 
           L2 cache: 3072 KiB 
           flags: lm nx pae sse sse2 sse3 sse4_1 ssse3 vmx bogomips: 7959 
           Speed: 1594 MHz min/max: 1596/1995 MHz Core speeds (MHz): 1: 1592 2: 1592 
Graphics:  Device-1: NVIDIA C79 [GeForce 9400M] driver: nvidia v: 340.107 bus ID: 02:00.0 
           Display: x11 server: X.Org 1.19.2 driver: nvidia resolution: 1280x800~61Hz 
           OpenGL: renderer: GeForce 9400M/integrated/SSE2 v: 3.3.0 NVIDIA 340.107 direct render: Yes 
Audio:     Device-1: NVIDIA MCP79 High Definition Audio driver: snd_hda_intel v: kernel bus ID: 00:08.0 
           Sound Server: ALSA v: k4.19.0-1-amd64 
Network:   Device-1: NVIDIA MCP79 Ethernet driver: forcedeth v: kernel port: 21e0 bus ID: 00:0a.0 
           IF: eth0 state: down mac: <filter> 
           Device-2: Broadcom Limited BCM4322 802.11a/b/g/n Wireless LAN driver: b43-pci-bridge v: N/A 
           port: 1000 bus ID: 03:00.0 
           IF-ID-1: wlan0 state: up mac: <filter> 
Drives:    Local Storage: total: 1.82 TiB used: 5.70 GiB (0.3%) 
           ID-1: /dev/sda vendor: Seagate model: ST2000LX001-1RG174 size: 1.82 TiB temp: 32 C 
Partition: ID-1: / size: 1.78 TiB used: 5.70 GiB (0.3%) fs: ext4 dev: /dev/sda2 
           ID-2: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap dev: /dev/sda3 
Sensors:   System Temperatures: cpu: 44.0 C mobo: N/A gpu: nvidia temp: 51 C 
           Fan Speeds (RPM): N/A 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://la.mxrepo.com/antix/stretch stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.ca.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://la.mxrepo.com/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Info:      Processes: 176 Uptime: 16m Memory: 7.54 GiB used: 515.5 MiB (6.7%) Init: SysVinit runlevel: 5 
           Compilers: gcc: 6.3.0 Shell: bash v: 4.4.12 inxi: 3.0.25
Full inxi

Code: Select all

$ sudo inxi -v8 -z
[sudo] password for jason: 
System:    Host: MacBook13-Linux-MX18 Kernel: 4.19.0-1-amd64 x86_64 bits: 64 compiler: gcc v: 6.3.0 
           Desktop: Xfce 4.12.3 tk: Gtk 2.24.31 info: xfce4-panel wm: xfwm4 dm: LightDM 1.18.3 
           Distro: MX-18_x64 Continuum Dec 20  2018 base: Debian GNU/Linux 9 (stretch) 
Machine:   Type: Laptop System: Apple product: MacBook5,1 v: 1.0 serial: <filter> Chassis: type: 10 
           v: Mac-F42D89C8 serial: <filter> 
           Mobo: Apple model: Mac-F42D89C8 v: Proto serial: N/A UEFI: Apple 
           v: MB51.88Z.007D.B03.0904271443 date: 04/27/09 
Battery:   ID-1: BAT0 charge: 0.7 Wh condition: 26.1/44.7 Wh (58%) volts: 11.2/10.9 
           model: DP bq20z951 type: Li-ion serial: N/A status: Charging cycles: 763 
Memory:    RAM: total: 7.54 GiB used: 448.6 MiB (5.8%) 
           Array-1: capacity: 32 GiB slots: 2 EC: None max module size: 16 GiB note: est. 
           Device-1: DIMM0 size: 4 GiB speed: 1067 MHz type: DDR3 detail: synchronous 
           bus width: 65506 bits total: Unknown manufacturer: 0x859B 
           part-no: 0x435434473353313036374D2E4D3136464B44 serial: <filter> 
           Device-2: DIMM1 size: 4 GiB speed: 1067 MHz type: DDR3 detail: synchronous 
           bus width: 65506 bits total: Unknown manufacturer: 0x859B 
           part-no: 0x435434473353313036374D2E4D3136464B44 serial: <filter> 
PCI Slots: Slot: 3 type: x1 PCI Express AirPort status: Available length: Short 
CPU:       Topology: Dual Core model: Intel Core2 Duo P7350 bits: 64 type: MCP arch: Penryn 
           family: 6 model-id: 17 (23) stepping: 6 microcode: 60F L1 cache: 128 KiB 
           L2 cache: 3072 KiB bogomips: 7959 
           Speed: 1898 MHz min/max: 1596/1995 MHz Core speeds (MHz): 1: 1592 2: 1592 
           Flags: acpi aperfmperf apic arch_perfmon bts clflush cmov constant_tsc cpuid cx16 cx8 de 
           ds_cpl dtes64 dtherm dts est flexpriority fpu fxsr ht lahf_lm lm mca mce mmx monitor msr 
           mtrr nopl nx pae pat pbe pdcm pebs pge pni pse pse36 pti rep_good sep ss sse sse2 sse4_1 
           ssse3 syscall tm tm2 tpr_shadow tsc vme vmx vnmi xtpr 
           Vulnerabilities: Type: l1tf mitigation: PTE Inversion; VMX: EPT disabled 
           Type: meltdown mitigation: PTI 
           Type: spec_store_bypass status: Vulnerable 
           Type: spectre_v1 mitigation: __user pointer sanitization 
           Type: spectre_v2 mitigation: Full generic retpoline, STIBP: disabled, RSB filling 
Graphics:  Device-1: NVIDIA C79 [GeForce 9400M] vendor: Apple MacBook5 1 driver: nvidia v: 340.107 
           bus ID: 02:00.0 chip ID: 10de:0863 
           Display: server: X.Org 1.19.2 driver: nvidia resolution: 1280x800~61Hz 
           OpenGL: renderer: GeForce 9400M/integrated/SSE2 v: 3.3.0 NVIDIA 340.107 
           direct render: Yes 
Audio:     Device-1: NVIDIA MCP79 High Definition Audio driver: snd_hda_intel v: kernel 
           bus ID: 00:08.0 chip ID: 10de:0ac0 
           Sound Server: ALSA v: k4.19.0-1-amd64 
Network:   Device-1: NVIDIA MCP79 Ethernet driver: forcedeth v: kernel port: 21e0 bus ID: 00:0a.0 
           chip ID: 10de:0ab0 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           IP v4: <filter> type: dynamic scope: global broadcast: <filter> 
           IP v6: <filter> type: dynamic scope: global 
           IP v6: <filter> type: noprefixroute dynamic scope: global 
           IP v6: <filter> scope: link 
           Device-2: Broadcom Limited BCM4322 802.11a/b/g/n Wireless LAN 
           vendor: Apple AirPort Extreme driver: N/A port: 1000 bus ID: 03:00.0 chip ID: 14e4:432b 
           WAN IP: No WAN IP data found. Connected to the web? SSL issues? 
Drives:    Local Storage: total: 1.82 TiB used: 5.69 GiB (0.3%) 
           ID-1: /dev/sda vendor: Seagate model: ST2000LX001-1RG174 size: 1.82 TiB block size: 
           physical: 4096 B logical: 512 B speed: 3.0 Gb/s rotation: 5400 rpm serial: <filter> 
           rev: SDM1 temp: 32 C scheme: GPT 
           Optical-1: /dev/sr0 vendor: HL-DT-ST model: DVDRW GS21N rev: SA18 
           dev-links: cdrom,cdrw,dvd,dvdrw 
           Features: speed: 24 multisession: yes audio: yes dvd: yes rw: cd-r,cd-rw,dvd-r 
           state: running 
RAID:      Message: No RAID data was found. 
Partition: ID-1: / raw size: 1.81 TiB size: 1.78 TiB (98.38%) used: 5.69 GiB (0.3%) fs: ext4 
           block size: 4096 B dev: /dev/sda2 label: rootMX18 
           uuid: 154ccac8-8ea8-4b9b-a3ba-da3a950a1a86 
           ID-2: swap-1 size: 8.00 GiB used: 0 KiB (0.0%) fs: swap swappiness: 60 (default) 
           cache pressure: 100 (default) dev: /dev/sda3 label: MXLINUXSWAP 
           uuid: 0945c48c-0d8b-47bb-8511-e620bfb0817e 
Unmounted: ID-1: /dev/sda1 size: 200.0 MiB fs: vfat label: EFI uuid: 7306-B6EE 
USB:       Hub: 1-0:1 info: Full speed (or root) Hub ports: 7 rev: 2.0 speed: 480 Mb/s 
           chip ID: 1d6b:0002 
           Device-1: 1-4:2 info: Apple Built-in iSight type: Video driver: uvcvideo interfaces: 3 
           rev: 2.0 speed: 480 Mb/s chip ID: 05ac:8507 serial: <filter> 
           Hub: 2-0:1 info: Full speed (or root) Hub ports: 5 rev: 2.0 speed: 480 Mb/s 
           chip ID: 1d6b:0002 
           Hub: 3-0:1 info: Full speed (or root) Hub ports: 7 rev: 1.1 speed: 12 Mb/s 
           chip ID: 1d6b:0001 
           Device-2: 3-5:2 info: Apple Built-in IR Receiver type: HID driver: appleir,usbhid 
           interfaces: 1 rev: 2.0 speed: 1.5 Mb/s chip ID: 05ac:8242 
           Device-3: 3-6:3 info: Apple Internal Keyboard/Trackpad (ANSI) type: Keyboard,HID,Mouse 
           driver: apple,bcm5974,usbhid interfaces: 3 rev: 2.0 speed: 12 Mb/s chip ID: 05ac:0236 
           Hub: 4-0:1 info: Full speed (or root) Hub ports: 5 rev: 1.1 speed: 12 Mb/s 
           chip ID: 1d6b:0001 
           Hub: 4-1:2 info: Broadcom BCM2046B1 USB 2.0 Hub (part of BCM2046 Bluetooth) ports: 3 
           rev: 2.0 speed: 12 Mb/s chip ID: 0a5c:4500 
           Device-4: 4-1.1:3 info: Apple Bluetooth Host Controller type: Bluetooth driver: btusb 
           interfaces: 4 rev: 2.0 speed: 12 Mb/s chip ID: 05ac:8213 serial: <filter> 
Sensors:   System Temperatures: cpu: 49.0 C mobo: N/A gpu: nvidia temp: 57 C 
           Fan Speeds (RPM): N/A 
Repos:     Active apt repos in: /etc/apt/sources.list.d/antix.list 
           1: deb http://la.mxrepo.com/antix/stretch stretch main
           Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 
           1: deb http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/debian.list 
           1: deb http://ftp.ca.debian.org/debian/ stretch main contrib non-free
           2: deb http://security.debian.org/ stretch/updates main contrib non-free
           Active apt repos in: /etc/apt/sources.list.d/google-chrome.list 
           1: deb [arch=amd64] http://dl.google.com/linux/chrome/deb/ stable main
           Active apt repos in: /etc/apt/sources.list.d/mx.list 
           1: deb http://la.mxrepo.com/mx/repo/ stretch main non-free
           No active apt repos in: /etc/apt/sources.list.d/various.list 
Processes: CPU top: 5 
           1: cpu: 1.6% comm$ and: xorg pid: 2753 mem: 68.0 MiB (0.8%) 
           2: cpu: 1.0% command: blueman-applet started by: python3 pid: 3346 mem: 56.4 MiB (0.7%) 
           3: cpu: 1.0% command: applet.py started by: python3 pid: 3401 mem: 33.0 MiB (0.4%) 
           4: cpu: 0.9% command: init pid: 1 mem: 1.91 MiB (0.0%) 
           5: cpu: 0.8% command: conky pid: 3669 mem: 11.8 MiB (0.1%) 
           Memory top: 5 
           1: mem: 78.6 MiB (1.0%) command: apt-notifier.py started by: python pid: 3565 cpu: 0.6% 
           2: mem: 68.0 MiB (0.8%) command: xorg pid: 2753 cpu: 1.6% 
           3: mem: 56.4 MiB (0.7%) command: blueman-applet started by: python3 pid: 3346 cpu: 1.0% 
           4: mem: 39.5 MiB (0.5%) command: xfce4-terminal pid: 3726 cpu: 0.6% 
           5: mem: 38.4 MiB (0.4%) command: tumblerd pid: 3509 cpu: 0.4% 
Info:      Processes: 174 Uptime: 2m Init: SysVinit v: 2.88 runlevel: 5 default: 5 Compilers: 
           gcc: 6.3.0 alt: 6 Shell: bash (sudo) v: 4.4.12 running in: xfce4-terminal inxi: 3.0.25 
MX-17.1: Thinkpad x60t, x61t, x200t, x220t.
MX-18 (32-bit) Thinkpads: 600x*, A31p, T43p, T60p;
MX-18 (64-bit): MacBook13(5,1), Thinkpad x61s, T61pW, T601pF, x200, x301*, T500, W500, W700, W700ds, W701, W701ds*, x220, W520.

User avatar
Paul..
Posts: 1787
Joined: Sun Mar 18, 2007 6:34 pm

Re: MX-18 on MacBooks

#2 Post by Paul.. »

Just retired my wife's 27" iMac (late 2009) because Apple would no longer update OS X beyond High Sierra...booted it up on MX-18 Live USB, runs like a champ.

Asus Prime X570-Pro | AMD Ryzen 7 3700X
16 Gig DDR4 3600 | Radeon RX 5600 XT Graphics
Samsung 860 500GB SSDs (2)

User avatar
Hierax_ca
Posts: 64
Joined: Sun Nov 08, 2015 5:46 pm

Re: MX-18 on MacBooks

#3 Post by Hierax_ca »

I tried moving the hard drive over to an identical MacBook model but

... it appears that a recent Mac OS X update has prevented it from booting Linux either from DVD, USB, or somehow even a pre-installed Hard Drive (just like the problem I have with my MacBookPro 17 after an update).

Anyone else encounter this?
MX-17.1: Thinkpad x60t, x61t, x200t, x220t.
MX-18 (32-bit) Thinkpads: 600x*, A31p, T43p, T60p;
MX-18 (64-bit): MacBook13(5,1), Thinkpad x61s, T61pW, T601pF, x200, x301*, T500, W500, W700, W700ds, W701, W701ds*, x220, W520.

User avatar
Hierax_ca
Posts: 64
Joined: Sun Nov 08, 2015 5:46 pm

Re: MX-18 on MacBooks

#4 Post by Hierax_ca »

I found the wi-fi broadcom problem's solution in this thread:

- https://forum.mxlinux.org/viewtopic.php?f=107&t=47100
joejohnston3 wrote: Thu Dec 20, 2018 7:10 pm So, this was not an easy thing to do in the long run but I am posting in hopes it will help others that may face the challenges I had.

1. Open a terminal and type sudo featherpad /etc/modprobe.d/broadcom-sta-dkms.conf
2. Edit it to look like this;
# wl module from Broadcom conflicts with the following modules:
blacklist b43
blacklist b43legacy
blacklist b44
blacklist bcma
blacklist brcm80211
blacklist brcmsmac
blacklist ssb
3. Open Synaptic Package Manager and search for Broadcom
4. Mark for Installation these options, broadcom-sta-common, broadcom-sta-source, and broadcom-sta-dkms, if they are not already installed.
5. Apply changes and then close Synaptic.
6. Reboot your system and then you should have the broadcom-wl driver working full speed and fully functional.

I hope this helps and please let me know if there are any questions.
Now I'm getting speedtest-cli of: Download = 129.96 Mbit/s , Upload = 20.81 Mbit/s.

inxi -Nxxx

Code: Select all

           Device-2: Broadcom Limited BCM4322 802.11a/b/g/n Wireless LAN 
           vendor: Apple AirPort Extreme driver: wl v: kernel port: 1000 bus ID: 03:00.0 
           chip ID: 14e4:432b 
MX-17.1: Thinkpad x60t, x61t, x200t, x220t.
MX-18 (32-bit) Thinkpads: 600x*, A31p, T43p, T60p;
MX-18 (64-bit): MacBook13(5,1), Thinkpad x61s, T61pW, T601pF, x200, x301*, T500, W500, W700, W700ds, W701, W701ds*, x220, W520.

Post Reply

Return to “General”