Hamish wrote: > git://github.com/Lekensteyn/acpi-stuff.git 's acpi_dump_info.c > fails to build due to missing DEVICE_ACPI_HANDLE(), which was > removed in linux 3.13; see launchpad bug #1267437.
ok, adding this to the top of acpi_dump_info.c allows it to build. """ #include <linux/version.h> #if LINUX_VERSION_CODE >= KERNEL_VERSION(3, 13, 0) && defined(ACPI_HANDLE) #define DEVICE_ACPI_HANDLE(a) ACPI_HANDLE(a) #endif """ result: trusty$ cat /proc/acpi/dump_info 0000:00:00.0 060000 0000:00:01.0 060400 \_SB_.PCI0.PEG0 0000:00:02.0 030000 \_SB_.PCI0.GFX0 0000:00:14.0 0c0330 \_SB_.PCI0.XHC_ 0000:00:16.0 078000 0000:00:1a.0 0c0320 \_SB_.PCI0.EHC2 0000:00:1b.0 040300 \_SB_.PCI0.HDEF 0000:00:1c.0 060400 \_SB_.PCI0.RP01 0000:00:1c.4 060400 \_SB_.PCI0.RP05 0000:00:1c.5 060401 \_SB_.PCI0.RP06 0000:00:1c.6 060400 \_SB_.PCI0.RP07 0000:00:1c.7 060400 \_SB_.PCI0.RP08 0000:00:1d.0 0c0320 \_SB_.PCI0.EHC1 0000:00:1f.0 060100 \_SB_.PCI0.LPCB 0000:00:1f.2 010601 \_SB_.PCI0.SAT0 0000:00:1f.3 0c0500 \_SB_.PCI0.SBUS 0000:01:00.0 030000 0000:03:00.0 0c0330 \_SB_.PCI0.RP05.PXSX 0000:04:00.0 060401 \_SB_.PCI0.RP06.PXSX 0000:06:00.0 020000 \_SB_.PCI0.RP07.PXSX 0000:07:00.0 010601 \_SB_.PCI0.RP08.PXSX thanks, Hamish -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to bbswitch in Ubuntu. https://bugs.launchpad.net/bugs/1338404 Title: bbswitch: fails to find ACPI handle for discrete card Status in “bbswitch” package in Ubuntu: Confirmed Bug description: Hi, I have a GeForce 9600 GT discrete card providing a third monitor on my 14.04 Trusty system. The first two monitors are connected to the onboard Intel i7-3770 HD graphics. This is a contiunation of launchpad bug #1310023, where Alberto Milone wrote: """ @Hamish: that is a problem with bbswitch: [ 17.706791] bbswitch: cannot find ACPI handle for VGA device 0000:01:00.0 [ 17.706792] bbswitch: No discrete VGA device found Please file a bug report against bbswitch. """ You can find full debug logs in ticket #1310023, but briefly, bbswitch-dkms package version 0.7-2ubuntu1 dmesg: """ [ 17.693825] bbswitch: version 0.7 [ 17.693830] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0 [ 17.693844] bbswitch: cannot find ACPI handle for VGA device 0000:01:00.0 [ 17.693845] bbswitch: No discrete VGA device found [ 17.706786] bbswitch: version 0.7 [ 17.706789] bbswitch: Found integrated VGA device 0000:00:02.0: \_SB_.PCI0.GFX0 [ 17.706791] bbswitch: cannot find ACPI handle for VGA device 0000:01:00.0 [ 17.706792] bbswitch: No discrete VGA device found """ $ lspci | grep VGA 00:02.0 VGA compatible controller: Intel Corporation Xeon E3-1200 v2/3rd Gen Core processor Graphics Controller (rev 09) 01:00.0 VGA compatible controller: NVIDIA Corporation G94 [GeForce 9600 GT] (rev a1) fyi as per the previous ticket I upgraded ubuntu-drivers-common to version 1:0.2.91.6 from trusty-proposed, but as in comment 23 there the same "cannot find ACPI handle" was present in dmesg before upgrading that package. The machine is dual boot with Windows 7, on the Windows side of things the three monitor setup works fine. ? thanks, Hamish To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/bbswitch/+bug/1338404/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : [email protected] Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp

