{"action":"closed","issue":{"url":"https://api.github.com/repos/Bumblebee-Project/bbswitch/issues/96","labels_url":"https://api.github.com/repos/Bumblebee-Project/bbswitch/issues/96/labels{/name}","comments_url":"https://api.github.com/repos/Bumblebee-Project/bbswitch/issues/96/comments","events_url":"https://api.github.com/repos/Bumblebee-Project/bbswitch/issues/96/events","html_url":"https://github.com/Bumblebee-Project/bbswitch/issues/96","id":43312648,"number":96,"title":"Unable to switch off NVIDA card via bbswitch on Thinkpad T540p","user":{"login":"oliverwelter","id":3210823,"avatar_url":"https://avatars.githubusercontent.com/u/3210823?v=3","gravatar_id":"","url":"https://api.github.com/users/oliverwelter","html_url":"https://github.com/oliverwelter","followers_url":"https://api.github.com/users/oliverwelter/followers","following_url":"https://api.github.com/users/oliverwelter/following{/other_user}","gists_url":"https://api.github.com/users/oliverwelter/gists{/gist_id}","starred_url":"https://api.github.com/users/oliverwelter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oliverwelter/subscriptions","organizations_url":"https://api.github.com/users/oliverwelter/orgs","repos_url":"https://api.github.com/users/oliverwelter/repos","events_url":"https://api.github.com/users/oliverwelter/events{/privacy}","received_events_url":"https://api.github.com/users/oliverwelter/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Bumblebee-Project/bbswitch/labels/Todo","name":"Todo","color":"02e10c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":53,"created_at":"2014-09-20T15:33:39Z","updated_at":"2015-12-27T15:03:07Z","closed_at":"2015-12-27T15:03:07Z","body":"Hello,\r\nI'm trying to use bbswitch-0.8 for turning off the GeForce GT 730M on a Lenovo Thinkpad T540p.\r\nThe state shown in /proc/acpi/bbswitch stays on 'ON' independent of load_state and manual setting.\r\nThe power consumption supports the suspicion that the card is still running.\r\n\r\n```\r\ncat /etc/modprobe.d/bbswitch.conf:\r\noptions bbswitch load_state=0 unload_state=1\r\n\r\nI also tried to switch off manually: \r\ncat /proc/acpi/bbswitch:\r\n0000:01:00.0 ON\r\n\r\ntee /proc/acpi/bbswitch <<<OFF:\r\nOFF\r\n\r\ncat /proc/acpi/bbswitch:\r\n0000:01:00.0 ON\r\n\r\ndmesg | grep -C 10 bbswitch:\r\n  80.096972] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready\r\n[   80.102515] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S\r\n[   80.102856] iwlwifi 0000:04:00.0: L1 Enabled; Disabling L0S\r\n[   80.114086] IPv6: ADDRCONF(NETDEV_UP): wlp4s0: link is not ready\r\n[   80.220897] e1000e: enp0s25 NIC Link is Down\r\n[   80.318107] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X\r\n[   80.418589] e1000e 0000:00:19.0: irq 42 for MSI/MSI-X\r\n[   80.418666] IPv6: ADDRCONF(NETDEV_UP): enp0s25: link is not ready\r\n[   83.141353] e1000e: enp0s25 NIC Link is Up 1000 Mbps Full Duplex, Flow Control: Rx/Tx\r\n[   83.141382] IPv6: ADDRCONF(NETDEV_CHANGE): enp0s25: link becomes ready\r\n[ 1696.021986] bbswitch: version 0.8\r\n[ 1696.021990] bbswitch: Found integrated VGA device 0000:00:02.0: \\_SB_.PCI0.VID_\r\n[ 1696.021995] bbswitch: Found discrete VGA device 0000:01:00.0: \\_SB_.PCI0.PEG_.VID_\r\n[ 1696.022003] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)\r\n[ 1696.022308] bbswitch: detected an Optimus _DSM function\r\n[ 1696.022318] pci 0000:01:00.0: enabling device (0000 -> 0003)\r\n[ 1696.022345] bbswitch: disabling discrete graphics\r\n[ 1696.022348] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)\r\n[ 1696.033095] bbswitch: Succesfully loaded. Discrete card 0000:01:00.0 is on\r\n[ 1718.636370] bbswitch: disabling discrete graphics\r\n[ 1718.636381] ACPI Warning: \\_SB_.PCI0.PEG_.VID_._DSM: Argument #4 type mismatch - Found [Buffer], ACPI requires [Package] (20140424/nsarguments-95)\r\n[ 1718.636910] ------------[ cut here ]------------\r\n[ 1718.636917] WARNING: CPU: 1 PID: 6333 at drivers/pci/pci.c:1535 pci_disable_device+0x9c/0xb0()\r\n[ 1718.636920] pci 0000:01:00.0: disabling already-disabled device\r\n[ 1718.636921] Modules linked in:\r\n[ 1718.636922]  bbswitch(O) ctr ccm acpi_call(O) dm_crypt wacom snd_usb_audio snd_usbmidi_lib snd_rawmidi snd_seq_device uvcvideo videobuf2_vmalloc videobuf2_memops videobuf2_core hid_logitech_dj snd_hda_codec_hdmi arc4 snd_hda_codec_generic x86_pkg_temp_thermal dm_mod kvm_intel kvm iwlmvm mac80211 crc32c_intel aesni_intel aes_x86_64 i915 joydev iwlwifi fbcon bitblit cfbfillrect softcursor font cfg80211 cfbimgblt i2c_algo_bit cfbcopyarea wmi drm_kms_helper drm fb thinkpad_acpi fbdev snd_hda_intel intel_gtt snd_hda_controller e1000e rfkill agpgart snd_hda_codec ehci_pci ptp ehci_hcd video pps_core snd_hwdep vboxnetadp(O) vboxnetflt(O) vboxdrv(O)\r\n[ 1718.636958] CPU: 1 PID: 6333 Comm: tee Tainted: G           O  3.16.3-gentoo #2\r\n[ 1718.636960] Hardware name: LENOVO 20BFS05L00/20BFS05L00, BIOS GMET66WW (2.14 ) 07/01/2014\r\n[ 1718.636961]  0000000000000009 ffff880370f3bdd8 ffffffff8156f45b ffff880370f3be20\r\n[ 1718.636963]  ffff880370f3be10 ffffffff81060a28 ffff8804283ba000 ffff88042836ca30\r\n[ 1718.636965]  0000000000000004 ffff880370f3bf50 0000000000000008 ffff880370f3be70\r\n[ 1718.636967] Call Trace:\r\n[ 1718.636973]  [<ffffffff8156f45b>] dump_stack+0x4e/0x7a\r\n[ 1718.636976]  [<ffffffff81060a28>] warn_slowpath_common+0x78/0xa0\r\n[ 1718.636978]  [<ffffffff81060a97>] warn_slowpath_fmt+0x47/0x50\r\n[ 1718.636980]  [<ffffffff812ca6ac>] pci_disable_device+0x9c/0xb0\r\n\r\nuname -a:\r\nLinux barret 3.16.3-gentoo #2 SMP PREEMPT Sat Sep 20 12:56:47 CEST 2014 x86_64 Intel(R) Core(TM) i7-4700MQ CPU @ 2.40GHz GenuineIntel GNU/Linux\r\n```\r\n\r\nLinux: Gentoo\r\nXOrg: 1.16.0.901\r\nNVIDIA-Driver: official 343.13-r1\r\nbbswitch-0.8\r\n\r\nAt the moment it is not possible to add comments on https://bugs.launchpad.net/bugs/752542 because of timeouts. I'm going to upload and link to the comment as soon as launchpad works again.\r\n\r\nKind Regards,\r\nOliver"}}