You are not logged in.

#201 2010-03-29 14:19:22

FALK
Member
From: Denmark
Registered: 2008-03-24
Posts: 95

Re: MacBook Aluminum

Offline

#202 2010-03-29 19:03:54

industrie13
Member
From: Leipzig, Germany
Registered: 2009-08-22
Posts: 15

Re: MacBook Aluminum

Back to the EFI-boot topic.

I tried to follow http://grub.enbug.org/TestingOnMacbook but there are some issues I couldn't get solved at this time, so compiling grub2 at OS X failed for me so far.

Here is what I did:

- download and unpack grub-1.98 from ftp://alpha.gnu.org/gnu/grub/

- from http://www.agner.org/optimize/ I downloaded and unpacked Object file converter (objconv.zip)
-- within this folder unpack source.zip and "bash ./build.sh"
--- copy the the newly created "objconv" into the grub-1.98 folder

- in 'grub-1.98':
-- "./configure --with-platform=efi --target=x86_64 --enable-grub-fstest=no --enable-grub-mkfont=no --disable-nls --enable-efiemu=no"
-- in 'include/grub/i18n' change #if ENABLE_NLS to #ifdef ENABLE_NLS

when I run 'make' I end up with something like this:

lib/i386/relocator_asm.S:128:32-bit absolute addressing is not supported for x86-64
lib/i386/relocator_asm.S:128:cannot do signed 4 byte relocation
make: *** [relocator_mod-lib_i386_relocator_asm.o] Error 1

when I try the same with target=i386:

strip: unrecognized option: --strip-unneeded
Usage: strip [-AnuSXx] [-] [-d filename] [-s filename] [-R filename] [-o output] file [...] 
make: *** [kernel.img] Error 1
make: *** Deleting file `kernel.img'

Any thoughts on this?
Do you think one could crosscompile, e.g. compile grub2  on Arch and then copy the files over?

Offline

#203 2010-03-30 01:45:13

lifeafter2am
Member
From: 127.0.0.1
Registered: 2009-06-10
Posts: 1,332

Re: MacBook Aluminum

frigaut wrote:

idle/low activity (cpu<10%), average temp ~ 50 degrees, max (within the 20 sensors) ~ 58 degrees, fans @ 1600rpms

high cpu load (max), max temp (within the 20 sensors) ~ 85degrees, fans @ 4 to 5000rpm

Edit: note that I have a home brewed fan control.

You mind sharing that homebrew control?  wink


#binarii @ irc.binarii.net
Matrix Server: https://matrix.binarii.net
-------------
Allan -> ArchBang is not supported because it is stupid.

Offline

#204 2010-03-30 04:08:21

frigaut
Member
From: Canberra, Australia
Registered: 2009-05-10
Posts: 215
Website

Re: MacBook Aluminum

No, I don't, but it has to be pretty clear that you take full responsibility of whatever happens on your machine. I mean, this touches a potentially critical area for the health of your machine, so be extra careful. Don't come back to me to complain this has fried your chips. I have been using this for over 5 months now and it works great (good regulation, does not die on me, survives suspends).

With that understanding, the source can be found:
http://www.maumae.net/src/smcfanctrl-0.5.tgz

this thing installs 3 files:
/etc/rc.d/smcfanctrld  <-- start/stop daemon the normal way (possibly add in rc.conf if happy with it)
/usr/lib/python2.6/sfcdaemon.py  <-- daemon python mechanism
/usr/lib/python2.6/smcfanctrl.py   <-- the fan control python script.

Look at the code, and sudo make install to install.

/etc/rc.d/smcfanctrl start/stop to control

If you need to play with it, the parameters are in smcfanctrl.py (description therein) to adjust
thresholds, min and max fan speed, etc...

In particular, check your hardware for max chip temp, etc, if you don't have a macbook (pro).
I am on a MBP 17, and the settings are ok for me.

The only issue I have seen is that resume from hibernate (no issue with suspend) forces back
/sys/devices/platform/applesmc.768/fan1_manual to 0 (i.e. auto control), which disable this script.
The solution is to stop/start smcfanctrl before/after an ihibernate (I don't use hibernate personally, so not much testing went in there)
Otherwise I have had no particular issue with this.

Edited to update to v0.5. Also, I initially provided a PKGBUILD that didn't work. Just compile from source for now.

Last edited by frigaut (2010-03-31 10:59:36)


Archer since 03/2009 - AUR packages

Offline

#205 2010-04-04 18:54:43

frigaut
Member
From: Canberra, Australia
Registered: 2009-05-10
Posts: 215
Website

Re: MacBook Aluminum

frigaut wrote:

On the positive side, I just noticed that spdif is listed in alsamixer, so there is some hope as far as digital audio output... Will keep you guys updated.

I just got hold of an audio mini-optical-jack to regular audio optical cable adapter (only 60 cents, but difficult to find other than online), and yes, not only optical audio output is working but it can output 5.1.
What 5.1 optical output and vdpau for video, I'm all set for great quality movie playback :-)

Note: use mplayer -ao alsa:device=spdif -channels 6 in mplayer to enable this with mplayer playback.


Archer since 03/2009 - AUR packages

Offline

#206 2010-04-14 14:01:31

FALK
Member
From: Denmark
Registered: 2008-03-24
Posts: 95

Re: MacBook Aluminum

The following script enables swipe and pinch gestures in browsers: http://www.ibm.com/developerworks/opens … -touchpad/

Offline

#207 2010-05-04 05:21:33

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: MacBook Aluminum

Anybody got the microphone working Cirrus Logic CS4206 chip yet?   It has eluded me over the last couple of days...

For thos who want multitouch drag and drop (click with thumb, drag with finger) on the touch pad, try this package: http://allanmcrae.com/packages/bcm5974- … src.tar.gz .

Offline

#208 2010-08-26 10:40:50

FALK
Member
From: Denmark
Registered: 2008-03-24
Posts: 95

Re: MacBook Aluminum

Anyone knows how to force ahci mode on newer macbooks?

Offline

#209 2010-08-26 12:06:09

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: MacBook Aluminum

FALK wrote:

Anyone knows how to force ahci mode on newer macbooks?

Afaik you shouldn't need to force it,

$ lsmod | grep ahci
$ dmesg | grep ahci

Doesn't produce anything?


ᶘ ᵒᴥᵒᶅ

Offline

#210 2010-08-26 12:16:33

FALK
Member
From: Denmark
Registered: 2008-03-24
Posts: 95

Re: MacBook Aluminum

litemotiv wrote:
FALK wrote:

Anyone knows how to force ahci mode on newer macbooks?

Afaik you shouldn't need to force it,

$ lsmod | grep ahci
$ dmesg | grep ahci

Doesn't produce anything?

ahci gets loaded, but I'm a bit worried by this:

ahci 0000:00:0b.0: AHCI 0001.0200 32 slots 6 ports 3 Gbps 0x3 impl IDE mode

Should it not be "impl SATA mode"?

Offline

#211 2010-08-26 15:19:06

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: MacBook Aluminum

FALK wrote:

ahci gets loaded, but I'm a bit worried by this:

ahci 0000:00:0b.0: AHCI 0001.0200 32 slots 6 ports 3 Gbps 0x3 impl IDE mode

Should it not be "impl SATA mode"?

No that's not necessary, the 3 Gbps shows that you're fine. You can do some disk-tests to confirm it if you want.

(again, afaik)


ᶘ ᵒᴥᵒᶅ

Offline

#212 2010-08-29 23:26:49

nubity
Member
Registered: 2009-11-29
Posts: 46

Re: MacBook Aluminum

Mod edit: merged with Macbook Aluminum thread
---

Hi,

I just installed Arch on my spanking new MBP, however, there are some issues that I have:

1) Touchpad is not working. Ive installed xf86-input-synaptics, and it doesn't work still. I've also tried manipulating the HAL's xml for it, still no go.

2) Brightness control. I can't change the brightness via the function keys. I've installed nvidia-bl but to no avail.

Anyone can help me with these issues?

Thank you!

Last edited by litemotiv (2010-08-30 09:59:24)

Offline

#213 2010-08-30 05:40:14

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: MacBook Aluminum

1) will be found if you do a forum search.

Offline

#214 2010-08-30 08:58:20

ArchArael
Member
Registered: 2005-06-14
Posts: 504

Re: MacBook Aluminum

2) you probably need pommed: http://aur.archlinux.org/packages.php?ID=14833

Offline

#215 2010-08-30 12:08:52

nubity
Member
Registered: 2009-11-29
Posts: 46

Re: MacBook Aluminum

Nope, its not pommed, I had to compiled mbp-nvidia-bl from Mactel PPA using dpms for it to work. Also, I've done everything with the touchpad, still no go. I manually compiled the bcm5974 driver module, loaded it, put it in modules in rc.conf, still no go. I also have the synaptics driver installed, tweaked xorg, tweaked HAL. everything. nothing works!:( also, is there an insert button on the keyboard?

Offline

#216 2010-08-30 12:57:40

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: MacBook Aluminum

Did you do a forum search....

Here is the bug report with a fix: http://bugs.archlinux.org/task/20564

Edit: which is implemented in kernel-2.6.35.4-1 so it should work with a kernel update.   May require you to rebuild your custom drivers...

Offline

#217 2010-08-31 21:50:50

nubity
Member
Registered: 2009-11-29
Posts: 46

Re: MacBook Aluminum

mm. i have this situation when after my keyboard led fades out, the led starts blinking erratically. any idea how i can get that away? its really annoying.

Offline

#218 2010-09-07 13:27:07

litemotiv
Forum Fellow
Registered: 2008-08-01
Posts: 5,026

Re: MacBook Aluminum

nubity wrote:

mm. i have this situation when after my keyboard led fades out, the led starts blinking erratically. any idea how i can get that away? its really annoying.

I think this is a bug in pommed, same problem here.


ᶘ ᵒᴥᵒᶅ

Offline

#219 2010-09-28 14:18:11

prol
Member
Registered: 2008-03-27
Posts: 75

Re: MacBook Aluminum

Does anyone know how to turn off the card reader, i think its taking alot of power, atleast according to powertop

Offline

Board footer

Powered by FluxBB