How can I call an API that requires TLS 1.2 when my http client can only support TLS 1.0?

We have an application written in PLC Structured Text using the B&R Automation Studio. This application needs to send HTTP requests to an external API server that only supports TLS 1.2. According to B&R support… “Currently, Automation Runtime does not support any versions of TLS besides 1.0.”

Is there some proxy component I can set up on the PCL site and have the PLC code call it to translate the TLS 1.0 request into a TLS 1.2 request to forward on to the API server and then reverse the process for the response?

Perfect Probabilistic Encryption still requires key length about as long as message

Let $ (E,D)$ be a probabilistic encryption scheme with $ n$ -length keys (given a key $ k$ , we denote the corresponding encryption function by $ E_k$ ) and $ n+10$ -length messages. Then, show that there exist two messages $ x_0, x_1 \in \{0,1\}^{n+10}$ and a function $ A$ such that

$ Pr_{b \in \{0,1\}, k \in \{0,1\}^n}[A(E_k(x_b)) = b ] \geq 9/10$

(This is problem 9.4 from Arora/Barak Computational Complexity)

My gut intuition says that the same idea from the proof in the deterministic case should carry over. WLOG let $ x_0 = 0^{n+10}$ , and denote by $ S$ the support of $ E_{U_n}(0^{n+10})$ . We will take $ A$ to output $ 0$ if the input is in $ S$ . Then, assuming the condition stated in the problem fails to hold for all $ x \in \{0,1\}^{n+10}$ , we conclude that $ Pr[E_{U_n}(x) \in S] \geq 2/10$ for all $ x$ . This implies that there exists some key so that $ E_k$ maps at least $ 2/10$ of the $ x$ into $ S$ (the analogue of this statement in the deterministic case suffices to derive a contradiction), but now I don’t really see how to continue. Is my choice of $ A$ here correct, or should I be using a different approach?

Ubuntu 19.04 with External Monitors Closes All Applications after Sleep or Suspend and Requires 2 Logins

System: Ubuntu 19.04 – all updated are performed

MSI laptop has two external monitors; after sleep/suspend, system requires two logins. First login appears to be linux core; the second login has the newer modern UI.

After login, all applications are closed!

I have updated my NVIDIA drivers and attempted several fixes but the issue continues to exist.

Please help!

Attempted Solution: updated linux-generic (uname -r –> 5.0.0-25-generic)

Thank you :o)

Open VPN in Ubuntu18.04 with restriction which requires a keep-alive window in browser that sends requests every 100 seconds to local address

My institute has a system which requires a keep-alive window that sends requests every 100 seconds to local address “192.xx.xx.xx”. If a request is not sent, the internet access on that room IP is revoked. When VPN is connected, all intranet addresses are inaccessible and so even when you connect to a VPN successfully, the connection will break after around a 100 seconds. Any solutions ?

Which modifier do you use when casting a spell that requires a spellcasting check from a spell scroll?

The Dungeon Master’s Guide has this to say about Spell Scrolls :

The level of the spell on the scroll determines the spell’s saving throw DC and attack bonus, as shown in the Spell Scroll table.

  • Cantrip – DC13 – +5
  • 1st – DC13 – +5
  • 2nd – DC13 – +5
  • 3rd – DC15 – +7
  • 4th – DC15 – +7
  • 5th – DC17 – +9
  • 6th – DC17 – +9
  • 7th – DC18 – +10
  • 8th – DC18 – +10
  • 9th – DC19 – +11

But what about spells, like Telekinesis, Counterspell and Dispel Magic, that involve a spellcasting ability check instead of an attack roll or saving throw ? Which modifier do you use when casting a spell that requires a spellcasting check from a spell scroll : your own, or one that is extrapolated from the above list (for example, considering that the proficiency bonus of the usual 1st level caster is +2, then the spellcasting ability modifier related to a 1st level spell scroll would be +3) ?

FM Radio app requires microphone permission “to capture the FM audio”

When I open the FM Radio app on my new Android Moto X4, it asks me for permission to use the microphone.

I realize that apps often require permissions for use in ways that one might not expect, and I would have assumed it was for voice control or such, but the explanation the app provided sounds unlikely and suspicious:

"To reproduce a radio station, FM Radio requires the Microphone permission to capture the audio. Select ALLOW on the following screen to grant permission."

Am I to believe that the application uses the microphone to quietly/internally record the audio of the FM Station I want to listen to, and then plays me back the third-hand recording?

Even if there’s a feature to “pause” live radio, microphones only record audible sounds, right?! Plus, wouldn’t it be recording ambient noise “on top” of the radio audio?

The device is a Moto X4, Android 9, Software variant amz/Amazon, Build PPF29:105-25-5. The "FM Radio" app that came with the device is version 02.02.0616.

I had an old android that needed to have headphones connected for the FM Radio app for work, but that was because it used the extra length of wire as an cheater’s FM antenna.

This doesn’t make sense to me and couldn’t get anywhere on Google (making me even more suspicious) with this so I was hoping someone here might have some insight.

Thanks!

SharePoint 2013 – What in SharePoint requires meta http-equiv=”X-UA-Compatible” content=”IE=10″

For SharePoint 2013 Publishing pages, what requires <meta http-equiv="X-UA-Compatible" content="IE=10"/> to run properly? Can I simply remove it from master and assume that nothing out of the box will break? or did Microsoft put this in the for a specific reason?

Can I live without it if my IE browser support is 9+

…I notice that if i remove this from the master template manually, and upload my master template, share-point forces it to render the content in ie9. How can we remove the force? Some web applications need IE11 to render as IE11, not IE9 or IE10.

Thanks

Ubuntu 19.04 requires frequent reset of network-manager

I have a System 76 serval. The wifi stops working frequently and the network-manager service needs to be restarted. It usually stops working after switching wifi 3 (sometimes more) times!

When it is working, I have:

    % usr/bin/sudo nmcli device     DEVICE           TYPE      STATE         CONNECTION      wlp62s0          wifi      connected     ATT964          p2p-dev-wlp62s0  wifi-p2p  disconnected  --              enp59s0          ethernet  unavailable   --              lo               loopback  unmanaged     --        % /usr/bin/sudo lshw -C network      ...snip...       *-network            description: Wireless interface            product: Wireless 8260            vendor: Intel Corporation            physical id: 0            bus info: pci@0000:3e:00.0            logical name: wlp62s0            version: 3a            serial: e4:b3:18:e3:11:e7            width: 64 bits            clock: 33MHz            capabilities: pm msi pciexpress bus_master cap_list ethernet physical wireless            configuration: broadcast=yes driver=iwlwifi driverversion=5.0.0-21-generic firmware=36.9f0a2d68.0 ip=192.168.1.64 latency=0 link=yes multicast=yes wireless=IEEE 802.11            resources: irq:133 memory:dc200000-dc201fff     % /usr/bin/sudo lspci -vnnn | grep -A 9 Network     3e:00.0 Network controller [0280]: Intel Corporation Wireless 8260 [8086:24f3] (rev 3a)         Subsystem: Intel Corporation Dual Band Wireless-AC 8260 [8086:1010]         Flags: bus master, fast devsel, latency 0, IRQ 133         Memory at dc200000 (64-bit, non-prefetchable) [size=8K]         Capabilities: [c8] Power Management version 3         Capabilities: [d0] MSI: Enable+ Count=1/1 Maskable- 64bit+         Capabilities: [40] Express Endpoint, MSI 00         Capabilities: [100] Advanced Error Reporting         Capabilities: [140] Device Serial Number e4-b3-18-ff-ff-e3-11-e7         Capabilities: [14c] Latency Tolerance Reporting 

If I switch between my two wifi routers three times (sometimes more times) using the Select Network command on the taskbar, wifi stops working.

Issuing the commands above yields the following differences:

    % /usr/bin/sudo nmcli device     DEVICE           TYPE      STATE        CONNECTION      enp59s0          ethernet  unavailable  --              wlp62s0          wifi      unavailable  --              p2p-dev-wlp62s0  wifi-p2p  unavailable  --              lo               loopback  unmanaged      % /usr/bin/sudo lshw -C network      ...snip...       *-network      ...snip...     configuration: broadcast=yes driver=iwlwifi driverversion=5.0.0-21-generic firmware=36.9f0a2d68.0 latency=0 link=no multicast=yes wireless=IEEE 802.11 

/var/log/syslog reports the following after failing to switch wifi networks:

    Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5482] device (wlp62s0): disconnecting for new activation request.     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5482] device (wlp62s0): state change: activated -> deactivating (reason 'new-activation', sys-iface-state: 'managed')     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5485] manager: NetworkManager state is now DISCONNECTING     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5548] audit: op="connection-activate" uuid="1574892b-31aa-43ae-a67a-bd732876e327" name="ATT964" pid=21476 uid=1010 result="success"     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5550] device (wlp62s0): state change: deactivating -> disconnected (reason 'new-activation', sys-iface-state: 'managed')     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5562] dhcp4 (wlp62s0): canceled DHCP transaction, DHCP client pid 2181     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5562] dhcp4 (wlp62s0): state changed bound -> done     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5572] dhcp6 (wlp62s0): canceled DHCP transaction, DHCP client pid 2318     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5572] dhcp6 (wlp62s0): state changed bound -> done     Jul 16 19:20:32 serval kernel: [209888.953314] wlp62s0: deauthenticating from 10:7b:ef:cc:ab:a3 by local choice (Reason: 3=DEAUTH_LEAVING)     Jul 16 19:20:32 serval wpa_supplicant[667]: wlp62s0: CTRL-EVENT-DISCONNECTED bssid=10:7b:ef:cc:ab:a3 reason=3 locally_generated=1     Jul 16 19:20:32 serval wpa_supplicant[667]: wlp62s0: CTRL-EVENT-SIGNAL-CHANGE above=0 signal=0 noise=9999 txrate=0     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5688] manager: NetworkManager state is now DISCONNECTED     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5692] device (wlp62s0): Activation: starting connection 'ATT964' (1574892b-31aa-43ae-a67a-bd732876e327)     Jul 16 19:20:32 serval NetworkManager[617]: <warn>  [1563330032.5700] sup-iface[0x55d1a0552930,wlp62s0]: connection disconnected (reason -3)     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5701] device (wlp62s0): supplicant interface state: completed -> disconnected     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5702] device (p2p-dev-wlp62s0): supplicant management interface state: completed -> disconnected     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5713] device (wlp62s0): state change: disconnected -> prepare (reason 'none', sys-iface-state: 'managed')     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5718] manager: NetworkManager state is now CONNECTING     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5724] device (wlp62s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5731] device (wlp62s0): Activation: (wifi) access point 'ATT964' has security, but secrets are required.     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5731] device (wlp62s0): state change: config -> need-auth (reason 'none', sys-iface-state: 'managed')     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5734] sup-iface[0x55d1a0552930,wlp62s0]: wps: type pbc start...     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5751] device (wlp62s0): state change: need-auth -> prepare (reason 'none', sys-iface-state: 'managed')     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5756] device (wlp62s0): state change: prepare -> config (reason 'none', sys-iface-state: 'managed')     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5762] device (wlp62s0): Activation: (wifi) connection 'ATT964' has security, and secrets exist.  No new secrets needed.     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5763] Config: added 'ssid' value 'ATT964'     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5763] Config: added 'scan_ssid' value '1'     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5763] Config: added 'bgscan' value 'simple:30:-80:86400'     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5763] Config: added 'key_mgmt' value 'WPA-PSK'     Jul 16 19:20:32 serval NetworkManager[617]: <info>  [1563330032.5763] Config: added 'psk' value '<hidden>'     Jul 16 19:20:32 serval thunderbird.desktop[21684]: JavaScript error: jar:file:///usr/lib/thunderbird/omni.ja!/components/imCore.js, line 127: TypeError: this._idleService is undefined     Jul 16 19:20:32 serval systemd[1]: Starting resolvconf-pull-resolved.service...     Jul 16 19:20:32 serval gnome-shell[21476]: An active wireless connection, in infrastructure mode, involves no access point?     Jul 16 19:20:32 serval gnome-shell[21476]: Object NM.ActiveConnection (0x55794265e560), has been already deallocated — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: == Stack trace for context 0x557942afd240 ==     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #0   55797e02f1d8 i   resource:///org/gnome/shell/ui/status/network.js:1318 (7fdd53a73b80 @ 56)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #1   55797e02f140 i   resource:///org/gnome/shell/ui/status/network.js:1335 (7fdd53a73c10 @ 113)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #2   55797e02f0a0 i   resource:///org/gnome/shell/ui/status/network.js:2029 (7fdd53a75e50 @ 216)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #3   55797e02f020 i   resource:///org/gnome/shell/ui/status/network.js:1924 (7fdd53a75a60 @ 80)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #4   7fff937a95e0 b   self-hosted:979 (7fdd53c50940 @ 440)     Jul 16 19:20:32 serval gnome-shell[21476]: JS ERROR: TypeError: connection.get_setting_ip4_config is not a function#012_isHotSpotMaster@resource:///org/gnome/shell/ui/status/network.js:1322:25#012getIndicatorIcon@resource:///org/gnome/shell/ui/status/network.js:1335:13#012_updateIcon@resource:///org/gnome/shell/ui/status/network.js:2029:52#012_syncNMState@resource:///org/gnome/shell/ui/status/network.js:1924:9     Jul 16 19:20:32 serval gnome-shell[21476]: Object NM.ActiveConnection (0x55794265e560), has been already deallocated — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: == Stack trace for context 0x557942afd240 ==     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #0   55797e02f1e8 i   resource:///org/gnome/shell/ui/status/network.js:1318 (7fdd53a73b80 @ 56)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #1   55797e02f150 i   resource:///org/gnome/shell/ui/status/network.js:1335 (7fdd53a73c10 @ 113)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #2   55797e02f0b0 i   resource:///org/gnome/shell/ui/status/network.js:2029 (7fdd53a75e50 @ 216)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #3   55797e02f020 i   resource:///org/gnome/shell/ui/status/network.js:1832 (7fdd53a75430 @ 138)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #4   7fff937a95e0 b   self-hosted:979 (7fdd53c50940 @ 440)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: == Stack trace for context 0x557942afd240 ==     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #0   55797e02f0c8 i   resource:///org/gnome/gjs/modules/overrides/GObject.js:468 (7fdd7c2b90d0 @ 25)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #1   55797e02f020 i   resource:///org/gnome/shell/ui/status/network.js:1805 (7fdd53a753a0 @ 111)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #2   7fff937a95e0 b   self-hosted:979 (7fdd53c50940 @ 440)     Jul 16 19:20:32 serval gnome-shell[21476]: JS ERROR: TypeError: connection.get_setting_ip4_config is not a function#012_isHotSpotMaster@resource:///org/gnome/shell/ui/status/network.js:1322:25#012getIndicatorIcon@resource:///org/gnome/shell/ui/status/network.js:1335:13#012_updateIcon@resource:///org/gnome/shell/ui/status/network.js:2029:52#012_syncVpnConnections@resource:///org/gnome/shell/ui/status/network.js:1832:9     Jul 16 19:20:32 serval gnome-shell[21476]: Object NM.ActiveConnection (0x55794265e560), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.     Jul 16 19:20:32 serval gsd-sharing[3554]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit rygel.service not loaded.     Jul 16 19:20:32 serval gsd-sharing[3554]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-remote-desktop.service not loaded.     Jul 16 19:20:32 serval dbus-daemon[1296]: [system] Activating via systemd: service name='org.freedesktop.nm_dispatcher' unit='dbus-org.freedesktop.nm-dispatcher.service' requested by ':1.8704' (uid=0 pid=617 comm="/usr/sbin/NetworkManager --no-daemon " label="unconfined")     Jul 16 19:20:32 serval systemd[1]: resolvconf-pull-resolved.service: Succeeded.     Jul 16 19:20:32 serval systemd[1]: Started resolvconf-pull-resolved.service.     Jul 16 19:20:32 serval gsd-sharing[21582]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit rygel.service not loaded.     Jul 16 19:20:32 serval gsd-sharing[21582]: Failed to StopUnit service: GDBus.Error:org.freedesktop.systemd1.NoSuchUnit: Unit gnome-remote-desktop.service not loaded.     Jul 16 19:20:32 serval systemd[1]: Starting Network Manager Script Dispatcher Service...     Jul 16 19:20:32 serval dbus-daemon[1296]: [system] Successfully activated service 'org.freedesktop.nm_dispatcher'     Jul 16 19:20:32 serval systemd[1]: Started Network Manager Script Dispatcher Service.     Jul 16 19:20:32 serval nm-dispatcher: req:1 'down' [wlp62s0]: new request (2 scripts)     Jul 16 19:20:32 serval nm-dispatcher: req:1 'down' [wlp62s0]: start running ordered scripts...     Jul 16 19:20:32 serval gnome-shell[21476]: Object NM.ActiveConnection (0x55794265e560), has been already deallocated — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: == Stack trace for context 0x557942afd240 ==     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #0   55797e02f1d8 i   resource:///org/gnome/shell/ui/status/network.js:1318 (7fdd53a73b80 @ 56)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #1   55797e02f140 i   resource:///org/gnome/shell/ui/status/network.js:1335 (7fdd53a73c10 @ 113)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #2   55797e02f0a0 i   resource:///org/gnome/shell/ui/status/network.js:2029 (7fdd53a75e50 @ 216)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #3   55797e02f020 i   resource:///org/gnome/shell/ui/status/network.js:1924 (7fdd53a75a60 @ 80)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #4   7fff937a8be0 b   self-hosted:979 (7fdd53c50940 @ 440)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: == Stack trace for context 0x557942afd240 ==     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #0   55797e02f0c8 i   resource:///org/gnome/gjs/modules/overrides/GObject.js:468 (7fdd7c2b90d0 @ 25)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #1   55797e02f020 i   resource:///org/gnome/shell/ui/status/network.js:1805 (7fdd53a753a0 @ 111)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #2   7fff937a8be0 b   self-hosted:979 (7fdd53c50940 @ 440)     Jul 16 19:20:32 serval gnome-shell[21476]: JS ERROR: TypeError: connection.get_setting_ip4_config is not a function#012_isHotSpotMaster@resource:///org/gnome/shell/ui/status/network.js:1322:25#012getIndicatorIcon@resource:///org/gnome/shell/ui/status/network.js:1335:13#012_updateIcon@resource:///org/gnome/shell/ui/status/network.js:2029:52#012_syncNMState@resource:///org/gnome/shell/ui/status/network.js:1924:9     Jul 16 19:20:32 serval gnome-shell[21476]: Object NM.ActiveConnection (0x55794265e560), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.     Jul 16 19:20:32 serval wpa_supplicant[667]: wlp62s0: Reject scan trigger since one is already pending     Jul 16 19:20:32 serval wpa_supplicant[667]: wlp62s0: Failed to initiate AP scan     Jul 16 19:20:32 serval gnome-shell[21476]: Object NM.ActiveConnection (0x55794265e560), has been already deallocated — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: == Stack trace for context 0x557942afd240 ==     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #0   55797e02f1e8 i   resource:///org/gnome/shell/ui/status/network.js:1318 (7fdd53a73b80 @ 56)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #1   55797e02f150 i   resource:///org/gnome/shell/ui/status/network.js:1335 (7fdd53a73c10 @ 113)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #2   55797e02f0b0 i   resource:///org/gnome/shell/ui/status/network.js:2029 (7fdd53a75e50 @ 216)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #3   55797e02f020 i   resource:///org/gnome/shell/ui/status/network.js:1832 (7fdd53a75430 @ 138)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #4   7fff937a8be0 b   self-hosted:979 (7fdd53c50940 @ 440)     Jul 16 19:20:32 serval gnome-shell[21476]: JS ERROR: TypeError: connection.get_setting_ip4_config is not a function#012_isHotSpotMaster@resource:///org/gnome/shell/ui/status/network.js:1322:25#012getIndicatorIcon@resource:///org/gnome/shell/ui/status/network.js:1335:13#012_updateIcon@resource:///org/gnome/shell/ui/status/network.js:2029:52#012_syncVpnConnections@resource:///org/gnome/shell/ui/status/network.js:1832:9     Jul 16 19:20:32 serval gnome-shell[21476]: Object NM.ActiveConnection (0x55794265e560), has been already deallocated — impossible to get any property from it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: == Stack trace for context 0x557942afd240 ==     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #0   7fff937a6d30 b   resource:///org/gnome/shell/ui/status/network.js:1318 (7fdd53a73b80 @ 56)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #1   55797e02f140 i   resource:///org/gnome/shell/ui/status/network.js:1335 (7fdd53a73c10 @ 113)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #2   55797e02f0a0 i   resource:///org/gnome/shell/ui/status/network.js:2029 (7fdd53a75e50 @ 216)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #3   55797e02f020 i   resource:///org/gnome/shell/ui/status/network.js:1924 (7fdd53a75a60 @ 80)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #4   7fff937a8be0 b   self-hosted:979 (7fdd53c50940 @ 440)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: == Stack trace for context 0x557942afd240 ==     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #0   55797e02f0c8 i   resource:///org/gnome/gjs/modules/overrides/GObject.js:468 (7fdd7c2b90d0 @ 25)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #1   55797e02f020 i   resource:///org/gnome/shell/ui/status/network.js:1805 (7fdd53a753a0 @ 111)     Jul 16 19:20:32 serval org.gnome.Shell.desktop[21476]: #2   7fff937a8be0 b   self-hosted:979 (7fdd53c50940 @ 440)     Jul 16 19:20:32 serval gnome-shell[21476]: JS ERROR: TypeError: connection.get_setting_ip4_config is not a function#012_isHotSpotMaster@resource:///org/gnome/shell/ui/status/network.js:1322:25#012getIndicatorIcon@resource:///org/gnome/shell/ui/status/network.js:1335:13#012_updateIcon@resource:///org/gnome/shell/ui/status/network.js:2029:52#012_syncNMState@resource:///org/gnome/shell/ui/status/network.js:1924:9     Jul 16 19:20:32 serval gnome-shell[21476]: Object NM.ActiveConnection (0x55794265e560), has been already deallocated — impossible to access it. This might be caused by the object having been destroyed from C code using something such as destroy(), dispose(), or remove() vfuncs.     Jul 16 19:20:33 serval chromium-browser.desktop[21476]: [20638:20661:0716/192033.063146:ERROR:connection_factory_impl.cc(413)] Failed to connect to MCS endpoint with error -106     Jul 16 19:20:33 serval goa-daemon[3447]: Remote error from secret service: org.freedesktop.DBus.Error.ServiceUnknown: The name :1.27 was not provided by any .service files     Jul 16 19:20:33 serval goa-daemon[3447]: secret_password_lookup_sync() failed: The name :1.27 was not provided by any .service files     Jul 16 19:20:33 serval NetworkManager[617]: <info>  [1563330033.6350] device (wlp62s0): supplicant interface state: disconnected -> scanning     Jul 16 19:20:33 serval NetworkManager[617]: <info>  [1563330033.6351] device (p2p-dev-wlp62s0): supplicant management interface state: disconnected -> scanning     Jul 16 19:20:34 serval wpa_supplicant[667]: wlp62s0: SME: Trying to authenticate with 60:fe:20:57:c4:4e (SSID='ATT964' freq=2457 MHz)     Jul 16 19:20:34 serval kernel: [209890.593553] wlp62s0: authenticate with 60:fe:20:57:c4:4e     Jul 16 19:20:34 serval NetworkManager[617]: <info>  [1563330034.2076] device (wlp62s0): supplicant interface state: scanning -> authenticating     Jul 16 19:20:34 serval NetworkManager[617]: <info>  [1563330034.2077] device (p2p-dev-wlp62s0): supplicant management interface state: scanning -> authenticating     Jul 16 19:20:34 serval kernel: [209890.600168] wlp62s0: send auth to 60:fe:20:57:c4:4e (try 1/3)     Jul 16 19:20:34 serval wpa_supplicant[667]: wlp62s0: Trying to associate with 60:fe:20:57:c4:4e (SSID='ATT964' freq=2457 MHz)     Jul 16 19:20:34 serval kernel: [209890.623554] wlp62s0: authenticated     Jul 16 19:20:34 serval NetworkManager[617]: <info>  [1563330034.2357] device (wlp62s0): supplicant interface state: authenticating -> associating     Jul 16 19:20:34 serval NetworkManager[617]: <info>  [1563330034.2357] device (p2p-dev-wlp62s0): supplicant management interface state: authenticating -> associating     Jul 16 19:20:34 serval kernel: [209890.631825] wlp62s0: associate with 60:fe:20:57:c4:4e (try 1/3)     Jul 16 19:20:34 serval kernel: [209890.635686] wlp62s0: RX AssocResp from 60:fe:20:57:c4:4e (capab=0x411 status=0 aid=5)     Jul 16 19:20:34 serval wpa_supplicant[667]: wlp62s0: Associated with 60:fe:20:57:c4:4e     Jul 16 19:20:34 serval wpa_supplicant[667]: wlp62s0: CTRL-EVENT-SUBNET-STATUS-UPDATE status=0     Jul 16 19:20:34 serval kernel: [209890.638188] wlp62s0: associated     Jul 16 19:20:34 serval NetworkManager[617]: <info>  [1563330034.2504] device (wlp62s0): supplicant interface state: associating -> associated     Jul 16 19:20:34 serval NetworkManager[617]: <info>  [1563330034.2504] device (p2p-dev-wlp62s0): supplicant management interface state: associating -> associated 

…snip…

    Jul 16 19:20:45 serval NetworkManager[617]: <info>  [1563330045.2179] supplicant: wpa_supplicant die count reset     Jul 16 19:20:45 serval NetworkManager[617]: <warn>  [1563330045.2180] device (wlp62s0): re-acquiring supplicant interface (#1).     Jul 16 19:20:46 serval systemd[1]: NetworkManager-dispatcher.service: Succeeded. 

Why does audio get unplugged during suspend? Physically it remains plugged in and requires a replug to work

Before unplugging and replugging audio into the motherboard (note output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)

$   pacmd list-cards 3 card(s) available.     index: 2     name: <alsa_card.pci-0000_2a_00.3>     driver: <module-alsa-card.c>     owner module: 9     properties:         alsa.card = "2"         alsa.card_name = "HD-Audio Generic"         alsa.long_card_name = "HD-Audio Generic at 0xfe700000 irq 71"         alsa.driver_name = "snd_hda_intel"         device.bus_path = "pci-0000:2a:00.3"         sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:2a:00.3/sound/card2"         device.bus = "pci"         device.vendor.id = "1022"         device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"         device.product.id = "1457"         device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"         device.string = "2"         device.description = "Family 17h (Models 00h-0fh) HD Audio Controller"         module-udev-detect.discovered = "1"         device.icon_name = "audio-card-pci"     profiles:         input:analog-stereo: Analog Stereo Input (priority 65, available: no)         output:analog-stereo: Analog Stereo Output (priority 6500, available: no)         output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: no)         output:analog-surround-21: Analog Surround 2.1 Output (priority 1300, available: no)         output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: no)         output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: no)         output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: no)         output:analog-surround-41: Analog Surround 4.1 Output (priority 1300, available: no)         output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: no)         output:analog-surround-50: Analog Surround 5.0 Output (priority 1200, available: no)         output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: no)         output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: no)         output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: no)         output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)         output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: unknown)         off: Off (priority 0, available: unknown)     active profile: <output:iec958-stereo>     sinks:         alsa_output.pci-0000_2a_00.3.iec958-stereo/#12: Family 17h (Models 00h-0fh) HD Audio Controller Digital Stereo (IEC958)     sources:         alsa_output.pci-0000_2a_00.3.iec958-stereo.monitor/#13: Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Digital Stereo (IEC958)     ports:         analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)             properties:                 device.icon_name = "audio-input-microphone"         analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)             properties:                 device.icon_name = "audio-input-microphone"         analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)             properties:          analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: no)             properties:          analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)             properties:                 device.icon_name = "audio-headphones"         iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)             properties: 

And after unplugging and plugging into motherboard:

index: 2     name: <alsa_card.pci-0000_2a_00.3>     driver: <module-alsa-card.c>     owner module: 9     properties:         alsa.card = "2"         alsa.card_name = "HD-Audio Generic"         alsa.long_card_name = "HD-Audio Generic at 0xfe700000 irq 71"         alsa.driver_name = "snd_hda_intel"         device.bus_path = "pci-0000:2a:00.3"         sysfs.path = "/devices/pci0000:00/0000:00:08.1/0000:2a:00.3/sound/card2"         device.bus = "pci"         device.vendor.id = "1022"         device.vendor.name = "Advanced Micro Devices, Inc. [AMD]"         device.product.id = "1457"         device.product.name = "Family 17h (Models 00h-0fh) HD Audio Controller"         device.string = "2"         device.description = "Family 17h (Models 00h-0fh) HD Audio Controller"         module-udev-detect.discovered = "1"         device.icon_name = "audio-card-pci"     profiles:         input:analog-stereo: Analog Stereo Input (priority 65, available: no)         output:analog-stereo: Analog Stereo Output (priority 6500, available: unknown)         output:analog-stereo+input:analog-stereo: Analog Stereo Duplex (priority 6565, available: unknown)         output:analog-surround-21: Analog Surround 2.1 Output (priority 1300, available: unknown)         output:analog-surround-21+input:analog-stereo: Analog Surround 2.1 Output + Analog Stereo Input (priority 1365, available: unknown)         output:analog-surround-40: Analog Surround 4.0 Output (priority 1200, available: unknown)         output:analog-surround-40+input:analog-stereo: Analog Surround 4.0 Output + Analog Stereo Input (priority 1265, available: unknown)         output:analog-surround-41: Analog Surround 4.1 Output (priority 1300, available: unknown)         output:analog-surround-41+input:analog-stereo: Analog Surround 4.1 Output + Analog Stereo Input (priority 1365, available: unknown)         output:analog-surround-50: Analog Surround 5.0 Output (priority 1200, available: unknown)         output:analog-surround-50+input:analog-stereo: Analog Surround 5.0 Output + Analog Stereo Input (priority 1265, available: unknown)         output:analog-surround-51: Analog Surround 5.1 Output (priority 1300, available: unknown)         output:analog-surround-51+input:analog-stereo: Analog Surround 5.1 Output + Analog Stereo Input (priority 1365, available: unknown)         output:iec958-stereo: Digital Stereo (IEC958) Output (priority 5500, available: unknown)         output:iec958-stereo+input:analog-stereo: Digital Stereo (IEC958) Output + Analog Stereo Input (priority 5565, available: unknown)         off: Off (priority 0, available: unknown)     active profile: <output:analog-stereo+input:analog-stereo>     sinks:         alsa_output.pci-0000_2a_00.3.analog-stereo/#15: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo     sources:         alsa_input.pci-0000_2a_00.3.analog-stereo/#16: Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo         alsa_output.pci-0000_2a_00.3.analog-stereo.monitor/#17: Monitor of Family 17h (Models 00h-0fh) HD Audio Controller Analog Stereo     ports:         analog-input-front-mic: Front Microphone (priority 8500, latency offset 0 usec, available: no)             properties:                 device.icon_name = "audio-input-microphone"         analog-input-rear-mic: Rear Microphone (priority 8200, latency offset 0 usec, available: no)             properties:                 device.icon_name = "audio-input-microphone"         analog-input-linein: Line In (priority 8100, latency offset 0 usec, available: no)             properties:          analog-output-lineout: Line Out (priority 9900, latency offset 0 usec, available: yes)             properties:          analog-output-headphones: Headphones (priority 9000, latency offset 0 usec, available: no)             properties:                 device.icon_name = "audio-headphones"         iec958-stereo-output: Digital Output (S/PDIF) (priority 0, latency offset 0 usec, available: unknown)             properties: 

Available changes from no to unknown

Before replugging, in pavucontrol under Output Devices, the HD Audio Controller only shows Digital Output. After replugging it will show Line out (plugged in) correctly.

Before replugging, in pavucontrol under Configuration, under HD Audio Controller, choosing Analog Stereo Duplex (Unplugged) will output sound. However the hotkeys for volume up/down in Ubuntu will control HDMI/monitor sound only.


Experiencing this on Ubuntu 18.04, 18.10, and 19.04 with the same mobo, ASUS Prime X370-Pro AMD Ryzen.