NetBSD-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Issuing ACPI call methods to disable NVIDIA Optimus card



Okay so I've just booted 6_BETA2 install a moment ago and as you can
see in dmesg both graphic cards are attached to acpi0. So I suppose
both are running?
Unfortunately I don't have hw.acpi.power in sysctl. I also attached
output of sysctl -a | grep acpi.

Regards,
Bartek Krawczyk
Copyright (c) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005,
    2006, 2007, 2008, 2009, 2010, 2011, 2012
    The NetBSD Foundation, Inc.  All rights reserved.
Copyright (c) 1982, 1986, 1989, 1991, 1993
    The Regents of the University of California.  All rights reserved.

NetBSD 6.0_BETA2 (GENERIC)
total memory = 7980 MB
avail memory = 7733 MB
timecounter: Timecounters tick every 10.000 msec
timecounter: Timecounter "i8254" frequency 1193182 Hz quality 100
ASUSTeK Computer Inc. U36JC (1.0       )
mainbus0 (root)
ACPI Warning: 32/64X FACS address mismatch in FADT - 
0xAAD87F40/0x00000000AADA1D40, using 32 (20110623/tbfadt-517)
cpu0 at mainbus0 apid 0: Intel(R) Core(TM) i5 CPU       M 480  @ 2.67GHz, id 
0x20655
cpu1 at mainbus0 apid 4: Intel(R) Core(TM) i5 CPU       M 480  @ 2.67GHz, id 
0x20655
cpu2 at mainbus0 apid 1: Intel(R) Core(TM) i5 CPU       M 480  @ 2.67GHz, id 
0x20655
cpu3 at mainbus0 apid 5: Intel(R) Core(TM) i5 CPU       M 480  @ 2.67GHz, id 
0x20655
ioapic0 at mainbus0 apid 2: pa 0xfec00000, version 20, 24 pins
acpi0 at mainbus0: Intel ACPICA 20110623
acpi0: X/RSDT: OemId <_ASUS_,Notebook,06222004>, AslId <MSFT,00010013>
acpiecdt0 at acpi0: ACPI Embedded Controller via ECDT
acpi0: SCI interrupting at int 9
timecounter: Timecounter "ACPI-Safe" frequency 3579545 Hz quality 900
hpet0 at acpi0: high precision event timer (mem 0xfed00000-0xfed00400)
timecounter: Timecounter "hpet0" frequency 14318180 Hz quality 2000
acpiec0 at acpi0 (EC0, PNP0C09): using acpiecdt0
acpivga0 at acpi0 (GFX0): ACPI Display Adapter
acpiout0 at acpivga0 (CRTD, 0x80000100): ACPI Display Output Device
acpiout1 at acpivga0 (HDMI, 0x80007330): ACPI Display Output Device
acpiout2 at acpivga0 (LCDD, 0x0110): ACPI Display Output Device
acpiout2: brightness levels: 20 25 30 35 40 45 50 55 65 80 100
acpivga0: unknown output device acpiout0
acpivga0: unknown output device acpiout2
acpivga0: connected output devices:
acpivga0:   0x7330 (acpiout1): Ext. Digital Monitor, index 0, port 3, head 0
FWHD (INT0800) at acpi0 not configured
LDRC (PNP0C02) at acpi0 not configured
attimer1 at acpi0 (TIMR, PNP0100): io 0x40-0x43,0x50-0x53 irq 0
ADBG (PNP0C02) at acpi0 not configured
pckbc1 at acpi0 (PS2M, SYN0A16) (aux port): irq 12
pckbc2 at acpi0 (PS2K, PNP0303) (kbd port): io 0x60,0x64 irq 1
acpivga1 at acpi0 (GFX0): ACPI Display Adapter
acpiout3 at acpivga1 (DD01, 0x0100): ACPI Display Output Device
acpiout4 at acpivga1 (LCDD, 0x0400): ACPI Display Output Device
acpiout4: brightness levels: 20 25 30 35 40 45 50 55 65 80 100
acpiout5 at acpivga1 (DD03, 0x0300): ACPI Display Output Device
acpiout6 at acpivga1 (DD04, 0x0301): ACPI Display Output Device
acpiout7 at acpivga1 (DD05, 0x0302): ACPI Display Output Device
acpiout8 at acpivga1 (DD06, 0x0303): ACPI Display Output Device
acpiout9 at acpivga1 (DD07, 0x0304): ACPI Display Output Device
acpiout10 at acpivga1 (DD08, 0x0305): ACPI Display Output Device
acpivga1: unknown output device acpiout3
acpivga1: unknown output device acpiout5
acpivga1: unknown output device acpiout6
acpivga1: unknown output device acpiout7
acpivga1: unknown output device acpiout8
acpivga1: unknown output device acpiout9
acpivga1: unknown output device acpiout10
acpivga1: connected output devices:
acpivga1:   0x0400 (acpiout4): Unknown Output Device, head 0
PDRC (PNP0C02) at acpi0 not configured
acpiacad0 at acpi0 (AC0, ACPI0003): ACPI AC Adapter
acpibat0 at acpi0 (BAT0, PNP0C0A-0): ACPI Battery
acpibat0: ASUSTek LIon rechargeable battery
acpibat0: granularity: low->warn 0.812 Wh, warn->full 0.812 Wh
acpiwmi0 at acpi0 (WMI1, PNP0C14-MXM2): ACPI WMI Interface
acpiwmibus at acpiwmi0 not configured
ATKD (ATK0100) at acpi0 not configured
acpilid0 at acpi0 (LID, PNP0C0D): ACPI Lid Switch
acpibut0 at acpi0 (SLPB, PNP0C0E): ACPI Sleep Button
acpitz0 at acpi0 (THRM): cpu0 cpu1 cpu2 cpu3
acpitz0: levels: critical 108.0 C, passive 98.0 C, passive cooling
pckbd0 at pckbc2 (kbd slot)
pckbc2: using irq 1 for kbd slot
wskbd0 at pckbd0: console keyboard
pms0 at pckbc2 (aux slot)
pms0: Synaptics touchpad version 7.4
pms0: Palm detect
pckbc2: using irq 12 for aux slot
wsmouse0 at pms0 mux 0
pci0 at mainbus0 bus 0: configuration mode 1
pci0: i/o space, memory space enabled, rd/line, rd/mult, wr/inv ok
pchb0 at pci0 dev 0 function 0: vendor 0x8086 product 0x0044 (rev. 0x18)
agp0 at pchb0: detected 32764k stolen memory
agp0: aperture at 0xb0000000, size 0x10000000
ppb0 at pci0 dev 1 function 0: vendor 0x8086 product 0x0045 (rev. 0x18)
ppb0: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci1 at ppb0 bus 1
pci1: i/o space, memory space enabled, rd/line, wr/inv ok
vendor 0x10de product 0x0a70 (VGA display, revision 0xa2) at pci1 dev 0 
function 0 not configured
vga0 at pci0 dev 2 function 0: vendor 0x8086 product 0x0046 (rev. 0x18)
wsdisplay0 at vga0 kbdmux 1: console (80x25, vt100 emulation), using wskbd0
wsmux1: connecting to wsdisplay0
drm at vga0 not configured
vendor 0x8086 product 0x3b64 (miscellaneous communications, revision 0x06) at 
pci0 dev 22 function 0 not configured
ehci0 at pci0 dev 26 function 0: vendor 0x8086 product 0x3b3c (rev. 0x06)
ehci0: interrupting at ioapic0 pin 16
ehci0: BIOS has given up ownership
ehci0: EHCI version 1.0
usb0 at ehci0: USB revision 2.0
hdaudio0 at pci0 dev 27 function 0: HD Audio Controller
hdaudio0: interrupting at ioapic0 pin 22
hdafg0 at hdaudio0: Realtek ALC269
hdafg0: DAC00 2ch: Speaker [Built-In], HP Out [Jack]
hdafg0: DIG01 2ch: SPDIF Out [Built-In]
hdafg0: ADC02 2ch: Mic In [Jack] [Built-In]
hdafg0: 2ch/2ch 44100Hz 48000Hz 96000Hz 192000Hz PCM16 PCM20 PCM24 AC3
audio0 at hdafg0: full duplex, playback, capture, independent
ppb1 at pci0 dev 28 function 0: vendor 0x8086 product 0x3b42 (rev. 0x06)
ppb1: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci2 at ppb1 bus 2
pci2: i/o space, memory space enabled, rd/line, wr/inv ok
ppb2 at pci0 dev 28 function 1: vendor 0x8086 product 0x3b44 (rev. 0x06)
ppb2: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci3 at ppb2 bus 3
pci3: i/o space, memory space enabled, rd/line, wr/inv ok
iwn0 at pci3 dev 0 function 0: vendor 0x8086 product 0x0083 (rev. 0x00)
iwn0: interrupting at ioapic0 pin 17
iwn0: MIMO 1T2R, BGS, address 8c:a9:82:2e:66:06
iwn0: 11b rates: 1Mbps 2Mbps 5.5Mbps 11Mbps
iwn0: 11g rates: 1Mbps 2Mbps 5.5Mbps 11Mbps 6Mbps 9Mbps 12Mbps 18Mbps 24Mbps 
36Mbps 48Mbps 54Mbps
ppb3 at pci0 dev 28 function 2: vendor 0x8086 product 0x3b46 (rev. 0x06)
ppb3: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci4 at ppb3 bus 4
pci4: i/o space, memory space enabled, rd/line, wr/inv ok
ppb4 at pci0 dev 28 function 5: vendor 0x8086 product 0x3b4c (rev. 0x06)
ppb4: PCI Express 2.0 <Root Port of PCI-E Root Complex>
pci5 at ppb4 bus 7
pci5: i/o space, memory space enabled, rd/line, wr/inv ok
re0 at pci5 dev 0 function 0: RealTek 8168/8111 PCIe Gigabit Ethernet (rev. 
0x06)
re0: interrupting at ioapic0 pin 17
re0: Ethernet address bc:ae:c5:64:0c:40
re0: using 256 tx descriptors
rgephy0 at re0 phy 7: RTL8169S/8110S/8211 1000BASE-T media interface, rev. 4
rgephy0: 10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, 1000baseT, 
1000baseT-FDX, auto
ehci1 at pci0 dev 29 function 0: vendor 0x8086 product 0x3b34 (rev. 0x06)
ehci1: interrupting at ioapic0 pin 23
ehci1: BIOS has given up ownership
ehci1: EHCI version 1.0
usb1 at ehci1: USB revision 2.0
ppb5 at pci0 dev 30 function 0: vendor 0x8086 product 0x2448 (rev. 0xa6)
pci6 at ppb5 bus 8
pci6: i/o space, memory space enabled
pcib0 at pci0 dev 31 function 0: vendor 0x8086 product 0x3b09 (rev. 0x06)
ahcisata0 at pci0 dev 31 function 2: vendor 0x8086 product 0x3b29 (rev. 0x06)
ahcisata0: interrupting at ioapic0 pin 19
ahcisata0: 64-bit DMA
ahcisata0: AHCI revision 1.30, 4 ports, 32 slots, CAP 
0xe720ff63<SXS,EMS,PSC,SSC,PMD,ISS=0x2=Gen2,SCLO,SAL,SALP,SSNTF,SNCQ,S64A>
atabus0 at ahcisata0 channel 0
atabus1 at ahcisata0 channel 5
vendor 0x8086 product 0x3b32 (miscellaneous DASP, revision 0x06) at pci0 dev 31 
function 6 not configured
isa0 at pcib0
pcppi0 at isa0 port 0x61
midi0 at pcppi0: PC speaker
sysbeep0 at pcppi0
attimer1: attached to pcppi0
acpicpu0 at cpu0: ACPI CPU
acpicpu0: C1: FFH, lat   3 us, pow  1000 mW
acpicpu0: C2: FFH, lat 205 us, pow   500 mW
acpicpu0: C3: FFH, lat 245 us, pow   350 mW, bus master check
acpicpu0: P0: FFH, lat  10 us, pow 25000 mW, 2667 MHz, turbo boost
acpicpu0: P1: FFH, lat  10 us, pow 25000 mW, 2666 MHz
acpicpu0: P2: FFH, lat  10 us, pow 23465 mW, 2533 MHz
acpicpu0: P3: FFH, lat  10 us, pow 21982 mW, 2399 MHz
acpicpu0: P4: FFH, lat  10 us, pow 20527 mW, 2266 MHz
acpicpu0: P5: FFH, lat  10 us, pow 19080 mW, 2133 MHz
acpicpu0: P6: FFH, lat  10 us, pow 17681 mW, 1999 MHz
acpicpu0: P7: FFH, lat  10 us, pow 16310 mW, 1866 MHz
acpicpu0: P8: FFH, lat  10 us, pow 14966 mW, 1733 MHz
acpicpu0: P9: FFH, lat  10 us, pow 13665 mW, 1599 MHz
acpicpu0: P10: FFH, lat  10 us, pow 12375 mW, 1466 MHz
acpicpu0: P11: FFH, lat  10 us, pow 11112 mW, 1333 MHz
acpicpu0: P12: FFH, lat  10 us, pow  9877 mW, 1199 MHz
acpicpu0: T0: I/O, lat   1 us, pow     0 mW, 100 %
acpicpu0: T1: I/O, lat   1 us, pow     0 mW,  88 %
acpicpu0: T2: I/O, lat   1 us, pow     0 mW,  76 %
acpicpu0: T3: I/O, lat   1 us, pow     0 mW,  64 %
acpicpu0: T4: I/O, lat   1 us, pow     0 mW,  52 %
acpicpu0: T5: I/O, lat   1 us, pow     0 mW,  40 %
acpicpu0: T6: I/O, lat   1 us, pow     0 mW,  28 %
acpicpu0: T7: I/O, lat   1 us, pow     0 mW,  16 %
coretemp0 at cpu0: thermal sensor, 1 C resolution
acpicpu1 at cpu1: ACPI CPU
coretemp1 at cpu1: thermal sensor, 1 C resolution
acpicpu2 at cpu2: ACPI CPU
acpicpu3 at cpu3: ACPI CPU
timecounter: Timecounter "clockinterrupt" frequency 100 Hz quality 0
acpiacad0: AC adapter offline.
uhub0 at usb0: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
uhub1 at usb1: vendor 0x8086 EHCI root hub, class 9/0, rev 2.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
ahcisata0 port 0: device present, speed: 3.0Gb/s
wd0 at atabus0 drive 0
wd0: <WDC WD5000BEVT-80A0RT1>
wd0: drive supports 16-sector PIO transfers, LBA48 addressing
wd0: 465 GB, 969021 cyl, 16 head, 63 sec, 512 bytes/sect x 976773168 sectors
wd0: drive supports PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133)
wd0(ahcisata0:0:0): using PIO mode 4, DMA mode 2, Ultra-DMA mode 6 (Ultra/133) 
(using DMA)
uhub2 at uhub0 port 1: vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, 
addr 2
uhub2: single transaction translator
uhub3 at uhub1 port 1: vendor 0x8087 product 0x0020, class 9/0, rev 2.00/0.00, 
addr 2
uhub3: single transaction translator
uhub2: 6 ports with 6 removable, self powered
uhub3: 8 ports with 8 removable, self powered
umass0 at uhub3 port 2 configuration 1 interface 0
umass0: vendor 0x13fe Patriot Memory, rev 2.00/1.00, addr 3
umass0: using SCSI over Bulk-Only
scsibus0 at umass0: 2 targets, 1 lun per target
sd0 at scsibus0 target 0 lun 0: <, Patriot Memory, PMAP> disk removable
sd0: 15272 MB, 3832 cyl, 255 head, 32 sec, 512 bytes/sect x 31277056 sectors
uvideo0 at uhub2 port 2 configuration 1 interface 0: Chicony Electronics Co., 
Ltd. USB2.0 0.3M UVC WebCam, rev 2.00/20.61, addr 3
video0 at uvideo0: Chicony Electronics Co., Ltd. USB2.0 0.3M UVC WebCam, rev 
2.00/20.61, addr 3
ubt0 at uhub2 port 5
ubt0: Broadcom Corp BT-270, rev 2.00/4.49, addr 4
ugen0 at uhub2 port 6
ugen0: vendor 0x08ff Fingerprint Sensor, rev 2.00/25.01, addr 5
Kernelized RAIDframe activated
pad0: outputs: 44100Hz, 16-bit, stereo
audio1 at pad0: half duplex, playback, capture
boot device: sd0
root on sd0a dumps on sd0b
root file system type: ffs
WARNING: clock gained 7 days
hw.acpi.root = 984080
hw.acpi.sleep.state = 0
hw.acpi.sleep.states = S0 S3 S4 S5 
hw.acpi.sleep.beep = 0
hw.acpi.sleep.vbios = 1
hw.acpi.stat.gpe = 56
hw.acpi.stat.sci = 56
hw.acpi.stat.fixed = 0
hw.acpi.stat.method = 965
hw.acpi.wake.ppb6 = 0
hw.acpi.wake.ehci1 = 0
hw.acpi.wake.ehci0 = 0
hw.acpi.wake.hdaudio0 = 0
hw.acpi.wake.ppb1 = 0
hw.acpi.wake.ppb2 = 0
hw.acpi.wake.iwn0 = 0
hw.acpi.wake.ppb4 = 0
hw.acpi.wake.ppb5 = 0
hw.acpi.wake.re0 = 0
hw.acpi.wake.ppb3 = 0
hw.acpi.wake.acpibut0 = 1
hw.acpi.acpiout2.brightness = 0
hw.acpi.acpivga0.bios_switch = 1
hw.acpi.acpiout4.brightness = 0
hw.acpi.acpivga1.bios_switch = 1
hw.acpi.cpu.dynamic = 1
hw.acpi.cpu.passive = 1
machdep.acpi_vbios_reset = 1
machdep.acpi_beep_on_reset = 0
machdep.idle-mechanism = acpi


Home | Main Index | Thread Index | Old Index