You are not logged in.

#1 2009-02-22 03:03:01

cvalente
Member
Registered: 2009-02-22
Posts: 5

pommed error on MacBook3,1 (pciutils)

I'm trying to get pommed to run on my macbook but get an error:

sudo  pommed -fd
I: pommed v1.25 ($Rev: 540 $) Apple laptops hotkeys handler
I: Copyright (C) 2006-2009 Julien BLACHE <jb@jblache.org>
pommed configuration:
 + General settings:
    fnmode: 1
 + sysfs backlight control:
    initial level: -1
    step: 1
    on_batt: 6
 + ATI X1600 backlight control:
    initial level: -1
    step: 10
    on_batt: 80
 + Intel GMA950 backlight control:
    initial level: 0xffffffff
    step: 0xf
    on_batt: 0x40
 + nVidia GeForce 8600M GT backlight control:
    initial level: -1
    step: 1
    on_batt: 6
 + Audio volume control:
    card: default
    initial volume: -1
    step: 10%
    beep: yes
    volume element: PCM
    speaker element: Front
    headphones element: Headphone
 + Keyboard backlight control:
    default level: 100
    step: 10
    auto on threshold: 20
    auto off threshold: 40
    auto enable: yes
    idle timer: 60s
 + CD eject:
    enabled: yes
    device: /dev/dvd
 + Beep:
    enabled: no
    beepfile: /usr/share/pommed/goutte.wav
 + Apple Remote IR Receiver:
    enabled: no
DMI vendor name: [Apple Inc.]
DMI product name: [MacBook3,1]
I: DMI machine check: running on a MacBook3,1
System: Linux 2.6.28-ARCH x86_64E: mmap failed: Invalid argument
E: Could not map GMA950/GMA965 memory
E: LCD backlight probe failed, check debug output

Has anyone seen this also?

Apparently the error occurs in an mmap:

memory = mmap(NULL, length, PROT_READ|PROT_WRITE, MAP_SHARED, fd, address);

because address/lenght are probably set to the wrong values

mmap failed: Invalid argument

from what I could gather these are filled using pciutils, namely pci_scan_bus.

My system has just been installed so I don;t know whether this is a specific problem for these versions or whether pciutils recently broke something.

Suggestions welcomed.

PS: I'm brand new to archlinux so if this message is inappropriate in any way, please tell me where and how I should post it.

Offline

#2 2009-02-22 03:40:38

cvalente
Member
Registered: 2009-02-22
Posts: 5

Re: pommed error on MacBook3,1 (pciutils)

Forgot to mention, my system is x86_64 and I had to change PKGBUILD to compile for 64bits.

By the way, macbook-backlight fails for similar reasons.

Last edited by cvalente (2009-02-22 03:41:09)

Offline

#3 2009-02-23 20:53:28

cvalente
Member
Registered: 2009-02-22
Posts: 5

Re: pommed error on MacBook3,1 (pciutils)

Gentoo has a bug related to this.

http://bugs.gentoo.org/show_bug.cgi?id=256991

Offline

#4 2009-04-22 10:32:55

cvalente
Member
Registered: 2009-02-22
Posts: 5

Re: pommed error on MacBook3,1 (pciutils)

Updating pciutils fixed this.

Brightness and volume key controls now work.

Offline

Board footer

Powered by FluxBB