########## wireless info START ########## Report from: 16 Apr 2018 23:40 CEST +0200 Booted last: 16 Apr 2018 00:00 CEST +0200 Script from: 10 Jan 2018 20:04 UTC +0000 ##### release ########################### Distributor ID: Ubuntu Description: Ubuntu Bionic Beaver (development branch) Release: 18.04 Codename: bionic ##### kernel ############################ Linux 4.15.0-15-generic #16-Ubuntu SMP Wed Apr 4 13:58:14 UTC 2018 x86_64 x86_64 x86_64 GNU/Linux Parameters: ro, resume=/dev/disk/by-uuid/bead0e5c-11a9-426c-a7d3-bc0dd8ebc756 ##### desktop ########################### Ubuntu ##### lspci ############################# 3a:00.0 Network controller [0280]: Broadcom Limited BCM4350 802.11ac Wireless Network Adapter [14e4:43a3] (rev 08) Subsystem: Dell BCM4350 802.11ac Wireless Network Adapter [1028:0021] Kernel driver in use: brcmfmac ##### lsusb ############################# Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 007: ID 0bda:5682 Realtek Semiconductor Corp. Bus 001 Device 005: ID 04f3:20d0 Elan Microelectronics Corp. Bus 001 Device 003: ID 0a5c:6412 Broadcom Corp. Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub ##### PCMCIA card info ################## ##### rfkill ############################ 6: phy2: Wireless LAN Soft blocked: no Hard blocked: no 7: hci0: Bluetooth Soft blocked: no Hard blocked: no ##### lsmod ############################# brcmfmac 315392 0 brcmutil 16384 1 brcmfmac cfg80211 622592 1 brcmfmac dell_laptop 20480 1 dell_wmi 16384 0 dell_smbios_wmi 16384 0 dell_smbios 16384 4 dell_wmi,dell_laptop,dell_smbios_wmi,dell_smbios_smm dell_wmi_descriptor 16384 2 dell_wmi,dell_smbios_wmi intel_wmi_thunderbolt 16384 0 wmi_bmof 16384 0 sparse_keymap 16384 2 dell_wmi,intel_hid wmi 24576 5 dell_wmi,wmi_bmof,intel_wmi_thunderbolt,dell_wmi_descriptor,dell_smbios_wmi video 40960 3 dell_wmi,dell_laptop,i915 ##### interfaces ######################## [/etc/network/interfaces] auto lo iface lo inet loopback ##### ifconfig ########################## lo: flags=73 mtu 65536 inet 127.0.0.1 netmask 255.0.0.0 inet6 ::1 prefixlen 128 scopeid 0x10 loop txqueuelen 1000 (Local Loopback) RX packets 14211 bytes 42086153 (42.0 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 14211 bytes 42086153 (42.0 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 wlp58s0: flags=4163 mtu 1500 inet 192.168.10.161 netmask 255.255.255.0 broadcast 192.168.10.255 inet6 fe80::37ba:f402:5ea9:2fb8 prefixlen 64 scopeid 0x20 inet6 2a01:79c:cebd:5bc:642c:daca:4e14:9780 prefixlen 64 scopeid 0x0 inet6 2a01:79c:cebd:5bc:1610:e472:616b:1f6b prefixlen 64 scopeid 0x0 ether txqueuelen 1000 (Ethernet) RX packets 8624 bytes 8560718 (8.5 MB) RX errors 0 dropped 0 overruns 0 frame 0 TX packets 7026 bytes 1082151 (1.0 MB) TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 ##### iwconfig ########################## lo no wireless extensions. wlp58s0 IEEE 802.11 ESSID:"Picasso 2.4 Ghz" Mode:Managed Frequency:2.412 GHz Access Point: Bit Rate=144.4 Mb/s Tx-Power=31 dBm Retry short limit:7 RTS thr:off Fragment thr:off Power Management:on Link Quality=64/70 Signal level=-46 dBm Rx invalid nwid:0 Rx invalid crypt:0 Rx invalid frag:0 Tx excessive retries:15 Invalid misc:0 Missed beacon:0 ##### route ############################# Kernel IP routing table Destination Gateway Genmask Flags Metric Ref Use Iface 0.0.0.0 192.168.10.1 0.0.0.0 UG 600 0 0 wlp58s0 169.254.0.0 0.0.0.0 255.255.0.0 U 1000 0 0 wlp58s0 192.168.10.0 0.0.0.0 255.255.255.0 U 600 0 0 wlp58s0 ##### resolv.conf ####################### nameserver 127.0.0.53 search home ##### network managers ################## Installed: NetworkManager Running: root 936 1 0 16:49 ? 00:00:03 /usr/sbin/NetworkManager --no-daemon ##### NetworkManager info ############### GENERAL.DEVICE: wlp58s0 GENERAL.TYPE: wifi GENERAL.NM-TYPE: NMDeviceWifi GENERAL.VENDOR: Broadcom Limited GENERAL.PRODUCT: BCM4350 802.11ac Wireless Network Adapter GENERAL.DRIVER: brcmfmac GENERAL.DRIVER-VERSION: 7.35.180.119 GENERAL.FIRMWARE-VERSION: 01-e791c176 GENERAL.HWADDR: GENERAL.MTU: 1500 GENERAL.STATE: 100 (connected) GENERAL.REASON: 0 (No reason given) GENERAL.UDI: /sys/devices/pci0000:00/0000:00:1c.4/0000:3a:00.0/net/wlp58s0 GENERAL.IP-IFACE: wlp58s0 GENERAL.IS-SOFTWARE: no GENERAL.NM-MANAGED: yes GENERAL.AUTOCONNECT: yes GENERAL.FIRMWARE-MISSING: no GENERAL.NM-PLUGIN-MISSING: no GENERAL.PHYS-PORT-ID: -- GENERAL.CONNECTION: Picasso 2.4 Ghz GENERAL.CON-UUID: fcfbd27a-cf01-42ad-b1df-1e60a4b2d871 GENERAL.CON-PATH: /org/freedesktop/NetworkManager/ActiveConnection/4 GENERAL.METERED: no (guessed) CAPABILITIES.CARRIER-DETECT: no CAPABILITIES.SPEED: 24 Mb/s CAPABILITIES.IS-SOFTWARE: no CAPABILITIES.SRIOV: no WIFI-PROPERTIES.WEP: yes WIFI-PROPERTIES.WPA: yes WIFI-PROPERTIES.WPA2: yes WIFI-PROPERTIES.TKIP: yes WIFI-PROPERTIES.CCMP: yes WIFI-PROPERTIES.AP: yes WIFI-PROPERTIES.ADHOC: yes WIFI-PROPERTIES.2GHZ: yes WIFI-PROPERTIES.5GHZ: yes IP4.ADDRESS[1]: 192.168.10.161/24 IP4.GATEWAY: 192.168.10.1 IP4.ROUTE[1]: dst = 0.0.0.0/0, nh = 192.168.10.1, mt = 600 IP4.ROUTE[2]: dst = 192.168.10.0/24, nh = 0.0.0.0, mt = 600 IP4.ROUTE[3]: dst = 169.254.0.0/16, nh = 0.0.0.0, mt = 1000 IP4.DNS[1]: 109.247.114.4 IP4.DNS[2]: 92.220.228.70 IP4.DOMAIN[1]: home DHCP4.OPTION[1]: requested_subnet_mask = 1 DHCP4.OPTION[2]: requested_rfc3442_classless_static_routes = 1 DHCP4.OPTION[3]: subnet_mask = 255.255.255.0 DHCP4.OPTION[4]: domain_name_servers = 109.247.114.4 92.220.228.70 DHCP4.OPTION[5]: ip_address = 192.168.10.161 DHCP4.OPTION[6]: requested_static_routes = 1 DHCP4.OPTION[7]: dhcp_server_identifier = 192.168.10.1 DHCP4.OPTION[8]: requested_time_offset = 1 DHCP4.OPTION[9]: broadcast_address = 192.168.10.255 DHCP4.OPTION[10]: requested_interface_mtu = 1 DHCP4.OPTION[11]: dhcp_rebinding_time = 113400 DHCP4.OPTION[12]: requested_domain_name_servers = 1 DHCP4.OPTION[13]: dhcp_message_type = 5 DHCP4.OPTION[14]: requested_broadcast_address = 1 DHCP4.OPTION[15]: routers = 192.168.10.1 DHCP4.OPTION[16]: dhcp_renewal_time = 64800 DHCP4.OPTION[17]: requested_domain_name = 1 DHCP4.OPTION[18]: domain_name = home DHCP4.OPTION[19]: requested_routers = 1 DHCP4.OPTION[20]: expiry = 1524044057 DHCP4.OPTION[21]: host_name = diffia9350 DHCP4.OPTION[22]: requested_netbios_scope = 1 DHCP4.OPTION[23]: requested_wpad = 1 DHCP4.OPTION[24]: requested_ms_classless_static_routes = 1 DHCP4.OPTION[25]: requested_netbios_name_servers = 1 DHCP4.OPTION[26]: network_number = 192.168.10.0 DHCP4.OPTION[27]: requested_domain_search = 1 DHCP4.OPTION[28]: next_server = 192.168.10.1 DHCP4.OPTION[29]: requested_ntp_servers = 1 DHCP4.OPTION[30]: dhcp_lease_time = 129600 DHCP4.OPTION[31]: requested_host_name = 1 IP6.ADDRESS[1]: 2a01:79c:cebd:5bc:642c:daca:4e14:9780/64 IP6.ADDRESS[2]: 2a01:79c:cebd:5bc:1610:e472:616b:1f6b/64 IP6.ADDRESS[3]: fe80::37ba:f402:5ea9:2fb8/64 IP6.GATEWAY: fe80::4e9e:ffff:fe16:6223 IP6.ROUTE[1]: dst = 2a01:79c:cebd:5bc::/64, nh = ::, mt = 600 IP6.ROUTE[2]: dst = ::/0, nh = fe80::4e9e:ffff:fe16:6223, mt = 600 IP6.ROUTE[3]: dst = ff00::/8, nh = ::, mt = 256, table=255 IP6.ROUTE[4]: dst = fe80::/64, nh = ::, mt = 256 IP6.ROUTE[5]: dst = fe80::/64, nh = ::, mt = 600 DHCP6.OPTION[1]: requested_dhcp6_domain_search = 1 DHCP6.OPTION[2]: dhcp6_server_id = 0:3:0:1: DHCP6.OPTION[3]: requested_dhcp6_client_id = 1 DHCP6.OPTION[4]: requested_dhcp6_name_servers = 1 DHCP6.OPTION[5]: dhcp6_client_id = 0:4:15:44:79:f9:87:6f:ca:f1:86:10:4f:9:8b:aa:a3:8f CONNECTIONS.AVAILABLE-CONNECTION-PATHS: /org/freedesktop/NetworkManager/Settings/{3} CONNECTIONS.AVAILABLE-CONNECTIONS[1]: fcfbd27a-cf01-42ad-b1df-1e60a4b2d871 | Picasso 2.4 Ghz SSID BSSID MODE CHAN FREQ RATE SIGNAL BARS SECURITY ACTIVE IN-USE Picasso 2.4 Ghz Infra 1 2412 MHz 195 Mbit/s 75 ▂▄▆_ WPA1 WPA2 yes * ##### NetworkManager.state ############## [main] NetworkingEnabled=true WirelessEnabled=true WWANEnabled=true ##### NetworkManager.conf ############### [main] plugins=ifupdown,keyfile [ifupdown] managed=false [device] wifi.scan-rand-mac-address=no ##### NetworkManager profiles ########### [[/etc/NetworkManager/system-connections/Picasso 2.4 Ghz]] (600 root) [connection] id=Picasso 2.4 Ghz | type=wifi | permissions= [wifi] mac-address= | mac-address-blacklist= | ssid=Picasso 2.4 Ghz [ipv4] method=auto [ipv6] method=auto [[/etc/NetworkManager/system-connections/breiband]] (600 root) [connection] id=breiband | type=wifi | permissions= [wifi] mac-address= | mac-address-blacklist= | ssid=breiband [ipv4] method=auto [ipv6] method=auto [[/etc/NetworkManager/system-connections/startuplab]] (600 root) [connection] id=startuplab | type=wifi | permissions= [wifi] mac-address= | mac-address-blacklist= | ssid=startuplab [ipv4] method=auto [ipv6] method=auto [[/etc/NetworkManager/system-connections/Kleivstua-Guest]] (600 root) [connection] id=Kleivstua-Guest | type=wifi | permissions= [wifi] mac-address= | mac-address-blacklist= | ssid=Kleivstua-Guest [ipv4] method=auto [ipv6] method=auto [[/etc/NetworkManager/system-connections/fatso83]] (600 root) [connection] id=fatso83 | type=wifi | permissions= [wifi] mac-address= | mac-address-blacklist= | ssid=fatso83 [ipv4] method=auto [ipv6] method=auto [[/etc/NetworkManager/system-connections/Picasso 5Ghz]] (600 root) [connection] id=Picasso 5Ghz | type=wifi | permissions= [wifi] mac-address= | mac-address-blacklist= | ssid=Picasso 5Ghz [ipv4] method=auto [ipv6] method=auto ##### Netplan config #################### [/etc/netplan/01-network-manager-all.yaml] network: version: 2 renderer: NetworkManager ##### iw reg get ######################## Region: Europe/Oslo (based on set time zone) global country 00: DFS-UNSET (2402 - 2472 @ 40), (N/A, 20), (N/A) (2457 - 2482 @ 20), (N/A, 20), (N/A), AUTO-BW, NO-IR (2474 - 2494 @ 20), (N/A, 20), (N/A), NO-OFDM, NO-IR (5170 - 5250 @ 80), (N/A, 20), (N/A), AUTO-BW, NO-IR (5250 - 5330 @ 80), (N/A, 20), (0 ms), DFS, AUTO-BW, NO-IR (5490 - 5730 @ 160), (N/A, 20), (0 ms), DFS, NO-IR (5735 - 5835 @ 80), (N/A, 20), (N/A), NO-IR (57240 - 63720 @ 2160), (N/A, 0), (N/A) ##### iwlist channels ################### lo no frequency information. wlp58s0 32 channels in total; available frequencies : Channel 01 : 2.412 GHz Channel 02 : 2.417 GHz Channel 03 : 2.422 GHz Channel 04 : 2.427 GHz Channel 05 : 2.432 GHz Channel 06 : 2.437 GHz Channel 07 : 2.442 GHz Channel 08 : 2.447 GHz Channel 09 : 2.452 GHz Channel 10 : 2.457 GHz Channel 11 : 2.462 GHz Channel 12 : 2.467 GHz Channel 13 : 2.472 GHz Channel 36 : 5.18 GHz Channel 40 : 5.2 GHz Channel 44 : 5.22 GHz Channel 48 : 5.24 GHz Channel 52 : 5.26 GHz Channel 56 : 5.28 GHz Channel 60 : 5.3 GHz Channel 64 : 5.32 GHz Channel 100 : 5.5 GHz Channel 104 : 5.52 GHz Channel 108 : 5.54 GHz Channel 112 : 5.56 GHz Channel 116 : 5.58 GHz Channel 120 : 5.6 GHz Channel 124 : 5.62 GHz Channel 128 : 5.64 GHz Channel 132 : 5.66 GHz Channel 136 : 5.68 GHz Channel 140 : 5.7 GHz Current Frequency:2.412 GHz (Channel 1) ##### iwlist scan ####################### lo Interface doesn't support scanning. Channel occupancy: 1 APs on Frequency:2.412 GHz (Channel 1) 1 APs on Frequency:5.22 GHz (Channel 44) 1 APs on Frequency:5.54 GHz (Channel 108) wlp58s0 Scan completed : Cell 01 - Address: Channel:1 Frequency:2.412 GHz (Channel 1) Quality=65/70 Signal level=-45 dBm Encryption key:on ESSID:"Picasso 2.4 Ghz" Bit Rates:1 Mb/s; 2 Mb/s; 5.5 Mb/s; 11 Mb/s; 18 Mb/s 24 Mb/s; 36 Mb/s; 54 Mb/s Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 48 Mb/s Mode:Master Extra:tsf=0000000000000000 Extra: Last beacon: 56ms ago IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : CCMP TKIP Authentication Suites (1) : PSK IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : CCMP TKIP Authentication Suites (1) : PSK Cell 02 - Address: Channel:44 Frequency:5.22 GHz (Channel 44) Quality=59/70 Signal level=-51 dBm Encryption key:on ESSID:"Picasso 5Ghz" Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=0000000000000000 Extra: Last beacon: 56ms ago IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : CCMP TKIP Authentication Suites (1) : PSK IE: WPA Version 1 Group Cipher : TKIP Pairwise Ciphers (2) : CCMP TKIP Authentication Suites (1) : PSK Cell 03 - Address: Channel:108 Frequency:5.54 GHz (Channel 108) Quality=24/70 Signal level=-86 dBm Encryption key:on ESSID:"Get-5G-69AFE8" Bit Rates:6 Mb/s; 9 Mb/s; 12 Mb/s; 18 Mb/s; 24 Mb/s 36 Mb/s; 48 Mb/s; 54 Mb/s Mode:Master Extra:tsf=0000000000000000 Extra: Last beacon: 56ms ago IE: IEEE 802.11i/WPA2 Version 1 Group Cipher : CCMP Pairwise Ciphers (1) : CCMP Authentication Suites (1) : PSK ##### module infos ###################### [brcmfmac] filename: /lib/modules/4.15.0-15-generic/kernel/drivers/net/wireless/broadcom/brcm80211/brcmfmac/brcmfmac.ko license: Dual BSD/GPL description: Broadcom 802.11 wireless LAN fullmac driver. author: Broadcom Corporation firmware: brcm/brcmfmac4373-sdio.bin firmware: brcm/brcmfmac4356-sdio.bin firmware: brcm/brcmfmac4354-sdio.bin firmware: brcm/brcmfmac43455-sdio.bin firmware: brcm/brcmfmac43430-sdio.bin firmware: brcm/brcmfmac43430a0-sdio.bin firmware: brcm/brcmfmac4339-sdio.bin firmware: brcm/brcmfmac43362-sdio.bin firmware: brcm/brcmfmac4335-sdio.bin firmware: brcm/brcmfmac43340-sdio.bin firmware: brcm/brcmfmac4334-sdio.bin firmware: brcm/brcmfmac4330-sdio.bin firmware: brcm/brcmfmac4329-sdio.bin firmware: brcm/brcmfmac43241b5-sdio.bin firmware: brcm/brcmfmac43241b4-sdio.bin firmware: brcm/brcmfmac43241b0-sdio.bin firmware: brcm/brcmfmac43143-sdio.bin firmware: brcm/brcmfmac4373.bin firmware: brcm/brcmfmac43569.bin firmware: brcm/brcmfmac43242a.bin firmware: brcm/brcmfmac43236b.bin firmware: brcm/brcmfmac43143.bin firmware: brcm/brcmfmac4371-pcie.bin firmware: brcm/brcmfmac4366c-pcie.bin firmware: brcm/brcmfmac4366b-pcie.bin firmware: brcm/brcmfmac4365c-pcie.bin firmware: brcm/brcmfmac4365b-pcie.bin firmware: brcm/brcmfmac4359-pcie.bin firmware: brcm/brcmfmac4358-pcie.bin firmware: brcm/brcmfmac43570-pcie.bin firmware: brcm/brcmfmac4356-pcie.bin firmware: brcm/brcmfmac4350c2-pcie.bin firmware: brcm/brcmfmac4350-pcie.bin firmware: brcm/brcmfmac43602-pcie.bin srcversion: 44E07267A9FAA20E9643844 depends: brcmutil,cfg80211 retpoline: Y intree: Y name: brcmfmac vermagic: 4.15.0-15-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 parm: txglomsz:Maximum tx packet chain size [SDIO] (int) parm: debug:Level of debug output (int) parm: p2pon:Enable legacy p2p management functionality (int) parm: feature_disable:Disable features (int) parm: alternative_fw_path:Alternative firmware path (string) parm: fcmode:Mode of firmware signalled flow control (int) parm: roamoff:Do not use internal roaming engine (int) [brcmutil] filename: /lib/modules/4.15.0-15-generic/kernel/drivers/net/wireless/broadcom/brcm80211/brcmutil/brcmutil.ko license: Dual BSD/GPL description: Broadcom 802.11n wireless LAN driver utilities. author: Broadcom Corporation srcversion: 389318E018771B5453D0B02 depends: retpoline: Y intree: Y name: brcmutil vermagic: 4.15.0-15-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 [cfg80211] filename: /lib/modules/4.15.0-15-generic/kernel/net/wireless/cfg80211.ko description: wireless configuration support license: GPL author: Johannes Berg srcversion: D5B0789D4C423C81CCFB437 depends: retpoline: Y intree: Y name: cfg80211 vermagic: 4.15.0-15-generic SMP mod_unload signat: PKCS#7 signer: sig_key: sig_hashalgo: md4 parm: bss_entries_limit:limit to number of scan BSS entries (per wiphy, default 1000) (int) parm: ieee80211_regdom:IEEE 802.11 regulatory domain code (charp) parm: cfg80211_disable_40mhz_24ghz:Disable 40MHz support in the 2.4GHz band (bool) ##### module parameters ################# grep: /sys/module/brcmfmac/parameters/alternative_fw_path: Permission denied grep: /sys/module/brcmfmac/parameters/debug: Permission denied grep: /sys/module/brcmfmac/parameters/roamoff: Permission denied [brcmfmac] [cfg80211] bss_entries_limit: 1000 cfg80211_disable_40mhz_24ghz: N ieee80211_regdom: 00 ##### /etc/modules ###################### ##### modprobe options ################## [/etc/modprobe.d/blacklist-ath_pci.conf] blacklist ath_pci [/etc/modprobe.d/blacklist.conf] blacklist evbug blacklist usbmouse blacklist usbkbd blacklist eepro100 blacklist de4x5 blacklist eth1394 blacklist snd_intel8x0m blacklist snd_aw2 blacklist i2c_i801 blacklist prism54 blacklist bcm43xx blacklist garmin_gps blacklist asus_acpi blacklist snd_pcsp blacklist pcspkr blacklist amd76x_edac [/etc/modprobe.d/blacklist-rare-network.conf] alias net-pf-3 off alias net-pf-6 off alias net-pf-9 off alias net-pf-11 off alias net-pf-12 off alias net-pf-19 off alias net-pf-21 off alias net-pf-36 off [/etc/modprobe.d/intel-microcode-blacklist.conf] blacklist microcode [/etc/modprobe.d/iwlwifi.conf] remove iwlwifi \ (/sbin/lsmod | grep -o -e ^iwlmvm -e ^iwldvm -e ^iwlwifi | xargs /sbin/rmmod) \ && /sbin/modprobe -r mac80211 [/etc/modprobe.d/qemu-system-x86.conf] options kvm_intel nested=1 ##### rc.local ########################## grep: /etc/rc.local: No such file or directory ##### pm-utils ########################## [/etc/pm/config.d/config] (644 root) SUSPEND_MODULES="brcmfmac" SUSPEND_MODULES="brcmfmac" [/etc/pm/power.d/00flag] (755 root) RUNDIR="/var/run/powernap" FLAG="$RUNDIR/powersave" mkdir -p "$RUNDIR" case $1 in true) touch "$FLAG" ;; false) rm -f "$FLAG" ;; query) [ -e "$FLAG" ] && exit 0 || exit 1 ;; esac [/etc/pm/power.d/01cpu_online] (644 root) set_cpu_online() { for cpu in /sys/devices/system/cpu/cpu*/online; do [ -w "$cpu" ] || continue echo $1 > $cpu done } help() { echo "Turns off all the CPU's (cores) available but CPU0." } case $1 in true) # Disable CPU set_cpu_online 0 ;; false) # Enable CPU set_cpu_online 1 ;; help) help;; *) exit $NA ;; esac [/etc/pm/power.d/cpu_frequency] (755 root) RUNDIR="/var/run/powernap" GOVERNOR="/var/run/powernap/cpu_governor.default" CPUFILE="/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor" full_power=`head -1 $CPUFILE` save_power="powersave" if [ ! -f $RUNDIR ]; then mkdir -p $RUNDIR fi if [ -h /etc/rc3.d/S99acpi-support ] && [ -h /etc/rc3.d/S99ondemand ]; then full_power="ondemand" fi set_cpu_governor() { for cpu in /sys/devices/system/cpu/cpu*/cpufreq/scaling_governor; do [ -w "$cpu" ] || continue echo $1 > $cpu done } help() { echo "Lowers the CPU frequency, changing the scaling governor from $full_power to $save_power." } case $1 in true) # Save current governor and change governor to powersave if [ ! -f $GOVERNOR ]; then echo $full_power > $GOVERNOR fi set_cpu_governor $save_power ;; false) # Restore governor to default if [ -f $GOVERNOR ]; then full_power=`head -1 $GOVERNOR` set_cpu_governor $full_power fi ;; help) help;; *) exit $NA ;; esac [/etc/pm/power.d/eth_speed] (644 root) set_eth_speed() { if [ $1 -eq 100 ]; then # Save power ethtool -s eth0 autoneg off speed $1 else # Roll back to Gigabit ethtool -s eth0 autoneg on speed $1 fi } help() { echo "Change Gigabit Ethernet card speed to 100Mbps to save power." } case $1 in true) set_eth_speed 100 ;; false) set_eth_speed 1000 ;; help) help;; *) exit $NA ;; esac [/etc/pm/power.d/kms_powermode] (644 root) FULL_METHOD="profile" FULL_PROFILE="default" LOW_METHOD="profile" LOW_PROFILE="low" DRM_PATH="/sys/class/drm/card0/device" DRM_DRIVER="${DRM_PATH}/driver" METHOD_SYSFILE="${DRM_PATH}/power_method" PROFILE_SYSFILE="${DRM_PATH}/power_profile" [ -e $DRM_DRIVER ] && [ -w $METHOD_SYSFILE ] && [ -w $METHOD_SYSFILE ] || exit 0 DRM_DRIVER=`readlink -f ${DRM_DRIVER}` DRM_DRV_NAME=`basename ${DRM_DRIVER}` [ "$DRM_DRV_NAME" = "radeon" ] || exit 0 set_kms_power() { echo $1 > $PROFILE_SYSFILE echo $2 > $METHOD_SYSFILE } help() { echo "Radeon KMS power mode to save power." } case $1 in true) set_kms_power $LOW_PROFILE $LOW_METHOD ;; false) set_kms_power $FULL_PROFILE $FULL_METHOD ;; help) help;; *) exit $NA ;; esac [/etc/pm/power.d/usb] (644 root) usb_remove_one() { if [ $1 -eq 1 ]; then rmmod uhci_hcd else modprobe uhci_hcd fi } help() { echo "Removes support of USB 1.1 to save power." } case $1 in true) usb_remove_one 1 ;; false) usb_remove_one 0 ;; help) help;; *) exit $NA ;; esac [/etc/pm/power.d/usb_autosuspend] (755 root) set_usb_autosuspend() { for i in /sys/bus/usb/devices/*/power/autosuspend; do echo $1 > $i done for i in /sys/bus/usb/devices/*/power/level; do echo $2 > $i done } help() { echo "Auto suspend USB bus to save power." } case $1 in true) set_usb_autosuspend 1 auto ;; false) set_usb_autosuspend 2 on ;; help) help;; *) exit $NA ;; esac [/etc/pm/power.d/video] (644 root) video="/proc/acpi/ibm/video" disable_crt_dvi() { if [ -w "$video" ]; then echo crt_$1 > $video echo dvi_$1 > $video echo lcf_$1 > $video fi } help() { echo "Disable CRT and DVI outputs." } case $1 in true) disable_crt_dvi disable ;; false) disable_crt_dvi enable ;; help) help;; *) exit $NA ;; esac ##### udev rules ######################## ##### dmesg ############################# [ 5694.536920] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do. (repeated 3 times) [ 5694.740789] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac4350-pcie.bin for chip 0x004350(17232) rev 0x000008 [ 5694.740864] brcmfmac 0000:3a:00.0: Direct firmware load for brcm/brcmfmac4350-pcie.txt failed with error -2 [ 5695.175143] brcmfmac 0000:3a:00.0: Direct firmware load for brcm/brcmfmac4350-pcie.clm_blob failed with error -2 [ 5695.175149] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available(err=-2), device may have limited channels available [ 5695.175906] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 22 2015 06:16:26 version 7.35.180.119 (r594535) FWID 01-e791c176 [ 5695.731522] brcmfmac 0000:3a:00.0 wlp58s0: renamed from wlan0 [ 5695.789079] bluetooth hci0: Direct firmware load for brcm/BCM-0a5c-6412.hcd failed with error -2 [ 5695.789081] Bluetooth: hci0: BCM: Patch brcm/BCM-0a5c-6412.hcd not found [ 5695.842448] IPv6: ADDRCONF(NETDEV_UP): wlp58s0: link is not ready (repeated 3 times) [ 5702.295880] IPv6: ADDRCONF(NETDEV_CHANGE): wlp58s0: link becomes ready [ 5912.230438] brcmfmac: brcmf_fil_cmd_data: bus is down. we have nothing to do. (repeated 3 times) [ 5912.435320] brcmfmac: brcmf_fw_map_chip_to_name: using brcm/brcmfmac4350-pcie.bin for chip 0x004350(17232) rev 0x000008 [ 5912.435401] brcmfmac 0000:3a:00.0: Direct firmware load for brcm/brcmfmac4350-pcie.txt failed with error -2 [ 5912.872662] brcmfmac 0000:3a:00.0: Direct firmware load for brcm/brcmfmac4350-pcie.clm_blob failed with error -2 [ 5912.872669] brcmfmac: brcmf_c_process_clm_blob: no clm_blob available(err=-2), device may have limited channels available [ 5912.873519] brcmfmac: brcmf_c_preinit_dcmds: Firmware version = wl0: Oct 22 2015 06:16:26 version 7.35.180.119 (r594535) FWID 01-e791c176 [ 5913.469783] brcmfmac 0000:3a:00.0 wlp58s0: renamed from wlan0 [ 5913.584133] IPv6: ADDRCONF(NETDEV_UP): wlp58s0: link is not ready (repeated 3 times) [ 5913.863410] bluetooth hci0: Direct firmware load for brcm/BCM-0a5c-6412.hcd failed with error -2 [ 5913.863411] Bluetooth: hci0: BCM: Patch brcm/BCM-0a5c-6412.hcd not found [ 5920.985069] IPv6: ADDRCONF(NETDEV_CHANGE): wlp58s0: link becomes ready ########## wireless info END ############