Folge dem Video um zu sehen, wie unsere Website als Web-App auf dem Startbildschirm installiert werden kann.
Anmerkung: Diese Funktion ist in einigen Browsern möglicherweise nicht verfügbar.
DEVICES_TO_DISABLE_ON_DOCK="wifi"
DEVICES_TO_ENABLE_ON_UNDOCK="wifi"
Könnte es mit dem "power management = off" zutun haben?wlan0(iwlwifi) : connected, power management = off
--- TLP 0.7 --------------------------------------------
+++ Configured Settings: /etc/default/tlp
TLP_ENABLE=1
DISK_IDLE_SECS_ON_AC=0
DISK_IDLE_SECS_ON_BAT=2
MAX_LOST_WORK_SECS_ON_AC=15
MAX_LOST_WORK_SECS_ON_BAT=60
SCHED_POWERSAVE_ON_AC=0
SCHED_POWERSAVE_ON_BAT=1
NMI_WATCHDOG=0
ENERGY_PERF_POLICY_ON_AC=performance
ENERGY_PERF_POLICY_ON_BAT=powersave
DISK_DEVICES="sda sdb"
DISK_APM_LEVEL_ON_AC="254 254"
DISK_APM_LEVEL_ON_BAT="128 128"
SATA_LINKPWR_ON_AC=max_performance
SATA_LINKPWR_ON_BAT=min_power
PCIE_ASPM_ON_AC=performance
PCIE_ASPM_ON_BAT=powersave
RADEON_POWER_PROFILE_ON_AC=high
RADEON_POWER_PROFILE_ON_BAT=low
RADEON_DPM_STATE_ON_AC=performance
RADEON_DPM_STATE_ON_BAT=battery
RADEON_DPM_PERF_LEVEL_ON_AC=auto
RADEON_DPM_PERF_LEVEL_ON_BAT=auto
WIFI_PWR_ON_AC=1
WIFI_PWR_ON_BAT=5
WOL_DISABLE=Y
SOUND_POWER_SAVE_ON_AC=0
SOUND_POWER_SAVE_ON_BAT=1
SOUND_POWER_SAVE_CONTROLLER=Y
BAY_POWEROFF_ON_BAT=0
BAY_DEVICE="sr0"
RUNTIME_PM_ON_AC=on
RUNTIME_PM_ON_BAT=auto
RUNTIME_PM_ALL=1
RUNTIME_PM_DRIVER_BLACKLIST="radeon nouveau"
USB_AUTOSUSPEND=1
USB_DRIVER_BLACKLIST="usbhid"
USB_BLACKLIST_WWAN=1
RESTORE_DEVICE_STATE_ON_STARTUP=0
DEVICES_TO_DISABLE_ON_DOCK="wifi"
DEVICES_TO_ENABLE_ON_UNDOCK="wifi"
+++ System Info
System = LENOVO ThinkPad X201 3680N47
BIOS = 6QET69WW (1.39 )
Release = Ubuntu 14.04.2 LTS
Kernel = 3.13.0-57-generic x86_64
/proc/cmdline = BOOT_IMAGE=/boot/vmlinuz-3.13.0-57-generic root=UUID=c66b17a6-2fba-462b-9e0e-f5fc110fe6ee ro quiet splash vt.handoff=7
Init system = upstart
+++ System Status
TLP power save = enabled
power source = ac
+++ Processor
CPU Model = Intel(R) Core(TM) i5 CPU M 520 @ 2.40GHz
/sys/devices/system/cpu/cpu0/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu0/cpufreq/scaling_min_freq = 1199000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_max_freq = 2400000 [kHz]
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu1/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu1/cpufreq/scaling_min_freq = 1199000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_max_freq = 2400000 [kHz]
/sys/devices/system/cpu/cpu1/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu2/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu2/cpufreq/scaling_min_freq = 1199000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_max_freq = 2400000 [kHz]
/sys/devices/system/cpu/cpu2/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_driver = acpi-cpufreq
/sys/devices/system/cpu/cpu3/cpufreq/scaling_governor = ondemand
/sys/devices/system/cpu/cpu3/cpufreq/scaling_min_freq = 1199000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_max_freq = 2400000 [kHz]
/sys/devices/system/cpu/cpu3/cpufreq/scaling_available_frequencies = 2400000 2399000 2266000 2133000 1999000 1866000 1733000 1599000 1466000 1333000 1199000 [kHz]
/sys/devices/system/cpu/cpufreq/boost = 1
x86_energy_perf_policy: unsupported CPU.
/proc/sys/kernel/nmi_watchdog = 0
+++ Undervolting
PHC kernel not available.
+++ Temperatures
/proc/acpi/ibm/thermal = 57 0 0 0 0 0 0 0 [°C]
/proc/acpi/ibm/fan = 3578 [/min]
+++ File System
/proc/sys/vm/laptop_mode = 0
/proc/sys/vm/dirty_writeback_centisecs = 1500
/proc/sys/vm/dirty_expire_centisecs = 1500
/proc/sys/vm/dirty_ratio = 20
/proc/sys/vm/dirty_background_ratio = 10
/proc/sys/fs/xfs/age_buffer_centisecs = (not available)
/proc/sys/fs/xfs/xfssyncd_centisecs = (not available)
/proc/sys/fs/xfs/xfsbufd_centisecs = (not available)
+++ Storage Devices
/dev/sda:
Model = CT250BX100SSD1
Firmware = MU01
APM Level = none/disabled
Status = active/idle
TRIM = supported
Scheduler = deadline
SMART info:
5 Reallocated_Sector_Ct = 0
9 Power_On_Hours = 130 [h]
177 Wear_Leveling_Count = 100 [%]
178 Used_Rsvd_Blk_Cnt_Chip = 0
194 Temperature_Celsius = 34 [°C]
232 Available_Reservd_Space = 100 [%]
241 Total_LBAs_Written = 0.000 [TB]
+++ SATA Aggressive Link Power Management
/sys/class/scsi_host/host0/link_power_management_policy = max_performance
/sys/class/scsi_host/host1/link_power_management_policy = max_performance
/sys/class/scsi_host/host2/link_power_management_policy = max_performance
/sys/class/scsi_host/host3/link_power_management_policy = max_performance
/sys/class/scsi_host/host4/link_power_management_policy = max_performance
/sys/class/scsi_host/host5/link_power_management_policy = max_performance
+++ PCIe Active State Power Management
/sys/module/pcie_aspm/parameters/policy = default (using bios preferences)
+++ Intel Graphics
/sys/module/i915/parameters/powersave = 1 (enabled)
/sys/module/i915/parameters/i915_enable_rc6 = -1 (use per-chip default)
/sys/module/i915/parameters/i915_enable_fbc = -1 (use per-chip default)
/sys/module/i915/parameters/lvds_downclock = 0 (disabled)
/sys/module/i915/parameters/semaphores = -1 (use per-chip default)
+++ Wireless
bluetooth = off (software)
wifi = on
wwan = off (software)
wlan0(iwlwifi) : not connected, power management = off
wwan0(qmi_wwan) : not connected
+++ Audio
/sys/module/snd_hda_intel/parameters/power_save = 0
/sys/module/snd_hda_intel/parameters/power_save_controller = N
+++ Docks and Device Bays
/sys/devices/platform/dock.0: battery_bay = no battery
/sys/devices/platform/dock.1: ata_bay = drive present
/sys/devices/platform/dock.2: dock_station = docked
+++ Runtime Power Management
device classes = all
device blacklist = (not configured)
driver blacklist = radeon nouveau
/sys/bus/pci/devices/0000:00:00.0/power/control = on (0x060000, Host bridge, agpgart-intel)
/sys/bus/pci/devices/0000:00:02.0/power/control = on (0x030000, VGA compatible controller, i915)
/sys/bus/pci/devices/0000:00:16.0/power/control = on (0x078000, Communication controller, mei_me)
/sys/bus/pci/devices/0000:00:19.0/power/control = on (0x020000, Ethernet controller, e1000e)
/sys/bus/pci/devices/0000:00:1a.0/power/control = on (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1b.0/power/control = on (0x040300, Audio device, snd_hda_intel)
/sys/bus/pci/devices/0000:00:1c.0/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.3/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1c.4/power/control = on (0x060400, PCI bridge, pcieport)
/sys/bus/pci/devices/0000:00:1d.0/power/control = on (0x0c0320, USB controller, ehci-pci)
/sys/bus/pci/devices/0000:00:1e.0/power/control = on (0x060401, PCI bridge, no driver)
/sys/bus/pci/devices/0000:00:1f.0/power/control = on (0x060100, ISA bridge, lpc_ich)
/sys/bus/pci/devices/0000:00:1f.2/power/control = on (0x010601, SATA controller, ahci)
/sys/bus/pci/devices/0000:00:1f.3/power/control = on (0x0c0500, SMBus, no driver)
/sys/bus/pci/devices/0000:00:1f.6/power/control = on (0x118000, Signal processing controller, intel ips)
/sys/bus/pci/devices/0000:02:00.0/power/control = on (0x028000, Network controller, iwlwifi)
/sys/bus/pci/devices/0000:ff:00.0/power/control = on (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:00.1/power/control = on (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.0/power/control = on (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.1/power/control = on (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.2/power/control = on (0x060000, Host bridge, no driver)
/sys/bus/pci/devices/0000:ff:02.3/power/control = on (0x060000, Host bridge, no driver)
+++ USB
autosuspend = enabled
device whitelist = (not configured)
device blacklist = (not configured)
driver blacklist = usbhid
wwan blacklist = enabled (cdc_acm cdc_wdm cdc_ether hso qcserial sierra)
Bus 002 Device 004 ID 05c6:9205 control = on, autosuspend_delay_ms = 2000 -- Qualcomm, Inc. (qmi_wwan, qcserial)
Bus 002 Device 002 ID 8087:0020 control = auto, autosuspend_delay_ms = 0 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 002 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
Bus 001 Device 007 ID 04a9:2213 control = auto, autosuspend_delay_ms = 2000 -- Canon, Inc. CanoScan LiDE 50/LiDE 35/LiDE 40 (no driver)
Bus 001 Device 006 ID 17ef:1005 control = auto, autosuspend_delay_ms = 0 -- Lenovo (hub)
Bus 001 Device 004 ID 147e:2016 control = auto, autosuspend_delay_ms = 2000 -- Upek Biometric Touchchip/Touchstrip Fingerprint Sensor (no driver)
Bus 001 Device 003 ID 046d:c52b control = on, autosuspend_delay_ms = 2000 -- Logitech, Inc. Unifying Receiver (usbhid)
Bus 001 Device 002 ID 8087:0020 control = auto, autosuspend_delay_ms = 0 -- Intel Corp. Integrated Rate Matching Hub (hub)
Bus 001 Device 001 ID 1d6b:0002 control = auto, autosuspend_delay_ms = 0 -- Linux Foundation 2.0 root hub (hub)
+++ ThinkPad Extended Battery Functions
tp-smapi = active
tpacpi-bat = inactive (kernel module 'acpi_call' not installed)
+++ ThinkPad Battery Status: BAT0 (Main / Internal)
/sys/devices/platform/smapi/BAT0/manufacturer = SANYO
/sys/devices/platform/smapi/BAT0/model = 42T4694
/sys/devices/platform/smapi/BAT0/manufacture_date = 2014-03-15
/sys/devices/platform/smapi/BAT0/first_use_date = 2014-11-29
/sys/devices/platform/smapi/BAT0/cycle_count = 42
/sys/devices/platform/smapi/BAT0/design_capacity = 93240 [mWh]
/sys/devices/platform/smapi/BAT0/last_full_capacity = 88590 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_capacity = 88590 [mWh]
/sys/devices/platform/smapi/BAT0/remaining_percent = 100 [%]
/sys/devices/platform/smapi/BAT0/remaining_running_time_now = not_discharging [min]
/sys/devices/platform/smapi/BAT0/remaining_charging_time = not_charging [min]
/sys/devices/platform/smapi/BAT0/power_now = 0 [mW]
/sys/devices/platform/smapi/BAT0/power_avg = 0 [mW]
/sys/devices/platform/smapi/BAT0/start_charge_thresh = 96 [%]
/sys/devices/platform/smapi/BAT0/stop_charge_thresh = 100 [%]
/sys/devices/platform/smapi/BAT0/force_discharge = 0
Naja, ich hätte gern, dass der Rechner in der Dock immer das Wlan deaktiviert und außerhalb der Dock das Wlan aktiviert. Also auch wenn ich den Rechner in bzw. außerhalb der Dock starte, sollte er das Wlan entsprechend aktivieren bzw. deaktivieren.Meine beiden Zeilen bewirken nur im Augenblick des tatsächlichen An- und Abdocken etwas. Ist es das was Du wolltest?
Das verschwindet, sobald ich das Wlan in der Dock deaktiviere und nur die Kabelverbindung aktiv bleibt..Jul 19 00:39:46 server dnsmasq-dhcp[1391]: DHCPACK(eth1) 10.42.0.91 f0:de:f1:1a:12:5a ThinkPad-X201
Jul 19 00:40:02 server dnsmasq-dhcp[1391]: DHCPREQUEST(eth1) 10.42.0.75 00:15:00:5d:33:38.
Jul 19 00:40:02 server dnsmasq-dhcp[1391]: DHCPACK(eth1) 10.42.0.75 00:15:00:5d:33:38 ThinkPad-X201
Jul 19 00:40:22 server dnsmasq-dhcp[1391]: DHCPREQUEST(eth1) 10.42.0.75 00:15:00:5d:33:38.
Jul 19 00:40:22 server dnsmasq-dhcp[1391]: DHCPACK(eth1) 10.42.0.75 00:15:00:5d:33:38 ThinkPad-X201
Jul 19 00:40:37 server dnsmasq-dhcp[1391]: DHCPREQUEST(eth1) 10.42.0.75 00:15:00:5d:33:38.
Jul 19 00:40:37 server dnsmasq-dhcp[1391]: DHCPACK(eth1) 10.42.0.75 00:15:00:5d:33:38 ThinkPad-X201
Jul 19 00:40:46 server dnsmasq-dhcp[1391]: DHCPREQUEST(eth1) 10.42.0.75 00:15:00:5d:33:38.
DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi"
DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi"
Vielen Dank! Scheint zu funktionieren...Schon besser. Dann nimmst Du:
Code:DEVICES_TO_DISABLE_ON_LAN_CONNECT="wifi" DEVICES_TO_ENABLE_ON_LAN_DISCONNECT="wifi"