Go Back   DisplayLink Forum > DisplayLink Graphics Technology > Linux and Open Source

Reply
 
Thread Tools Search this Thread Display Modes
Old 10-18-2017, 08:53 PM   #1
Wunsz
Junior Member
 
Join Date: Oct 2017
Posts: 11
Default Ubuntu 17.10 Beta 2

Dell XPS 15 9560 + Dell D6000 @ Ubuntu 17.10 Beta 2 (Gnome @ Xorg)

Random dock disconnect (everything). Re-connecting fixes the issue. Attaching log after 2 disconnects.

EDIT: My bad, only display goes black.
Attached Files
File Type: zip tempest_2017-10-18T22:52:08.154304.zip (179.6 KB, 0 views)

Last edited by Wunsz; 10-18-2017 at 09:03 PM. Reason: New info
Wunsz is offline   Reply With Quote
Old 10-19-2017, 04:34 PM   #2
zombielinux
Junior Member
 
Join Date: Oct 2017
Posts: 6
Default

Same issue here. Dell D6000 Dock, 130W adapter, and Latitude 7480
Attached Files
File Type: zip will-Latitude-7480_2017-10-19T12:32:36.832210.zip (3.24 MB, 0 views)
zombielinux is offline   Reply With Quote
Old 10-20-2017, 05:41 AM   #3
k001
Junior Member
 
Join Date: Oct 2017
Posts: 17
Default

I found a way to bring a display back to life if it's off but available from xrandr output. You need to say something like
Code:
xrandr --output DVI-I-2-2 --auto
It works, but unfortunately I have to rearrange displays after that. Something like
Code:
xrandr --output DVI-I-2-2 --right-of eDP1
xrandr --output DVI-I-1-1 --right-of DVI-I-2-2
k001 is offline   Reply With Quote
Old 10-20-2017, 12:40 PM   #4
zombielinux
Junior Member
 
Join Date: Oct 2017
Posts: 6
Default

If you use arandr, you can save the monitor config. It saves as a .sh so you just get to re-execute that script and it will re-arrange your monitors.

Handy for having multiple configurations that you use and scripting between them with udev.
zombielinux is offline   Reply With Quote
Old 10-20-2017, 06:15 PM   #5
k001
Junior Member
 
Join Date: Oct 2017
Posts: 17
Default

Quote:
Originally Posted by zombielinux View Post
If you use arandr, you can save the monitor config. It saves as a .sh so you just get to re-execute that script and it will re-arrange your monitors.

Handy for having multiple configurations that you use and scripting between them with udev.
In my case, gnome is supposed to take care of it. Unfortunately, display device names (IDs) are changing sometimes after a reboot (or replug), so it fails to do its job and I have to use xrandr. And yes, I ended up saving this to a script (need to think about how to handle changing IDs).
k001 is offline   Reply With Quote
Old 10-21-2017, 10:21 AM   #6
k001
Junior Member
 
Join Date: Oct 2017
Posts: 17
Default

My earlier advise about using xrandr is not working for me either I now have monitors shown as on in xrandr, but they are in fact in power saving mode. All this happens once in a while, when a message appears in kernel logs:

Code:
[18125.523348] usb 4-1.1: Disable of device-initiated U1 failed.
[18125.530395] usb 4-1.1: Disable of device-initiated U2 failed.
[18125.530508] cdc_ncm 4-1.1:1.5 enx9cebe8554690: unregister 'cdc_ncm' usb-0000:39:00.0-1.1, CDC NCM
[18125.582824] usb 4-1.1: Set SEL for device-initiated U1 failed.
[18125.589806] usb 4-1.1: Set SEL for device-initiated U2 failed.
This seems like a device wants to sleep, and the kernel can't prevent it and is losing it. Nevertheless, in a moment it brings itself back to life, with everything connected though it working -- except, alas, for the monitors.
k001 is offline   Reply With Quote
Old 10-30-2017, 11:09 AM   #7
Wunsz
Junior Member
 
Join Date: Oct 2017
Posts: 11
Default

Quote:
Originally Posted by k001 View Post
This seems like a device wants to sleep, and the kernel can't prevent it and is losing it.
That actually gave me an idea. I've attached the dell dock to USB described as 2-2.1 and did:

Code:
echo on | sudo tee /sys/bus/usb/devices/2-2.1/power/level > /dev/null
echo 2 | sudo tee /sys/bus/usb/devices/2-2.1/power/autosuspend > /dev/null
essentially disabling autosuspend on this bus. Will test how it works, but you may want to try it too.

Edit: For XPS 9560 USB-C Port it will be:
Code:
echo on | sudo tee /sys/bus/usb/devices/4-1.1/power/level > /dev/null
echo 2 | sudo tee /sys/bus/usb/devices/4-1.1/power/autosuspend > /dev/null

Last edited by Wunsz; 10-30-2017 at 11:18 AM.
Wunsz is offline   Reply With Quote
Old 01-11-2018, 02:29 PM   #8
edclement
Junior Member
 
Join Date: Jan 2018
Posts: 11
Default working solution

After a few days of struggling, I managed to find a solution on Ubuntu 17.10. Hope this works for everyone having problems with the D6000 dock. Below format is markdown (to lazy to convert it)

## Instructions for fixing the blanking monitor on dock issue within Ubuntu.
**Make sure to reboot after making the changes!**

#### Disable USB AutoSuspend
* `sudo gedit /etc/default/tlp` and change the below value from `1` to `0`

```
USB_AUTOSUSPEND=0
```

* `sudo gedit /etc/udev/rules.d/01-usb-dock.rules`. This will create a new file.

```
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1bcf", ATTR{idProduct}=="2b95", TEST=="power/control", ATTR{power/control}="on"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1bcf", ATTR{idProduct}=="0005", TEST=="power/control", ATTR{power/control}="on"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1d6b", ATTR{idProduct}=="0002", TEST=="power/control", ATTR{power/control}="on"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="1d6b", ATTR{idProduct}=="0003", TEST=="power/control", ATTR{power/control}="on"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="04d9", ATTR{idProduct}=="0143", TEST=="power/control", ATTR{power/control}="on"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="04f3", ATTR{idProduct}=="24a1", TEST=="power/control", ATTR{power/control}="on"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05e3", ATTR{idProduct}=="0608", TEST=="power/control", ATTR{power/control}="on"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05e3", ATTR{idProduct}=="0610", TEST=="power/control", ATTR{power/control}="on"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="05e3", ATTR{idProduct}=="0620", TEST=="power/control", ATTR{power/control}="on"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="06c4", ATTR{idProduct}=="c411", TEST=="power/control", ATTR{power/control}="on"
ACTION=="add", SUBSYSTEM=="usb", ATTR{idVendor}=="17e9", ATTR{idProduct}=="6006", TEST=="power/control", ATTR{power/control}="on"
```

#### Disable Display Power Management
* `sudo gedit /etc/X11/xorg.conf` Append the below options to the file.

```
Section "Monitor"
Identifier "DVI-I-3-2"
Option "DPMS" "false"
EndSection

Section "Monitor"
Identifier "DVI-I-2-1"
Option "DPMS" "false"
EndSection
```

#### Disable audio suspend
* `sudo gedit /etc/pulse/default.pa`. Comment out the line indicated below.

```
### Automatically suspend sinks/sources that become idle for too long
# load-module module-suspend-on-idle
```

#### Disale USB wake in BIOS
Boot into the BIOS by pressing the F12 key as the machine turns on. Under `Power Management` >> `USB Wake Support` uncheck both boxes.
edclement is offline   Reply With Quote
Old 10-10-2018, 07:46 PM   #9
kyle47
Junior Member
 
Join Date: Oct 2018
Location: TN,OR
Posts: 8
Default Wrong Hardware ids d6000

Someone please give me the Hardware Ids of dell d6000 ...Vid & Pid
My device showing wrong ids
Any solution if someone face similar case ?
kyle47 is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:13 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2026, vBulletin Solutions, Inc.