Hotplugging usb-c dock results in a new xrandr output identifier every time

I’ve got a Dell WD15 hooked up to an external monitor on my desk. I connect and disconnect my laptop to this dock multiple times every day. It seems that each time I reconnect to this dock my external display shows up with a different xorg/xrandr output identifier (e.g. DP-4, then DP-5, then DP-1-2, etc.). This makes it difficult to have the system automatically pick up my preferred resolutions/layouts.

Is there any way to get the dock+monitor to show up with the same xorg/xrandr output identifier each time?

USB-C headphones, use as input and output at the same time

First some background information:

  • I am running Ubuntu 19.04
  • Laptop: Dell XPS 13 9360
  • Earbuds: Pixel USB-C earbuds (wired)
  • Using pulse audio with pulseEffects

Most of the time when I plug in the earbuds in via the Thunderbolt port, after a bit of work the audio output switches to my earbuds. However, the issue is using the earbuds as both an output and an input simultaneously.

In the default Ubuntu settings page with audio coming out the earbuds, if I switch my microphone to the “headset microphone” the output audio switches back to my built-in speakers but the microphone appears to be working correctly. The reverse is true, if the microphone is working correctly, and I try to switch the output device to the earbuds, the input device switches back to the built-in microphone.

If I use the pulseAudio volume control, under the configuration tab, the profiles shown for the earbuds are very inconsistent. Just unplugging and plugging back in will change what is available. These are the combinations I’ve seen so far:

  • “Stereo output”
  • “Multichannel output”
  • “Multichannel input”
  • “off”

  • “Digital Stereo (IEC958) output”
  • “Multichannel input”
  • “off”

  • “Digital Stereo (IEC958) output + Multichannel input”
  • “Digital Stereo (IEC958) output”
  • “Multichannel input”
  • “off”

  • “Analog mono input”
  • “off”

  • “Multichannel output”
  • “Multichannel input”
  • “Digital Stereo (IEC958) output”
  • “Analog stereo output + Analog Mono input”
  • “off”

pulseAudio volume control, image

The profiles with the plus in the name seem to do what I want, however, these seem to be the rarest and are almost never the default selected.

How can I make the profiles more consistent or create my own profile that is loaded by default when this device is detected?

Work-around to get USB-C headset to work for calls (in Android smartphones)?

It is an interesting, albeit frustrating, phenomenon of late that manufacturers of soft- and hardware these days (including Huawei, Samsung and apparently also Google) release new products which do not function as advertized:

I use my usb-c setup for mostly listening to hi-res music, it’s annoying when I get a phone call and I have to disconnect my USB-c headphones to answer the call. Seriously Samsung needs to get there head out of the ass and fix this problem. How can every other flagship phone handle this including the OnePlus 6.


bump. So I did some bumming around. I don’t think it’s the equalizer that’s the problem. I think the phone app is incapable of routing calls through USB-C.


Google acknowledges Pixel 2 USB-C headphone adapter issue, says fix coming


It’s 2018 and USB Type-C is still a mess


How USB Type-C Has Failed Android Smartphone Users

Here’s what I’m confronted with: Huawei P10 with up-to-date software as of 3 Sep 2018, build nr. VTR-L09 and “Dialer” app/process (?) version nr. and Huawei Active Noise Cancel(l)ing Earphones 3 (cm-Q3) where sound works and calls through other apps like WhatsApp works but not through the standard telephone app. Any ideas on how to route standard phone calls through another (trustworthy…) app?

Other than finding a viable work-around all I can do is to hope that a fix will percolate through eventually through an update…

Using Late 2013 MacBook Pro with LG Ultrafine 4K Monitor – USB-C to Thunderbolt 2?

I bought a used LG Ultrafine 4K Monitor with USB-C to Thunderbolt, the ones Apple are selling, for a good deal. I assumed I could make it work with a simple USB-C to HDMI cord, but this didn’t work out.

Is there any adapter that can use my Thunderbolt 2 port with the USB-C on the monitor?

I’ve seen this one that looks like it’s for use with old monitors and new laptops, but will it work if I plug it into the back of the monitor and then connect the Thunderbolt 2 to my computer?

Connect 3 external monitors to a macbook pro 2018 via USB-C

First of all, I am aware that there is an almost same question in the room here, but which does not solve my problem.

I got my new Macbook Pro 2018 running Mojave 10.14.5.

I got two external monitors with my 2015 MBP which worked fine. Now, being excited about three possible monitors, I got myself another one of the second external monitor and now have three external monitors. Two of them are SyncMaster B2240, the third one reads “NEC MultiSync EA274WMi”. No resolution is higher than 4096-by-2304 stated in the specs:

Simultaneously supports full native resolution on the built-in display at millions of colors and:

Up to two displays with 5120-by-2880 resolution at 60Hz at over a billion colors.

Up to four displays with 4096-by-2304 resolution at 60Hz at over a billion colors.

Now I bought some cheap adapters (which might be the problem? but I want to be sure first) to connect them:

  • Adapter 1 connects the NEC screen using HDMI and contains an USB hub and an ethernet connector.
  • Adapter 2 connects one SyncMaster using VGA and contains an USB port
  • Adapter 3 connects the other SyncMaster using DVI

Now the actual problem is: No matter the configuration (I always plug all three adapters in a slot on the macbook, no daisy chaining), I always only have two monitors working. Regardless the slot, the first two monitors I plug in will be automatically recognized and work, the third one stays dark and recieves no signal.

I tried replacing the VGA adapter with a second DVI adapter I used for the third one, but still the same result.

When I leave all three monitors plugged in, the macbook won’t boot anymore. It will keep getting stuck just at the apple logo without a progress bar. When I plug out the adapters, the boot continues. This also happens rarely when only two or one external monitors is plugged in.

Before I buy apple-certified-only adapters, I want to make sure that this is the actual problem of the case. And why should this be the reason to not have something working according to specs?

I also tried the SMC reset (turn off, press Shift + Control + Option + On-Off for 10 seconds), but this reboot afterwards also kept being stuck.

Really appreciate your inputs!

Macbook Pro w/ USB-C and multiple monitors occasionally swap non-main screens

My Macbook Pro (15″, 2017 model) running High Sierra has a multi monitor setup involving my laptop on the left, an external monitor to its right (and configured to be the main screen with the menu bar and dock), and another monitor to the right of that. Both external monitors (same brand and same resolution) are connected via HDMI cables that attach to Thunderbolt/USB-C plugs that go into an Elgato dock which then connects to the laptop via a Thunderbolt/USB-C cable.

I frequently will disconnect the laptop to go to a meeting and occasionally when I reconnect, my leftmost and rightmost screens become reversed, what I used to see on the laptop screen is now on the right external monitor. This goes for not only floating windows but also full screen apps. I then need to go into Mission Control to move the windows and full screen apps back to their preferred positions.

So firstly I want to know why this is happening and secondly how I can prevent that from occurring or a tool I can use to restore the windows as expected. I have seen some mention online that it could be related to which monitors are recognized by the computer first, and for sure for about 20 seconds after I plug in the cable I see a crazy dance of windows being resized and sometimes they all restore correctly. Could this be an issue with the dock or is it related to the OS and how it recognizes external monitors?

Thank you in advance!

(Mojave) USB-C video adapter not working

I’m running a 2018 MacBook Pro 15″ with Mojave. I recently purchased a StarTech USB-C to VGA adapter, model CDP2VGA. Unfortunately, the Mac does not seem to detect the adapter. I know the adapter works because it is detected on my phone with USB-C and outputs correctly to the display.

There doesn’t seem to be any detection with the Mac. I’ve tried restarting, didn’t work. There are no drivers to install. However, occasionally, the Retina display flickers when the adapter is plugged in, suggesting that something is there.