You are not logged in.
Hi! I have ThinkPad T540P
After most recent update it seems that NVidia is always enabled no matter what I send to /proc/acpi/bbswitch:
tee /proc/acpi/bbswitch <<<OFF
OFF
cat /proc/acpi/bbswitch
0000:01:00.0 ONand in dmesg:
[ 1147.673908] bbswitch: disabling discrete graphics
[ 1147.673924] ACPI Warning: \_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20150619/nsarguments-95)
[ 1147.674527] ------------[ cut here ]------------
[ 1147.674536] WARNING: CPU: 5 PID: 7514 at drivers/pci/pci.c:1550 pci_disable_device+0xb0/0xd0()
[ 1147.674538] pci 0000:01:00.0: disabling already-disabled device
[ 1147.674540] Modules linked in:
[ 1147.674542] fuse ctr ccm joydev mousedev arc4 snd_hda_codec_hdmi snd_hda_codec_realtek snd_hda_codec_generic iTCO_wdt iTCO_vendor_support uvcvideo videobuf2_vmalloc intel_rapl iosf_mbi x86_pkg_temp_thermal intel_powerclamp coretemp iwlmvm videobuf2_memops videobuf2_core v4l2_common kvm_intel mac80211 snd_hda_intel videodev media snd_hda_codec snd_hda_core iwlwifi snd_hwdep e1000e snd_pcm rtsx_pci_ms input_leds mei_me kvm psmouse pcspkr mei serio_raw i2c_i801 memstick snd_timer lpc_ich cfg80211 ptp thinkpad_acpi pps_core nvram snd soundcore wmi led_class ie31200_edac thermal shpchp rfkill edac_core tpm_tis evdev tpm ac battery mac_hid processor sch_fq_codel nfs lockd grace sunrpc fscache ip_tables x_tables ext4 crc16 mbcache jbd2 jitterentropy_rng sha256_ssse3 sha256_generic hmac drbg ansi_cprng
[ 1147.674609] algif_skcipher af_alg mmc_block dm_crypt dm_mod sr_mod cdrom sd_mod rtsx_pci_sdmmc mmc_core atkbd libps2 crct10dif_pclmul crc32_pclmul crc32c_intel ghash_clmulni_intel aesni_intel aes_x86_64 ahci lrw gf128mul glue_helper libahci ablk_helper cryptd libata xhci_pci ehci_pci xhci_hcd ehci_hcd scsi_mod rtsx_pci usbcore usb_common i8042 serio bbswitch(O) i915 video button intel_gtt i2c_algo_bit drm_kms_helper drm
[ 1147.674645] CPU: 5 PID: 7514 Comm: tee Tainted: G O 4.2.2-1-ARCH #1
[ 1147.674647] Hardware name: LENOVO 20BECTO1WW/20BECTO1WW, BIOS GMET70WW (2.18 ) 03/05/2015
[ 1147.674649] 0000000000000000 0000000018f87d9b ffff88033f447cc8 ffffffff8156b9da
[ 1147.674653] 0000000000000000 ffff88033f447d20 ffff88033f447d08 ffffffff81074886
[ 1147.674657] ffff88033f447ce8 ffff88042bb6c000 ffff88042baefd90 00007ffe4be24080
[ 1147.674660] Call Trace:
[ 1147.674668] [<ffffffff8156b9da>] dump_stack+0x4c/0x6e
[ 1147.674673] [<ffffffff81074886>] warn_slowpath_common+0x86/0xc0
[ 1147.674676] [<ffffffff81074915>] warn_slowpath_fmt+0x55/0x70
[ 1147.674683] [<ffffffff812f520b>] ? __pci_set_master+0x3b/0xf0
[ 1147.674685] [<ffffffff812f7d20>] pci_disable_device+0xb0/0xd0
[ 1147.674690] [<ffffffffa00474ad>] bbswitch_off+0xad/0x240 [bbswitch]
[ 1147.674694] [<ffffffffa004787b>] bbswitch_proc_write+0x9b/0xb2 [bbswitch]
[ 1147.674700] [<ffffffff812367a2>] proc_reg_write+0x42/0x70
[ 1147.674706] [<ffffffff811d01f7>] __vfs_write+0x37/0x100
[ 1147.674709] [<ffffffff811d3008>] ? __sb_start_write+0x58/0x100
[ 1147.674712] [<ffffffff811d0b04>] vfs_write+0xa4/0x1a0
[ 1147.674716] [<ffffffff811d0a44>] ? vfs_read+0x114/0x130
[ 1147.674719] [<ffffffff811d1815>] SyS_write+0x55/0xc0
[ 1147.674725] [<ffffffff81570f6e>] entry_SYSCALL_64_fastpath+0x12/0x71
[ 1147.674727] ---[ end trace 3542fc792c79d463 ]---Seems to be a bug? Or there's some workaround?
Offline