Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 216134

Summary: app-laptop/macbook-backlight fails to find video card
Product: Gentoo Linux Reporter: no_return_address
Component: Current packagesAssignee: Cédric Krier <cedk>
Status: VERIFIED TEST-REQUEST    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description no_return_address 2008-04-04 03:53:47 UTC
As it currently exists, and when running on my MacBook, app-laptop/macbook-backlight complains that it cannot find the video card.

I was able to correct the problem by modifying this line in the source code:

#define PCI_ID_PRODUCT_GMA950 0x27A2

...and changing it to this...

#define PCI_ID_PRODUCT_GMA950 0x2A03

...and, to my complete surprise, that was all that was necessary.  I suppose it needs to just look for either value, but changing a simple constant is about the extent of my coding skills.

Reproducible: Always

Steps to Reproduce:
1. Read description.
2. Reproduce steps mentioned there.
3. I don't know...
Comment 1 Cédric Krier gentoo-dev 2008-04-04 17:50:10 UTC
What is the output of:
 lspci
and
 lspci -n
Comment 2 no_return_address 2008-04-05 04:17:05 UTC
root@localhost:~# lspci
00:00.0 Host bridge: Intel Corporation Mobile Memory Controller Hub (rev 03)
00:02.0 VGA compatible controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
00:02.1 Display controller: Intel Corporation Mobile Integrated Graphics Controller (rev 03)
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Contoller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #2 (rev 03)
00:1b.0 Audio device: Intel Corporation 82801H (ICH8 Family) HD Audio Controller (rev 03)
00:1c.0 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 1 (rev 03)
00:1c.4 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 5 (rev 03)
00:1c.5 PCI bridge: Intel Corporation 82801H (ICH8 Family) PCI Express Port 6 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2 EHCI Controller #1 (rev 03)
00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev f3)
00:1f.0 ISA bridge: Intel Corporation Mobile LPC Interface Controller (rev 03)
00:1f.1 IDE interface: Intel Corporation Mobile IDE Controller (rev 03)
00:1f.2 IDE interface: Intel Corporation Mobile SATA IDE Controller (rev 03)
00:1f.3 SMBus: Intel Corporation 82801H (ICH8 Family) SMBus Controller (rev 03)
02:00.0 Network controller: Broadcom Corporation Unknown device 4328 (rev 03)
03:00.0 Ethernet controller: Marvell Technology Group Ltd. Unknown device 436a (rev 13)
04:03.0 FireWire (IEEE 1394): Agere Systems FW323 (rev 61)
root@localhost:~# lspci -n
00:00.0 0600: 8086:2a00 (rev 03)
00:02.0 0300: 8086:2a02 (rev 03)
00:02.1 0380: 8086:2a03 (rev 03)
00:1a.0 0c03: 8086:2834 (rev 03)
00:1a.1 0c03: 8086:2835 (rev 03)
00:1a.7 0c03: 8086:283a (rev 03)
00:1b.0 0403: 8086:284b (rev 03)
00:1c.0 0604: 8086:283f (rev 03)
00:1c.4 0604: 8086:2847 (rev 03)
00:1c.5 0604: 8086:2849 (rev 03)
00:1d.0 0c03: 8086:2830 (rev 03)
00:1d.1 0c03: 8086:2831 (rev 03)
00:1d.2 0c03: 8086:2832 (rev 03)
00:1d.7 0c03: 8086:2836 (rev 03)
00:1e.0 0604: 8086:2448 (rev f3)
00:1f.0 0601: 8086:2815 (rev 03)
00:1f.1 0101: 8086:2850 (rev 03)
00:1f.2 0101: 8086:2828 (rev 03)
00:1f.3 0c05: 8086:283e (rev 03)
02:00.0 0280: 14e4:4328 (rev 03)
03:00.0 0200: 11ab:436a (rev 13)
04:03.0 0c00: 11c1:5811 (rev 61)
Comment 3 Cédric Krier gentoo-dev 2008-04-05 11:43:54 UTC
Must be fix in the release 0.2.
Can you confirm ?
Comment 4 no_return_address 2008-04-06 05:16:29 UTC
Yes, that fixes it.  Thanks!