{"action":"created","issue":{"url":"https://api.github.com/repos/linrunner/TLP/issues/198","repository_url":"https://api.github.com/repos/linrunner/TLP","labels_url":"https://api.github.com/repos/linrunner/TLP/issues/198/labels{/name}","comments_url":"https://api.github.com/repos/linrunner/TLP/issues/198/comments","events_url":"https://api.github.com/repos/linrunner/TLP/issues/198/events","html_url":"https://github.com/linrunner/TLP/issues/198","id":153421637,"number":198,"title":"Disabling WiFi on LAN connect does not work","user":{"login":"zunder","id":6862750,"avatar_url":"https://avatars.githubusercontent.com/u/6862750?v=3","gravatar_id":"","url":"https://api.github.com/users/zunder","html_url":"https://github.com/zunder","followers_url":"https://api.github.com/users/zunder/followers","following_url":"https://api.github.com/users/zunder/following{/other_user}","gists_url":"https://api.github.com/users/zunder/gists{/gist_id}","starred_url":"https://api.github.com/users/zunder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zunder/subscriptions","organizations_url":"https://api.github.com/users/zunder/orgs","repos_url":"https://api.github.com/users/zunder/repos","events_url":"https://api.github.com/users/zunder/events{/privacy}","received_events_url":"https://api.github.com/users/zunder/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/linrunner/TLP/labels/documentation%20change","name":"documentation change","color":"0052cc"},{"url":"https://api.github.com/repos/linrunner/TLP/labels/feature%20request","name":"feature request","color":"006b75"},{"url":"https://api.github.com/repos/linrunner/TLP/labels/handling%20problem","name":"handling problem","color":"0052cc"}],"state":"open","locked":false,"assignee":{"login":"linrunner","id":794121,"avatar_url":"https://avatars.githubusercontent.com/u/794121?v=3","gravatar_id":"","url":"https://api.github.com/users/linrunner","html_url":"https://github.com/linrunner","followers_url":"https://api.github.com/users/linrunner/followers","following_url":"https://api.github.com/users/linrunner/following{/other_user}","gists_url":"https://api.github.com/users/linrunner/gists{/gist_id}","starred_url":"https://api.github.com/users/linrunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linrunner/subscriptions","organizations_url":"https://api.github.com/users/linrunner/orgs","repos_url":"https://api.github.com/users/linrunner/repos","events_url":"https://api.github.com/users/linrunner/events{/privacy}","received_events_url":"https://api.github.com/users/linrunner/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/linrunner/TLP/milestones/7","html_url":"https://github.com/linrunner/TLP/milestones/0.9%20Release","labels_url":"https://api.github.com/repos/linrunner/TLP/milestones/7/labels","id":1271709,"number":7,"title":"0.9 Release","description":"","creator":{"login":"linrunner","id":794121,"avatar_url":"https://avatars.githubusercontent.com/u/794121?v=3","gravatar_id":"","url":"https://api.github.com/users/linrunner","html_url":"https://github.com/linrunner","followers_url":"https://api.github.com/users/linrunner/followers","following_url":"https://api.github.com/users/linrunner/following{/other_user}","gists_url":"https://api.github.com/users/linrunner/gists{/gist_id}","starred_url":"https://api.github.com/users/linrunner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/linrunner/subscriptions","organizations_url":"https://api.github.com/users/linrunner/orgs","repos_url":"https://api.github.com/users/linrunner/repos","events_url":"https://api.github.com/users/linrunner/events{/privacy}","received_events_url":"https://api.github.com/users/linrunner/received_events","type":"User","site_admin":false},"open_issues":6,"closed_issues":1,"state":"open","created_at":"2015-08-25T14:58:14Z","updated_at":"2016-05-07T15:09:30Z","due_on":null,"closed_at":null},"comments":16,"created_at":"2016-05-06T10:16:27Z","updated_at":"2016-05-09T16:01:03Z","closed_at":null,"body":"Looks like TLP does not disable the wifi device on lan connect, though it is set up through config:\r\n```\r\nDEVICES_TO_DISABLE_ON_LAN_CONNECT=\"wifi wwan\"\r\nDEVICES_TO_DISABLE_ON_DOCK=\"wifi\"\r\n```\r\nIs that a current known issue? I am using Ubuntu Server 16.04 and `tlp-stat` yields following:\r\n```\r\n--- TLP 0.8 --------------------------------------------\r\n\r\n+++ Configured Settings: /etc/default/tlp\r\nTLP_ENABLE=1\r\nTLP_DEFAULT_MODE=AC\r\nDISK_IDLE_SECS_ON_AC=0\r\nDISK_IDLE_SECS_ON_BAT=2\r\nMAX_LOST_WORK_SECS_ON_AC=15\r\nMAX_LOST_WORK_SECS_ON_BAT=60\r\nSCHED_POWERSAVE_ON_AC=0\r\nSCHED_POWERSAVE_ON_BAT=1\r\nNMI_WATCHDOG=0\r\nENERGY_PERF_POLICY_ON_AC=performance\r\nENERGY_PERF_POLICY_ON_BAT=powersave\r\nDISK_DEVICES=\"sda sdb\"\r\nDISK_APM_LEVEL_ON_AC=\"254 254\"\r\nDISK_APM_LEVEL_ON_BAT=\"128 128\"\r\nSATA_LINKPWR_ON_AC=max_performance\r\nSATA_LINKPWR_ON_BAT=min_power\r\nPCIE_ASPM_ON_AC=performance\r\nPCIE_ASPM_ON_BAT=powersave\r\nRADEON_POWER_PROFILE_ON_AC=high\r\nRADEON_POWER_PROFILE_ON_BAT=low\r\nRADEON_DPM_STATE_ON_AC=performance\r\nRADEON_DPM_STATE_ON_BAT=battery\r\nRADEON_DPM_PERF_LEVEL_ON_AC=auto\r\nRADEON_DPM_PERF_LEVEL_ON_BAT=auto\r\nWIFI_PWR_ON_AC=1\r\nWIFI_PWR_ON_BAT=5\r\nWOL_DISABLE=Y\r\nSOUND_POWER_SAVE_ON_AC=0\r\nSOUND_POWER_SAVE_ON_BAT=1\r\nSOUND_POWER_SAVE_CONTROLLER=Y\r\nBAY_POWEROFF_ON_BAT=0\r\nBAY_DEVICE=\"sr0\"\r\nRUNTIME_PM_ON_AC=on\r\nRUNTIME_PM_ON_BAT=auto\r\nRUNTIME_PM_ALL=1\r\nRUNTIME_PM_DRIVER_BLACKLIST=\"radeon nouveau\"\r\nUSB_AUTOSUSPEND=1\r\nUSB_BLACKLIST_WWAN=1\r\nRESTORE_DEVICE_STATE_ON_STARTUP=0\r\nDEVICES_TO_DISABLE_ON_LAN_CONNECT=\"wifi wwan\"\r\nDEVICES_TO_ENABLE_ON_LAN_DISCONNECT=\"wifi wwan\"\r\nDEVICES_TO_DISABLE_ON_DOCK=\"wifi\"\r\nDEVICES_TO_ENABLE_ON_UNDOCK=\"wifi\"\r\n\r\n+++ System Info\r\nSystem         = LENOVO ThinkPad S1 Yoga 20C0S0AX00\r\nBIOS           = GQET48WW (1.28 )\r\nRelease        = Ubuntu 16.04 LTS\r\nKernel         = 4.4.0-21-generic #37-Ubuntu SMP Mon Apr 18 18:33:37 UTC 2016 x86_64\r\n/proc/cmdline  = BOOT_IMAGE=/boot/vmlinuz-4.4.0-21-generic.efi.signed root=UUID=31ee377b-fec2-45cc-9b62-dff82d801882 ro\r\nInit system    = systemd\r\n\r\n+++ System Status\r\nTLP power save = enabled\r\npower source   = AC\r\n\r\n+++ Processor\r\nCPU Model      = Intel(R) Core(TM) i7-4600U CPU @ 2.10GHz\r\n\r\n/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver    = intel_pstate\r\n/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor  = powersave\r\n/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq  =   800000 [kHz]\r\n/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq  =  3300000 [kHz]\r\n\r\n/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver    = intel_pstate\r\n/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor  = powersave\r\n/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq  =   800000 [kHz]\r\n/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq  =  3300000 [kHz]\r\n\r\n/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver    = intel_pstate\r\n/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor  = powersave\r\n/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq  =   800000 [kHz]\r\n/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq  =  3300000 [kHz]\r\n\r\n/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver    = intel_pstate\r\n/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor  = powersave\r\n/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq  =   800000 [kHz]\r\n/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq  =  3300000 [kHz]\r\n\r\n/sys/devices/system/cpu/intel_pstate/min_perf_pct      = 24\r\n/sys/devices/system/cpu/intel_pstate/max_perf_pct      = 100\r\n/sys/devices/system/cpu/intel_pstate/no_turbo          = 0\r\n\r\nx86_energy_perf_policy.cpu0                            = performance\r\nx86_energy_perf_policy.cpu1                            = performance\r\nx86_energy_perf_policy.cpu2                            = performance\r\nx86_energy_perf_policy.cpu3                            = performance\r\n\r\n/proc/sys/kernel/nmi_watchdog                          = 0\r\n\r\n+++ Undervolting\r\nPHC kernel not available.\r\n\r\n+++ Temperatures\r\nCPU temp               =    50 [°C]\r\n/proc/acpi/ibm/fan     =     0 [/min]\r\n\r\n+++ File System\r\n/proc/sys/vm/laptop_mode               =     0\r\n/proc/sys/vm/dirty_writeback_centisecs =  1500\r\n/proc/sys/vm/dirty_expire_centisecs    =  1500\r\n/proc/sys/vm/dirty_ratio               =    20\r\n/proc/sys/vm/dirty_background_ratio    =    10\r\n/proc/sys/fs/xfs/age_buffer_centisecs  = (not available)\r\n/proc/sys/fs/xfs/xfssyncd_centisecs    = (not available)\r\n/proc/sys/fs/xfs/xfsbufd_centisecs     = (not available)\r\n\r\n+++ Storage Devices\r\n/dev/sda:\r\n          Model     = SAMSUNG MZ7TD256HAFV-000L9              \r\n          Firmware  = DXT04L6Q\r\n          APM Level = none/disabled\r\n          Status    = active/idle\r\n          TRIM      = supported\r\n          Scheduler = deadline\r\n\r\n        SMART info:\r\n            9 Power_On_Hours            =     5454 [h]\r\n          177 Wear_Leveling_Count       =       84 [%]\r\n          178 Used_Rsvd_Blk_Cnt_Chip    =        0 \r\n          179 Used_Rsvd_Blk_Cnt_Tot     =        0 \r\n          190 Airflow_Temperature_Cel   =       26 [°C]\r\n          233 Media_Wearout_Indicator   =      199 [%]\r\n\r\n/dev/sdb:\r\n          Model     = ADATA SP900NS34                         \r\n          Firmware  = 5.6.0   \r\n          APM Level = 254\r\n          Status    = active/idle\r\n          TRIM      = supported\r\n          Scheduler = deadline\r\n\r\n        SMART info:\r\n            5 Reallocated_Sector_Ct     =        0 \r\n            9 Power_On_Hours            =      471 [h]\r\n          177 Wear_Leveling_Count       =        0 [%]\r\n          194 Temperature_Celsius       =       38 (Min/Max 15/60)  [°C]\r\n          231 Temperature_Celsius       = 4294967296    [°C]\r\n          233 Media_Wearout_Indicator   =        0 [%]\r\n          241 Total_LBAs_Written        =    0.000 [TB]\r\n\r\n\r\n+++ SATA Aggressive Link Power Management\r\n/sys/class/scsi_host/host0/link_power_management_policy  = max_performance\r\n/sys/class/scsi_host/host1/link_power_management_policy  = max_performance\r\n/sys/class/scsi_host/host2/link_power_management_policy  = max_performance\r\n/sys/class/scsi_host/host3/link_power_management_policy  = max_performance\r\n\r\n+++ PCIe Active State Power Management\r\n/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)\r\n\r\n+++ Intel Graphics\r\n/sys/module/i915/parameters/powersave        = (not available)\r\n/sys/module/i915/parameters/enable_rc6       =  1 (enabled)\r\n/sys/module/i915/parameters/enable_fbc       = -1 (use per-chip default)\r\n/sys/module/i915/parameters/lvds_downclock   = (not available)\r\n/sys/module/i915/parameters/semaphores       = -1 (use per-chip default)\r\n\r\n+++ Wireless\r\nbluetooth = on\r\nwifi      = on\r\nwwan      = none (no device)\r\n\r\nhci0(btusb)         : not connected\r\nwlp4s0(iwlwifi)     : connected, power management = off\r\n\r\n+++ Audio\r\n/sys/module/snd_hda_intel/parameters/power_save            = 0\r\n/sys/module/snd_hda_intel/parameters/power_save_controller = N\r\n\r\n+++ Runtime Power Management\r\ndevice classes   = all\r\ndevice blacklist = (not configured)\r\ndriver blacklist = radeon nouveau\r\n\r\n/sys/bus/pci/devices/0000:00:00.0/power/control = on   (0x060000, Host bridge, hsw_uncore)\r\n/sys/bus/pci/devices/0000:00:02.0/power/control = on   (0x030000, VGA compatible controller, i915)\r\n/sys/bus/pci/devices/0000:00:03.0/power/control = on   (0x040300, Audio device, snd_hda_intel)\r\n/sys/bus/pci/devices/0000:00:14.0/power/control = on   (0x0c0330, USB controller, xhci_hcd)\r\n/sys/bus/pci/devices/0000:00:16.0/power/control = on   (0x078000, Communication controller, mei_me)\r\n/sys/bus/pci/devices/0000:00:1b.0/power/control = on   (0x040300, Audio device, snd_hda_intel)\r\n/sys/bus/pci/devices/0000:00:1c.0/power/control = on   (0x060400, PCI bridge, pcieport)\r\n/sys/bus/pci/devices/0000:00:1c.2/power/control = on   (0x060400, PCI bridge, pcieport)\r\n/sys/bus/pci/devices/0000:00:1c.3/power/control = on   (0x060400, PCI bridge, pcieport)\r\n/sys/bus/pci/devices/0000:00:1d.0/power/control = on   (0x0c0320, USB controller, ehci-pci)\r\n/sys/bus/pci/devices/0000:00:1f.0/power/control = on   (0x060100, ISA bridge, lpc_ich)\r\n/sys/bus/pci/devices/0000:00:1f.2/power/control = on   (0x010601, SATA controller, ahci)\r\n/sys/bus/pci/devices/0000:00:1f.3/power/control = on   (0x0c0500, SMBus, no driver)\r\n/sys/bus/pci/devices/0000:04:00.0/power/control = on   (0x028000, Network controller, iwlwifi)\r\n/sys/bus/pci/devices/0000:05:00.0/power/control = on   (0xff0000, Unassigned class [ff00], rtsx_pci)\r\n\r\n+++ USB\r\nautosuspend        = enabled\r\ndevice whitelist   = (not configured)\r\ndevice blacklist   = (not configured)\r\nwwan blacklist     = enabled\r\n\r\nBus 001 Device 004 ID 056a:00ec control = on,   autosuspend_delay_ms =  2000 -- Wacom Co., Ltd  (usbhid)\r\nBus 001 Device 003 ID 0483:91d1 control = on,   autosuspend_delay_ms =  2000 -- STMicroelectronics Sensor Hub (usbhid)\r\nBus 001 Device 002 ID 8087:8000 control = auto, autosuspend_delay_ms =     0 -- Intel Corp.  (hub)\r\nBus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)\r\nBus 003 Device 007 ID 17ef:304f control = auto, autosuspend_delay_ms =  2000 -- Lenovo  (r8152)\r\nBus 003 Device 006 ID 2109:0812 control = auto, autosuspend_delay_ms =     0 -- VIA Labs, Inc. VL812 Hub (hub)\r\nBus 003 Device 005 ID 2109:0812 control = auto, autosuspend_delay_ms =     0 -- VIA Labs, Inc. VL812 Hub (hub)\r\nBus 003 Device 001 ID 1d6b:0003 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 3.0 root hub (hub)\r\nBus 002 Device 009 ID 04f2:b39f control = auto, autosuspend_delay_ms =  2000 -- Chicony Electronics Co., Ltd  (uvcvideo)\r\nBus 002 Device 006 ID 04f3:0254 control = on,   autosuspend_delay_ms =  2000 -- Elan Microelectronics Corp.  (usbhid)\r\nBus 002 Device 004 ID 8087:07dc control = auto, autosuspend_delay_ms =  2000 -- Intel Corp.  (btusb)\r\nBus 002 Device 011 ID 046d:c52b control = on,   autosuspend_delay_ms =  2000 -- Logitech, Inc. Unifying Receiver (usbhid)\r\nBus 002 Device 010 ID 0424:2514 control = auto, autosuspend_delay_ms =     0 -- Standard Microsystems Corp. USB 2.0 Hub (hub)\r\nBus 002 Device 007 ID 1a40:0101 control = auto, autosuspend_delay_ms =     0 -- Terminus Technology Inc. Hub (hub)\r\nBus 002 Device 008 ID 17ef:304e control = on,   autosuspend_delay_ms =  2000 -- Lenovo  (snd-usb-audio, usbhid)\r\nBus 002 Device 005 ID 2109:2812 control = auto, autosuspend_delay_ms =     0 -- VIA Labs, Inc. VL812 Hub (hub)\r\nBus 002 Device 003 ID 2109:2812 control = auto, autosuspend_delay_ms =     0 -- VIA Labs, Inc. VL812 Hub (hub)\r\nBus 002 Device 002 ID 046d:c526 control = on,   autosuspend_delay_ms =  2000 -- Logitech, Inc. Nano Receiver (usbhid)\r\nBus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms =     0 -- Linux Foundation 2.0 root hub (hub)\r\n\r\n+++ ThinkPad Extended Battery Functions\r\ntp-smapi   = inactive (kernel module 'tp_smapi' not installed)\r\ntpacpi-bat = inactive (kernel module 'acpi_call' not installed)\r\n\r\n+++ Battery Status\r\n/sys/class/power_supply/BAT0/manufacturer                   = SONY\r\n/sys/class/power_supply/BAT0/model_name                     = 45N1705\r\n/sys/class/power_supply/BAT0/cycle_count                    = (not supported)\r\n/sys/class/power_supply/BAT0/energy_full_design             =  47060 [mWh]\r\n/sys/class/power_supply/BAT0/energy_full                    =  42550 [mWh]\r\n/sys/class/power_supply/BAT0/energy_now                     =  42550 [mWh]\r\n/sys/class/power_supply/BAT0/power_now                      =      0 [mW]\r\n/sys/class/power_supply/BAT0/status                         = Full\r\n\r\n+++ Suggestions\r\n* Install tp-smapi kernel modules for ThinkPad advanced battery functions\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/linrunner/TLP/issues/comments/217907721","html_url":"https://github.com/linrunner/TLP/issues/198#issuecomment-217907721","issue_url":"https://api.github.com/repos/linrunner/TLP/issues/198","id":217907721,"user":{"login":"zunder","id":6862750,"avatar_url":"https://avatars.githubusercontent.com/u/6862750?v=3","gravatar_id":"","url":"https://api.github.com/users/zunder","html_url":"https://github.com/zunder","followers_url":"https://api.github.com/users/zunder/followers","following_url":"https://api.github.com/users/zunder/following{/other_user}","gists_url":"https://api.github.com/users/zunder/gists{/gist_id}","starred_url":"https://api.github.com/users/zunder/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zunder/subscriptions","organizations_url":"https://api.github.com/users/zunder/orgs","repos_url":"https://api.github.com/users/zunder/repos","events_url":"https://api.github.com/users/zunder/events{/privacy}","received_events_url":"https://api.github.com/users/zunder/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T16:01:03Z","updated_at":"2016-05-09T16:01:03Z","body":"> A restart between A2.4 and A2.5 or when?\r\nBefore A2.4. But as you said, I do not find this very important (as it is non-persistent as you said) and agree that this might be caused by some side effects with NM or something else. I am happy with the solution as it is right now and did also decide for case A, being more general solution."}}